aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0001.c (1063214B)


      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_25004EFE(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(0x25004EFEu);
     17 
     18 L_25004EFE:
     19     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x25004EFE: fstp dword ptr [ebp - 8] */
     20     ecx = MEM32(ebp + (-0x8)); /* 0x25004F01: mov ecx, dword ptr [ebp - 8] */
     21     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25004F04: fld dword ptr [ebp - 4] */
     22     MEM32(ebp + (-0x14)) = ecx; /* 0x25004F07: mov dword ptr [ebp - 0x14], ecx */
     23     ecx = MEM32(edx); /* 0x25004F0A: mov ecx, dword ptr [edx] */
     24     _st[0] *= _st[1]; /* 0x25004F0C: fmul st(1) */
     25     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x25004F0E: fstp dword ptr [ebp - 4] */
     26     eax = MEM32(ebp + (-0x4)); /* 0x25004F11: mov eax, dword ptr [ebp - 4] */
     27     MEM32(ebp + (-0x10)) = eax; /* 0x25004F14: mov dword ptr [ebp - 0x10], eax */
     28     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25004F17: fstp st(0) */
     29     eax = MEM32(edx + 0x4); /* 0x25004F19: mov eax, dword ptr [edx + 4] */
     30     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25004F1C: fld dword ptr [ebp - 0xc] */
     31     MEM32(ebp + (-0xC)) = ecx; /* 0x25004F1F: mov dword ptr [ebp - 0xc], ecx */
     32     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x25004F22: fmul dword ptr [0x25151778] */
     33     ecx = MEM32(edx + 0x8); /* 0x25004F28: mov ecx, dword ptr [edx + 8] */
     34     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x25004F2B: fld dword ptr [ebp - 0x14] */
     35     edx = MEM32(ebp + 0x10); /* 0x25004F2E: mov edx, dword ptr [ebp + 0x10] */
     36     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x25004F31: fmul dword ptr [0x25151778] */
     37     MEM32(ebp + (-0x8)) = eax; /* 0x25004F37: mov dword ptr [ebp - 8], eax */
     38     MEM32(ebp + (-0x4)) = ecx; /* 0x25004F3A: mov dword ptr [ebp - 4], ecx */
     39     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x25004F3D: fstp dword ptr [ebp - 0x14] */
     40     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x25004F40: fld dword ptr [ebp - 0x10] */
     41     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x25004F43: fmul dword ptr [0x25151778] */
     42     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x25004F49: fstp dword ptr [ebp - 0x10] */
     43     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25004F4C: fld dword ptr [ebp - 0xc] */
     44     _st[0] += _st[1]; /* 0x25004F4F: fadd st(1) */
     45     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x25004F51: fstp dword ptr [ebp - 0xc] */
     46     eax = MEM32(ebp + (-0xC)); /* 0x25004F54: mov eax, dword ptr [ebp - 0xc] */
     47     MEM32(edx) = eax; /* 0x25004F57: mov dword ptr [edx], eax */
     48     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x25004F59: fstp st(0) */
     49     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x25004F5B: fld dword ptr [ebp - 8] */
     50     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x25004F5E: fadd dword ptr [ebp - 0x14] */
     51     MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x25004F61: mov dword ptr [ebp - 0x14], 0x3f800000 */
     52     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x25004F68: fstp dword ptr [ebp - 8] */
     53     ecx = MEM32(ebp + (-0x8)); /* 0x25004F6B: mov ecx, dword ptr [ebp - 8] */
     54     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25004F6E: fld dword ptr [ebp - 4] */
     55     MEM32(edx + 0x4) = ecx; /* 0x25004F71: mov dword ptr [edx + 4], ecx */
     56     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x25004F74: fadd dword ptr [ebp - 0x10] */
     57     ecx = MEM32(ebp + 0x14); /* 0x25004F77: mov ecx, dword ptr [ebp + 0x14] */
     58     MEM32(ebp + (-0x10)) = 0; /* 0x25004F7A: mov dword ptr [ebp - 0x10], 0 */
     59     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x25004F81: fstp dword ptr [ebp - 4] */
     60     eax = MEM32(ebp + (-0x4)); /* 0x25004F84: mov eax, dword ptr [ebp - 4] */
     61     MEM32(edx + 0x8) = eax; /* 0x25004F87: mov dword ptr [edx + 8], eax */
     62     edx = MEM32(ebp + (-0x18)); /* 0x25004F8A: mov edx, dword ptr [ebp - 0x18] */
     63     eax = MEM32(ebp + (-0x14)); /* 0x25004F8D: mov eax, dword ptr [ebp - 0x14] */
     64     MEM32(ecx) = edx; /* 0x25004F90: mov dword ptr [ecx], edx */
     65     edx = MEM32(ebp + (-0x10)); /* 0x25004F92: mov edx, dword ptr [ebp - 0x10] */
     66     MEM32(ecx + 0x4) = eax; /* 0x25004F95: mov dword ptr [ecx + 4], eax */
     67     MEM32(ecx + 0x8) = edx; /* 0x25004F98: mov dword ptr [ecx + 8], edx */
     68     SET_LO8(eax, 1); /* 0x25004F9B: mov al, 1 */
     69     esp = ebp; /* 0x25004F9D: mov esp, ebp */
     70     ebp = POP32_VAL(esp); /* 0x25004F9F: pop ebp */
     71     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25004FA0: ret 0x10 */
     72     RECOMP_REGS_OUT();
     73 }
     74 
     75 void sub_25004FB0(void) {
     76     int _fpu_cmp = 0;
     77     uint32_t _cf = 0;
     78     int _df = 1;
     79     uint32_t _flag_k = FK_NONE;
     80     uint32_t _flag_a = 0, _flag_b = 0;
     81     uint32_t _itail_tgt = 0;
     82     RECOMP_REGS_LOCALS
     83     RECOMP_ENTER(0x25004FB0u);
     84 
     85 L_25004FB0:
     86     PUSH32(esp, ebp); /* 0x25004FB0: push ebp */
     87     ebp = esp; /* 0x25004FB1: mov ebp, esp */
     88     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x7Cu);
     89     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     90     esp = esp - 0x7Cu; /* 0x25004FB3: sub esp, 0x7c */
     91     _flag_k = FK_CMP;
     92     PUSH32(esp, esi); /* 0x25004FB6: push esi */
     93     esi = ecx; /* 0x25004FB7: mov esi, ecx */
     94     PUSH32(esp, edi); /* 0x25004FB9: push edi */
     95     ecx = ebp + (-0x68); /* 0x25004FBA: lea ecx, [ebp - 0x68] */
     96     MEM32(ebp + (-0x78)) = 0; /* 0x25004FBD: mov dword ptr [ebp - 0x78], 0 */
     97     MEM32(ebp + (-0x74)) = 0; /* 0x25004FC4: mov dword ptr [ebp - 0x74], 0 */
     98     MEM32(ebp + (-0x70)) = 0; /* 0x25004FCB: mov dword ptr [ebp - 0x70], 0 */
     99     MEM32(ebp + (-0x6C)) = 0x3F800000u; /* 0x25004FD2: mov dword ptr [ebp - 0x6c], 0x3f800000 */
    100     RECOMP_ICALL(MEM32(0x251514F4)); /* 0x25004FD9: call dword ptr [0x251514f4] */
    101     RECOMP_FLAGS_IN();
    102     ecx = ebp + (-0x4C); /* 0x25004FDF: lea ecx, [ebp - 0x4c] */
    103     MEM32(ebp + (-0x58)) = 0; /* 0x25004FE2: mov dword ptr [ebp - 0x58], 0 */
    104     MEM32(ebp + (-0x54)) = 0; /* 0x25004FE9: mov dword ptr [ebp - 0x54], 0 */
    105     MEM32(ebp + (-0x50)) = 0; /* 0x25004FF0: mov dword ptr [ebp - 0x50], 0 */
    106     RECOMP_ICALL(MEM32(0x25151518)); /* 0x25004FF7: call dword ptr [0x25151518] */
    107     RECOMP_FLAGS_IN();
    108     ecx = esi + 0x2D8; /* 0x25004FFD: lea ecx, [esi + 0x2d8] */
    109     RECOMP_ICALL(0x250E45B0u); /* 0x25005003: call 0x250e45b0 */ /* not lifted */
    110     RECOMP_FLAGS_IN();
    111     _st[0] += (double)*(float*)ADDR(ebp + 0x14); /* 0x25005008: fadd dword ptr [ebp + 0x14] */
    112     eax = MEM32(ebp + 0x8); /* 0x2500500B: mov eax, dword ptr [ebp + 8] */
    113     ecx = MEM32(eax); /* 0x2500500E: mov ecx, dword ptr [eax] */
    114     edx = MEM32(eax + 0x4); /* 0x25005010: mov edx, dword ptr [eax + 4] */
    115     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x25005013: fstp dword ptr [ebp - 0x7c] */
    116     edi = MEM32(0x25151264); /* 0x25005016: mov edi, dword ptr [0x25151264] */
    117     MEM32(ebp + (-0x78)) = ecx; /* 0x2500501C: mov dword ptr [ebp - 0x78], ecx */
    118     ecx = MEM32(eax + 0x8); /* 0x2500501F: mov ecx, dword ptr [eax + 8] */
    119     MEM32(ebp + (-0x74)) = edx; /* 0x25005022: mov dword ptr [ebp - 0x74], edx */
    120     edx = MEM32(eax + 0xC); /* 0x25005025: mov edx, dword ptr [eax + 0xc] */
    121     MEM32(ebp + (-0x70)) = ecx; /* 0x25005028: mov dword ptr [ebp - 0x70], ecx */
    122     MEM32(ebp + (-0x6C)) = edx; /* 0x2500502B: mov dword ptr [ebp - 0x6c], edx */
    123     RECOMP_ICALL(edi); /* 0x2500502E: call edi */
    124     RECOMP_FLAGS_IN();
    125     MEM32(ebp + 0x14) = eax; /* 0x25005030: mov dword ptr [ebp + 0x14], eax */
    126     fp_push((double)(int32_t)MEM32(ebp + 0x14)); /* 0x25005033: fild dword ptr [ebp + 0x14] */
    127     _st[0] *= (double)*(float*)ADDR(0x251517A0); /* 0x25005036: fmul dword ptr [0x251517a0] */
    128     _st[0] *= (double)*(float*)ADDR(0x2515179C); /* 0x2500503C: fmul dword ptr [0x2515179c] */
    129     _st[0] -= (double)*(float*)ADDR(0x25151798); /* 0x25005042: fsub dword ptr [0x25151798] */
    130     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25005048: fcom dword ptr [0x2515177c] */
    131     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2500504E: fnstsw ax */
    132     /* test HI8(eax), 1 */ /* 0x25005050: test ah, 1 */
    133     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    134     _cf = 0;
    135     _flag_k = FK_NARROW(FK_TEST, 24);
    136     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500506A; /* 0x25005053: jne 0x2500506a */
    137 L_25005055:
    138     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x25005055: fcom qword ptr [0x25151790] */
    139     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2500505B: fnstsw ax */
    140     /* test HI8(eax), 1 */ /* 0x2500505D: test ah, 1 */
    141     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    142     _cf = 0;
    143     _flag_k = FK_NARROW(FK_TEST, 24);
    144     if (TEST_Z(_flag_a, _flag_b)) goto L_2500506A; /* 0x25005060: je 0x2500506a */
    145 L_25005062:
    146     _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x25005062: fmul dword ptr [0x25151788] */
    147     goto L_2500508B; /* 0x25005068: jmp 0x2500508b */
    148 L_2500506A:
    149     _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x2500506A: fmul dword ptr [0x25151784] */
    150     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    152     esp = esp - 8; /* 0x25005070: sub esp, 8 */
    153     _flag_k = FK_CMP;
    154     { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x14) = _v; } /* 0x25005073: fst dword ptr [ebp + 0x14] */
    155     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x25005076: fstp qword ptr [esp] */
    156     RECOMP_ICALL(MEM32(0x25151260)); /* 0x25005079: call dword ptr [0x25151260] */
    157     RECOMP_FLAGS_IN();
    158     _st[0] = (double)*(float*)ADDR(ebp + 0x14) - _st[0]; /* 0x2500507F: fsubr dword ptr [ebp + 0x14] */
    159     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    160     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    161     esp = esp + 8; /* 0x25005082: add esp, 8 */
    162     _flag_k = FK_ADD;
    163     _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x25005085: fmul dword ptr [0x25151780] */
    164 L_2500508B:
    165     fp_push(_st[0]); /* 0x2500508B: fld st(0) */
    166     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x2500508D: fsin  */
    167     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x2500508F: fld dword ptr [0x2515177c] */
    168     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x25005095: fst dword ptr [ebp - 0x40] */
    169     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x25005098: fstp dword ptr [ebp - 0x3c] */
    170     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2500509B: fstp dword ptr [ebp - 0x38] */
    171     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x2500509E: fcos  */
    172     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x250050A0: fstp dword ptr [ebp - 0x34] */
    173     RECOMP_ICALL(edi); /* 0x250050A3: call edi */
    174     RECOMP_FLAGS_IN();
    175     MEM32(ebp + 0x14) = eax; /* 0x250050A5: mov dword ptr [ebp + 0x14], eax */
    176     fp_push((double)(int32_t)MEM32(ebp + 0x14)); /* 0x250050A8: fild dword ptr [ebp + 0x14] */
    177     _st[0] *= (double)*(float*)ADDR(0x251517A0); /* 0x250050AB: fmul dword ptr [0x251517a0] */
    178     _st[0] *= (double)*(float*)ADDR(0x2515179C); /* 0x250050B1: fmul dword ptr [0x2515179c] */
    179     _st[0] -= (double)*(float*)ADDR(0x25151798); /* 0x250050B7: fsub dword ptr [0x25151798] */
    180     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250050BD: fcom dword ptr [0x2515177c] */
    181     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250050C3: fnstsw ax */
    182     /* test HI8(eax), 1 */ /* 0x250050C5: test ah, 1 */
    183     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    184     _cf = 0;
    185     _flag_k = FK_NARROW(FK_TEST, 24);
    186     if (TEST_NZ(_flag_a, _flag_b)) goto L_250050DF; /* 0x250050C8: jne 0x250050df */
    187 L_250050CA:
    188     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x250050CA: fcom qword ptr [0x25151790] */
    189     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250050D0: fnstsw ax */
    190     /* test HI8(eax), 1 */ /* 0x250050D2: test ah, 1 */
    191     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    192     _cf = 0;
    193     _flag_k = FK_NARROW(FK_TEST, 24);
    194     if (TEST_Z(_flag_a, _flag_b)) goto L_250050DF; /* 0x250050D5: je 0x250050df */
    195 L_250050D7:
    196     _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250050D7: fmul dword ptr [0x25151788] */
    197     goto L_25005100; /* 0x250050DD: jmp 0x25005100 */
    198 L_250050DF:
    199     _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x250050DF: fmul dword ptr [0x25151784] */
    200     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    202     esp = esp - 8; /* 0x250050E5: sub esp, 8 */
    203     _flag_k = FK_CMP;
    204     { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x14) = _v; } /* 0x250050E8: fst dword ptr [ebp + 0x14] */
    205     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x250050EB: fstp qword ptr [esp] */
    206     RECOMP_ICALL(MEM32(0x25151260)); /* 0x250050EE: call dword ptr [0x25151260] */
    207     RECOMP_FLAGS_IN();
    208     _st[0] = (double)*(float*)ADDR(ebp + 0x14) - _st[0]; /* 0x250050F4: fsubr dword ptr [ebp + 0x14] */
    209     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    210     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    211     esp = esp + 8; /* 0x250050F7: add esp, 8 */
    212     _flag_k = FK_ADD;
    213     _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x250050FA: fmul dword ptr [0x25151780] */
    214 L_25005100:
    215     fp_push(_st[0]); /* 0x25005100: fld st(0) */
    216     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x25005102: fsin  */
    217     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x25005104: fld dword ptr [0x2515177c] */
    218     { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x14) = _v; } /* 0x2500510A: fst dword ptr [ebp + 0x14] */
    219     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2500510D: fstp dword ptr [ebp - 0x20] */
    220     eax = MEM32(ebp + 0x14); /* 0x25005110: mov eax, dword ptr [ebp + 0x14] */
    221     MEM32(ebp + (-0x18)) = eax; /* 0x25005113: mov dword ptr [ebp - 0x18], eax */
    222     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x25005116: fstp dword ptr [ebp - 0x1c] */
    223     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x25005119: fcos  */
    224     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2500511B: fstp dword ptr [ebp - 0x14] */
    225     RECOMP_ICALL(edi); /* 0x2500511E: call edi */
    226     RECOMP_FLAGS_IN();
    227     MEM32(ebp + 0x14) = eax; /* 0x25005120: mov dword ptr [ebp + 0x14], eax */
    228     fp_push((double)(int32_t)MEM32(ebp + 0x14)); /* 0x25005123: fild dword ptr [ebp + 0x14] */
    229     _st[0] *= (double)*(float*)ADDR(0x251517A0); /* 0x25005126: fmul dword ptr [0x251517a0] */
    230     _st[0] *= (double)*(float*)ADDR(0x2515179C); /* 0x2500512C: fmul dword ptr [0x2515179c] */
    231     _st[0] -= (double)*(float*)ADDR(0x25151798); /* 0x25005132: fsub dword ptr [0x25151798] */
    232     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x25005138: fcom dword ptr [0x2515177c] */
    233     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2500513E: fnstsw ax */
    234     /* test HI8(eax), 1 */ /* 0x25005140: test ah, 1 */
    235     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    236     _cf = 0;
    237     _flag_k = FK_NARROW(FK_TEST, 24);
    238     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500515A; /* 0x25005143: jne 0x2500515a */
    239 L_25005145:
    240     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x25151790)); /* 0x25005145: fcom qword ptr [0x25151790] */
    241     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2500514B: fnstsw ax */
    242     /* test HI8(eax), 1 */ /* 0x2500514D: test ah, 1 */
    243     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    244     _cf = 0;
    245     _flag_k = FK_NARROW(FK_TEST, 24);
    246     if (TEST_Z(_flag_a, _flag_b)) goto L_2500515A; /* 0x25005150: je 0x2500515a */
    247 L_25005152:
    248     _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x25005152: fmul dword ptr [0x25151788] */
    249     goto L_2500517B; /* 0x25005158: jmp 0x2500517b */
    250 L_2500515A:
    251     _st[0] *= (double)*(float*)ADDR(0x25151784); /* 0x2500515A: fmul dword ptr [0x25151784] */
    252     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    254     esp = esp - 8; /* 0x25005160: sub esp, 8 */
    255     _flag_k = FK_CMP;
    256     { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x14) = _v; } /* 0x25005163: fst dword ptr [ebp + 0x14] */
    257     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x25005166: fstp qword ptr [esp] */
    258     RECOMP_ICALL(MEM32(0x25151260)); /* 0x25005169: call dword ptr [0x25151260] */
    259     RECOMP_FLAGS_IN();
    260     _st[0] = (double)*(float*)ADDR(ebp + 0x14) - _st[0]; /* 0x2500516F: fsubr dword ptr [ebp + 0x14] */
    261     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    262     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    263     esp = esp + 8; /* 0x25005172: add esp, 8 */
    264     _flag_k = FK_ADD;
    265     _st[0] *= (double)*(float*)ADDR(0x25151780); /* 0x25005175: fmul dword ptr [0x25151780] */
    266 L_2500517B:
    267     fp_push(_st[0]); /* 0x2500517B: fld st(0) */
    268     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x2500517D: fsin  */
    269     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2500517F: fstp dword ptr [ebp - 0x10] */
    270     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x25005182: fld dword ptr [0x2515177c] */
    271     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x25005188: fst dword ptr [ebp - 0xc] */
    272     ecx = MEM32(ebp + (-0x10)); /* 0x2500518B: mov ecx, dword ptr [ebp - 0x10] */
    273     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2500518E: fstp dword ptr [ebp - 8] */
    274     MEM32(ebp + (-0x30)) = ecx; /* 0x25005191: mov dword ptr [ebp - 0x30], ecx */
    275     edx = MEM32(ebp + (-0xC)); /* 0x25005194: mov edx, dword ptr [ebp - 0xc] */
    276     eax = MEM32(ebp + (-0x8)); /* 0x25005197: mov eax, dword ptr [ebp - 8] */
    277     MEM32(ebp + (-0x2C)) = edx; /* 0x2500519A: mov dword ptr [ebp - 0x2c], edx */
    278     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x2500519D: fcos  */
    279     edx = ebp + (-0x20); /* 0x2500519F: lea edx, [ebp - 0x20] */
    280     PUSH32(esp, edx); /* 0x250051A2: push edx */
    281     MEM32(ebp + (-0x28)) = eax; /* 0x250051A3: mov dword ptr [ebp - 0x28], eax */
    282     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250051A6: fstp dword ptr [ebp - 4] */
    283     ecx = MEM32(ebp + (-0x4)); /* 0x250051A9: mov ecx, dword ptr [ebp - 4] */
    284     MEM32(ebp + (-0x24)) = ecx; /* 0x250051AC: mov dword ptr [ebp - 0x24], ecx */
    285     ecx = ebp + (-0x30); /* 0x250051AF: lea ecx, [ebp - 0x30] */
    286     RECOMP_ICALL(MEM32(0x25151508)); /* 0x250051B2: call dword ptr [0x25151508] */
    287     RECOMP_FLAGS_IN();
    288     ecx = MEM32(eax); /* 0x250051B8: mov ecx, dword ptr [eax] */
    289     edx = MEM32(eax + 0x4); /* 0x250051BA: mov edx, dword ptr [eax + 4] */
    290     MEM32(ebp + (-0x10)) = ecx; /* 0x250051BD: mov dword ptr [ebp - 0x10], ecx */
    291     ecx = MEM32(eax + 0x8); /* 0x250051C0: mov ecx, dword ptr [eax + 8] */
    292     MEM32(ebp + (-0xC)) = edx; /* 0x250051C3: mov dword ptr [ebp - 0xc], edx */
    293     edx = MEM32(eax + 0xC); /* 0x250051C6: mov edx, dword ptr [eax + 0xc] */
    294     eax = ebp + (-0x40); /* 0x250051C9: lea eax, [ebp - 0x40] */
    295     MEM32(ebp + (-0x8)) = ecx; /* 0x250051CC: mov dword ptr [ebp - 8], ecx */
    296     PUSH32(esp, eax); /* 0x250051CF: push eax */
    297     ecx = ebp + (-0x10); /* 0x250051D0: lea ecx, [ebp - 0x10] */
    298     MEM32(ebp + (-0x4)) = edx; /* 0x250051D3: mov dword ptr [ebp - 4], edx */
    299     RECOMP_ICALL(MEM32(0x25151508)); /* 0x250051D6: call dword ptr [0x25151508] */
    300     RECOMP_FLAGS_IN();
    301     ecx = MEM32(eax); /* 0x250051DC: mov ecx, dword ptr [eax] */
    302     MEM32(ebp + (-0x68)) = ecx; /* 0x250051DE: mov dword ptr [ebp - 0x68], ecx */
    303     edx = MEM32(eax + 0x4); /* 0x250051E1: mov edx, dword ptr [eax + 4] */
    304     MEM32(ebp + (-0x64)) = edx; /* 0x250051E4: mov dword ptr [ebp - 0x64], edx */
    305     ecx = MEM32(eax + 0x8); /* 0x250051E7: mov ecx, dword ptr [eax + 8] */
    306     MEM32(ebp + (-0x60)) = ecx; /* 0x250051EA: mov dword ptr [ebp - 0x60], ecx */
    307     edx = MEM32(eax + 0xC); /* 0x250051ED: mov edx, dword ptr [eax + 0xc] */
    308     eax = MEM32(ebp + 0xC); /* 0x250051F0: mov eax, dword ptr [ebp + 0xc] */
    309     ecx = MEM32(eax); /* 0x250051F3: mov ecx, dword ptr [eax] */
    310     MEM32(ebp + (-0x5C)) = edx; /* 0x250051F5: mov dword ptr [ebp - 0x5c], edx */
    311     edx = MEM32(eax + 0x4); /* 0x250051F8: mov edx, dword ptr [eax + 4] */
    312     eax = MEM32(eax + 0x8); /* 0x250051FB: mov eax, dword ptr [eax + 8] */
    313     MEM32(ebp + (-0x58)) = ecx; /* 0x250051FE: mov dword ptr [ebp - 0x58], ecx */
    314     ecx = MEM32(ebp + 0x10); /* 0x25005201: mov ecx, dword ptr [ebp + 0x10] */
    315     MEM32(ebp + (-0x54)) = edx; /* 0x25005204: mov dword ptr [ebp - 0x54], edx */
    316     edx = MEM32(ecx); /* 0x25005207: mov edx, dword ptr [ecx] */
    317     MEM32(ebp + (-0x50)) = eax; /* 0x25005209: mov dword ptr [ebp - 0x50], eax */
    318     eax = MEM32(ecx + 0x4); /* 0x2500520C: mov eax, dword ptr [ecx + 4] */
    319     ecx = MEM32(ecx + 0x8); /* 0x2500520F: mov ecx, dword ptr [ecx + 8] */
    320     MEM32(ebp + (-0x44)) = ecx; /* 0x25005212: mov dword ptr [ebp - 0x44], ecx */
    321     MEM32(ebp + (-0x4C)) = edx; /* 0x25005215: mov dword ptr [ebp - 0x4c], edx */
    322     edx = MEM32(esi + 0x308); /* 0x25005218: mov edx, dword ptr [esi + 0x308] */
    323     ecx = esi + 0x304; /* 0x2500521E: lea ecx, [esi + 0x304] */
    324     MEM32(ebp + (-0x48)) = eax; /* 0x25005224: mov dword ptr [ebp - 0x48], eax */
    325     eax = MEM32(edx); /* 0x25005227: mov eax, dword ptr [edx] */
    326     edx = ebp + (-0x7C); /* 0x25005229: lea edx, [ebp - 0x7c] */
    327     PUSH32(esp, edx); /* 0x2500522C: push edx */
    328     PUSH32(esp, eax); /* 0x2500522D: push eax */
    329     eax = ebp + 0x14; /* 0x2500522E: lea eax, [ebp + 0x14] */
    330     PUSH32(esp, eax); /* 0x25005231: push eax */
    331     RECOMP_ICALL(0x25005F80u); /* 0x25005232: call 0x25005f80 */ /* not lifted */
    332     RECOMP_FLAGS_IN();
    333     edi = POP32_VAL(esp); /* 0x25005237: pop edi */
    334     esi = POP32_VAL(esp); /* 0x25005238: pop esi */
    335     esp = ebp; /* 0x25005239: mov esp, ebp */
    336     ebp = POP32_VAL(esp); /* 0x2500523B: pop ebp */
    337     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2500523C: ret 0x10 */
    338     RECOMP_REGS_OUT();
    339 }
    340 
    341 void sub_25005240(void) {
    342     int _fpu_cmp = 0;
    343     uint32_t _cf = 0;
    344     int _df = 1;
    345     uint32_t _flag_k = FK_NONE;
    346     uint32_t _flag_a = 0, _flag_b = 0;
    347     uint32_t _itail_tgt = 0;
    348     RECOMP_REGS_LOCALS
    349     RECOMP_ENTER(0x25005240u);
    350 
    351 L_25005240:
    352     PUSH32(esp, ebp); /* 0x25005240: push ebp */
    353     ebp = esp; /* 0x25005241: mov ebp, esp */
    354     PUSH32(esp, 0xFFFFFFFFu); /* 0x25005243: push -1 */
    355     PUSH32(esp, 0x2514535Cu); /* 0x25005245: push 0x2514535c */
    356     eax = MEM32(FS_BASE + (0)); /* 0x2500524A: mov eax, dword ptr fs:[0] */
    357     PUSH32(esp, eax); /* 0x25005250: push eax */
    358     MEM32(FS_BASE + (0)) = esp; /* 0x25005251: mov dword ptr fs:[0], esp */
    359     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCCu);
    360     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    361     esp = esp - 0xCCu; /* 0x25005258: sub esp, 0xcc */
    362     _flag_k = FK_CMP;
    363     PUSH32(esp, ebx); /* 0x2500525E: push ebx */
    364     PUSH32(esp, esi); /* 0x2500525F: push esi */
    365     esi = ecx; /* 0x25005260: mov esi, ecx */
    366     eax = MEM32(esi + 0x310); /* 0x25005262: mov eax, dword ptr [esi + 0x310] */
    367     PUSH32(esp, edi); /* 0x25005268: push edi */
    368     edi = MEM32(ebp + 0x8); /* 0x25005269: mov edi, dword ptr [ebp + 8] */
    369     PUSH32(esp, eax); /* 0x2500526C: push eax */
    370     ecx = edi; /* 0x2500526D: mov ecx, edi */
    371     MEM32(ebp + (-0x1C)) = esi; /* 0x2500526F: mov dword ptr [ebp - 0x1c], esi */
    372     RECOMP_ICALL(0x250DFDA0u); /* 0x25005272: call 0x250dfda0 */ /* not lifted */
    373     RECOMP_FLAGS_IN();
    374     ecx = edi; /* 0x25005277: mov ecx, edi */
    375     RECOMP_ICALL(0x250E05D0u); /* 0x25005279: call 0x250e05d0 */ /* not lifted */
    376     RECOMP_FLAGS_IN();
    377     ecx = esi + 0x2D8; /* 0x2500527E: lea ecx, [esi + 0x2d8] */
    378     RECOMP_ICALL(0x250E45B0u); /* 0x25005284: call 0x250e45b0 */ /* not lifted */
    379     RECOMP_FLAGS_IN();
    380     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x25005289: fst dword ptr [ebp - 0x14] */
    381     ecx = MEM32(ebp + (-0x14)); /* 0x2500528C: mov ecx, dword ptr [ebp - 0x14] */
    382     _st[0] -= (double)*(float*)ADDR(esi + 0x300); /* 0x2500528F: fsub dword ptr [esi + 0x300] */
    383     MEM32(esi + 0x300) = ecx; /* 0x25005295: mov dword ptr [esi + 0x300], ecx */
    384     ebx = MEM32(esi + 0x308); /* 0x2500529B: mov ebx, dword ptr [esi + 0x308] */
    385     ecx = MEM32(ebx); /* 0x250052A1: mov ecx, dword ptr [ebx] */
    386     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250052A3: fstp dword ptr [ebp - 0x30] */
    387     /* cmp ecx, ebx */ /* 0x250052A6: cmp ecx, ebx */
    388     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    390     _flag_k = FK_CMP;
    391     MEM32(ebp + (-0x40)) = ebx; /* 0x250052A8: mov dword ptr [ebp - 0x40], ebx */
    392     if (CMP_EQ(_flag_a, _flag_b)) goto L_250055A9; /* 0x250052AB: je 0x250055a9 */
    393 L_250052B1:
    394     goto L_250052B6; /* 0x250052B1: jmp 0x250052b6 */
    395 L_250052B3:
    396     ecx = MEM32(ebp + (-0x10)); /* 0x250052B3: mov ecx, dword ptr [ebp - 0x10] */
    397 L_250052B6:
    398     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250052B6: fld dword ptr [ecx + 8] */
    399     edi = ecx + 0x8; /* 0x250052B9: lea edi, [ecx + 8] */
    400     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x250052BC: fcomp dword ptr [ebp - 0x14] */
    401     fp_pop();
    402     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250052BF: fnstsw ax */
    403     /* test HI8(eax), 1 */ /* 0x250052C1: test ah, 1 */
    404     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    405     _cf = 0;
    406     _flag_k = FK_NARROW(FK_TEST, 24);
    407     if (TEST_Z(_flag_a, _flag_b)) goto L_2500530A; /* 0x250052C4: je 0x2500530a */
    408 L_250052C6:
    409     edx = MEM32(ecx); /* 0x250052C6: mov edx, dword ptr [ecx] */
    410     eax = ecx; /* 0x250052C8: mov eax, ecx */
    411     MEM32(ebp + (-0x18)) = eax; /* 0x250052CA: mov dword ptr [ebp - 0x18], eax */
    412     PUSH32(esp, 0); /* 0x250052CD: push 0 */
    413     eax = ebp + (-0x80); /* 0x250052CF: lea eax, [ebp - 0x80] */
    414     PUSH32(esp, eax); /* 0x250052D2: push eax */
    415     ecx = ebp + (-0x18); /* 0x250052D3: lea ecx, [ebp - 0x18] */
    416     MEM32(ebp + (-0x10)) = edx; /* 0x250052D6: mov dword ptr [ebp - 0x10], edx */
    417     RECOMP_ICALL(0x250851C0u); /* 0x250052D9: call 0x250851c0 */ /* not lifted */
    418     RECOMP_FLAGS_IN();
    419     eax = MEM32(eax); /* 0x250052DE: mov eax, dword ptr [eax] */
    420     ecx = MEM32(eax + 0x4); /* 0x250052E0: mov ecx, dword ptr [eax + 4] */
    421     edx = MEM32(eax); /* 0x250052E3: mov edx, dword ptr [eax] */
    422     MEM32(ecx) = edx; /* 0x250052E5: mov dword ptr [ecx], edx */
    423     ecx = MEM32(eax); /* 0x250052E7: mov ecx, dword ptr [eax] */
    424     edx = MEM32(eax + 0x4); /* 0x250052E9: mov edx, dword ptr [eax + 4] */
    425     PUSH32(esp, eax); /* 0x250052EC: push eax */
    426     MEM32(ecx + 0x4) = edx; /* 0x250052ED: mov dword ptr [ecx + 4], edx */
    427     RECOMP_ICALL(0x25137EECu); /* 0x250052F0: call 0x25137eec */ /* not lifted */
    428     RECOMP_FLAGS_IN();
    429     eax = MEM32(esi + 0x30C); /* 0x250052F5: mov eax, dword ptr [esi + 0x30c] */
    430     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    431     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    432     esp = esp + 4; /* 0x250052FB: add esp, 4 */
    433     _flag_k = FK_ADD;
    434     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    435     eax = eax - 1; /* 0x250052FE: dec eax */
    436     _flag_k = FK_DEC;
    437     MEM32(esi + 0x30C) = eax; /* 0x250052FF: mov dword ptr [esi + 0x30c], eax */
    438     goto L_2500559D; /* 0x25005305: jmp 0x2500559d */
    439 L_2500530A:
    440     eax = MEM32(ecx); /* 0x2500530A: mov eax, dword ptr [ecx] */
    441     esi = edi + 0x4; /* 0x2500530C: lea esi, [edi + 4] */
    442     PUSH32(esp, esi); /* 0x2500530F: push esi */
    443     ecx = ebp + (-0xD8); /* 0x25005310: lea ecx, [ebp - 0xd8] */
    444     MEM32(ebp + (-0x10)) = eax; /* 0x25005316: mov dword ptr [ebp - 0x10], eax */
    445     RECOMP_ICALL(MEM32(0x25151520)); /* 0x25005319: call dword ptr [0x25151520] */
    446     RECOMP_FLAGS_IN();
    447     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x2500531F: fld dword ptr [esi + 0xc] */
    448     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x25005322: fmul dword ptr [edi + 0x14] */
    449     ebx = edi + 0x24; /* 0x25005325: lea ebx, [edi + 0x24] */
    450     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005328: fld dword ptr [esi + 8] */
    451     MEM32(ebp + (-0x4)) = 0; /* 0x2500532B: mov dword ptr [ebp - 4], 0 */
    452     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005332: fmul dword ptr [edi + 0x18] */
    453     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005335: faddp st(1) */
    454     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005337: fld dword ptr [esi + 4] */
    455     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x2500533A: fmul dword ptr [edi + 0x1c] */
    456     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500533D: fsubp st(1) */
    457     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500533F: fld dword ptr [edi + 0x20] */
    458     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005342: fmul dword ptr [esi] */
    459     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005344: faddp st(1) */
    460     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005346: fld dword ptr [esi + 0xc] */
    461     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005349: fmul dword ptr [edi + 0x18] */
    462     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500534C: fld dword ptr [esi + 4] */
    463     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500534F: fmul dword ptr [edi + 0x20] */
    464     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005352: faddp st(1) */
    465     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005354: fld dword ptr [edi + 0x14] */
    466     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005357: fmul dword ptr [esi + 8] */
    467     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500535A: fsubp st(1) */
    468     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500535C: fld dword ptr [edi + 0x1c] */
    469     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500535F: fmul dword ptr [esi] */
    470     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005361: faddp st(1) */
    471     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25005363: fstp dword ptr [ebp - 0x18] */
    472     ecx = MEM32(ebp + (-0x18)); /* 0x25005366: mov ecx, dword ptr [ebp - 0x18] */
    473     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005369: fld dword ptr [esi + 4] */
    474     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x2500536C: fmul dword ptr [edi + 0x14] */
    475     fp_push(*(float*)&MEM32(edi + 0x18)); /* 0x2500536F: fld dword ptr [edi + 0x18] */
    476     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005372: fmul dword ptr [esi] */
    477     { double _v = fp_pop(); _st[0] -= _v; } /* 0x25005374: fsubp st(1) */
    478     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005376: fld dword ptr [esi + 0xc] */
    479     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x25005379: fmul dword ptr [edi + 0x1c] */
    480     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500537C: faddp st(1) */
    481     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500537E: fld dword ptr [edi + 0x20] */
    482     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005381: fmul dword ptr [esi + 8] */
    483     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005384: faddp st(1) */
    484     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25005386: fstp dword ptr [ebp - 0x20] */
    485     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005389: fld dword ptr [esi + 0xc] */
    486     edx = MEM32(ebp + (-0x20)); /* 0x2500538C: mov edx, dword ptr [ebp - 0x20] */
    487     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500538F: fmul dword ptr [edi + 0x20] */
    488     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005392: fld dword ptr [esi + 4] */
    489     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005395: fmul dword ptr [edi + 0x18] */
    490     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005398: fld dword ptr [edi + 0x14] */
    491     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500539B: fmul dword ptr [esi] */
    492     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500539D: faddp st(1) */
    493     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500539F: fld dword ptr [edi + 0x1c] */
    494     MEM32(esi + 0x4) = ecx; /* 0x250053A2: mov dword ptr [esi + 4], ecx */
    495     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250053A5: fmul dword ptr [esi + 8] */
    496     MEM32(esi + 0x8) = edx; /* 0x250053A8: mov dword ptr [esi + 8], edx */
    497     { double _v = fp_pop(); _st[0] += _v; } /* 0x250053AB: faddp st(1) */
    498     { double _v = fp_pop(); _st[0] -= _v; } /* 0x250053AD: fsubp st(1) */
    499     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xC) = _v; } /* 0x250053AF: fstp dword ptr [esi + 0xc] */
    500     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053B2: fstp dword ptr [esi] */
    501     eax = MEM32(ebx + 0x8); /* 0x250053B4: mov eax, dword ptr [ebx + 8] */
    502     ecx = MEM32(ebx + 0x4); /* 0x250053B7: mov ecx, dword ptr [ebx + 4] */
    503     edx = MEM32(ebx); /* 0x250053BA: mov edx, dword ptr [ebx] */
    504     PUSH32(esp, eax); /* 0x250053BC: push eax */
    505     PUSH32(esp, ecx); /* 0x250053BD: push ecx */
    506     PUSH32(esp, edx); /* 0x250053BE: push edx */
    507     ecx = ebp + (-0xD8); /* 0x250053BF: lea ecx, [ebp - 0xd8] */
    508     RECOMP_ICALL(MEM32(0x25151500)); /* 0x250053C5: call dword ptr [0x25151500] */
    509     RECOMP_FLAGS_IN();
    510     fp_push(*(float*)&MEM32(edi + 0x30)); /* 0x250053CB: fld dword ptr [edi + 0x30] */
    511     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053CE: fmul dword ptr [0x25151778] */
    512     esi = edi + 0x30; /* 0x250053D4: lea esi, [edi + 0x30] */
    513     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053D7: fstp dword ptr [esi] */
    514     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053D9: fld dword ptr [esi + 4] */
    515     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053DC: fmul dword ptr [0x25151778] */
    516     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250053E2: fstp dword ptr [esi + 4] */
    517     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250053E5: fld dword ptr [esi + 8] */
    518     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053E8: fmul dword ptr [0x25151778] */
    519     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250053EE: fstp dword ptr [esi + 8] */
    520     eax = MEM32(esi); /* 0x250053F1: mov eax, dword ptr [esi] */
    521     MEM32(esi) = eax; /* 0x250053F3: mov dword ptr [esi], eax */
    522     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053F5: fld dword ptr [esi + 4] */
    523     ecx = MEM32(esi + 0x8); /* 0x250053F8: mov ecx, dword ptr [esi + 8] */
    524     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250053FB: fsub dword ptr [0x251517a4] */
    525     MEM32(esi + 0x8) = ecx; /* 0x25005401: mov dword ptr [esi + 8], ecx */
    526     edx = esi; /* 0x25005404: mov edx, esi */
    527     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x25005406: fstp dword ptr [esi + 4] */
    528     MEM32(ebp + (-0x3C)) = 0; /* 0x25005409: mov dword ptr [ebp - 0x3c], 0 */
    529     MEM32(ebp + (-0x38)) = 0; /* 0x25005410: mov dword ptr [ebp - 0x38], 0 */
    530     MEM32(ebp + (-0x34)) = 0; /* 0x25005417: mov dword ptr [ebp - 0x34], 0 */
    531     MEM32(ebp + (-0x2C)) = 0; /* 0x2500541E: mov dword ptr [ebp - 0x2c], 0 */
    532     MEM32(ebp + (-0x28)) = 0; /* 0x25005425: mov dword ptr [ebp - 0x28], 0 */
    533     MEM32(ebp + (-0x24)) = 0; /* 0x2500542C: mov dword ptr [ebp - 0x24], 0 */
    534     eax = MEM32(edx); /* 0x25005433: mov eax, dword ptr [edx] */
    535     ecx = MEM32(edx + 0x4); /* 0x25005435: mov ecx, dword ptr [edx + 4] */
    536     edx = MEM32(edx + 0x8); /* 0x25005438: mov edx, dword ptr [edx + 8] */
    537     MEM32(ebp + (-0x58)) = eax; /* 0x2500543B: mov dword ptr [ebp - 0x58], eax */
    538     eax = MEM32(ebp + (-0x30)); /* 0x2500543E: mov eax, dword ptr [ebp - 0x30] */
    539     MEM32(ebp + (-0x54)) = ecx; /* 0x25005441: mov dword ptr [ebp - 0x54], ecx */
    540     PUSH32(esp, eax); /* 0x25005444: push eax */
    541     ecx = ebp + (-0x58); /* 0x25005445: lea ecx, [ebp - 0x58] */
    542     MEM32(ebp + (-0x50)) = edx; /* 0x25005448: mov dword ptr [ebp - 0x50], edx */
    543     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2500544B: call dword ptr [0x25151510] */
    544     RECOMP_FLAGS_IN();
    545     ecx = MEM32(eax); /* 0x25005451: mov ecx, dword ptr [eax] */
    546     MEM32(ebp + (-0x70)) = ecx; /* 0x25005453: mov dword ptr [ebp - 0x70], ecx */
    547     edx = MEM32(eax + 0x4); /* 0x25005456: mov edx, dword ptr [eax + 4] */
    548     ecx = MEM32(ebp + (-0x1C)); /* 0x25005459: mov ecx, dword ptr [ebp - 0x1c] */
    549     MEM32(ebp + (-0x6C)) = edx; /* 0x2500545C: mov dword ptr [ebp - 0x6c], edx */
    550     eax = MEM32(eax + 0x8); /* 0x2500545F: mov eax, dword ptr [eax + 8] */
    551     edx = MEM32(ecx); /* 0x25005462: mov edx, dword ptr [ecx] */
    552     MEM32(ebp + (-0x68)) = eax; /* 0x25005464: mov dword ptr [ebp - 0x68], eax */
    553     eax = ebp + (-0x2C); /* 0x25005467: lea eax, [ebp - 0x2c] */
    554     PUSH32(esp, eax); /* 0x2500546A: push eax */
    555     eax = ebp + (-0x3C); /* 0x2500546B: lea eax, [ebp - 0x3c] */
    556     PUSH32(esp, eax); /* 0x2500546E: push eax */
    557     eax = ebp + (-0x70); /* 0x2500546F: lea eax, [ebp - 0x70] */
    558     PUSH32(esp, eax); /* 0x25005472: push eax */
    559     PUSH32(esp, ebx); /* 0x25005473: push ebx */
    560     RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x25005474: call dword ptr [edx + 0x50] */
    561     RECOMP_FLAGS_IN();
    562     /* test LO8(eax), LO8(eax) */ /* 0x25005477: test al, al */
    563     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    564     _cf = 0;
    565     _flag_k = FK_NARROW(FK_TEST, 24);
    566     if (TEST_Z(_flag_a, _flag_b)) goto L_2500553A; /* 0x25005479: je 0x2500553a */
    567 L_2500547F:
    568     ecx = MEM32(ebp + (-0x3C)); /* 0x2500547F: mov ecx, dword ptr [ebp - 0x3c] */
    569     MEM32(ebx) = ecx; /* 0x25005482: mov dword ptr [ebx], ecx */
    570     edx = MEM32(ebp + (-0x38)); /* 0x25005484: mov edx, dword ptr [ebp - 0x38] */
    571     MEM32(ebx + 0x4) = edx; /* 0x25005487: mov dword ptr [ebx + 4], edx */
    572     eax = MEM32(ebp + (-0x34)); /* 0x2500548A: mov eax, dword ptr [ebp - 0x34] */
    573     MEM32(ebx + 0x8) = eax; /* 0x2500548D: mov dword ptr [ebx + 8], eax */
    574     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005490: fld dword ptr [esi + 8] */
    575     _st[0] = -_st[0]; /* 0x25005493: fchs  */
    576     PUSH32(esp, ecx); /* 0x25005495: push ecx */
    577     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25005496: fstp dword ptr [esp] */
    578     PUSH32(esp, ecx); /* 0x25005499: push ecx */
    579     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500549A: fld dword ptr [esi + 4] */
    580     _st[0] = -_st[0]; /* 0x2500549D: fchs  */
    581     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2500549F: fstp dword ptr [esp] */
    582     PUSH32(esp, ecx); /* 0x250054A2: push ecx */
    583     fp_push(*(float*)&MEM32(esi)); /* 0x250054A3: fld dword ptr [esi] */
    584     ecx = ebp + (-0x98); /* 0x250054A5: lea ecx, [ebp - 0x98] */
    585     _st[0] = -_st[0]; /* 0x250054AB: fchs  */
    586     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250054AD: fstp dword ptr [esp] */
    587     RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250054B0: call dword ptr [0x251514fc] */
    588     RECOMP_FLAGS_IN();
    589     ecx = MEM32(eax); /* 0x250054B6: mov ecx, dword ptr [eax] */
    590     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250054B8: fld dword ptr [ebp - 0x24] */
    591     edx = MEM32(eax + 0x4); /* 0x250054BB: mov edx, dword ptr [eax + 4] */
    592     eax = MEM32(eax + 0x8); /* 0x250054BE: mov eax, dword ptr [eax + 8] */
    593     MEM32(ebp + (-0x44)) = eax; /* 0x250054C1: mov dword ptr [ebp - 0x44], eax */
    594     _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x250054C4: fmul dword ptr [ebp - 0x44] */
    595     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250054C7: fld dword ptr [ebp - 0x28] */
    596     eax = MEM32(ebp + (-0x24)); /* 0x250054CA: mov eax, dword ptr [ebp - 0x24] */
    597     MEM32(ebp + (-0x48)) = edx; /* 0x250054CD: mov dword ptr [ebp - 0x48], edx */
    598     _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250054D0: fmul dword ptr [ebp - 0x48] */
    599     edx = MEM32(ebp + (-0x28)); /* 0x250054D3: mov edx, dword ptr [ebp - 0x28] */
    600     MEM32(ebp + (-0x4C)) = ecx; /* 0x250054D6: mov dword ptr [ebp - 0x4c], ecx */
    601     ecx = MEM32(ebp + (-0x2C)); /* 0x250054D9: mov ecx, dword ptr [ebp - 0x2c] */
    602     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054DC: faddp st(1) */
    603     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250054DE: fld dword ptr [ebp - 0x4c] */
    604     MEM32(ebp + (-0x7C)) = ecx; /* 0x250054E1: mov dword ptr [ebp - 0x7c], ecx */
    605     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250054E4: fmul dword ptr [ebp - 0x2c] */
    606     MEM32(ebp + (-0x78)) = edx; /* 0x250054E7: mov dword ptr [ebp - 0x78], edx */
    607     MEM32(ebp + (-0x74)) = eax; /* 0x250054EA: mov dword ptr [ebp - 0x74], eax */
    608     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054ED: faddp st(1) */
    609     _st[0] += _st[0]; /* 0x250054EF: fadd st(0), st(0) */
    610     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250054F1: fstp dword ptr [ebp - 0x20] */
    611     ecx = MEM32(ebp + (-0x20)); /* 0x250054F4: mov ecx, dword ptr [ebp - 0x20] */
    612     PUSH32(esp, ecx); /* 0x250054F7: push ecx */
    613     ecx = ebp + (-0x7C); /* 0x250054F8: lea ecx, [ebp - 0x7c] */
    614     RECOMP_ICALL(MEM32(0x25151510)); /* 0x250054FB: call dword ptr [0x25151510] */
    615     RECOMP_FLAGS_IN();
    616     edx = MEM32(eax); /* 0x25005501: mov edx, dword ptr [eax] */
    617     ecx = MEM32(eax + 0x4); /* 0x25005503: mov ecx, dword ptr [eax + 4] */
    618     MEM32(ebp + (-0x64)) = edx; /* 0x25005506: mov dword ptr [ebp - 0x64], edx */
    619     edx = MEM32(eax + 0x8); /* 0x25005509: mov edx, dword ptr [eax + 8] */
    620     MEM32(ebp + (-0x60)) = ecx; /* 0x2500550C: mov dword ptr [ebp - 0x60], ecx */
    621     PUSH32(esp, esi); /* 0x2500550F: push esi */
    622     ecx = ebp + (-0x64); /* 0x25005510: lea ecx, [ebp - 0x64] */
    623     MEM32(ebp + (-0x5C)) = edx; /* 0x25005513: mov dword ptr [ebp - 0x5c], edx */
    624     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005516: call dword ptr [0x251514f8] */
    625     RECOMP_FLAGS_IN();
    626     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500551C: fld dword ptr [edi + 0x20] */
    627     ecx = MEM32(eax); /* 0x2500551F: mov ecx, dword ptr [eax] */
    628     _st[0] *= (double)*(float*)ADDR(0x2515176C); /* 0x25005521: fmul dword ptr [0x2515176c] */
    629     MEM32(esi) = ecx; /* 0x25005527: mov dword ptr [esi], ecx */
    630     edx = MEM32(eax + 0x4); /* 0x25005529: mov edx, dword ptr [eax + 4] */
    631     MEM32(esi + 0x4) = edx; /* 0x2500552C: mov dword ptr [esi + 4], edx */
    632     eax = MEM32(eax + 0x8); /* 0x2500552F: mov eax, dword ptr [eax + 8] */
    633     { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x20) = _v; } /* 0x25005532: fstp dword ptr [edi + 0x20] */
    634     MEM32(esi + 0x8) = eax; /* 0x25005535: mov dword ptr [esi + 8], eax */
    635     goto L_25005557; /* 0x25005538: jmp 0x25005557 */
    636 L_2500553A:
    637     ecx = MEM32(ebp + (-0x30)); /* 0x2500553A: mov ecx, dword ptr [ebp - 0x30] */
    638     PUSH32(esp, esi); /* 0x2500553D: push esi */
    639     PUSH32(esp, ecx); /* 0x2500553E: push ecx */
    640     edx = ebp + (-0x8C); /* 0x2500553F: lea edx, [ebp - 0x8c] */
    641     PUSH32(esp, edx); /* 0x25005545: push edx */
    642     RECOMP_ICALL(0x25005EB0u); /* 0x25005546: call 0x25005eb0 */ /* not lifted */
    643     RECOMP_FLAGS_IN();
    644     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    645     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    646     esp = esp + 0xCu; /* 0x2500554B: add esp, 0xc */
    647     _flag_k = FK_ADD;
    648     PUSH32(esp, eax); /* 0x2500554E: push eax */
    649     ecx = ebx; /* 0x2500554F: mov ecx, ebx */
    650     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005551: call dword ptr [0x251514f8] */
    651     RECOMP_FLAGS_IN();
    652 L_25005557:
    653     ecx = MEM32(0x25238B58); /* 0x25005557: mov ecx, dword ptr [0x25238b58] */
    654     eax = ebp + (-0xD8); /* 0x2500555D: lea eax, [ebp - 0xd8] */
    655     PUSH32(esp, eax); /* 0x25005563: push eax */
    656     PUSH32(esp, 1); /* 0x25005564: push 1 */
    657     RECOMP_ICALL(0x250E8950u); /* 0x25005566: call 0x250e8950 */ /* not lifted */
    658     RECOMP_FLAGS_IN();
    659     ecx = MEM32(ebp + (-0x1C)); /* 0x2500556B: mov ecx, dword ptr [ebp - 0x1c] */
    660     PUSH32(esp, 0); /* 0x2500556E: push 0 */
    661     PUSH32(esp, 0x24u); /* 0x25005570: push 0x24 */
    662     PUSH32(esp, 0x251B23C8u); /* 0x25005572: push 0x251b23c8 */
    663     PUSH32(esp, 8); /* 0x25005577: push 8 */
    664     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1D4u);
    665     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    666     ecx = ecx + 0x1D4u; /* 0x25005579: add ecx, 0x1d4 */
    667     _flag_k = FK_ADD;
    668     PUSH32(esp, ecx); /* 0x2500557F: push ecx */
    669     ecx = MEM32(0x25238B58); /* 0x25005580: mov ecx, dword ptr [0x25238b58] */
    670     PUSH32(esp, 0x112u); /* 0x25005586: push 0x112 */
    671     RECOMP_ICALL(0x250E7010u); /* 0x2500558B: call 0x250e7010 */ /* not lifted */
    672     RECOMP_FLAGS_IN();
    673     ebx = MEM32(ebp + (-0x40)); /* 0x25005590: mov ebx, dword ptr [ebp - 0x40] */
    674     esi = MEM32(ebp + (-0x1C)); /* 0x25005593: mov esi, dword ptr [ebp - 0x1c] */
    675     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25005596: mov dword ptr [ebp - 4], 0xffffffff */
    676 L_2500559D:
    677     /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2500559D: cmp dword ptr [ebp - 0x10], ebx */
    678     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx);
    679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    680     _flag_k = FK_CMP;
    681     RECOMP_BACKEDGE();
    682     if (CMP_NE(_flag_a, _flag_b)) goto L_250052B3; /* 0x250055A0: jne 0x250052b3 */
    683 L_250055A6:
    684     edi = MEM32(ebp + 0x8); /* 0x250055A6: mov edi, dword ptr [ebp + 8] */
    685 L_250055A9:
    686     ecx = edi; /* 0x250055A9: mov ecx, edi */
    687     RECOMP_ICALL(0x250E0360u); /* 0x250055AB: call 0x250e0360 */ /* not lifted */
    688     RECOMP_FLAGS_IN();
    689     ecx = MEM32(ebp + (-0xC)); /* 0x250055B0: mov ecx, dword ptr [ebp - 0xc] */
    690     edi = POP32_VAL(esp); /* 0x250055B3: pop edi */
    691     esi = POP32_VAL(esp); /* 0x250055B4: pop esi */
    692     ebx = POP32_VAL(esp); /* 0x250055B5: pop ebx */
    693     MEM32(FS_BASE + (0)) = ecx; /* 0x250055B6: mov dword ptr fs:[0], ecx */
    694     esp = ebp; /* 0x250055BD: mov esp, ebp */
    695     ebp = POP32_VAL(esp); /* 0x250055BF: pop ebp */
    696     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250055C0: ret 4 */
    697     RECOMP_REGS_OUT();
    698 }
    699 
    700 void sub_250052B3(void) {
    701     int _fpu_cmp = 0;
    702     uint32_t _cf = 0;
    703     int _df = 1;
    704     uint32_t _flag_k = FK_NONE;
    705     uint32_t _flag_a = 0, _flag_b = 0;
    706     uint32_t _itail_tgt = 0;
    707     RECOMP_REGS_LOCALS
    708     RECOMP_ENTER(0x250052B3u);
    709 
    710 L_250052B3:
    711     ecx = MEM32(ebp + (-0x10)); /* 0x250052B3: mov ecx, dword ptr [ebp - 0x10] */
    712     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250052B6: fld dword ptr [ecx + 8] */
    713     edi = ecx + 0x8; /* 0x250052B9: lea edi, [ecx + 8] */
    714     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x250052BC: fcomp dword ptr [ebp - 0x14] */
    715     fp_pop();
    716     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250052BF: fnstsw ax */
    717     /* test HI8(eax), 1 */ /* 0x250052C1: test ah, 1 */
    718     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    719     _cf = 0;
    720     _flag_k = FK_NARROW(FK_TEST, 24);
    721     if (TEST_Z(_flag_a, _flag_b)) goto L_2500530A; /* 0x250052C4: je 0x2500530a */
    722 L_250052C6:
    723     edx = MEM32(ecx); /* 0x250052C6: mov edx, dword ptr [ecx] */
    724     eax = ecx; /* 0x250052C8: mov eax, ecx */
    725     MEM32(ebp + (-0x18)) = eax; /* 0x250052CA: mov dword ptr [ebp - 0x18], eax */
    726     PUSH32(esp, 0); /* 0x250052CD: push 0 */
    727     eax = ebp + (-0x80); /* 0x250052CF: lea eax, [ebp - 0x80] */
    728     PUSH32(esp, eax); /* 0x250052D2: push eax */
    729     ecx = ebp + (-0x18); /* 0x250052D3: lea ecx, [ebp - 0x18] */
    730     MEM32(ebp + (-0x10)) = edx; /* 0x250052D6: mov dword ptr [ebp - 0x10], edx */
    731     RECOMP_ICALL(0x250851C0u); /* 0x250052D9: call 0x250851c0 */ /* not lifted */
    732     RECOMP_FLAGS_IN();
    733     eax = MEM32(eax); /* 0x250052DE: mov eax, dword ptr [eax] */
    734     ecx = MEM32(eax + 0x4); /* 0x250052E0: mov ecx, dword ptr [eax + 4] */
    735     edx = MEM32(eax); /* 0x250052E3: mov edx, dword ptr [eax] */
    736     MEM32(ecx) = edx; /* 0x250052E5: mov dword ptr [ecx], edx */
    737     ecx = MEM32(eax); /* 0x250052E7: mov ecx, dword ptr [eax] */
    738     edx = MEM32(eax + 0x4); /* 0x250052E9: mov edx, dword ptr [eax + 4] */
    739     PUSH32(esp, eax); /* 0x250052EC: push eax */
    740     MEM32(ecx + 0x4) = edx; /* 0x250052ED: mov dword ptr [ecx + 4], edx */
    741     RECOMP_ICALL(0x25137EECu); /* 0x250052F0: call 0x25137eec */ /* not lifted */
    742     RECOMP_FLAGS_IN();
    743     eax = MEM32(esi + 0x30C); /* 0x250052F5: mov eax, dword ptr [esi + 0x30c] */
    744     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    745     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    746     esp = esp + 4; /* 0x250052FB: add esp, 4 */
    747     _flag_k = FK_ADD;
    748     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    749     eax = eax - 1; /* 0x250052FE: dec eax */
    750     _flag_k = FK_DEC;
    751     MEM32(esi + 0x30C) = eax; /* 0x250052FF: mov dword ptr [esi + 0x30c], eax */
    752     goto L_2500559D; /* 0x25005305: jmp 0x2500559d */
    753 L_2500530A:
    754     eax = MEM32(ecx); /* 0x2500530A: mov eax, dword ptr [ecx] */
    755     esi = edi + 0x4; /* 0x2500530C: lea esi, [edi + 4] */
    756     PUSH32(esp, esi); /* 0x2500530F: push esi */
    757     ecx = ebp + (-0xD8); /* 0x25005310: lea ecx, [ebp - 0xd8] */
    758     MEM32(ebp + (-0x10)) = eax; /* 0x25005316: mov dword ptr [ebp - 0x10], eax */
    759     RECOMP_ICALL(MEM32(0x25151520)); /* 0x25005319: call dword ptr [0x25151520] */
    760     RECOMP_FLAGS_IN();
    761     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x2500531F: fld dword ptr [esi + 0xc] */
    762     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x25005322: fmul dword ptr [edi + 0x14] */
    763     ebx = edi + 0x24; /* 0x25005325: lea ebx, [edi + 0x24] */
    764     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005328: fld dword ptr [esi + 8] */
    765     MEM32(ebp + (-0x4)) = 0; /* 0x2500532B: mov dword ptr [ebp - 4], 0 */
    766     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005332: fmul dword ptr [edi + 0x18] */
    767     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005335: faddp st(1) */
    768     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005337: fld dword ptr [esi + 4] */
    769     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x2500533A: fmul dword ptr [edi + 0x1c] */
    770     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500533D: fsubp st(1) */
    771     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500533F: fld dword ptr [edi + 0x20] */
    772     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005342: fmul dword ptr [esi] */
    773     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005344: faddp st(1) */
    774     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005346: fld dword ptr [esi + 0xc] */
    775     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005349: fmul dword ptr [edi + 0x18] */
    776     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500534C: fld dword ptr [esi + 4] */
    777     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500534F: fmul dword ptr [edi + 0x20] */
    778     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005352: faddp st(1) */
    779     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005354: fld dword ptr [edi + 0x14] */
    780     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005357: fmul dword ptr [esi + 8] */
    781     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500535A: fsubp st(1) */
    782     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500535C: fld dword ptr [edi + 0x1c] */
    783     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500535F: fmul dword ptr [esi] */
    784     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005361: faddp st(1) */
    785     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25005363: fstp dword ptr [ebp - 0x18] */
    786     ecx = MEM32(ebp + (-0x18)); /* 0x25005366: mov ecx, dword ptr [ebp - 0x18] */
    787     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005369: fld dword ptr [esi + 4] */
    788     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x2500536C: fmul dword ptr [edi + 0x14] */
    789     fp_push(*(float*)&MEM32(edi + 0x18)); /* 0x2500536F: fld dword ptr [edi + 0x18] */
    790     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005372: fmul dword ptr [esi] */
    791     { double _v = fp_pop(); _st[0] -= _v; } /* 0x25005374: fsubp st(1) */
    792     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005376: fld dword ptr [esi + 0xc] */
    793     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x25005379: fmul dword ptr [edi + 0x1c] */
    794     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500537C: faddp st(1) */
    795     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500537E: fld dword ptr [edi + 0x20] */
    796     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005381: fmul dword ptr [esi + 8] */
    797     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005384: faddp st(1) */
    798     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25005386: fstp dword ptr [ebp - 0x20] */
    799     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005389: fld dword ptr [esi + 0xc] */
    800     edx = MEM32(ebp + (-0x20)); /* 0x2500538C: mov edx, dword ptr [ebp - 0x20] */
    801     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500538F: fmul dword ptr [edi + 0x20] */
    802     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005392: fld dword ptr [esi + 4] */
    803     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005395: fmul dword ptr [edi + 0x18] */
    804     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005398: fld dword ptr [edi + 0x14] */
    805     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500539B: fmul dword ptr [esi] */
    806     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500539D: faddp st(1) */
    807     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500539F: fld dword ptr [edi + 0x1c] */
    808     MEM32(esi + 0x4) = ecx; /* 0x250053A2: mov dword ptr [esi + 4], ecx */
    809     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250053A5: fmul dword ptr [esi + 8] */
    810     MEM32(esi + 0x8) = edx; /* 0x250053A8: mov dword ptr [esi + 8], edx */
    811     { double _v = fp_pop(); _st[0] += _v; } /* 0x250053AB: faddp st(1) */
    812     { double _v = fp_pop(); _st[0] -= _v; } /* 0x250053AD: fsubp st(1) */
    813     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xC) = _v; } /* 0x250053AF: fstp dword ptr [esi + 0xc] */
    814     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053B2: fstp dword ptr [esi] */
    815     eax = MEM32(ebx + 0x8); /* 0x250053B4: mov eax, dword ptr [ebx + 8] */
    816     ecx = MEM32(ebx + 0x4); /* 0x250053B7: mov ecx, dword ptr [ebx + 4] */
    817     edx = MEM32(ebx); /* 0x250053BA: mov edx, dword ptr [ebx] */
    818     PUSH32(esp, eax); /* 0x250053BC: push eax */
    819     PUSH32(esp, ecx); /* 0x250053BD: push ecx */
    820     PUSH32(esp, edx); /* 0x250053BE: push edx */
    821     ecx = ebp + (-0xD8); /* 0x250053BF: lea ecx, [ebp - 0xd8] */
    822     RECOMP_ICALL(MEM32(0x25151500)); /* 0x250053C5: call dword ptr [0x25151500] */
    823     RECOMP_FLAGS_IN();
    824     fp_push(*(float*)&MEM32(edi + 0x30)); /* 0x250053CB: fld dword ptr [edi + 0x30] */
    825     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053CE: fmul dword ptr [0x25151778] */
    826     esi = edi + 0x30; /* 0x250053D4: lea esi, [edi + 0x30] */
    827     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053D7: fstp dword ptr [esi] */
    828     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053D9: fld dword ptr [esi + 4] */
    829     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053DC: fmul dword ptr [0x25151778] */
    830     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250053E2: fstp dword ptr [esi + 4] */
    831     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250053E5: fld dword ptr [esi + 8] */
    832     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053E8: fmul dword ptr [0x25151778] */
    833     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250053EE: fstp dword ptr [esi + 8] */
    834     eax = MEM32(esi); /* 0x250053F1: mov eax, dword ptr [esi] */
    835     MEM32(esi) = eax; /* 0x250053F3: mov dword ptr [esi], eax */
    836     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053F5: fld dword ptr [esi + 4] */
    837     ecx = MEM32(esi + 0x8); /* 0x250053F8: mov ecx, dword ptr [esi + 8] */
    838     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250053FB: fsub dword ptr [0x251517a4] */
    839     MEM32(esi + 0x8) = ecx; /* 0x25005401: mov dword ptr [esi + 8], ecx */
    840     edx = esi; /* 0x25005404: mov edx, esi */
    841     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x25005406: fstp dword ptr [esi + 4] */
    842     MEM32(ebp + (-0x3C)) = 0; /* 0x25005409: mov dword ptr [ebp - 0x3c], 0 */
    843     MEM32(ebp + (-0x38)) = 0; /* 0x25005410: mov dword ptr [ebp - 0x38], 0 */
    844     MEM32(ebp + (-0x34)) = 0; /* 0x25005417: mov dword ptr [ebp - 0x34], 0 */
    845     MEM32(ebp + (-0x2C)) = 0; /* 0x2500541E: mov dword ptr [ebp - 0x2c], 0 */
    846     MEM32(ebp + (-0x28)) = 0; /* 0x25005425: mov dword ptr [ebp - 0x28], 0 */
    847     MEM32(ebp + (-0x24)) = 0; /* 0x2500542C: mov dword ptr [ebp - 0x24], 0 */
    848     eax = MEM32(edx); /* 0x25005433: mov eax, dword ptr [edx] */
    849     ecx = MEM32(edx + 0x4); /* 0x25005435: mov ecx, dword ptr [edx + 4] */
    850     edx = MEM32(edx + 0x8); /* 0x25005438: mov edx, dword ptr [edx + 8] */
    851     MEM32(ebp + (-0x58)) = eax; /* 0x2500543B: mov dword ptr [ebp - 0x58], eax */
    852     eax = MEM32(ebp + (-0x30)); /* 0x2500543E: mov eax, dword ptr [ebp - 0x30] */
    853     MEM32(ebp + (-0x54)) = ecx; /* 0x25005441: mov dword ptr [ebp - 0x54], ecx */
    854     PUSH32(esp, eax); /* 0x25005444: push eax */
    855     ecx = ebp + (-0x58); /* 0x25005445: lea ecx, [ebp - 0x58] */
    856     MEM32(ebp + (-0x50)) = edx; /* 0x25005448: mov dword ptr [ebp - 0x50], edx */
    857     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2500544B: call dword ptr [0x25151510] */
    858     RECOMP_FLAGS_IN();
    859     ecx = MEM32(eax); /* 0x25005451: mov ecx, dword ptr [eax] */
    860     MEM32(ebp + (-0x70)) = ecx; /* 0x25005453: mov dword ptr [ebp - 0x70], ecx */
    861     edx = MEM32(eax + 0x4); /* 0x25005456: mov edx, dword ptr [eax + 4] */
    862     ecx = MEM32(ebp + (-0x1C)); /* 0x25005459: mov ecx, dword ptr [ebp - 0x1c] */
    863     MEM32(ebp + (-0x6C)) = edx; /* 0x2500545C: mov dword ptr [ebp - 0x6c], edx */
    864     eax = MEM32(eax + 0x8); /* 0x2500545F: mov eax, dword ptr [eax + 8] */
    865     edx = MEM32(ecx); /* 0x25005462: mov edx, dword ptr [ecx] */
    866     MEM32(ebp + (-0x68)) = eax; /* 0x25005464: mov dword ptr [ebp - 0x68], eax */
    867     eax = ebp + (-0x2C); /* 0x25005467: lea eax, [ebp - 0x2c] */
    868     PUSH32(esp, eax); /* 0x2500546A: push eax */
    869     eax = ebp + (-0x3C); /* 0x2500546B: lea eax, [ebp - 0x3c] */
    870     PUSH32(esp, eax); /* 0x2500546E: push eax */
    871     eax = ebp + (-0x70); /* 0x2500546F: lea eax, [ebp - 0x70] */
    872     PUSH32(esp, eax); /* 0x25005472: push eax */
    873     PUSH32(esp, ebx); /* 0x25005473: push ebx */
    874     RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x25005474: call dword ptr [edx + 0x50] */
    875     RECOMP_FLAGS_IN();
    876     /* test LO8(eax), LO8(eax) */ /* 0x25005477: test al, al */
    877     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    878     _cf = 0;
    879     _flag_k = FK_NARROW(FK_TEST, 24);
    880     if (TEST_Z(_flag_a, _flag_b)) goto L_2500553A; /* 0x25005479: je 0x2500553a */
    881 L_2500547F:
    882     ecx = MEM32(ebp + (-0x3C)); /* 0x2500547F: mov ecx, dword ptr [ebp - 0x3c] */
    883     MEM32(ebx) = ecx; /* 0x25005482: mov dword ptr [ebx], ecx */
    884     edx = MEM32(ebp + (-0x38)); /* 0x25005484: mov edx, dword ptr [ebp - 0x38] */
    885     MEM32(ebx + 0x4) = edx; /* 0x25005487: mov dword ptr [ebx + 4], edx */
    886     eax = MEM32(ebp + (-0x34)); /* 0x2500548A: mov eax, dword ptr [ebp - 0x34] */
    887     MEM32(ebx + 0x8) = eax; /* 0x2500548D: mov dword ptr [ebx + 8], eax */
    888     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005490: fld dword ptr [esi + 8] */
    889     _st[0] = -_st[0]; /* 0x25005493: fchs  */
    890     PUSH32(esp, ecx); /* 0x25005495: push ecx */
    891     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25005496: fstp dword ptr [esp] */
    892     PUSH32(esp, ecx); /* 0x25005499: push ecx */
    893     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500549A: fld dword ptr [esi + 4] */
    894     _st[0] = -_st[0]; /* 0x2500549D: fchs  */
    895     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2500549F: fstp dword ptr [esp] */
    896     PUSH32(esp, ecx); /* 0x250054A2: push ecx */
    897     fp_push(*(float*)&MEM32(esi)); /* 0x250054A3: fld dword ptr [esi] */
    898     ecx = ebp + (-0x98); /* 0x250054A5: lea ecx, [ebp - 0x98] */
    899     _st[0] = -_st[0]; /* 0x250054AB: fchs  */
    900     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250054AD: fstp dword ptr [esp] */
    901     RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250054B0: call dword ptr [0x251514fc] */
    902     RECOMP_FLAGS_IN();
    903     ecx = MEM32(eax); /* 0x250054B6: mov ecx, dword ptr [eax] */
    904     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250054B8: fld dword ptr [ebp - 0x24] */
    905     edx = MEM32(eax + 0x4); /* 0x250054BB: mov edx, dword ptr [eax + 4] */
    906     eax = MEM32(eax + 0x8); /* 0x250054BE: mov eax, dword ptr [eax + 8] */
    907     MEM32(ebp + (-0x44)) = eax; /* 0x250054C1: mov dword ptr [ebp - 0x44], eax */
    908     _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x250054C4: fmul dword ptr [ebp - 0x44] */
    909     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250054C7: fld dword ptr [ebp - 0x28] */
    910     eax = MEM32(ebp + (-0x24)); /* 0x250054CA: mov eax, dword ptr [ebp - 0x24] */
    911     MEM32(ebp + (-0x48)) = edx; /* 0x250054CD: mov dword ptr [ebp - 0x48], edx */
    912     _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250054D0: fmul dword ptr [ebp - 0x48] */
    913     edx = MEM32(ebp + (-0x28)); /* 0x250054D3: mov edx, dword ptr [ebp - 0x28] */
    914     MEM32(ebp + (-0x4C)) = ecx; /* 0x250054D6: mov dword ptr [ebp - 0x4c], ecx */
    915     ecx = MEM32(ebp + (-0x2C)); /* 0x250054D9: mov ecx, dword ptr [ebp - 0x2c] */
    916     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054DC: faddp st(1) */
    917     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250054DE: fld dword ptr [ebp - 0x4c] */
    918     MEM32(ebp + (-0x7C)) = ecx; /* 0x250054E1: mov dword ptr [ebp - 0x7c], ecx */
    919     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250054E4: fmul dword ptr [ebp - 0x2c] */
    920     MEM32(ebp + (-0x78)) = edx; /* 0x250054E7: mov dword ptr [ebp - 0x78], edx */
    921     MEM32(ebp + (-0x74)) = eax; /* 0x250054EA: mov dword ptr [ebp - 0x74], eax */
    922     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054ED: faddp st(1) */
    923     _st[0] += _st[0]; /* 0x250054EF: fadd st(0), st(0) */
    924     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250054F1: fstp dword ptr [ebp - 0x20] */
    925     ecx = MEM32(ebp + (-0x20)); /* 0x250054F4: mov ecx, dword ptr [ebp - 0x20] */
    926     PUSH32(esp, ecx); /* 0x250054F7: push ecx */
    927     ecx = ebp + (-0x7C); /* 0x250054F8: lea ecx, [ebp - 0x7c] */
    928     RECOMP_ICALL(MEM32(0x25151510)); /* 0x250054FB: call dword ptr [0x25151510] */
    929     RECOMP_FLAGS_IN();
    930     edx = MEM32(eax); /* 0x25005501: mov edx, dword ptr [eax] */
    931     ecx = MEM32(eax + 0x4); /* 0x25005503: mov ecx, dword ptr [eax + 4] */
    932     MEM32(ebp + (-0x64)) = edx; /* 0x25005506: mov dword ptr [ebp - 0x64], edx */
    933     edx = MEM32(eax + 0x8); /* 0x25005509: mov edx, dword ptr [eax + 8] */
    934     MEM32(ebp + (-0x60)) = ecx; /* 0x2500550C: mov dword ptr [ebp - 0x60], ecx */
    935     PUSH32(esp, esi); /* 0x2500550F: push esi */
    936     ecx = ebp + (-0x64); /* 0x25005510: lea ecx, [ebp - 0x64] */
    937     MEM32(ebp + (-0x5C)) = edx; /* 0x25005513: mov dword ptr [ebp - 0x5c], edx */
    938     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005516: call dword ptr [0x251514f8] */
    939     RECOMP_FLAGS_IN();
    940     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500551C: fld dword ptr [edi + 0x20] */
    941     ecx = MEM32(eax); /* 0x2500551F: mov ecx, dword ptr [eax] */
    942     _st[0] *= (double)*(float*)ADDR(0x2515176C); /* 0x25005521: fmul dword ptr [0x2515176c] */
    943     MEM32(esi) = ecx; /* 0x25005527: mov dword ptr [esi], ecx */
    944     edx = MEM32(eax + 0x4); /* 0x25005529: mov edx, dword ptr [eax + 4] */
    945     MEM32(esi + 0x4) = edx; /* 0x2500552C: mov dword ptr [esi + 4], edx */
    946     eax = MEM32(eax + 0x8); /* 0x2500552F: mov eax, dword ptr [eax + 8] */
    947     { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x20) = _v; } /* 0x25005532: fstp dword ptr [edi + 0x20] */
    948     MEM32(esi + 0x8) = eax; /* 0x25005535: mov dword ptr [esi + 8], eax */
    949     goto L_25005557; /* 0x25005538: jmp 0x25005557 */
    950 L_2500553A:
    951     ecx = MEM32(ebp + (-0x30)); /* 0x2500553A: mov ecx, dword ptr [ebp - 0x30] */
    952     PUSH32(esp, esi); /* 0x2500553D: push esi */
    953     PUSH32(esp, ecx); /* 0x2500553E: push ecx */
    954     edx = ebp + (-0x8C); /* 0x2500553F: lea edx, [ebp - 0x8c] */
    955     PUSH32(esp, edx); /* 0x25005545: push edx */
    956     RECOMP_ICALL(0x25005EB0u); /* 0x25005546: call 0x25005eb0 */ /* not lifted */
    957     RECOMP_FLAGS_IN();
    958     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    959     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    960     esp = esp + 0xCu; /* 0x2500554B: add esp, 0xc */
    961     _flag_k = FK_ADD;
    962     PUSH32(esp, eax); /* 0x2500554E: push eax */
    963     ecx = ebx; /* 0x2500554F: mov ecx, ebx */
    964     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005551: call dword ptr [0x251514f8] */
    965     RECOMP_FLAGS_IN();
    966 L_25005557:
    967     ecx = MEM32(0x25238B58); /* 0x25005557: mov ecx, dword ptr [0x25238b58] */
    968     eax = ebp + (-0xD8); /* 0x2500555D: lea eax, [ebp - 0xd8] */
    969     PUSH32(esp, eax); /* 0x25005563: push eax */
    970     PUSH32(esp, 1); /* 0x25005564: push 1 */
    971     RECOMP_ICALL(0x250E8950u); /* 0x25005566: call 0x250e8950 */ /* not lifted */
    972     RECOMP_FLAGS_IN();
    973     ecx = MEM32(ebp + (-0x1C)); /* 0x2500556B: mov ecx, dword ptr [ebp - 0x1c] */
    974     PUSH32(esp, 0); /* 0x2500556E: push 0 */
    975     PUSH32(esp, 0x24u); /* 0x25005570: push 0x24 */
    976     PUSH32(esp, 0x251B23C8u); /* 0x25005572: push 0x251b23c8 */
    977     PUSH32(esp, 8); /* 0x25005577: push 8 */
    978     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1D4u);
    979     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    980     ecx = ecx + 0x1D4u; /* 0x25005579: add ecx, 0x1d4 */
    981     _flag_k = FK_ADD;
    982     PUSH32(esp, ecx); /* 0x2500557F: push ecx */
    983     ecx = MEM32(0x25238B58); /* 0x25005580: mov ecx, dword ptr [0x25238b58] */
    984     PUSH32(esp, 0x112u); /* 0x25005586: push 0x112 */
    985     RECOMP_ICALL(0x250E7010u); /* 0x2500558B: call 0x250e7010 */ /* not lifted */
    986     RECOMP_FLAGS_IN();
    987     ebx = MEM32(ebp + (-0x40)); /* 0x25005590: mov ebx, dword ptr [ebp - 0x40] */
    988     esi = MEM32(ebp + (-0x1C)); /* 0x25005593: mov esi, dword ptr [ebp - 0x1c] */
    989     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25005596: mov dword ptr [ebp - 4], 0xffffffff */
    990 L_2500559D:
    991     /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2500559D: cmp dword ptr [ebp - 0x10], ebx */
    992     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx);
    993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    994     _flag_k = FK_CMP;
    995     RECOMP_BACKEDGE();
    996     if (CMP_NE(_flag_a, _flag_b)) goto L_250052B3; /* 0x250055A0: jne 0x250052b3 */
    997 L_250055A6:
    998     edi = MEM32(ebp + 0x8); /* 0x250055A6: mov edi, dword ptr [ebp + 8] */
    999     ecx = edi; /* 0x250055A9: mov ecx, edi */
   1000     RECOMP_ICALL(0x250E0360u); /* 0x250055AB: call 0x250e0360 */ /* not lifted */
   1001     RECOMP_FLAGS_IN();
   1002     ecx = MEM32(ebp + (-0xC)); /* 0x250055B0: mov ecx, dword ptr [ebp - 0xc] */
   1003     edi = POP32_VAL(esp); /* 0x250055B3: pop edi */
   1004     esi = POP32_VAL(esp); /* 0x250055B4: pop esi */
   1005     ebx = POP32_VAL(esp); /* 0x250055B5: pop ebx */
   1006     MEM32(FS_BASE + (0)) = ecx; /* 0x250055B6: mov dword ptr fs:[0], ecx */
   1007     esp = ebp; /* 0x250055BD: mov esp, ebp */
   1008     ebp = POP32_VAL(esp); /* 0x250055BF: pop ebp */
   1009     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250055C0: ret 4 */
   1010     RECOMP_REGS_OUT();
   1011 }
   1012 
   1013 void sub_25005557(void) {
   1014     int _fpu_cmp = 0;
   1015     uint32_t _cf = 0;
   1016     int _df = 1;
   1017     uint32_t _flag_k = FK_NONE;
   1018     uint32_t _flag_a = 0, _flag_b = 0;
   1019     uint32_t _itail_tgt = 0;
   1020     RECOMP_REGS_LOCALS
   1021     RECOMP_ENTER(0x25005557u);
   1022 
   1023     goto L_25005557;
   1024 L_250052B3:
   1025     ecx = MEM32(ebp + (-0x10)); /* 0x250052B3: mov ecx, dword ptr [ebp - 0x10] */
   1026     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250052B6: fld dword ptr [ecx + 8] */
   1027     edi = ecx + 0x8; /* 0x250052B9: lea edi, [ecx + 8] */
   1028     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x250052BC: fcomp dword ptr [ebp - 0x14] */
   1029     fp_pop();
   1030     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250052BF: fnstsw ax */
   1031     /* test HI8(eax), 1 */ /* 0x250052C1: test ah, 1 */
   1032     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1033     _cf = 0;
   1034     _flag_k = FK_NARROW(FK_TEST, 24);
   1035     if (TEST_Z(_flag_a, _flag_b)) goto L_2500530A; /* 0x250052C4: je 0x2500530a */
   1036 L_250052C6:
   1037     edx = MEM32(ecx); /* 0x250052C6: mov edx, dword ptr [ecx] */
   1038     eax = ecx; /* 0x250052C8: mov eax, ecx */
   1039     MEM32(ebp + (-0x18)) = eax; /* 0x250052CA: mov dword ptr [ebp - 0x18], eax */
   1040     PUSH32(esp, 0); /* 0x250052CD: push 0 */
   1041     eax = ebp + (-0x80); /* 0x250052CF: lea eax, [ebp - 0x80] */
   1042     PUSH32(esp, eax); /* 0x250052D2: push eax */
   1043     ecx = ebp + (-0x18); /* 0x250052D3: lea ecx, [ebp - 0x18] */
   1044     MEM32(ebp + (-0x10)) = edx; /* 0x250052D6: mov dword ptr [ebp - 0x10], edx */
   1045     RECOMP_ICALL(0x250851C0u); /* 0x250052D9: call 0x250851c0 */ /* not lifted */
   1046     RECOMP_FLAGS_IN();
   1047     eax = MEM32(eax); /* 0x250052DE: mov eax, dword ptr [eax] */
   1048     ecx = MEM32(eax + 0x4); /* 0x250052E0: mov ecx, dword ptr [eax + 4] */
   1049     edx = MEM32(eax); /* 0x250052E3: mov edx, dword ptr [eax] */
   1050     MEM32(ecx) = edx; /* 0x250052E5: mov dword ptr [ecx], edx */
   1051     ecx = MEM32(eax); /* 0x250052E7: mov ecx, dword ptr [eax] */
   1052     edx = MEM32(eax + 0x4); /* 0x250052E9: mov edx, dword ptr [eax + 4] */
   1053     PUSH32(esp, eax); /* 0x250052EC: push eax */
   1054     MEM32(ecx + 0x4) = edx; /* 0x250052ED: mov dword ptr [ecx + 4], edx */
   1055     RECOMP_ICALL(0x25137EECu); /* 0x250052F0: call 0x25137eec */ /* not lifted */
   1056     RECOMP_FLAGS_IN();
   1057     eax = MEM32(esi + 0x30C); /* 0x250052F5: mov eax, dword ptr [esi + 0x30c] */
   1058     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1059     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1060     esp = esp + 4; /* 0x250052FB: add esp, 4 */
   1061     _flag_k = FK_ADD;
   1062     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1063     eax = eax - 1; /* 0x250052FE: dec eax */
   1064     _flag_k = FK_DEC;
   1065     MEM32(esi + 0x30C) = eax; /* 0x250052FF: mov dword ptr [esi + 0x30c], eax */
   1066     goto L_2500559D; /* 0x25005305: jmp 0x2500559d */
   1067 L_2500530A:
   1068     eax = MEM32(ecx); /* 0x2500530A: mov eax, dword ptr [ecx] */
   1069     esi = edi + 0x4; /* 0x2500530C: lea esi, [edi + 4] */
   1070     PUSH32(esp, esi); /* 0x2500530F: push esi */
   1071     ecx = ebp + (-0xD8); /* 0x25005310: lea ecx, [ebp - 0xd8] */
   1072     MEM32(ebp + (-0x10)) = eax; /* 0x25005316: mov dword ptr [ebp - 0x10], eax */
   1073     RECOMP_ICALL(MEM32(0x25151520)); /* 0x25005319: call dword ptr [0x25151520] */
   1074     RECOMP_FLAGS_IN();
   1075     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x2500531F: fld dword ptr [esi + 0xc] */
   1076     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x25005322: fmul dword ptr [edi + 0x14] */
   1077     ebx = edi + 0x24; /* 0x25005325: lea ebx, [edi + 0x24] */
   1078     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005328: fld dword ptr [esi + 8] */
   1079     MEM32(ebp + (-0x4)) = 0; /* 0x2500532B: mov dword ptr [ebp - 4], 0 */
   1080     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005332: fmul dword ptr [edi + 0x18] */
   1081     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005335: faddp st(1) */
   1082     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005337: fld dword ptr [esi + 4] */
   1083     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x2500533A: fmul dword ptr [edi + 0x1c] */
   1084     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500533D: fsubp st(1) */
   1085     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500533F: fld dword ptr [edi + 0x20] */
   1086     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005342: fmul dword ptr [esi] */
   1087     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005344: faddp st(1) */
   1088     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005346: fld dword ptr [esi + 0xc] */
   1089     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005349: fmul dword ptr [edi + 0x18] */
   1090     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500534C: fld dword ptr [esi + 4] */
   1091     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500534F: fmul dword ptr [edi + 0x20] */
   1092     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005352: faddp st(1) */
   1093     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005354: fld dword ptr [edi + 0x14] */
   1094     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005357: fmul dword ptr [esi + 8] */
   1095     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500535A: fsubp st(1) */
   1096     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500535C: fld dword ptr [edi + 0x1c] */
   1097     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500535F: fmul dword ptr [esi] */
   1098     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005361: faddp st(1) */
   1099     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25005363: fstp dword ptr [ebp - 0x18] */
   1100     ecx = MEM32(ebp + (-0x18)); /* 0x25005366: mov ecx, dword ptr [ebp - 0x18] */
   1101     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005369: fld dword ptr [esi + 4] */
   1102     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x2500536C: fmul dword ptr [edi + 0x14] */
   1103     fp_push(*(float*)&MEM32(edi + 0x18)); /* 0x2500536F: fld dword ptr [edi + 0x18] */
   1104     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005372: fmul dword ptr [esi] */
   1105     { double _v = fp_pop(); _st[0] -= _v; } /* 0x25005374: fsubp st(1) */
   1106     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005376: fld dword ptr [esi + 0xc] */
   1107     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x25005379: fmul dword ptr [edi + 0x1c] */
   1108     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500537C: faddp st(1) */
   1109     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500537E: fld dword ptr [edi + 0x20] */
   1110     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005381: fmul dword ptr [esi + 8] */
   1111     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005384: faddp st(1) */
   1112     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25005386: fstp dword ptr [ebp - 0x20] */
   1113     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005389: fld dword ptr [esi + 0xc] */
   1114     edx = MEM32(ebp + (-0x20)); /* 0x2500538C: mov edx, dword ptr [ebp - 0x20] */
   1115     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500538F: fmul dword ptr [edi + 0x20] */
   1116     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005392: fld dword ptr [esi + 4] */
   1117     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005395: fmul dword ptr [edi + 0x18] */
   1118     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005398: fld dword ptr [edi + 0x14] */
   1119     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500539B: fmul dword ptr [esi] */
   1120     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500539D: faddp st(1) */
   1121     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500539F: fld dword ptr [edi + 0x1c] */
   1122     MEM32(esi + 0x4) = ecx; /* 0x250053A2: mov dword ptr [esi + 4], ecx */
   1123     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250053A5: fmul dword ptr [esi + 8] */
   1124     MEM32(esi + 0x8) = edx; /* 0x250053A8: mov dword ptr [esi + 8], edx */
   1125     { double _v = fp_pop(); _st[0] += _v; } /* 0x250053AB: faddp st(1) */
   1126     { double _v = fp_pop(); _st[0] -= _v; } /* 0x250053AD: fsubp st(1) */
   1127     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xC) = _v; } /* 0x250053AF: fstp dword ptr [esi + 0xc] */
   1128     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053B2: fstp dword ptr [esi] */
   1129     eax = MEM32(ebx + 0x8); /* 0x250053B4: mov eax, dword ptr [ebx + 8] */
   1130     ecx = MEM32(ebx + 0x4); /* 0x250053B7: mov ecx, dword ptr [ebx + 4] */
   1131     edx = MEM32(ebx); /* 0x250053BA: mov edx, dword ptr [ebx] */
   1132     PUSH32(esp, eax); /* 0x250053BC: push eax */
   1133     PUSH32(esp, ecx); /* 0x250053BD: push ecx */
   1134     PUSH32(esp, edx); /* 0x250053BE: push edx */
   1135     ecx = ebp + (-0xD8); /* 0x250053BF: lea ecx, [ebp - 0xd8] */
   1136     RECOMP_ICALL(MEM32(0x25151500)); /* 0x250053C5: call dword ptr [0x25151500] */
   1137     RECOMP_FLAGS_IN();
   1138     fp_push(*(float*)&MEM32(edi + 0x30)); /* 0x250053CB: fld dword ptr [edi + 0x30] */
   1139     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053CE: fmul dword ptr [0x25151778] */
   1140     esi = edi + 0x30; /* 0x250053D4: lea esi, [edi + 0x30] */
   1141     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053D7: fstp dword ptr [esi] */
   1142     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053D9: fld dword ptr [esi + 4] */
   1143     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053DC: fmul dword ptr [0x25151778] */
   1144     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250053E2: fstp dword ptr [esi + 4] */
   1145     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250053E5: fld dword ptr [esi + 8] */
   1146     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053E8: fmul dword ptr [0x25151778] */
   1147     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250053EE: fstp dword ptr [esi + 8] */
   1148     eax = MEM32(esi); /* 0x250053F1: mov eax, dword ptr [esi] */
   1149     MEM32(esi) = eax; /* 0x250053F3: mov dword ptr [esi], eax */
   1150     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053F5: fld dword ptr [esi + 4] */
   1151     ecx = MEM32(esi + 0x8); /* 0x250053F8: mov ecx, dword ptr [esi + 8] */
   1152     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250053FB: fsub dword ptr [0x251517a4] */
   1153     MEM32(esi + 0x8) = ecx; /* 0x25005401: mov dword ptr [esi + 8], ecx */
   1154     edx = esi; /* 0x25005404: mov edx, esi */
   1155     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x25005406: fstp dword ptr [esi + 4] */
   1156     MEM32(ebp + (-0x3C)) = 0; /* 0x25005409: mov dword ptr [ebp - 0x3c], 0 */
   1157     MEM32(ebp + (-0x38)) = 0; /* 0x25005410: mov dword ptr [ebp - 0x38], 0 */
   1158     MEM32(ebp + (-0x34)) = 0; /* 0x25005417: mov dword ptr [ebp - 0x34], 0 */
   1159     MEM32(ebp + (-0x2C)) = 0; /* 0x2500541E: mov dword ptr [ebp - 0x2c], 0 */
   1160     MEM32(ebp + (-0x28)) = 0; /* 0x25005425: mov dword ptr [ebp - 0x28], 0 */
   1161     MEM32(ebp + (-0x24)) = 0; /* 0x2500542C: mov dword ptr [ebp - 0x24], 0 */
   1162     eax = MEM32(edx); /* 0x25005433: mov eax, dword ptr [edx] */
   1163     ecx = MEM32(edx + 0x4); /* 0x25005435: mov ecx, dword ptr [edx + 4] */
   1164     edx = MEM32(edx + 0x8); /* 0x25005438: mov edx, dword ptr [edx + 8] */
   1165     MEM32(ebp + (-0x58)) = eax; /* 0x2500543B: mov dword ptr [ebp - 0x58], eax */
   1166     eax = MEM32(ebp + (-0x30)); /* 0x2500543E: mov eax, dword ptr [ebp - 0x30] */
   1167     MEM32(ebp + (-0x54)) = ecx; /* 0x25005441: mov dword ptr [ebp - 0x54], ecx */
   1168     PUSH32(esp, eax); /* 0x25005444: push eax */
   1169     ecx = ebp + (-0x58); /* 0x25005445: lea ecx, [ebp - 0x58] */
   1170     MEM32(ebp + (-0x50)) = edx; /* 0x25005448: mov dword ptr [ebp - 0x50], edx */
   1171     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2500544B: call dword ptr [0x25151510] */
   1172     RECOMP_FLAGS_IN();
   1173     ecx = MEM32(eax); /* 0x25005451: mov ecx, dword ptr [eax] */
   1174     MEM32(ebp + (-0x70)) = ecx; /* 0x25005453: mov dword ptr [ebp - 0x70], ecx */
   1175     edx = MEM32(eax + 0x4); /* 0x25005456: mov edx, dword ptr [eax + 4] */
   1176     ecx = MEM32(ebp + (-0x1C)); /* 0x25005459: mov ecx, dword ptr [ebp - 0x1c] */
   1177     MEM32(ebp + (-0x6C)) = edx; /* 0x2500545C: mov dword ptr [ebp - 0x6c], edx */
   1178     eax = MEM32(eax + 0x8); /* 0x2500545F: mov eax, dword ptr [eax + 8] */
   1179     edx = MEM32(ecx); /* 0x25005462: mov edx, dword ptr [ecx] */
   1180     MEM32(ebp + (-0x68)) = eax; /* 0x25005464: mov dword ptr [ebp - 0x68], eax */
   1181     eax = ebp + (-0x2C); /* 0x25005467: lea eax, [ebp - 0x2c] */
   1182     PUSH32(esp, eax); /* 0x2500546A: push eax */
   1183     eax = ebp + (-0x3C); /* 0x2500546B: lea eax, [ebp - 0x3c] */
   1184     PUSH32(esp, eax); /* 0x2500546E: push eax */
   1185     eax = ebp + (-0x70); /* 0x2500546F: lea eax, [ebp - 0x70] */
   1186     PUSH32(esp, eax); /* 0x25005472: push eax */
   1187     PUSH32(esp, ebx); /* 0x25005473: push ebx */
   1188     RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x25005474: call dword ptr [edx + 0x50] */
   1189     RECOMP_FLAGS_IN();
   1190     /* test LO8(eax), LO8(eax) */ /* 0x25005477: test al, al */
   1191     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1192     _cf = 0;
   1193     _flag_k = FK_NARROW(FK_TEST, 24);
   1194     if (TEST_Z(_flag_a, _flag_b)) goto L_2500553A; /* 0x25005479: je 0x2500553a */
   1195 L_2500547F:
   1196     ecx = MEM32(ebp + (-0x3C)); /* 0x2500547F: mov ecx, dword ptr [ebp - 0x3c] */
   1197     MEM32(ebx) = ecx; /* 0x25005482: mov dword ptr [ebx], ecx */
   1198     edx = MEM32(ebp + (-0x38)); /* 0x25005484: mov edx, dword ptr [ebp - 0x38] */
   1199     MEM32(ebx + 0x4) = edx; /* 0x25005487: mov dword ptr [ebx + 4], edx */
   1200     eax = MEM32(ebp + (-0x34)); /* 0x2500548A: mov eax, dword ptr [ebp - 0x34] */
   1201     MEM32(ebx + 0x8) = eax; /* 0x2500548D: mov dword ptr [ebx + 8], eax */
   1202     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005490: fld dword ptr [esi + 8] */
   1203     _st[0] = -_st[0]; /* 0x25005493: fchs  */
   1204     PUSH32(esp, ecx); /* 0x25005495: push ecx */
   1205     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25005496: fstp dword ptr [esp] */
   1206     PUSH32(esp, ecx); /* 0x25005499: push ecx */
   1207     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500549A: fld dword ptr [esi + 4] */
   1208     _st[0] = -_st[0]; /* 0x2500549D: fchs  */
   1209     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2500549F: fstp dword ptr [esp] */
   1210     PUSH32(esp, ecx); /* 0x250054A2: push ecx */
   1211     fp_push(*(float*)&MEM32(esi)); /* 0x250054A3: fld dword ptr [esi] */
   1212     ecx = ebp + (-0x98); /* 0x250054A5: lea ecx, [ebp - 0x98] */
   1213     _st[0] = -_st[0]; /* 0x250054AB: fchs  */
   1214     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250054AD: fstp dword ptr [esp] */
   1215     RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250054B0: call dword ptr [0x251514fc] */
   1216     RECOMP_FLAGS_IN();
   1217     ecx = MEM32(eax); /* 0x250054B6: mov ecx, dword ptr [eax] */
   1218     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250054B8: fld dword ptr [ebp - 0x24] */
   1219     edx = MEM32(eax + 0x4); /* 0x250054BB: mov edx, dword ptr [eax + 4] */
   1220     eax = MEM32(eax + 0x8); /* 0x250054BE: mov eax, dword ptr [eax + 8] */
   1221     MEM32(ebp + (-0x44)) = eax; /* 0x250054C1: mov dword ptr [ebp - 0x44], eax */
   1222     _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x250054C4: fmul dword ptr [ebp - 0x44] */
   1223     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250054C7: fld dword ptr [ebp - 0x28] */
   1224     eax = MEM32(ebp + (-0x24)); /* 0x250054CA: mov eax, dword ptr [ebp - 0x24] */
   1225     MEM32(ebp + (-0x48)) = edx; /* 0x250054CD: mov dword ptr [ebp - 0x48], edx */
   1226     _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250054D0: fmul dword ptr [ebp - 0x48] */
   1227     edx = MEM32(ebp + (-0x28)); /* 0x250054D3: mov edx, dword ptr [ebp - 0x28] */
   1228     MEM32(ebp + (-0x4C)) = ecx; /* 0x250054D6: mov dword ptr [ebp - 0x4c], ecx */
   1229     ecx = MEM32(ebp + (-0x2C)); /* 0x250054D9: mov ecx, dword ptr [ebp - 0x2c] */
   1230     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054DC: faddp st(1) */
   1231     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250054DE: fld dword ptr [ebp - 0x4c] */
   1232     MEM32(ebp + (-0x7C)) = ecx; /* 0x250054E1: mov dword ptr [ebp - 0x7c], ecx */
   1233     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250054E4: fmul dword ptr [ebp - 0x2c] */
   1234     MEM32(ebp + (-0x78)) = edx; /* 0x250054E7: mov dword ptr [ebp - 0x78], edx */
   1235     MEM32(ebp + (-0x74)) = eax; /* 0x250054EA: mov dword ptr [ebp - 0x74], eax */
   1236     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054ED: faddp st(1) */
   1237     _st[0] += _st[0]; /* 0x250054EF: fadd st(0), st(0) */
   1238     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250054F1: fstp dword ptr [ebp - 0x20] */
   1239     ecx = MEM32(ebp + (-0x20)); /* 0x250054F4: mov ecx, dword ptr [ebp - 0x20] */
   1240     PUSH32(esp, ecx); /* 0x250054F7: push ecx */
   1241     ecx = ebp + (-0x7C); /* 0x250054F8: lea ecx, [ebp - 0x7c] */
   1242     RECOMP_ICALL(MEM32(0x25151510)); /* 0x250054FB: call dword ptr [0x25151510] */
   1243     RECOMP_FLAGS_IN();
   1244     edx = MEM32(eax); /* 0x25005501: mov edx, dword ptr [eax] */
   1245     ecx = MEM32(eax + 0x4); /* 0x25005503: mov ecx, dword ptr [eax + 4] */
   1246     MEM32(ebp + (-0x64)) = edx; /* 0x25005506: mov dword ptr [ebp - 0x64], edx */
   1247     edx = MEM32(eax + 0x8); /* 0x25005509: mov edx, dword ptr [eax + 8] */
   1248     MEM32(ebp + (-0x60)) = ecx; /* 0x2500550C: mov dword ptr [ebp - 0x60], ecx */
   1249     PUSH32(esp, esi); /* 0x2500550F: push esi */
   1250     ecx = ebp + (-0x64); /* 0x25005510: lea ecx, [ebp - 0x64] */
   1251     MEM32(ebp + (-0x5C)) = edx; /* 0x25005513: mov dword ptr [ebp - 0x5c], edx */
   1252     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005516: call dword ptr [0x251514f8] */
   1253     RECOMP_FLAGS_IN();
   1254     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500551C: fld dword ptr [edi + 0x20] */
   1255     ecx = MEM32(eax); /* 0x2500551F: mov ecx, dword ptr [eax] */
   1256     _st[0] *= (double)*(float*)ADDR(0x2515176C); /* 0x25005521: fmul dword ptr [0x2515176c] */
   1257     MEM32(esi) = ecx; /* 0x25005527: mov dword ptr [esi], ecx */
   1258     edx = MEM32(eax + 0x4); /* 0x25005529: mov edx, dword ptr [eax + 4] */
   1259     MEM32(esi + 0x4) = edx; /* 0x2500552C: mov dword ptr [esi + 4], edx */
   1260     eax = MEM32(eax + 0x8); /* 0x2500552F: mov eax, dword ptr [eax + 8] */
   1261     { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x20) = _v; } /* 0x25005532: fstp dword ptr [edi + 0x20] */
   1262     MEM32(esi + 0x8) = eax; /* 0x25005535: mov dword ptr [esi + 8], eax */
   1263     goto L_25005557; /* 0x25005538: jmp 0x25005557 */
   1264 L_2500553A:
   1265     ecx = MEM32(ebp + (-0x30)); /* 0x2500553A: mov ecx, dword ptr [ebp - 0x30] */
   1266     PUSH32(esp, esi); /* 0x2500553D: push esi */
   1267     PUSH32(esp, ecx); /* 0x2500553E: push ecx */
   1268     edx = ebp + (-0x8C); /* 0x2500553F: lea edx, [ebp - 0x8c] */
   1269     PUSH32(esp, edx); /* 0x25005545: push edx */
   1270     RECOMP_ICALL(0x25005EB0u); /* 0x25005546: call 0x25005eb0 */ /* not lifted */
   1271     RECOMP_FLAGS_IN();
   1272     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1273     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1274     esp = esp + 0xCu; /* 0x2500554B: add esp, 0xc */
   1275     _flag_k = FK_ADD;
   1276     PUSH32(esp, eax); /* 0x2500554E: push eax */
   1277     ecx = ebx; /* 0x2500554F: mov ecx, ebx */
   1278     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005551: call dword ptr [0x251514f8] */
   1279     RECOMP_FLAGS_IN();
   1280 L_25005557:
   1281     ecx = MEM32(0x25238B58); /* 0x25005557: mov ecx, dword ptr [0x25238b58] */
   1282     eax = ebp + (-0xD8); /* 0x2500555D: lea eax, [ebp - 0xd8] */
   1283     PUSH32(esp, eax); /* 0x25005563: push eax */
   1284     PUSH32(esp, 1); /* 0x25005564: push 1 */
   1285     RECOMP_ICALL(0x250E8950u); /* 0x25005566: call 0x250e8950 */ /* not lifted */
   1286     RECOMP_FLAGS_IN();
   1287     ecx = MEM32(ebp + (-0x1C)); /* 0x2500556B: mov ecx, dword ptr [ebp - 0x1c] */
   1288     PUSH32(esp, 0); /* 0x2500556E: push 0 */
   1289     PUSH32(esp, 0x24u); /* 0x25005570: push 0x24 */
   1290     PUSH32(esp, 0x251B23C8u); /* 0x25005572: push 0x251b23c8 */
   1291     PUSH32(esp, 8); /* 0x25005577: push 8 */
   1292     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1D4u);
   1293     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1294     ecx = ecx + 0x1D4u; /* 0x25005579: add ecx, 0x1d4 */
   1295     _flag_k = FK_ADD;
   1296     PUSH32(esp, ecx); /* 0x2500557F: push ecx */
   1297     ecx = MEM32(0x25238B58); /* 0x25005580: mov ecx, dword ptr [0x25238b58] */
   1298     PUSH32(esp, 0x112u); /* 0x25005586: push 0x112 */
   1299     RECOMP_ICALL(0x250E7010u); /* 0x2500558B: call 0x250e7010 */ /* not lifted */
   1300     RECOMP_FLAGS_IN();
   1301     ebx = MEM32(ebp + (-0x40)); /* 0x25005590: mov ebx, dword ptr [ebp - 0x40] */
   1302     esi = MEM32(ebp + (-0x1C)); /* 0x25005593: mov esi, dword ptr [ebp - 0x1c] */
   1303     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25005596: mov dword ptr [ebp - 4], 0xffffffff */
   1304 L_2500559D:
   1305     /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2500559D: cmp dword ptr [ebp - 0x10], ebx */
   1306     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx);
   1307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1308     _flag_k = FK_CMP;
   1309     RECOMP_BACKEDGE();
   1310     if (CMP_NE(_flag_a, _flag_b)) goto L_250052B3; /* 0x250055A0: jne 0x250052b3 */
   1311 L_250055A6:
   1312     edi = MEM32(ebp + 0x8); /* 0x250055A6: mov edi, dword ptr [ebp + 8] */
   1313     ecx = edi; /* 0x250055A9: mov ecx, edi */
   1314     RECOMP_ICALL(0x250E0360u); /* 0x250055AB: call 0x250e0360 */ /* not lifted */
   1315     RECOMP_FLAGS_IN();
   1316     ecx = MEM32(ebp + (-0xC)); /* 0x250055B0: mov ecx, dword ptr [ebp - 0xc] */
   1317     edi = POP32_VAL(esp); /* 0x250055B3: pop edi */
   1318     esi = POP32_VAL(esp); /* 0x250055B4: pop esi */
   1319     ebx = POP32_VAL(esp); /* 0x250055B5: pop ebx */
   1320     MEM32(FS_BASE + (0)) = ecx; /* 0x250055B6: mov dword ptr fs:[0], ecx */
   1321     esp = ebp; /* 0x250055BD: mov esp, ebp */
   1322     ebp = POP32_VAL(esp); /* 0x250055BF: pop ebp */
   1323     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250055C0: ret 4 */
   1324     RECOMP_REGS_OUT();
   1325 }
   1326 
   1327 void sub_2500559D(void) {
   1328     int _fpu_cmp = 0;
   1329     uint32_t _cf = 0;
   1330     int _df = 1;
   1331     uint32_t _flag_k = FK_NONE;
   1332     uint32_t _flag_a = 0, _flag_b = 0;
   1333     uint32_t _itail_tgt = 0;
   1334     RECOMP_REGS_LOCALS
   1335     RECOMP_ENTER(0x2500559Du);
   1336 
   1337     goto L_2500559D;
   1338 L_250052B3:
   1339     ecx = MEM32(ebp + (-0x10)); /* 0x250052B3: mov ecx, dword ptr [ebp - 0x10] */
   1340     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x250052B6: fld dword ptr [ecx + 8] */
   1341     edi = ecx + 0x8; /* 0x250052B9: lea edi, [ecx + 8] */
   1342     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x14))); /* 0x250052BC: fcomp dword ptr [ebp - 0x14] */
   1343     fp_pop();
   1344     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250052BF: fnstsw ax */
   1345     /* test HI8(eax), 1 */ /* 0x250052C1: test ah, 1 */
   1346     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1347     _cf = 0;
   1348     _flag_k = FK_NARROW(FK_TEST, 24);
   1349     if (TEST_Z(_flag_a, _flag_b)) goto L_2500530A; /* 0x250052C4: je 0x2500530a */
   1350 L_250052C6:
   1351     edx = MEM32(ecx); /* 0x250052C6: mov edx, dword ptr [ecx] */
   1352     eax = ecx; /* 0x250052C8: mov eax, ecx */
   1353     MEM32(ebp + (-0x18)) = eax; /* 0x250052CA: mov dword ptr [ebp - 0x18], eax */
   1354     PUSH32(esp, 0); /* 0x250052CD: push 0 */
   1355     eax = ebp + (-0x80); /* 0x250052CF: lea eax, [ebp - 0x80] */
   1356     PUSH32(esp, eax); /* 0x250052D2: push eax */
   1357     ecx = ebp + (-0x18); /* 0x250052D3: lea ecx, [ebp - 0x18] */
   1358     MEM32(ebp + (-0x10)) = edx; /* 0x250052D6: mov dword ptr [ebp - 0x10], edx */
   1359     RECOMP_ICALL(0x250851C0u); /* 0x250052D9: call 0x250851c0 */ /* not lifted */
   1360     RECOMP_FLAGS_IN();
   1361     eax = MEM32(eax); /* 0x250052DE: mov eax, dword ptr [eax] */
   1362     ecx = MEM32(eax + 0x4); /* 0x250052E0: mov ecx, dword ptr [eax + 4] */
   1363     edx = MEM32(eax); /* 0x250052E3: mov edx, dword ptr [eax] */
   1364     MEM32(ecx) = edx; /* 0x250052E5: mov dword ptr [ecx], edx */
   1365     ecx = MEM32(eax); /* 0x250052E7: mov ecx, dword ptr [eax] */
   1366     edx = MEM32(eax + 0x4); /* 0x250052E9: mov edx, dword ptr [eax + 4] */
   1367     PUSH32(esp, eax); /* 0x250052EC: push eax */
   1368     MEM32(ecx + 0x4) = edx; /* 0x250052ED: mov dword ptr [ecx + 4], edx */
   1369     RECOMP_ICALL(0x25137EECu); /* 0x250052F0: call 0x25137eec */ /* not lifted */
   1370     RECOMP_FLAGS_IN();
   1371     eax = MEM32(esi + 0x30C); /* 0x250052F5: mov eax, dword ptr [esi + 0x30c] */
   1372     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1373     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1374     esp = esp + 4; /* 0x250052FB: add esp, 4 */
   1375     _flag_k = FK_ADD;
   1376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1377     eax = eax - 1; /* 0x250052FE: dec eax */
   1378     _flag_k = FK_DEC;
   1379     MEM32(esi + 0x30C) = eax; /* 0x250052FF: mov dword ptr [esi + 0x30c], eax */
   1380     goto L_2500559D; /* 0x25005305: jmp 0x2500559d */
   1381 L_2500530A:
   1382     eax = MEM32(ecx); /* 0x2500530A: mov eax, dword ptr [ecx] */
   1383     esi = edi + 0x4; /* 0x2500530C: lea esi, [edi + 4] */
   1384     PUSH32(esp, esi); /* 0x2500530F: push esi */
   1385     ecx = ebp + (-0xD8); /* 0x25005310: lea ecx, [ebp - 0xd8] */
   1386     MEM32(ebp + (-0x10)) = eax; /* 0x25005316: mov dword ptr [ebp - 0x10], eax */
   1387     RECOMP_ICALL(MEM32(0x25151520)); /* 0x25005319: call dword ptr [0x25151520] */
   1388     RECOMP_FLAGS_IN();
   1389     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x2500531F: fld dword ptr [esi + 0xc] */
   1390     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x25005322: fmul dword ptr [edi + 0x14] */
   1391     ebx = edi + 0x24; /* 0x25005325: lea ebx, [edi + 0x24] */
   1392     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005328: fld dword ptr [esi + 8] */
   1393     MEM32(ebp + (-0x4)) = 0; /* 0x2500532B: mov dword ptr [ebp - 4], 0 */
   1394     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005332: fmul dword ptr [edi + 0x18] */
   1395     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005335: faddp st(1) */
   1396     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005337: fld dword ptr [esi + 4] */
   1397     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x2500533A: fmul dword ptr [edi + 0x1c] */
   1398     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500533D: fsubp st(1) */
   1399     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500533F: fld dword ptr [edi + 0x20] */
   1400     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005342: fmul dword ptr [esi] */
   1401     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005344: faddp st(1) */
   1402     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005346: fld dword ptr [esi + 0xc] */
   1403     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005349: fmul dword ptr [edi + 0x18] */
   1404     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500534C: fld dword ptr [esi + 4] */
   1405     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500534F: fmul dword ptr [edi + 0x20] */
   1406     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005352: faddp st(1) */
   1407     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005354: fld dword ptr [edi + 0x14] */
   1408     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005357: fmul dword ptr [esi + 8] */
   1409     { double _v = fp_pop(); _st[0] -= _v; } /* 0x2500535A: fsubp st(1) */
   1410     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500535C: fld dword ptr [edi + 0x1c] */
   1411     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500535F: fmul dword ptr [esi] */
   1412     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005361: faddp st(1) */
   1413     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x25005363: fstp dword ptr [ebp - 0x18] */
   1414     ecx = MEM32(ebp + (-0x18)); /* 0x25005366: mov ecx, dword ptr [ebp - 0x18] */
   1415     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005369: fld dword ptr [esi + 4] */
   1416     _st[0] *= (double)*(float*)ADDR(edi + 0x14); /* 0x2500536C: fmul dword ptr [edi + 0x14] */
   1417     fp_push(*(float*)&MEM32(edi + 0x18)); /* 0x2500536F: fld dword ptr [edi + 0x18] */
   1418     _st[0] *= (double)*(float*)ADDR(esi); /* 0x25005372: fmul dword ptr [esi] */
   1419     { double _v = fp_pop(); _st[0] -= _v; } /* 0x25005374: fsubp st(1) */
   1420     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005376: fld dword ptr [esi + 0xc] */
   1421     _st[0] *= (double)*(float*)ADDR(edi + 0x1C); /* 0x25005379: fmul dword ptr [edi + 0x1c] */
   1422     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500537C: faddp st(1) */
   1423     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500537E: fld dword ptr [edi + 0x20] */
   1424     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x25005381: fmul dword ptr [esi + 8] */
   1425     { double _v = fp_pop(); _st[0] += _v; } /* 0x25005384: faddp st(1) */
   1426     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x25005386: fstp dword ptr [ebp - 0x20] */
   1427     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x25005389: fld dword ptr [esi + 0xc] */
   1428     edx = MEM32(ebp + (-0x20)); /* 0x2500538C: mov edx, dword ptr [ebp - 0x20] */
   1429     _st[0] *= (double)*(float*)ADDR(edi + 0x20); /* 0x2500538F: fmul dword ptr [edi + 0x20] */
   1430     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x25005392: fld dword ptr [esi + 4] */
   1431     _st[0] *= (double)*(float*)ADDR(edi + 0x18); /* 0x25005395: fmul dword ptr [edi + 0x18] */
   1432     fp_push(*(float*)&MEM32(edi + 0x14)); /* 0x25005398: fld dword ptr [edi + 0x14] */
   1433     _st[0] *= (double)*(float*)ADDR(esi); /* 0x2500539B: fmul dword ptr [esi] */
   1434     { double _v = fp_pop(); _st[0] += _v; } /* 0x2500539D: faddp st(1) */
   1435     fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2500539F: fld dword ptr [edi + 0x1c] */
   1436     MEM32(esi + 0x4) = ecx; /* 0x250053A2: mov dword ptr [esi + 4], ecx */
   1437     _st[0] *= (double)*(float*)ADDR(esi + 0x8); /* 0x250053A5: fmul dword ptr [esi + 8] */
   1438     MEM32(esi + 0x8) = edx; /* 0x250053A8: mov dword ptr [esi + 8], edx */
   1439     { double _v = fp_pop(); _st[0] += _v; } /* 0x250053AB: faddp st(1) */
   1440     { double _v = fp_pop(); _st[0] -= _v; } /* 0x250053AD: fsubp st(1) */
   1441     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0xC) = _v; } /* 0x250053AF: fstp dword ptr [esi + 0xc] */
   1442     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053B2: fstp dword ptr [esi] */
   1443     eax = MEM32(ebx + 0x8); /* 0x250053B4: mov eax, dword ptr [ebx + 8] */
   1444     ecx = MEM32(ebx + 0x4); /* 0x250053B7: mov ecx, dword ptr [ebx + 4] */
   1445     edx = MEM32(ebx); /* 0x250053BA: mov edx, dword ptr [ebx] */
   1446     PUSH32(esp, eax); /* 0x250053BC: push eax */
   1447     PUSH32(esp, ecx); /* 0x250053BD: push ecx */
   1448     PUSH32(esp, edx); /* 0x250053BE: push edx */
   1449     ecx = ebp + (-0xD8); /* 0x250053BF: lea ecx, [ebp - 0xd8] */
   1450     RECOMP_ICALL(MEM32(0x25151500)); /* 0x250053C5: call dword ptr [0x25151500] */
   1451     RECOMP_FLAGS_IN();
   1452     fp_push(*(float*)&MEM32(edi + 0x30)); /* 0x250053CB: fld dword ptr [edi + 0x30] */
   1453     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053CE: fmul dword ptr [0x25151778] */
   1454     esi = edi + 0x30; /* 0x250053D4: lea esi, [edi + 0x30] */
   1455     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x250053D7: fstp dword ptr [esi] */
   1456     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053D9: fld dword ptr [esi + 4] */
   1457     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053DC: fmul dword ptr [0x25151778] */
   1458     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x250053E2: fstp dword ptr [esi + 4] */
   1459     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x250053E5: fld dword ptr [esi + 8] */
   1460     _st[0] *= (double)*(float*)ADDR(0x25151778); /* 0x250053E8: fmul dword ptr [0x25151778] */
   1461     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x250053EE: fstp dword ptr [esi + 8] */
   1462     eax = MEM32(esi); /* 0x250053F1: mov eax, dword ptr [esi] */
   1463     MEM32(esi) = eax; /* 0x250053F3: mov dword ptr [esi], eax */
   1464     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x250053F5: fld dword ptr [esi + 4] */
   1465     ecx = MEM32(esi + 0x8); /* 0x250053F8: mov ecx, dword ptr [esi + 8] */
   1466     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x250053FB: fsub dword ptr [0x251517a4] */
   1467     MEM32(esi + 0x8) = ecx; /* 0x25005401: mov dword ptr [esi + 8], ecx */
   1468     edx = esi; /* 0x25005404: mov edx, esi */
   1469     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x25005406: fstp dword ptr [esi + 4] */
   1470     MEM32(ebp + (-0x3C)) = 0; /* 0x25005409: mov dword ptr [ebp - 0x3c], 0 */
   1471     MEM32(ebp + (-0x38)) = 0; /* 0x25005410: mov dword ptr [ebp - 0x38], 0 */
   1472     MEM32(ebp + (-0x34)) = 0; /* 0x25005417: mov dword ptr [ebp - 0x34], 0 */
   1473     MEM32(ebp + (-0x2C)) = 0; /* 0x2500541E: mov dword ptr [ebp - 0x2c], 0 */
   1474     MEM32(ebp + (-0x28)) = 0; /* 0x25005425: mov dword ptr [ebp - 0x28], 0 */
   1475     MEM32(ebp + (-0x24)) = 0; /* 0x2500542C: mov dword ptr [ebp - 0x24], 0 */
   1476     eax = MEM32(edx); /* 0x25005433: mov eax, dword ptr [edx] */
   1477     ecx = MEM32(edx + 0x4); /* 0x25005435: mov ecx, dword ptr [edx + 4] */
   1478     edx = MEM32(edx + 0x8); /* 0x25005438: mov edx, dword ptr [edx + 8] */
   1479     MEM32(ebp + (-0x58)) = eax; /* 0x2500543B: mov dword ptr [ebp - 0x58], eax */
   1480     eax = MEM32(ebp + (-0x30)); /* 0x2500543E: mov eax, dword ptr [ebp - 0x30] */
   1481     MEM32(ebp + (-0x54)) = ecx; /* 0x25005441: mov dword ptr [ebp - 0x54], ecx */
   1482     PUSH32(esp, eax); /* 0x25005444: push eax */
   1483     ecx = ebp + (-0x58); /* 0x25005445: lea ecx, [ebp - 0x58] */
   1484     MEM32(ebp + (-0x50)) = edx; /* 0x25005448: mov dword ptr [ebp - 0x50], edx */
   1485     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2500544B: call dword ptr [0x25151510] */
   1486     RECOMP_FLAGS_IN();
   1487     ecx = MEM32(eax); /* 0x25005451: mov ecx, dword ptr [eax] */
   1488     MEM32(ebp + (-0x70)) = ecx; /* 0x25005453: mov dword ptr [ebp - 0x70], ecx */
   1489     edx = MEM32(eax + 0x4); /* 0x25005456: mov edx, dword ptr [eax + 4] */
   1490     ecx = MEM32(ebp + (-0x1C)); /* 0x25005459: mov ecx, dword ptr [ebp - 0x1c] */
   1491     MEM32(ebp + (-0x6C)) = edx; /* 0x2500545C: mov dword ptr [ebp - 0x6c], edx */
   1492     eax = MEM32(eax + 0x8); /* 0x2500545F: mov eax, dword ptr [eax + 8] */
   1493     edx = MEM32(ecx); /* 0x25005462: mov edx, dword ptr [ecx] */
   1494     MEM32(ebp + (-0x68)) = eax; /* 0x25005464: mov dword ptr [ebp - 0x68], eax */
   1495     eax = ebp + (-0x2C); /* 0x25005467: lea eax, [ebp - 0x2c] */
   1496     PUSH32(esp, eax); /* 0x2500546A: push eax */
   1497     eax = ebp + (-0x3C); /* 0x2500546B: lea eax, [ebp - 0x3c] */
   1498     PUSH32(esp, eax); /* 0x2500546E: push eax */
   1499     eax = ebp + (-0x70); /* 0x2500546F: lea eax, [ebp - 0x70] */
   1500     PUSH32(esp, eax); /* 0x25005472: push eax */
   1501     PUSH32(esp, ebx); /* 0x25005473: push ebx */
   1502     RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x25005474: call dword ptr [edx + 0x50] */
   1503     RECOMP_FLAGS_IN();
   1504     /* test LO8(eax), LO8(eax) */ /* 0x25005477: test al, al */
   1505     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1506     _cf = 0;
   1507     _flag_k = FK_NARROW(FK_TEST, 24);
   1508     if (TEST_Z(_flag_a, _flag_b)) goto L_2500553A; /* 0x25005479: je 0x2500553a */
   1509 L_2500547F:
   1510     ecx = MEM32(ebp + (-0x3C)); /* 0x2500547F: mov ecx, dword ptr [ebp - 0x3c] */
   1511     MEM32(ebx) = ecx; /* 0x25005482: mov dword ptr [ebx], ecx */
   1512     edx = MEM32(ebp + (-0x38)); /* 0x25005484: mov edx, dword ptr [ebp - 0x38] */
   1513     MEM32(ebx + 0x4) = edx; /* 0x25005487: mov dword ptr [ebx + 4], edx */
   1514     eax = MEM32(ebp + (-0x34)); /* 0x2500548A: mov eax, dword ptr [ebp - 0x34] */
   1515     MEM32(ebx + 0x8) = eax; /* 0x2500548D: mov dword ptr [ebx + 8], eax */
   1516     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x25005490: fld dword ptr [esi + 8] */
   1517     _st[0] = -_st[0]; /* 0x25005493: fchs  */
   1518     PUSH32(esp, ecx); /* 0x25005495: push ecx */
   1519     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25005496: fstp dword ptr [esp] */
   1520     PUSH32(esp, ecx); /* 0x25005499: push ecx */
   1521     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x2500549A: fld dword ptr [esi + 4] */
   1522     _st[0] = -_st[0]; /* 0x2500549D: fchs  */
   1523     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2500549F: fstp dword ptr [esp] */
   1524     PUSH32(esp, ecx); /* 0x250054A2: push ecx */
   1525     fp_push(*(float*)&MEM32(esi)); /* 0x250054A3: fld dword ptr [esi] */
   1526     ecx = ebp + (-0x98); /* 0x250054A5: lea ecx, [ebp - 0x98] */
   1527     _st[0] = -_st[0]; /* 0x250054AB: fchs  */
   1528     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250054AD: fstp dword ptr [esp] */
   1529     RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250054B0: call dword ptr [0x251514fc] */
   1530     RECOMP_FLAGS_IN();
   1531     ecx = MEM32(eax); /* 0x250054B6: mov ecx, dword ptr [eax] */
   1532     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250054B8: fld dword ptr [ebp - 0x24] */
   1533     edx = MEM32(eax + 0x4); /* 0x250054BB: mov edx, dword ptr [eax + 4] */
   1534     eax = MEM32(eax + 0x8); /* 0x250054BE: mov eax, dword ptr [eax + 8] */
   1535     MEM32(ebp + (-0x44)) = eax; /* 0x250054C1: mov dword ptr [ebp - 0x44], eax */
   1536     _st[0] *= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x250054C4: fmul dword ptr [ebp - 0x44] */
   1537     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250054C7: fld dword ptr [ebp - 0x28] */
   1538     eax = MEM32(ebp + (-0x24)); /* 0x250054CA: mov eax, dword ptr [ebp - 0x24] */
   1539     MEM32(ebp + (-0x48)) = edx; /* 0x250054CD: mov dword ptr [ebp - 0x48], edx */
   1540     _st[0] *= (double)*(float*)ADDR(ebp + (-0x48)); /* 0x250054D0: fmul dword ptr [ebp - 0x48] */
   1541     edx = MEM32(ebp + (-0x28)); /* 0x250054D3: mov edx, dword ptr [ebp - 0x28] */
   1542     MEM32(ebp + (-0x4C)) = ecx; /* 0x250054D6: mov dword ptr [ebp - 0x4c], ecx */
   1543     ecx = MEM32(ebp + (-0x2C)); /* 0x250054D9: mov ecx, dword ptr [ebp - 0x2c] */
   1544     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054DC: faddp st(1) */
   1545     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250054DE: fld dword ptr [ebp - 0x4c] */
   1546     MEM32(ebp + (-0x7C)) = ecx; /* 0x250054E1: mov dword ptr [ebp - 0x7c], ecx */
   1547     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250054E4: fmul dword ptr [ebp - 0x2c] */
   1548     MEM32(ebp + (-0x78)) = edx; /* 0x250054E7: mov dword ptr [ebp - 0x78], edx */
   1549     MEM32(ebp + (-0x74)) = eax; /* 0x250054EA: mov dword ptr [ebp - 0x74], eax */
   1550     { double _v = fp_pop(); _st[0] += _v; } /* 0x250054ED: faddp st(1) */
   1551     _st[0] += _st[0]; /* 0x250054EF: fadd st(0), st(0) */
   1552     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250054F1: fstp dword ptr [ebp - 0x20] */
   1553     ecx = MEM32(ebp + (-0x20)); /* 0x250054F4: mov ecx, dword ptr [ebp - 0x20] */
   1554     PUSH32(esp, ecx); /* 0x250054F7: push ecx */
   1555     ecx = ebp + (-0x7C); /* 0x250054F8: lea ecx, [ebp - 0x7c] */
   1556     RECOMP_ICALL(MEM32(0x25151510)); /* 0x250054FB: call dword ptr [0x25151510] */
   1557     RECOMP_FLAGS_IN();
   1558     edx = MEM32(eax); /* 0x25005501: mov edx, dword ptr [eax] */
   1559     ecx = MEM32(eax + 0x4); /* 0x25005503: mov ecx, dword ptr [eax + 4] */
   1560     MEM32(ebp + (-0x64)) = edx; /* 0x25005506: mov dword ptr [ebp - 0x64], edx */
   1561     edx = MEM32(eax + 0x8); /* 0x25005509: mov edx, dword ptr [eax + 8] */
   1562     MEM32(ebp + (-0x60)) = ecx; /* 0x2500550C: mov dword ptr [ebp - 0x60], ecx */
   1563     PUSH32(esp, esi); /* 0x2500550F: push esi */
   1564     ecx = ebp + (-0x64); /* 0x25005510: lea ecx, [ebp - 0x64] */
   1565     MEM32(ebp + (-0x5C)) = edx; /* 0x25005513: mov dword ptr [ebp - 0x5c], edx */
   1566     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005516: call dword ptr [0x251514f8] */
   1567     RECOMP_FLAGS_IN();
   1568     fp_push(*(float*)&MEM32(edi + 0x20)); /* 0x2500551C: fld dword ptr [edi + 0x20] */
   1569     ecx = MEM32(eax); /* 0x2500551F: mov ecx, dword ptr [eax] */
   1570     _st[0] *= (double)*(float*)ADDR(0x2515176C); /* 0x25005521: fmul dword ptr [0x2515176c] */
   1571     MEM32(esi) = ecx; /* 0x25005527: mov dword ptr [esi], ecx */
   1572     edx = MEM32(eax + 0x4); /* 0x25005529: mov edx, dword ptr [eax + 4] */
   1573     MEM32(esi + 0x4) = edx; /* 0x2500552C: mov dword ptr [esi + 4], edx */
   1574     eax = MEM32(eax + 0x8); /* 0x2500552F: mov eax, dword ptr [eax + 8] */
   1575     { float _v = (float)fp_pop(); *(float*)ADDR(edi + 0x20) = _v; } /* 0x25005532: fstp dword ptr [edi + 0x20] */
   1576     MEM32(esi + 0x8) = eax; /* 0x25005535: mov dword ptr [esi + 8], eax */
   1577     goto L_25005557; /* 0x25005538: jmp 0x25005557 */
   1578 L_2500553A:
   1579     ecx = MEM32(ebp + (-0x30)); /* 0x2500553A: mov ecx, dword ptr [ebp - 0x30] */
   1580     PUSH32(esp, esi); /* 0x2500553D: push esi */
   1581     PUSH32(esp, ecx); /* 0x2500553E: push ecx */
   1582     edx = ebp + (-0x8C); /* 0x2500553F: lea edx, [ebp - 0x8c] */
   1583     PUSH32(esp, edx); /* 0x25005545: push edx */
   1584     RECOMP_ICALL(0x25005EB0u); /* 0x25005546: call 0x25005eb0 */ /* not lifted */
   1585     RECOMP_FLAGS_IN();
   1586     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1587     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1588     esp = esp + 0xCu; /* 0x2500554B: add esp, 0xc */
   1589     _flag_k = FK_ADD;
   1590     PUSH32(esp, eax); /* 0x2500554E: push eax */
   1591     ecx = ebx; /* 0x2500554F: mov ecx, ebx */
   1592     RECOMP_ICALL(MEM32(0x251514F8)); /* 0x25005551: call dword ptr [0x251514f8] */
   1593     RECOMP_FLAGS_IN();
   1594 L_25005557:
   1595     ecx = MEM32(0x25238B58); /* 0x25005557: mov ecx, dword ptr [0x25238b58] */
   1596     eax = ebp + (-0xD8); /* 0x2500555D: lea eax, [ebp - 0xd8] */
   1597     PUSH32(esp, eax); /* 0x25005563: push eax */
   1598     PUSH32(esp, 1); /* 0x25005564: push 1 */
   1599     RECOMP_ICALL(0x250E8950u); /* 0x25005566: call 0x250e8950 */ /* not lifted */
   1600     RECOMP_FLAGS_IN();
   1601     ecx = MEM32(ebp + (-0x1C)); /* 0x2500556B: mov ecx, dword ptr [ebp - 0x1c] */
   1602     PUSH32(esp, 0); /* 0x2500556E: push 0 */
   1603     PUSH32(esp, 0x24u); /* 0x25005570: push 0x24 */
   1604     PUSH32(esp, 0x251B23C8u); /* 0x25005572: push 0x251b23c8 */
   1605     PUSH32(esp, 8); /* 0x25005577: push 8 */
   1606     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1D4u);
   1607     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1608     ecx = ecx + 0x1D4u; /* 0x25005579: add ecx, 0x1d4 */
   1609     _flag_k = FK_ADD;
   1610     PUSH32(esp, ecx); /* 0x2500557F: push ecx */
   1611     ecx = MEM32(0x25238B58); /* 0x25005580: mov ecx, dword ptr [0x25238b58] */
   1612     PUSH32(esp, 0x112u); /* 0x25005586: push 0x112 */
   1613     RECOMP_ICALL(0x250E7010u); /* 0x2500558B: call 0x250e7010 */ /* not lifted */
   1614     RECOMP_FLAGS_IN();
   1615     ebx = MEM32(ebp + (-0x40)); /* 0x25005590: mov ebx, dword ptr [ebp - 0x40] */
   1616     esi = MEM32(ebp + (-0x1C)); /* 0x25005593: mov esi, dword ptr [ebp - 0x1c] */
   1617     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x25005596: mov dword ptr [ebp - 4], 0xffffffff */
   1618 L_2500559D:
   1619     /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2500559D: cmp dword ptr [ebp - 0x10], ebx */
   1620     _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx);
   1621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1622     _flag_k = FK_CMP;
   1623     RECOMP_BACKEDGE();
   1624     if (CMP_NE(_flag_a, _flag_b)) goto L_250052B3; /* 0x250055A0: jne 0x250052b3 */
   1625 L_250055A6:
   1626     edi = MEM32(ebp + 0x8); /* 0x250055A6: mov edi, dword ptr [ebp + 8] */
   1627     ecx = edi; /* 0x250055A9: mov ecx, edi */
   1628     RECOMP_ICALL(0x250E0360u); /* 0x250055AB: call 0x250e0360 */ /* not lifted */
   1629     RECOMP_FLAGS_IN();
   1630     ecx = MEM32(ebp + (-0xC)); /* 0x250055B0: mov ecx, dword ptr [ebp - 0xc] */
   1631     edi = POP32_VAL(esp); /* 0x250055B3: pop edi */
   1632     esi = POP32_VAL(esp); /* 0x250055B4: pop esi */
   1633     ebx = POP32_VAL(esp); /* 0x250055B5: pop ebx */
   1634     MEM32(FS_BASE + (0)) = ecx; /* 0x250055B6: mov dword ptr fs:[0], ecx */
   1635     esp = ebp; /* 0x250055BD: mov esp, ebp */
   1636     ebp = POP32_VAL(esp); /* 0x250055BF: pop ebp */
   1637     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250055C0: ret 4 */
   1638     RECOMP_REGS_OUT();
   1639 }
   1640 
   1641 void sub_250055D0(void) {
   1642     int _fpu_cmp = 0;
   1643     uint32_t _cf = 0;
   1644     int _df = 1;
   1645     uint32_t _flag_k = FK_NONE;
   1646     uint32_t _flag_a = 0, _flag_b = 0;
   1647     uint32_t _itail_tgt = 0;
   1648     RECOMP_REGS_LOCALS
   1649     RECOMP_ENTER(0x250055D0u);
   1650 
   1651 L_250055D0:
   1652     PUSH32(esp, ebp); /* 0x250055D0: push ebp */
   1653     ebp = esp; /* 0x250055D1: mov ebp, esp */
   1654     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1656     esp = esp - 8; /* 0x250055D3: sub esp, 8 */
   1657     _flag_k = FK_CMP;
   1658     PUSH32(esp, ebx); /* 0x250055D6: push ebx */
   1659     PUSH32(esp, esi); /* 0x250055D7: push esi */
   1660     PUSH32(esp, edi); /* 0x250055D8: push edi */
   1661     esi = ecx + 0x4; /* 0x250055D9: lea esi, [ecx + 4] */
   1662     eax = ebp + 0x8; /* 0x250055DC: lea eax, [ebp + 8] */
   1663     PUSH32(esp, eax); /* 0x250055DF: push eax */
   1664     ecx = esi; /* 0x250055E0: mov ecx, esi */
   1665     RECOMP_ICALL(0x250077C0u); /* 0x250055E2: call 0x250077c0 */ /* not lifted */
   1666     RECOMP_FLAGS_IN();
   1667     ecx = ebp + 0x8; /* 0x250055E7: lea ecx, [ebp + 8] */
   1668     PUSH32(esp, ecx); /* 0x250055EA: push ecx */
   1669     ecx = esi; /* 0x250055EB: mov ecx, esi */
   1670     ebx = eax; /* 0x250055ED: mov ebx, eax */
   1671     RECOMP_ICALL(0x25106D40u); /* 0x250055EF: call 0x25106d40 */ /* not lifted */
   1672     RECOMP_FLAGS_IN();
   1673     edi = eax; /* 0x250055F4: mov edi, eax */
   1674     /* cmp edi, ebx */ /* 0x250055F6: cmp edi, ebx */
   1675     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1676     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1677     _flag_k = FK_CMP;
   1678     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500562C; /* 0x250055F8: je 0x2500562c */
   1679 L_250055FA:
   1680     ecx = MEM32(eax + 0x8); /* 0x250055FA: mov ecx, dword ptr [eax + 8] */
   1681     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x250055FD: mov dl, byte ptr [ecx + 0x11] */
   1682     /* test LO8(edx), LO8(edx) */ /* 0x25005600: test dl, dl */
   1683     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1684     _cf = 0;
   1685     _flag_k = FK_NARROW(FK_TEST, 24);
   1686     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500560F; /* 0x25005602: jne 0x2500560f */
   1687 L_25005604:
   1688     PUSH32(esp, ecx); /* 0x25005604: push ecx */
   1689     RECOMP_ICALL(0x25006800u); /* 0x25005605: call 0x25006800 */ /* not lifted */
   1690     RECOMP_FLAGS_IN();
   1691     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1693     esp = esp + 4; /* 0x2500560A: add esp, 4 */
   1694     _flag_k = FK_ADD;
   1695     goto L_25005628; /* 0x2500560D: jmp 0x25005628 */
   1696 L_2500560F:
   1697     ecx = MEM32(eax + 0x4); /* 0x2500560F: mov ecx, dword ptr [eax + 4] */
   1698     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005612: cmp eax, dword ptr [ecx + 8] */
   1699     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1701     _flag_k = FK_CMP;
   1702     if (CMP_NE(_flag_a, _flag_b)) goto L_25005621; /* 0x25005615: jne 0x25005621 */
   1703 L_25005617:
   1704     eax = ecx; /* 0x25005617: mov eax, ecx */
   1705     ecx = MEM32(ecx + 0x4); /* 0x25005619: mov ecx, dword ptr [ecx + 4] */
   1706     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2500561C: cmp eax, dword ptr [ecx + 8] */
   1707     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1708     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1709     _flag_k = FK_CMP;
   1710     RECOMP_BACKEDGE();
   1711     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005617; /* 0x2500561F: je 0x25005617 */
   1712 L_25005621:
   1713     /* cmp MEM32(eax + 0x8), ecx */ /* 0x25005621: cmp dword ptr [eax + 8], ecx */
   1714     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   1715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1716     _flag_k = FK_CMP;
   1717     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005628; /* 0x25005624: je 0x25005628 */
   1718 L_25005626:
   1719     eax = ecx; /* 0x25005626: mov eax, ecx */
   1720 L_25005628:
   1721     /* cmp eax, ebx */ /* 0x25005628: cmp eax, ebx */
   1722     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1723     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1724     _flag_k = FK_CMP;
   1725     RECOMP_BACKEDGE();
   1726     if (CMP_NE(_flag_a, _flag_b)) goto L_250055FA; /* 0x2500562A: jne 0x250055fa */
   1727 L_2500562C:
   1728     eax = MEM32(esi + 0x10); /* 0x2500562C: mov eax, dword ptr [esi + 0x10] */
   1729     /* test eax, eax */ /* 0x2500562F: test eax, eax */
   1730     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1731     _cf = 0;
   1732     _flag_k = FK_TEST;
   1733     MEM32(ebp + (-0x4)) = edi; /* 0x25005631: mov dword ptr [ebp - 4], edi */
   1734     if (TEST_Z(_flag_a, _flag_b)) goto L_2500568E; /* 0x25005634: je 0x2500568e */
   1735 L_25005636:
   1736     eax = MEM32(esi + 0x4); /* 0x25005636: mov eax, dword ptr [esi + 4] */
   1737     /* cmp edi, MEM32(eax) */ /* 0x25005639: cmp edi, dword ptr [eax] */
   1738     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   1739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1740     _flag_k = FK_CMP;
   1741     if (CMP_NE(_flag_a, _flag_b)) goto L_2500568E; /* 0x2500563B: jne 0x2500568e */
   1742 L_2500563D:
   1743     /* cmp ebx, eax */ /* 0x2500563D: cmp ebx, eax */
   1744     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   1745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1746     _flag_k = FK_CMP;
   1747     if (CMP_NE(_flag_a, _flag_b)) goto L_2500568E; /* 0x2500563F: jne 0x2500568e */
   1748 L_25005641:
   1749     ebx = MEM32(eax + 0x4); /* 0x25005641: mov ebx, dword ptr [eax + 4] */
   1750     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005644: cmp ebx, dword ptr [esi + 8] */
   1751     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1753     _flag_k = FK_CMP;
   1754     edi = ebx; /* 0x25005647: mov edi, ebx */
   1755     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500566A; /* 0x25005649: je 0x2500566a */
   1756 L_2500564B:
   1757     edx = MEM32(edi + 0x8); /* 0x2500564B: mov edx, dword ptr [edi + 8] */
   1758     PUSH32(esp, edx); /* 0x2500564E: push edx */
   1759     ecx = esi; /* 0x2500564F: mov ecx, esi */
   1760     RECOMP_ICALL(0x25006740u); /* 0x25005651: call 0x25006740 */ /* not lifted */
   1761     RECOMP_FLAGS_IN();
   1762     edi = MEM32(edi); /* 0x25005656: mov edi, dword ptr [edi] */
   1763     PUSH32(esp, ebx); /* 0x25005658: push ebx */
   1764     RECOMP_ICALL(0x25137EECu); /* 0x25005659: call 0x25137eec */ /* not lifted */
   1765     RECOMP_FLAGS_IN();
   1766     eax = MEM32(esi + 0x8); /* 0x2500565E: mov eax, dword ptr [esi + 8] */
   1767     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1768     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1769     esp = esp + 4; /* 0x25005661: add esp, 4 */
   1770     _flag_k = FK_ADD;
   1771     /* cmp edi, eax */ /* 0x25005664: cmp edi, eax */
   1772     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1773     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1774     _flag_k = FK_CMP;
   1775     ebx = edi; /* 0x25005666: mov ebx, edi */
   1776     RECOMP_BACKEDGE();
   1777     if (CMP_NE(_flag_a, _flag_b)) goto L_2500564B; /* 0x25005668: jne 0x2500564b */
   1778 L_2500566A:
   1779     eax = MEM32(esi + 0x4); /* 0x2500566A: mov eax, dword ptr [esi + 4] */
   1780     ecx = MEM32(esi + 0x8); /* 0x2500566D: mov ecx, dword ptr [esi + 8] */
   1781     MEM32(eax + 0x4) = ecx; /* 0x25005670: mov dword ptr [eax + 4], ecx */
   1782     eax = MEM32(esi + 0x4); /* 0x25005673: mov eax, dword ptr [esi + 4] */
   1783     MEM32(esi + 0x10) = 0; /* 0x25005676: mov dword ptr [esi + 0x10], 0 */
   1784     MEM32(eax) = eax; /* 0x2500567D: mov dword ptr [eax], eax */
   1785     esi = MEM32(esi + 0x4); /* 0x2500567F: mov esi, dword ptr [esi + 4] */
   1786     edi = POP32_VAL(esp); /* 0x25005682: pop edi */
   1787     MEM32(esi + 0x8) = esi; /* 0x25005683: mov dword ptr [esi + 8], esi */
   1788     esi = POP32_VAL(esp); /* 0x25005686: pop esi */
   1789     ebx = POP32_VAL(esp); /* 0x25005687: pop ebx */
   1790     esp = ebp; /* 0x25005688: mov esp, ebp */
   1791     ebp = POP32_VAL(esp); /* 0x2500568A: pop ebp */
   1792     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500568B: ret 4 */
   1793 L_2500568E:
   1794     /* cmp edi, ebx */ /* 0x2500568E: cmp edi, ebx */
   1795     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1797     _flag_k = FK_CMP;
   1798     if (CMP_EQ(_flag_a, _flag_b)) goto L_250056AD; /* 0x25005690: je 0x250056ad */
   1799 L_25005692:
   1800     ecx = ebp + (-0x4); /* 0x25005692: lea ecx, [ebp - 4] */
   1801     RECOMP_ICALL(0x250077F0u); /* 0x25005695: call 0x250077f0 */ /* not lifted */
   1802     RECOMP_FLAGS_IN();
   1803     PUSH32(esp, edi); /* 0x2500569A: push edi */
   1804     edx = ebp + (-0x8); /* 0x2500569B: lea edx, [ebp - 8] */
   1805     PUSH32(esp, edx); /* 0x2500569E: push edx */
   1806     ecx = esi; /* 0x2500569F: mov ecx, esi */
   1807     RECOMP_ICALL(0x25006380u); /* 0x250056A1: call 0x25006380 */ /* not lifted */
   1808     RECOMP_FLAGS_IN();
   1809     edi = MEM32(ebp + (-0x4)); /* 0x250056A6: mov edi, dword ptr [ebp - 4] */
   1810     /* cmp edi, ebx */ /* 0x250056A9: cmp edi, ebx */
   1811     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1813     _flag_k = FK_CMP;
   1814     RECOMP_BACKEDGE();
   1815     if (CMP_NE(_flag_a, _flag_b)) goto L_25005692; /* 0x250056AB: jne 0x25005692 */
   1816 L_250056AD:
   1817     edi = POP32_VAL(esp); /* 0x250056AD: pop edi */
   1818     esi = POP32_VAL(esp); /* 0x250056AE: pop esi */
   1819     ebx = POP32_VAL(esp); /* 0x250056AF: pop ebx */
   1820     esp = ebp; /* 0x250056B0: mov esp, ebp */
   1821     ebp = POP32_VAL(esp); /* 0x250056B2: pop ebp */
   1822     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250056B3: ret 4 */
   1823     RECOMP_REGS_OUT();
   1824 }
   1825 
   1826 void sub_250056C0(void) {
   1827     int _fpu_cmp = 0;
   1828     uint32_t _cf = 0;
   1829     int _df = 1;
   1830     uint32_t _flag_k = FK_NONE;
   1831     uint32_t _flag_a = 0, _flag_b = 0;
   1832     uint32_t _itail_tgt = 0;
   1833     RECOMP_REGS_LOCALS
   1834     RECOMP_ENTER(0x250056C0u);
   1835 
   1836 L_250056C0:
   1837     PUSH32(esp, ebp); /* 0x250056C0: push ebp */
   1838     ebp = esp; /* 0x250056C1: mov ebp, esp */
   1839     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1841     esp = esp - 8; /* 0x250056C3: sub esp, 8 */
   1842     _flag_k = FK_CMP;
   1843     PUSH32(esp, ebx); /* 0x250056C6: push ebx */
   1844     PUSH32(esp, esi); /* 0x250056C7: push esi */
   1845     PUSH32(esp, edi); /* 0x250056C8: push edi */
   1846     esi = ecx + 0x4; /* 0x250056C9: lea esi, [ecx + 4] */
   1847     eax = ebp + 0x8; /* 0x250056CC: lea eax, [ebp + 8] */
   1848     PUSH32(esp, eax); /* 0x250056CF: push eax */
   1849     ecx = esi; /* 0x250056D0: mov ecx, esi */
   1850     RECOMP_ICALL(0x250077C0u); /* 0x250056D2: call 0x250077c0 */ /* not lifted */
   1851     RECOMP_FLAGS_IN();
   1852     ecx = ebp + 0x8; /* 0x250056D7: lea ecx, [ebp + 8] */
   1853     PUSH32(esp, ecx); /* 0x250056DA: push ecx */
   1854     ecx = esi; /* 0x250056DB: mov ecx, esi */
   1855     ebx = eax; /* 0x250056DD: mov ebx, eax */
   1856     RECOMP_ICALL(0x25106D40u); /* 0x250056DF: call 0x25106d40 */ /* not lifted */
   1857     RECOMP_FLAGS_IN();
   1858     edi = eax; /* 0x250056E4: mov edi, eax */
   1859     /* cmp edi, ebx */ /* 0x250056E6: cmp edi, ebx */
   1860     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1862     _flag_k = FK_CMP;
   1863     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500571C; /* 0x250056E8: je 0x2500571c */
   1864 L_250056EA:
   1865     ecx = MEM32(eax + 0x8); /* 0x250056EA: mov ecx, dword ptr [eax + 8] */
   1866     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x250056ED: mov dl, byte ptr [ecx + 0x11] */
   1867     /* test LO8(edx), LO8(edx) */ /* 0x250056F0: test dl, dl */
   1868     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1869     _cf = 0;
   1870     _flag_k = FK_NARROW(FK_TEST, 24);
   1871     if (TEST_NZ(_flag_a, _flag_b)) goto L_250056FF; /* 0x250056F2: jne 0x250056ff */
   1872 L_250056F4:
   1873     PUSH32(esp, ecx); /* 0x250056F4: push ecx */
   1874     RECOMP_ICALL(0x25006800u); /* 0x250056F5: call 0x25006800 */ /* not lifted */
   1875     RECOMP_FLAGS_IN();
   1876     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1877     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1878     esp = esp + 4; /* 0x250056FA: add esp, 4 */
   1879     _flag_k = FK_ADD;
   1880     goto L_25005718; /* 0x250056FD: jmp 0x25005718 */
   1881 L_250056FF:
   1882     ecx = MEM32(eax + 0x4); /* 0x250056FF: mov ecx, dword ptr [eax + 4] */
   1883     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005702: cmp eax, dword ptr [ecx + 8] */
   1884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1886     _flag_k = FK_CMP;
   1887     if (CMP_NE(_flag_a, _flag_b)) goto L_25005711; /* 0x25005705: jne 0x25005711 */
   1888 L_25005707:
   1889     eax = ecx; /* 0x25005707: mov eax, ecx */
   1890     ecx = MEM32(ecx + 0x4); /* 0x25005709: mov ecx, dword ptr [ecx + 4] */
   1891     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2500570C: cmp eax, dword ptr [ecx + 8] */
   1892     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1894     _flag_k = FK_CMP;
   1895     RECOMP_BACKEDGE();
   1896     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005707; /* 0x2500570F: je 0x25005707 */
   1897 L_25005711:
   1898     /* cmp MEM32(eax + 0x8), ecx */ /* 0x25005711: cmp dword ptr [eax + 8], ecx */
   1899     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   1900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1901     _flag_k = FK_CMP;
   1902     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005718; /* 0x25005714: je 0x25005718 */
   1903 L_25005716:
   1904     eax = ecx; /* 0x25005716: mov eax, ecx */
   1905 L_25005718:
   1906     /* cmp eax, ebx */ /* 0x25005718: cmp eax, ebx */
   1907     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1908     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1909     _flag_k = FK_CMP;
   1910     RECOMP_BACKEDGE();
   1911     if (CMP_NE(_flag_a, _flag_b)) goto L_250056EA; /* 0x2500571A: jne 0x250056ea */
   1912 L_2500571C:
   1913     eax = MEM32(esi + 0x10); /* 0x2500571C: mov eax, dword ptr [esi + 0x10] */
   1914     /* test eax, eax */ /* 0x2500571F: test eax, eax */
   1915     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1916     _cf = 0;
   1917     _flag_k = FK_TEST;
   1918     MEM32(ebp + (-0x4)) = edi; /* 0x25005721: mov dword ptr [ebp - 4], edi */
   1919     if (TEST_Z(_flag_a, _flag_b)) goto L_2500577E; /* 0x25005724: je 0x2500577e */
   1920 L_25005726:
   1921     eax = MEM32(esi + 0x4); /* 0x25005726: mov eax, dword ptr [esi + 4] */
   1922     /* cmp edi, MEM32(eax) */ /* 0x25005729: cmp edi, dword ptr [eax] */
   1923     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   1924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1925     _flag_k = FK_CMP;
   1926     if (CMP_NE(_flag_a, _flag_b)) goto L_2500577E; /* 0x2500572B: jne 0x2500577e */
   1927 L_2500572D:
   1928     /* cmp ebx, eax */ /* 0x2500572D: cmp ebx, eax */
   1929     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   1930     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1931     _flag_k = FK_CMP;
   1932     if (CMP_NE(_flag_a, _flag_b)) goto L_2500577E; /* 0x2500572F: jne 0x2500577e */
   1933 L_25005731:
   1934     ebx = MEM32(eax + 0x4); /* 0x25005731: mov ebx, dword ptr [eax + 4] */
   1935     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005734: cmp ebx, dword ptr [esi + 8] */
   1936     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1938     _flag_k = FK_CMP;
   1939     edi = ebx; /* 0x25005737: mov edi, ebx */
   1940     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500575A; /* 0x25005739: je 0x2500575a */
   1941 L_2500573B:
   1942     edx = MEM32(edi + 0x8); /* 0x2500573B: mov edx, dword ptr [edi + 8] */
   1943     PUSH32(esp, edx); /* 0x2500573E: push edx */
   1944     ecx = esi; /* 0x2500573F: mov ecx, esi */
   1945     RECOMP_ICALL(0x25006780u); /* 0x25005741: call 0x25006780 */ /* not lifted */
   1946     RECOMP_FLAGS_IN();
   1947     edi = MEM32(edi); /* 0x25005746: mov edi, dword ptr [edi] */
   1948     PUSH32(esp, ebx); /* 0x25005748: push ebx */
   1949     RECOMP_ICALL(0x25137EECu); /* 0x25005749: call 0x25137eec */ /* not lifted */
   1950     RECOMP_FLAGS_IN();
   1951     eax = MEM32(esi + 0x8); /* 0x2500574E: mov eax, dword ptr [esi + 8] */
   1952     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1953     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1954     esp = esp + 4; /* 0x25005751: add esp, 4 */
   1955     _flag_k = FK_ADD;
   1956     /* cmp edi, eax */ /* 0x25005754: cmp edi, eax */
   1957     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1959     _flag_k = FK_CMP;
   1960     ebx = edi; /* 0x25005756: mov ebx, edi */
   1961     RECOMP_BACKEDGE();
   1962     if (CMP_NE(_flag_a, _flag_b)) goto L_2500573B; /* 0x25005758: jne 0x2500573b */
   1963 L_2500575A:
   1964     eax = MEM32(esi + 0x4); /* 0x2500575A: mov eax, dword ptr [esi + 4] */
   1965     ecx = MEM32(esi + 0x8); /* 0x2500575D: mov ecx, dword ptr [esi + 8] */
   1966     MEM32(eax + 0x4) = ecx; /* 0x25005760: mov dword ptr [eax + 4], ecx */
   1967     eax = MEM32(esi + 0x4); /* 0x25005763: mov eax, dword ptr [esi + 4] */
   1968     MEM32(esi + 0x10) = 0; /* 0x25005766: mov dword ptr [esi + 0x10], 0 */
   1969     MEM32(eax) = eax; /* 0x2500576D: mov dword ptr [eax], eax */
   1970     esi = MEM32(esi + 0x4); /* 0x2500576F: mov esi, dword ptr [esi + 4] */
   1971     edi = POP32_VAL(esp); /* 0x25005772: pop edi */
   1972     MEM32(esi + 0x8) = esi; /* 0x25005773: mov dword ptr [esi + 8], esi */
   1973     esi = POP32_VAL(esp); /* 0x25005776: pop esi */
   1974     ebx = POP32_VAL(esp); /* 0x25005777: pop ebx */
   1975     esp = ebp; /* 0x25005778: mov esp, ebp */
   1976     ebp = POP32_VAL(esp); /* 0x2500577A: pop ebp */
   1977     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500577B: ret 4 */
   1978 L_2500577E:
   1979     /* cmp edi, ebx */ /* 0x2500577E: cmp edi, ebx */
   1980     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1982     _flag_k = FK_CMP;
   1983     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500579D; /* 0x25005780: je 0x2500579d */
   1984 L_25005782:
   1985     ecx = ebp + (-0x4); /* 0x25005782: lea ecx, [ebp - 4] */
   1986     RECOMP_ICALL(0x250077F0u); /* 0x25005785: call 0x250077f0 */ /* not lifted */
   1987     RECOMP_FLAGS_IN();
   1988     PUSH32(esp, edi); /* 0x2500578A: push edi */
   1989     edx = ebp + (-0x8); /* 0x2500578B: lea edx, [ebp - 8] */
   1990     PUSH32(esp, edx); /* 0x2500578E: push edx */
   1991     ecx = esi; /* 0x2500578F: mov ecx, esi */
   1992     RECOMP_ICALL(0x25006380u); /* 0x25005791: call 0x25006380 */ /* not lifted */
   1993     RECOMP_FLAGS_IN();
   1994     edi = MEM32(ebp + (-0x4)); /* 0x25005796: mov edi, dword ptr [ebp - 4] */
   1995     /* cmp edi, ebx */ /* 0x25005799: cmp edi, ebx */
   1996     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1998     _flag_k = FK_CMP;
   1999     RECOMP_BACKEDGE();
   2000     if (CMP_NE(_flag_a, _flag_b)) goto L_25005782; /* 0x2500579B: jne 0x25005782 */
   2001 L_2500579D:
   2002     edi = POP32_VAL(esp); /* 0x2500579D: pop edi */
   2003     esi = POP32_VAL(esp); /* 0x2500579E: pop esi */
   2004     ebx = POP32_VAL(esp); /* 0x2500579F: pop ebx */
   2005     esp = ebp; /* 0x250057A0: mov esp, ebp */
   2006     ebp = POP32_VAL(esp); /* 0x250057A2: pop ebp */
   2007     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250057A3: ret 4 */
   2008     RECOMP_REGS_OUT();
   2009 }
   2010 
   2011 void sub_250057B0(void) {
   2012     int _fpu_cmp = 0;
   2013     uint32_t _cf = 0;
   2014     int _df = 1;
   2015     uint32_t _flag_k = FK_NONE;
   2016     uint32_t _flag_a = 0, _flag_b = 0;
   2017     uint32_t _itail_tgt = 0;
   2018     RECOMP_REGS_LOCALS
   2019     RECOMP_ENTER(0x250057B0u);
   2020 
   2021 L_250057B0:
   2022     PUSH32(esp, ebp); /* 0x250057B0: push ebp */
   2023     ebp = esp; /* 0x250057B1: mov ebp, esp */
   2024     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2026     esp = esp - 8; /* 0x250057B3: sub esp, 8 */
   2027     _flag_k = FK_CMP;
   2028     PUSH32(esp, ebx); /* 0x250057B6: push ebx */
   2029     PUSH32(esp, esi); /* 0x250057B7: push esi */
   2030     PUSH32(esp, edi); /* 0x250057B8: push edi */
   2031     esi = ecx + 0x4; /* 0x250057B9: lea esi, [ecx + 4] */
   2032     eax = ebp + 0x8; /* 0x250057BC: lea eax, [ebp + 8] */
   2033     PUSH32(esp, eax); /* 0x250057BF: push eax */
   2034     ecx = esi; /* 0x250057C0: mov ecx, esi */
   2035     RECOMP_ICALL(0x250077C0u); /* 0x250057C2: call 0x250077c0 */ /* not lifted */
   2036     RECOMP_FLAGS_IN();
   2037     ecx = ebp + 0x8; /* 0x250057C7: lea ecx, [ebp + 8] */
   2038     PUSH32(esp, ecx); /* 0x250057CA: push ecx */
   2039     ecx = esi; /* 0x250057CB: mov ecx, esi */
   2040     ebx = eax; /* 0x250057CD: mov ebx, eax */
   2041     RECOMP_ICALL(0x25106D40u); /* 0x250057CF: call 0x25106d40 */ /* not lifted */
   2042     RECOMP_FLAGS_IN();
   2043     edi = eax; /* 0x250057D4: mov edi, eax */
   2044     /* cmp edi, ebx */ /* 0x250057D6: cmp edi, ebx */
   2045     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2046     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2047     _flag_k = FK_CMP;
   2048     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500580C; /* 0x250057D8: je 0x2500580c */
   2049 L_250057DA:
   2050     ecx = MEM32(eax + 0x8); /* 0x250057DA: mov ecx, dword ptr [eax + 8] */
   2051     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x250057DD: mov dl, byte ptr [ecx + 0x11] */
   2052     /* test LO8(edx), LO8(edx) */ /* 0x250057E0: test dl, dl */
   2053     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2054     _cf = 0;
   2055     _flag_k = FK_NARROW(FK_TEST, 24);
   2056     if (TEST_NZ(_flag_a, _flag_b)) goto L_250057EF; /* 0x250057E2: jne 0x250057ef */
   2057 L_250057E4:
   2058     PUSH32(esp, ecx); /* 0x250057E4: push ecx */
   2059     RECOMP_ICALL(0x25006800u); /* 0x250057E5: call 0x25006800 */ /* not lifted */
   2060     RECOMP_FLAGS_IN();
   2061     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2063     esp = esp + 4; /* 0x250057EA: add esp, 4 */
   2064     _flag_k = FK_ADD;
   2065     goto L_25005808; /* 0x250057ED: jmp 0x25005808 */
   2066 L_250057EF:
   2067     ecx = MEM32(eax + 0x4); /* 0x250057EF: mov ecx, dword ptr [eax + 4] */
   2068     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250057F2: cmp eax, dword ptr [ecx + 8] */
   2069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2071     _flag_k = FK_CMP;
   2072     if (CMP_NE(_flag_a, _flag_b)) goto L_25005801; /* 0x250057F5: jne 0x25005801 */
   2073 L_250057F7:
   2074     eax = ecx; /* 0x250057F7: mov eax, ecx */
   2075     ecx = MEM32(ecx + 0x4); /* 0x250057F9: mov ecx, dword ptr [ecx + 4] */
   2076     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250057FC: cmp eax, dword ptr [ecx + 8] */
   2077     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2079     _flag_k = FK_CMP;
   2080     RECOMP_BACKEDGE();
   2081     if (CMP_EQ(_flag_a, _flag_b)) goto L_250057F7; /* 0x250057FF: je 0x250057f7 */
   2082 L_25005801:
   2083     /* cmp MEM32(eax + 0x8), ecx */ /* 0x25005801: cmp dword ptr [eax + 8], ecx */
   2084     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   2085     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2086     _flag_k = FK_CMP;
   2087     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005808; /* 0x25005804: je 0x25005808 */
   2088 L_25005806:
   2089     eax = ecx; /* 0x25005806: mov eax, ecx */
   2090 L_25005808:
   2091     /* cmp eax, ebx */ /* 0x25005808: cmp eax, ebx */
   2092     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2094     _flag_k = FK_CMP;
   2095     RECOMP_BACKEDGE();
   2096     if (CMP_NE(_flag_a, _flag_b)) goto L_250057DA; /* 0x2500580A: jne 0x250057da */
   2097 L_2500580C:
   2098     eax = MEM32(esi + 0x10); /* 0x2500580C: mov eax, dword ptr [esi + 0x10] */
   2099     /* test eax, eax */ /* 0x2500580F: test eax, eax */
   2100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2101     _cf = 0;
   2102     _flag_k = FK_TEST;
   2103     MEM32(ebp + (-0x4)) = edi; /* 0x25005811: mov dword ptr [ebp - 4], edi */
   2104     if (TEST_Z(_flag_a, _flag_b)) goto L_2500586E; /* 0x25005814: je 0x2500586e */
   2105 L_25005816:
   2106     eax = MEM32(esi + 0x4); /* 0x25005816: mov eax, dword ptr [esi + 4] */
   2107     /* cmp edi, MEM32(eax) */ /* 0x25005819: cmp edi, dword ptr [eax] */
   2108     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   2109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2110     _flag_k = FK_CMP;
   2111     if (CMP_NE(_flag_a, _flag_b)) goto L_2500586E; /* 0x2500581B: jne 0x2500586e */
   2112 L_2500581D:
   2113     /* cmp ebx, eax */ /* 0x2500581D: cmp ebx, eax */
   2114     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2116     _flag_k = FK_CMP;
   2117     if (CMP_NE(_flag_a, _flag_b)) goto L_2500586E; /* 0x2500581F: jne 0x2500586e */
   2118 L_25005821:
   2119     ebx = MEM32(eax + 0x4); /* 0x25005821: mov ebx, dword ptr [eax + 4] */
   2120     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005824: cmp ebx, dword ptr [esi + 8] */
   2121     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2122     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2123     _flag_k = FK_CMP;
   2124     edi = ebx; /* 0x25005827: mov edi, ebx */
   2125     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500584A; /* 0x25005829: je 0x2500584a */
   2126 L_2500582B:
   2127     edx = MEM32(edi + 0x8); /* 0x2500582B: mov edx, dword ptr [edi + 8] */
   2128     PUSH32(esp, edx); /* 0x2500582E: push edx */
   2129     ecx = esi; /* 0x2500582F: mov ecx, esi */
   2130     RECOMP_ICALL(0x250067C0u); /* 0x25005831: call 0x250067c0 */ /* not lifted */
   2131     RECOMP_FLAGS_IN();
   2132     edi = MEM32(edi); /* 0x25005836: mov edi, dword ptr [edi] */
   2133     PUSH32(esp, ebx); /* 0x25005838: push ebx */
   2134     RECOMP_ICALL(0x25137EECu); /* 0x25005839: call 0x25137eec */ /* not lifted */
   2135     RECOMP_FLAGS_IN();
   2136     eax = MEM32(esi + 0x8); /* 0x2500583E: mov eax, dword ptr [esi + 8] */
   2137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2138     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2139     esp = esp + 4; /* 0x25005841: add esp, 4 */
   2140     _flag_k = FK_ADD;
   2141     /* cmp edi, eax */ /* 0x25005844: cmp edi, eax */
   2142     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2144     _flag_k = FK_CMP;
   2145     ebx = edi; /* 0x25005846: mov ebx, edi */
   2146     RECOMP_BACKEDGE();
   2147     if (CMP_NE(_flag_a, _flag_b)) goto L_2500582B; /* 0x25005848: jne 0x2500582b */
   2148 L_2500584A:
   2149     eax = MEM32(esi + 0x4); /* 0x2500584A: mov eax, dword ptr [esi + 4] */
   2150     ecx = MEM32(esi + 0x8); /* 0x2500584D: mov ecx, dword ptr [esi + 8] */
   2151     MEM32(eax + 0x4) = ecx; /* 0x25005850: mov dword ptr [eax + 4], ecx */
   2152     eax = MEM32(esi + 0x4); /* 0x25005853: mov eax, dword ptr [esi + 4] */
   2153     MEM32(esi + 0x10) = 0; /* 0x25005856: mov dword ptr [esi + 0x10], 0 */
   2154     MEM32(eax) = eax; /* 0x2500585D: mov dword ptr [eax], eax */
   2155     esi = MEM32(esi + 0x4); /* 0x2500585F: mov esi, dword ptr [esi + 4] */
   2156     edi = POP32_VAL(esp); /* 0x25005862: pop edi */
   2157     MEM32(esi + 0x8) = esi; /* 0x25005863: mov dword ptr [esi + 8], esi */
   2158     esi = POP32_VAL(esp); /* 0x25005866: pop esi */
   2159     ebx = POP32_VAL(esp); /* 0x25005867: pop ebx */
   2160     esp = ebp; /* 0x25005868: mov esp, ebp */
   2161     ebp = POP32_VAL(esp); /* 0x2500586A: pop ebp */
   2162     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500586B: ret 4 */
   2163 L_2500586E:
   2164     /* cmp edi, ebx */ /* 0x2500586E: cmp edi, ebx */
   2165     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2167     _flag_k = FK_CMP;
   2168     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500588D; /* 0x25005870: je 0x2500588d */
   2169 L_25005872:
   2170     ecx = ebp + (-0x4); /* 0x25005872: lea ecx, [ebp - 4] */
   2171     RECOMP_ICALL(0x250077F0u); /* 0x25005875: call 0x250077f0 */ /* not lifted */
   2172     RECOMP_FLAGS_IN();
   2173     PUSH32(esp, edi); /* 0x2500587A: push edi */
   2174     edx = ebp + (-0x8); /* 0x2500587B: lea edx, [ebp - 8] */
   2175     PUSH32(esp, edx); /* 0x2500587E: push edx */
   2176     ecx = esi; /* 0x2500587F: mov ecx, esi */
   2177     RECOMP_ICALL(0x25006380u); /* 0x25005881: call 0x25006380 */ /* not lifted */
   2178     RECOMP_FLAGS_IN();
   2179     edi = MEM32(ebp + (-0x4)); /* 0x25005886: mov edi, dword ptr [ebp - 4] */
   2180     /* cmp edi, ebx */ /* 0x25005889: cmp edi, ebx */
   2181     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2183     _flag_k = FK_CMP;
   2184     RECOMP_BACKEDGE();
   2185     if (CMP_NE(_flag_a, _flag_b)) goto L_25005872; /* 0x2500588B: jne 0x25005872 */
   2186 L_2500588D:
   2187     edi = POP32_VAL(esp); /* 0x2500588D: pop edi */
   2188     esi = POP32_VAL(esp); /* 0x2500588E: pop esi */
   2189     ebx = POP32_VAL(esp); /* 0x2500588F: pop ebx */
   2190     esp = ebp; /* 0x25005890: mov esp, ebp */
   2191     ebp = POP32_VAL(esp); /* 0x25005892: pop ebp */
   2192     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005893: ret 4 */
   2193     RECOMP_REGS_OUT();
   2194 }
   2195 
   2196 void sub_250058A0(void) {
   2197     int _fpu_cmp = 0;
   2198     uint32_t _cf = 0;
   2199     int _df = 1;
   2200     uint32_t _flag_k = FK_NONE;
   2201     uint32_t _flag_a = 0, _flag_b = 0;
   2202     uint32_t _itail_tgt = 0;
   2203     RECOMP_REGS_LOCALS
   2204     RECOMP_ENTER(0x250058A0u);
   2205 
   2206 L_250058A0:
   2207     PUSH32(esp, ebp); /* 0x250058A0: push ebp */
   2208     ebp = esp; /* 0x250058A1: mov ebp, esp */
   2209     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2211     esp = esp - 8; /* 0x250058A3: sub esp, 8 */
   2212     _flag_k = FK_CMP;
   2213     PUSH32(esp, ebx); /* 0x250058A6: push ebx */
   2214     PUSH32(esp, esi); /* 0x250058A7: push esi */
   2215     PUSH32(esp, edi); /* 0x250058A8: push edi */
   2216     esi = ecx + 0x4; /* 0x250058A9: lea esi, [ecx + 4] */
   2217     eax = ebp + 0x8; /* 0x250058AC: lea eax, [ebp + 8] */
   2218     PUSH32(esp, eax); /* 0x250058AF: push eax */
   2219     ecx = esi; /* 0x250058B0: mov ecx, esi */
   2220     RECOMP_ICALL(0x250077C0u); /* 0x250058B2: call 0x250077c0 */ /* not lifted */
   2221     RECOMP_FLAGS_IN();
   2222     ecx = ebp + 0x8; /* 0x250058B7: lea ecx, [ebp + 8] */
   2223     PUSH32(esp, ecx); /* 0x250058BA: push ecx */
   2224     ecx = esi; /* 0x250058BB: mov ecx, esi */
   2225     ebx = eax; /* 0x250058BD: mov ebx, eax */
   2226     RECOMP_ICALL(0x25106D40u); /* 0x250058BF: call 0x25106d40 */ /* not lifted */
   2227     RECOMP_FLAGS_IN();
   2228     edi = eax; /* 0x250058C4: mov edi, eax */
   2229     /* cmp edi, ebx */ /* 0x250058C6: cmp edi, ebx */
   2230     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2232     _flag_k = FK_CMP;
   2233     if (CMP_EQ(_flag_a, _flag_b)) goto L_250058FC; /* 0x250058C8: je 0x250058fc */
   2234 L_250058CA:
   2235     ecx = MEM32(eax + 0x8); /* 0x250058CA: mov ecx, dword ptr [eax + 8] */
   2236     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x250058CD: mov dl, byte ptr [ecx + 0x11] */
   2237     /* test LO8(edx), LO8(edx) */ /* 0x250058D0: test dl, dl */
   2238     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2239     _cf = 0;
   2240     _flag_k = FK_NARROW(FK_TEST, 24);
   2241     if (TEST_NZ(_flag_a, _flag_b)) goto L_250058DF; /* 0x250058D2: jne 0x250058df */
   2242 L_250058D4:
   2243     PUSH32(esp, ecx); /* 0x250058D4: push ecx */
   2244     RECOMP_ICALL(0x25006800u); /* 0x250058D5: call 0x25006800 */ /* not lifted */
   2245     RECOMP_FLAGS_IN();
   2246     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2247     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2248     esp = esp + 4; /* 0x250058DA: add esp, 4 */
   2249     _flag_k = FK_ADD;
   2250     goto L_250058F8; /* 0x250058DD: jmp 0x250058f8 */
   2251 L_250058DF:
   2252     ecx = MEM32(eax + 0x4); /* 0x250058DF: mov ecx, dword ptr [eax + 4] */
   2253     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250058E2: cmp eax, dword ptr [ecx + 8] */
   2254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2256     _flag_k = FK_CMP;
   2257     if (CMP_NE(_flag_a, _flag_b)) goto L_250058F1; /* 0x250058E5: jne 0x250058f1 */
   2258 L_250058E7:
   2259     eax = ecx; /* 0x250058E7: mov eax, ecx */
   2260     ecx = MEM32(ecx + 0x4); /* 0x250058E9: mov ecx, dword ptr [ecx + 4] */
   2261     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x250058EC: cmp eax, dword ptr [ecx + 8] */
   2262     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2264     _flag_k = FK_CMP;
   2265     RECOMP_BACKEDGE();
   2266     if (CMP_EQ(_flag_a, _flag_b)) goto L_250058E7; /* 0x250058EF: je 0x250058e7 */
   2267 L_250058F1:
   2268     /* cmp MEM32(eax + 0x8), ecx */ /* 0x250058F1: cmp dword ptr [eax + 8], ecx */
   2269     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   2270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2271     _flag_k = FK_CMP;
   2272     if (CMP_EQ(_flag_a, _flag_b)) goto L_250058F8; /* 0x250058F4: je 0x250058f8 */
   2273 L_250058F6:
   2274     eax = ecx; /* 0x250058F6: mov eax, ecx */
   2275 L_250058F8:
   2276     /* cmp eax, ebx */ /* 0x250058F8: cmp eax, ebx */
   2277     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2278     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2279     _flag_k = FK_CMP;
   2280     RECOMP_BACKEDGE();
   2281     if (CMP_NE(_flag_a, _flag_b)) goto L_250058CA; /* 0x250058FA: jne 0x250058ca */
   2282 L_250058FC:
   2283     eax = MEM32(esi + 0x10); /* 0x250058FC: mov eax, dword ptr [esi + 0x10] */
   2284     /* test eax, eax */ /* 0x250058FF: test eax, eax */
   2285     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2286     _cf = 0;
   2287     _flag_k = FK_TEST;
   2288     MEM32(ebp + (-0x4)) = edi; /* 0x25005901: mov dword ptr [ebp - 4], edi */
   2289     if (TEST_Z(_flag_a, _flag_b)) goto L_2500595E; /* 0x25005904: je 0x2500595e */
   2290 L_25005906:
   2291     eax = MEM32(esi + 0x4); /* 0x25005906: mov eax, dword ptr [esi + 4] */
   2292     /* cmp edi, MEM32(eax) */ /* 0x25005909: cmp edi, dword ptr [eax] */
   2293     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   2294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2295     _flag_k = FK_CMP;
   2296     if (CMP_NE(_flag_a, _flag_b)) goto L_2500595E; /* 0x2500590B: jne 0x2500595e */
   2297 L_2500590D:
   2298     /* cmp ebx, eax */ /* 0x2500590D: cmp ebx, eax */
   2299     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2300     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2301     _flag_k = FK_CMP;
   2302     if (CMP_NE(_flag_a, _flag_b)) goto L_2500595E; /* 0x2500590F: jne 0x2500595e */
   2303 L_25005911:
   2304     ebx = MEM32(eax + 0x4); /* 0x25005911: mov ebx, dword ptr [eax + 4] */
   2305     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005914: cmp ebx, dword ptr [esi + 8] */
   2306     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2308     _flag_k = FK_CMP;
   2309     edi = ebx; /* 0x25005917: mov edi, ebx */
   2310     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500593A; /* 0x25005919: je 0x2500593a */
   2311 L_2500591B:
   2312     edx = MEM32(edi + 0x8); /* 0x2500591B: mov edx, dword ptr [edi + 8] */
   2313     PUSH32(esp, edx); /* 0x2500591E: push edx */
   2314     ecx = esi; /* 0x2500591F: mov ecx, esi */
   2315     RECOMP_ICALL(0x25006820u); /* 0x25005921: call 0x25006820 */ /* not lifted */
   2316     RECOMP_FLAGS_IN();
   2317     edi = MEM32(edi); /* 0x25005926: mov edi, dword ptr [edi] */
   2318     PUSH32(esp, ebx); /* 0x25005928: push ebx */
   2319     RECOMP_ICALL(0x25137EECu); /* 0x25005929: call 0x25137eec */ /* not lifted */
   2320     RECOMP_FLAGS_IN();
   2321     eax = MEM32(esi + 0x8); /* 0x2500592E: mov eax, dword ptr [esi + 8] */
   2322     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2323     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2324     esp = esp + 4; /* 0x25005931: add esp, 4 */
   2325     _flag_k = FK_ADD;
   2326     /* cmp edi, eax */ /* 0x25005934: cmp edi, eax */
   2327     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2329     _flag_k = FK_CMP;
   2330     ebx = edi; /* 0x25005936: mov ebx, edi */
   2331     RECOMP_BACKEDGE();
   2332     if (CMP_NE(_flag_a, _flag_b)) goto L_2500591B; /* 0x25005938: jne 0x2500591b */
   2333 L_2500593A:
   2334     eax = MEM32(esi + 0x4); /* 0x2500593A: mov eax, dword ptr [esi + 4] */
   2335     ecx = MEM32(esi + 0x8); /* 0x2500593D: mov ecx, dword ptr [esi + 8] */
   2336     MEM32(eax + 0x4) = ecx; /* 0x25005940: mov dword ptr [eax + 4], ecx */
   2337     eax = MEM32(esi + 0x4); /* 0x25005943: mov eax, dword ptr [esi + 4] */
   2338     MEM32(esi + 0x10) = 0; /* 0x25005946: mov dword ptr [esi + 0x10], 0 */
   2339     MEM32(eax) = eax; /* 0x2500594D: mov dword ptr [eax], eax */
   2340     esi = MEM32(esi + 0x4); /* 0x2500594F: mov esi, dword ptr [esi + 4] */
   2341     edi = POP32_VAL(esp); /* 0x25005952: pop edi */
   2342     MEM32(esi + 0x8) = esi; /* 0x25005953: mov dword ptr [esi + 8], esi */
   2343     esi = POP32_VAL(esp); /* 0x25005956: pop esi */
   2344     ebx = POP32_VAL(esp); /* 0x25005957: pop ebx */
   2345     esp = ebp; /* 0x25005958: mov esp, ebp */
   2346     ebp = POP32_VAL(esp); /* 0x2500595A: pop ebp */
   2347     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500595B: ret 4 */
   2348 L_2500595E:
   2349     /* cmp edi, ebx */ /* 0x2500595E: cmp edi, ebx */
   2350     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2352     _flag_k = FK_CMP;
   2353     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500597D; /* 0x25005960: je 0x2500597d */
   2354 L_25005962:
   2355     ecx = ebp + (-0x4); /* 0x25005962: lea ecx, [ebp - 4] */
   2356     RECOMP_ICALL(0x250077F0u); /* 0x25005965: call 0x250077f0 */ /* not lifted */
   2357     RECOMP_FLAGS_IN();
   2358     PUSH32(esp, edi); /* 0x2500596A: push edi */
   2359     edx = ebp + (-0x8); /* 0x2500596B: lea edx, [ebp - 8] */
   2360     PUSH32(esp, edx); /* 0x2500596E: push edx */
   2361     ecx = esi; /* 0x2500596F: mov ecx, esi */
   2362     RECOMP_ICALL(0x25006380u); /* 0x25005971: call 0x25006380 */ /* not lifted */
   2363     RECOMP_FLAGS_IN();
   2364     edi = MEM32(ebp + (-0x4)); /* 0x25005976: mov edi, dword ptr [ebp - 4] */
   2365     /* cmp edi, ebx */ /* 0x25005979: cmp edi, ebx */
   2366     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2368     _flag_k = FK_CMP;
   2369     RECOMP_BACKEDGE();
   2370     if (CMP_NE(_flag_a, _flag_b)) goto L_25005962; /* 0x2500597B: jne 0x25005962 */
   2371 L_2500597D:
   2372     edi = POP32_VAL(esp); /* 0x2500597D: pop edi */
   2373     esi = POP32_VAL(esp); /* 0x2500597E: pop esi */
   2374     ebx = POP32_VAL(esp); /* 0x2500597F: pop ebx */
   2375     esp = ebp; /* 0x25005980: mov esp, ebp */
   2376     ebp = POP32_VAL(esp); /* 0x25005982: pop ebp */
   2377     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005983: ret 4 */
   2378     RECOMP_REGS_OUT();
   2379 }
   2380 
   2381 void sub_25005990(void) {
   2382     int _fpu_cmp = 0;
   2383     uint32_t _cf = 0;
   2384     int _df = 1;
   2385     uint32_t _flag_k = FK_NONE;
   2386     uint32_t _flag_a = 0, _flag_b = 0;
   2387     uint32_t _itail_tgt = 0;
   2388     RECOMP_REGS_LOCALS
   2389     RECOMP_ENTER(0x25005990u);
   2390 
   2391 L_25005990:
   2392     PUSH32(esp, ebp); /* 0x25005990: push ebp */
   2393     ebp = esp; /* 0x25005991: mov ebp, esp */
   2394     PUSH32(esp, ecx); /* 0x25005993: push ecx */
   2395     PUSH32(esp, ebx); /* 0x25005994: push ebx */
   2396     PUSH32(esp, esi); /* 0x25005995: push esi */
   2397     esi = MEM32(ebp + 0x8); /* 0x25005996: mov esi, dword ptr [ebp + 8] */
   2398     eax = ecx; /* 0x25005999: mov eax, ecx */
   2399     /* cmp eax, esi */ /* 0x2500599B: cmp eax, esi */
   2400     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2401     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2402     _flag_k = FK_CMP;
   2403     PUSH32(esp, edi); /* 0x2500599D: push edi */
   2404     MEM32(ebp + (-0x4)) = eax; /* 0x2500599E: mov dword ptr [ebp - 4], eax */
   2405     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005C09; /* 0x250059A1: je 0x25005c09 */
   2406 L_250059A7:
   2407     edi = MEM32(esi + 0x4); /* 0x250059A7: mov edi, dword ptr [esi + 4] */
   2408     /* test edi, edi */ /* 0x250059AA: test edi, edi */
   2409     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2410     _cf = 0;
   2411     _flag_k = FK_TEST;
   2412     if (TEST_NZ(_flag_a, _flag_b)) goto L_250059B2; /* 0x250059AC: jne 0x250059b2 */
   2413 L_250059AE:
   2414     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2415     ebx = 0; /* 0x250059AE: xor ebx, ebx */
   2416     _cf = 0;
   2417     _flag_k = FK_TEST;
   2418     goto L_250059CC; /* 0x250059B0: jmp 0x250059cc */
   2419 L_250059B2:
   2420     ecx = MEM32(esi + 0x8); /* 0x250059B2: mov ecx, dword ptr [esi + 8] */
   2421     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   2422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2423     ecx = ecx - edi; /* 0x250059B5: sub ecx, edi */
   2424     _flag_k = FK_CMP;
   2425     eax = 0x2AAAAAABu; /* 0x250059B7: mov eax, 0x2aaaaaab */
   2426     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x250059BC: imul ecx */
   2427       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2428       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2429     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x250059BE: sar edx, 1 */
   2430     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2431     edx = (uint32_t)((int32_t)edx >> 1u);
   2432     eax = edx; /* 0x250059C0: mov eax, edx */
   2433     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250059C2: shr eax, 0x1f */
   2434     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2435     eax = eax >> 31u; /* 0x250059C2: shr eax, 0x1f */
   2436     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2437     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2438     edx = edx + eax; /* 0x250059C5: add edx, eax */
   2439     _flag_k = FK_ADD;
   2440     eax = MEM32(ebp + (-0x4)); /* 0x250059C7: mov eax, dword ptr [ebp - 4] */
   2441     ebx = edx; /* 0x250059CA: mov ebx, edx */
   2442 L_250059CC:
   2443     ecx = MEM32(eax + 0x4); /* 0x250059CC: mov ecx, dword ptr [eax + 4] */
   2444     /* test ecx, ecx */ /* 0x250059CF: test ecx, ecx */
   2445     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2446     _cf = 0;
   2447     _flag_k = FK_TEST;
   2448     if (TEST_NZ(_flag_a, _flag_b)) goto L_250059D7; /* 0x250059D1: jne 0x250059d7 */
   2449 L_250059D3:
   2450     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2451     edx = 0; /* 0x250059D3: xor edx, edx */
   2452     _cf = 0;
   2453     _flag_k = FK_TEST;
   2454     goto L_250059EC; /* 0x250059D5: jmp 0x250059ec */
   2455 L_250059D7:
   2456     edx = MEM32(eax + 0x8); /* 0x250059D7: mov edx, dword ptr [eax + 8] */
   2457     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2458     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2459     edx = edx - ecx; /* 0x250059DA: sub edx, ecx */
   2460     _flag_k = FK_CMP;
   2461     eax = 0x2AAAAAABu; /* 0x250059DC: mov eax, 0x2aaaaaab */
   2462     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x250059E1: imul edx */
   2463       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2464       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2465     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x250059E3: sar edx, 1 */
   2466     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2467     edx = (uint32_t)((int32_t)edx >> 1u);
   2468     eax = edx; /* 0x250059E5: mov eax, edx */
   2469     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x250059E7: shr eax, 0x1f */
   2470     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2471     eax = eax >> 31u; /* 0x250059E7: shr eax, 0x1f */
   2472     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2473     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2474     edx = edx + eax; /* 0x250059EA: add edx, eax */
   2475     _flag_k = FK_ADD;
   2476 L_250059EC:
   2477     /* cmp ebx, edx */ /* 0x250059EC: cmp ebx, edx */
   2478     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   2479     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2480     _flag_k = FK_CMP;
   2481     if (CMP_A(_flag_a, _flag_b)) goto L_25005A6B; /* 0x250059EE: ja 0x25005a6b */
   2482 L_250059F0:
   2483     edx = MEM32(esi + 0x8); /* 0x250059F0: mov edx, dword ptr [esi + 8] */
   2484     eax = edi; /* 0x250059F3: mov eax, edi */
   2485     /* cmp eax, edx */ /* 0x250059F5: cmp eax, edx */
   2486     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2488     _flag_k = FK_CMP;
   2489     MEM32(ebp + 0x8) = edx; /* 0x250059F7: mov dword ptr [ebp + 8], edx */
   2490     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005A1D; /* 0x250059FA: je 0x25005a1d */
   2491 L_250059FC:
   2492     edx = eax; /* 0x250059FC: mov edx, eax */
   2493     ebx = MEM32(edx); /* 0x250059FE: mov ebx, dword ptr [edx] */
   2494     edi = ecx; /* 0x25005A00: mov edi, ecx */
   2495     MEM32(edi) = ebx; /* 0x25005A02: mov dword ptr [edi], ebx */
   2496     ebx = MEM32(edx + 0x4); /* 0x25005A04: mov ebx, dword ptr [edx + 4] */
   2497     MEM32(edi + 0x4) = ebx; /* 0x25005A07: mov dword ptr [edi + 4], ebx */
   2498     edx = MEM32(edx + 0x8); /* 0x25005A0A: mov edx, dword ptr [edx + 8] */
   2499     MEM32(edi + 0x8) = edx; /* 0x25005A0D: mov dword ptr [edi + 8], edx */
   2500     edx = MEM32(ebp + 0x8); /* 0x25005A10: mov edx, dword ptr [ebp + 8] */
   2501     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   2502     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2503     eax = eax + 0xCu; /* 0x25005A13: add eax, 0xc */
   2504     _flag_k = FK_ADD;
   2505     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   2506     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2507     ecx = ecx + 0xCu; /* 0x25005A16: add ecx, 0xc */
   2508     _flag_k = FK_ADD;
   2509     /* cmp eax, edx */ /* 0x25005A19: cmp eax, edx */
   2510     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2511     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2512     _flag_k = FK_CMP;
   2513     RECOMP_BACKEDGE();
   2514     if (CMP_NE(_flag_a, _flag_b)) goto L_250059FC; /* 0x25005A1B: jne 0x250059fc */
   2515 L_25005A1D:
   2516     eax = MEM32(esi + 0x4); /* 0x25005A1D: mov eax, dword ptr [esi + 4] */
   2517     /* test eax, eax */ /* 0x25005A20: test eax, eax */
   2518     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2519     _cf = 0;
   2520     _flag_k = FK_TEST;
   2521     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005A3E; /* 0x25005A22: jne 0x25005a3e */
   2522 L_25005A24:
   2523     eax = MEM32(ebp + (-0x4)); /* 0x25005A24: mov eax, dword ptr [ebp - 4] */
   2524     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2525     edx = 0; /* 0x25005A27: xor edx, edx */
   2526     _cf = 0;
   2527     _flag_k = FK_TEST;
   2528     ecx = edx + edx * 2; /* 0x25005A29: lea ecx, [edx + edx*2] */
   2529     edx = MEM32(eax + 0x4); /* 0x25005A2C: mov edx, dword ptr [eax + 4] */
   2530     edi = POP32_VAL(esp); /* 0x25005A2F: pop edi */
   2531     ecx = edx + ecx * 4; /* 0x25005A30: lea ecx, [edx + ecx*4] */
   2532     esi = POP32_VAL(esp); /* 0x25005A33: pop esi */
   2533     MEM32(eax + 0x8) = ecx; /* 0x25005A34: mov dword ptr [eax + 8], ecx */
   2534     ebx = POP32_VAL(esp); /* 0x25005A37: pop ebx */
   2535     esp = ebp; /* 0x25005A38: mov esp, ebp */
   2536     ebp = POP32_VAL(esp); /* 0x25005A3A: pop ebp */
   2537     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005A3B: ret 4 */
   2538 L_25005A3E:
   2539     esi = MEM32(esi + 0x8); /* 0x25005A3E: mov esi, dword ptr [esi + 8] */
   2540     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   2541     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2542     esi = esi - eax; /* 0x25005A41: sub esi, eax */
   2543     _flag_k = FK_CMP;
   2544     eax = 0x2AAAAAABu; /* 0x25005A43: mov eax, 0x2aaaaaab */
   2545     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x25005A48: imul esi */
   2546       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2547       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2548     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005A4A: sar edx, 1 */
   2549     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2550     edx = (uint32_t)((int32_t)edx >> 1u);
   2551     eax = edx; /* 0x25005A4C: mov eax, edx */
   2552     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x25005A4E: shr eax, 0x1f */
   2553     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2554     eax = eax >> 31u; /* 0x25005A4E: shr eax, 0x1f */
   2555     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2556     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2557     edx = edx + eax; /* 0x25005A51: add edx, eax */
   2558     _flag_k = FK_ADD;
   2559     eax = MEM32(ebp + (-0x4)); /* 0x25005A53: mov eax, dword ptr [ebp - 4] */
   2560     ecx = edx + edx * 2; /* 0x25005A56: lea ecx, [edx + edx*2] */
   2561     edx = MEM32(eax + 0x4); /* 0x25005A59: mov edx, dword ptr [eax + 4] */
   2562     edi = POP32_VAL(esp); /* 0x25005A5C: pop edi */
   2563     ecx = edx + ecx * 4; /* 0x25005A5D: lea ecx, [edx + ecx*4] */
   2564     esi = POP32_VAL(esp); /* 0x25005A60: pop esi */
   2565     MEM32(eax + 0x8) = ecx; /* 0x25005A61: mov dword ptr [eax + 8], ecx */
   2566     ebx = POP32_VAL(esp); /* 0x25005A64: pop ebx */
   2567     esp = ebp; /* 0x25005A65: mov esp, ebp */
   2568     ebp = POP32_VAL(esp); /* 0x25005A67: pop ebp */
   2569     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005A68: ret 4 */
   2570 L_25005A6B:
   2571     /* test edi, edi */ /* 0x25005A6B: test edi, edi */
   2572     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2573     _cf = 0;
   2574     _flag_k = FK_TEST;
   2575     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005A73; /* 0x25005A6D: jne 0x25005a73 */
   2576 L_25005A6F:
   2577     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2578     ebx = 0; /* 0x25005A6F: xor ebx, ebx */
   2579     _cf = 0;
   2580     _flag_k = FK_TEST;
   2581     goto L_25005A8A; /* 0x25005A71: jmp 0x25005a8a */
   2582 L_25005A73:
   2583     edx = MEM32(esi + 0x8); /* 0x25005A73: mov edx, dword ptr [esi + 8] */
   2584     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   2585     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2586     edx = edx - edi; /* 0x25005A76: sub edx, edi */
   2587     _flag_k = FK_CMP;
   2588     eax = 0x2AAAAAABu; /* 0x25005A78: mov eax, 0x2aaaaaab */
   2589     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x25005A7D: imul edx */
   2590       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2591       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2592     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005A7F: sar edx, 1 */
   2593     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2594     edx = (uint32_t)((int32_t)edx >> 1u);
   2595     eax = edx; /* 0x25005A81: mov eax, edx */
   2596     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x25005A83: shr eax, 0x1f */
   2597     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2598     eax = eax >> 31u; /* 0x25005A83: shr eax, 0x1f */
   2599     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2600     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2601     edx = edx + eax; /* 0x25005A86: add edx, eax */
   2602     _flag_k = FK_ADD;
   2603     ebx = edx; /* 0x25005A88: mov ebx, edx */
   2604 L_25005A8A:
   2605     /* test ecx, ecx */ /* 0x25005A8A: test ecx, ecx */
   2606     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2607     _cf = 0;
   2608     _flag_k = FK_TEST;
   2609     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005A92; /* 0x25005A8C: jne 0x25005a92 */
   2610 L_25005A8E:
   2611     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2612     edx = 0; /* 0x25005A8E: xor edx, edx */
   2613     _cf = 0;
   2614     _flag_k = FK_TEST;
   2615     goto L_25005AAA; /* 0x25005A90: jmp 0x25005aaa */
   2616 L_25005A92:
   2617     edx = MEM32(ebp + (-0x4)); /* 0x25005A92: mov edx, dword ptr [ebp - 4] */
   2618     edx = MEM32(edx + 0xC); /* 0x25005A95: mov edx, dword ptr [edx + 0xc] */
   2619     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2620     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2621     edx = edx - ecx; /* 0x25005A98: sub edx, ecx */
   2622     _flag_k = FK_CMP;
   2623     eax = 0x2AAAAAABu; /* 0x25005A9A: mov eax, 0x2aaaaaab */
   2624     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x25005A9F: imul edx */
   2625       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2626       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2627     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005AA1: sar edx, 1 */
   2628     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2629     edx = (uint32_t)((int32_t)edx >> 1u);
   2630     eax = edx; /* 0x25005AA3: mov eax, edx */
   2631     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x25005AA5: shr eax, 0x1f */
   2632     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2633     eax = eax >> 31u; /* 0x25005AA5: shr eax, 0x1f */
   2634     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2635     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2636     edx = edx + eax; /* 0x25005AA8: add edx, eax */
   2637     _flag_k = FK_ADD;
   2638 L_25005AAA:
   2639     /* cmp ebx, edx */ /* 0x25005AAA: cmp ebx, edx */
   2640     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   2641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2642     _flag_k = FK_CMP;
   2643     if (CMP_A(_flag_a, _flag_b)) goto L_25005B87; /* 0x25005AAC: ja 0x25005b87 */
   2644 L_25005AB2:
   2645     /* test ecx, ecx */ /* 0x25005AB2: test ecx, ecx */
   2646     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2647     _cf = 0;
   2648     _flag_k = FK_TEST;
   2649     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005ABA; /* 0x25005AB4: jne 0x25005aba */
   2650 L_25005AB6:
   2651     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2652     edx = 0; /* 0x25005AB6: xor edx, edx */
   2653     _cf = 0;
   2654     _flag_k = FK_TEST;
   2655     goto L_25005AD2; /* 0x25005AB8: jmp 0x25005ad2 */
   2656 L_25005ABA:
   2657     edx = MEM32(ebp + (-0x4)); /* 0x25005ABA: mov edx, dword ptr [ebp - 4] */
   2658     edx = MEM32(edx + 0x8); /* 0x25005ABD: mov edx, dword ptr [edx + 8] */
   2659     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2661     edx = edx - ecx; /* 0x25005AC0: sub edx, ecx */
   2662     _flag_k = FK_CMP;
   2663     eax = 0x2AAAAAABu; /* 0x25005AC2: mov eax, 0x2aaaaaab */
   2664     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x25005AC7: imul edx */
   2665       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2666       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2667     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005AC9: sar edx, 1 */
   2668     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2669     edx = (uint32_t)((int32_t)edx >> 1u);
   2670     eax = edx; /* 0x25005ACB: mov eax, edx */
   2671     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x25005ACD: shr eax, 0x1f */
   2672     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2673     eax = eax >> 31u; /* 0x25005ACD: shr eax, 0x1f */
   2674     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2675     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2676     edx = edx + eax; /* 0x25005AD0: add edx, eax */
   2677     _flag_k = FK_ADD;
   2678 L_25005AD2:
   2679     edx = edx + edx * 2; /* 0x25005AD2: lea edx, [edx + edx*2] */
   2680     edx = edi + edx * 4; /* 0x25005AD5: lea edx, [edi + edx*4] */
   2681     eax = edi; /* 0x25005AD8: mov eax, edi */
   2682     /* cmp eax, edx */ /* 0x25005ADA: cmp eax, edx */
   2683     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2685     _flag_k = FK_CMP;
   2686     MEM32(ebp + 0x8) = ecx; /* 0x25005ADC: mov dword ptr [ebp + 8], ecx */
   2687     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005B03; /* 0x25005ADF: je 0x25005b03 */
   2688 L_25005AE1:
   2689     edi = eax; /* 0x25005AE1: mov edi, eax */
   2690     ebx = MEM32(edi); /* 0x25005AE3: mov ebx, dword ptr [edi] */
   2691     MEM32(ecx) = ebx; /* 0x25005AE5: mov dword ptr [ecx], ebx */
   2692     ebx = MEM32(edi + 0x4); /* 0x25005AE7: mov ebx, dword ptr [edi + 4] */
   2693     MEM32(ecx + 0x4) = ebx; /* 0x25005AEA: mov dword ptr [ecx + 4], ebx */
   2694     edi = MEM32(edi + 0x8); /* 0x25005AED: mov edi, dword ptr [edi + 8] */
   2695     MEM32(ecx + 0x8) = edi; /* 0x25005AF0: mov dword ptr [ecx + 8], edi */
   2696     ecx = MEM32(ebp + 0x8); /* 0x25005AF3: mov ecx, dword ptr [ebp + 8] */
   2697     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   2698     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2699     ecx = ecx + 0xCu; /* 0x25005AF6: add ecx, 0xc */
   2700     _flag_k = FK_ADD;
   2701     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   2702     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2703     eax = eax + 0xCu; /* 0x25005AF9: add eax, 0xc */
   2704     _flag_k = FK_ADD;
   2705     /* cmp eax, edx */ /* 0x25005AFC: cmp eax, edx */
   2706     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2708     _flag_k = FK_CMP;
   2709     MEM32(ebp + 0x8) = ecx; /* 0x25005AFE: mov dword ptr [ebp + 8], ecx */
   2710     RECOMP_BACKEDGE();
   2711     if (CMP_NE(_flag_a, _flag_b)) goto L_25005AE1; /* 0x25005B01: jne 0x25005ae1 */
   2712 L_25005B03:
   2713     ecx = MEM32(esi + 0x8); /* 0x25005B03: mov ecx, dword ptr [esi + 8] */
   2714     /* cmp edx, ecx */ /* 0x25005B06: cmp edx, ecx */
   2715     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2717     _flag_k = FK_CMP;
   2718     edi = MEM32(ebp + (-0x4)); /* 0x25005B08: mov edi, dword ptr [ebp - 4] */
   2719     eax = MEM32(edi + 0x8); /* 0x25005B0B: mov eax, dword ptr [edi + 8] */
   2720     MEM32(ebp + 0x8) = ecx; /* 0x25005B0E: mov dword ptr [ebp + 8], ecx */
   2721     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005B3B; /* 0x25005B11: je 0x25005b3b */
   2722 L_25005B13:
   2723     /* test eax, eax */ /* 0x25005B13: test eax, eax */
   2724     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2725     _cf = 0;
   2726     _flag_k = FK_TEST;
   2727     if (TEST_Z(_flag_a, _flag_b)) goto L_25005B2E; /* 0x25005B15: je 0x25005b2e */
   2728 L_25005B17:
   2729     ecx = edx; /* 0x25005B17: mov ecx, edx */
   2730     ebx = MEM32(ecx); /* 0x25005B19: mov ebx, dword ptr [ecx] */
   2731     edi = eax; /* 0x25005B1B: mov edi, eax */
   2732     MEM32(edi) = ebx; /* 0x25005B1D: mov dword ptr [edi], ebx */
   2733     ebx = MEM32(ecx + 0x4); /* 0x25005B1F: mov ebx, dword ptr [ecx + 4] */
   2734     MEM32(edi + 0x4) = ebx; /* 0x25005B22: mov dword ptr [edi + 4], ebx */
   2735     ecx = MEM32(ecx + 0x8); /* 0x25005B25: mov ecx, dword ptr [ecx + 8] */
   2736     MEM32(edi + 0x8) = ecx; /* 0x25005B28: mov dword ptr [edi + 8], ecx */
   2737     ecx = MEM32(ebp + 0x8); /* 0x25005B2B: mov ecx, dword ptr [ebp + 8] */
   2738 L_25005B2E:
   2739     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xCu);
   2740     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2741     edx = edx + 0xCu; /* 0x25005B2E: add edx, 0xc */
   2742     _flag_k = FK_ADD;
   2743     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   2744     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2745     eax = eax + 0xCu; /* 0x25005B31: add eax, 0xc */
   2746     _flag_k = FK_ADD;
   2747     /* cmp edx, ecx */ /* 0x25005B34: cmp edx, ecx */
   2748     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2749     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2750     _flag_k = FK_CMP;
   2751     RECOMP_BACKEDGE();
   2752     if (CMP_NE(_flag_a, _flag_b)) goto L_25005B13; /* 0x25005B36: jne 0x25005b13 */
   2753 L_25005B38:
   2754     edi = MEM32(ebp + (-0x4)); /* 0x25005B38: mov edi, dword ptr [ebp - 4] */
   2755 L_25005B3B:
   2756     eax = MEM32(esi + 0x4); /* 0x25005B3B: mov eax, dword ptr [esi + 4] */
   2757     /* test eax, eax */ /* 0x25005B3E: test eax, eax */
   2758     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2759     _cf = 0;
   2760     _flag_k = FK_TEST;
   2761     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005B5B; /* 0x25005B40: jne 0x25005b5b */
   2762 L_25005B42:
   2763     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2764     edx = 0; /* 0x25005B42: xor edx, edx */
   2765     _cf = 0;
   2766     _flag_k = FK_TEST;
   2767     ecx = edx + edx * 2; /* 0x25005B44: lea ecx, [edx + edx*2] */
   2768     edx = MEM32(edi + 0x4); /* 0x25005B47: mov edx, dword ptr [edi + 4] */
   2769     eax = edx + ecx * 4; /* 0x25005B4A: lea eax, [edx + ecx*4] */
   2770     MEM32(edi + 0x8) = eax; /* 0x25005B4D: mov dword ptr [edi + 8], eax */
   2771     eax = edi; /* 0x25005B50: mov eax, edi */
   2772     edi = POP32_VAL(esp); /* 0x25005B52: pop edi */
   2773     esi = POP32_VAL(esp); /* 0x25005B53: pop esi */
   2774     ebx = POP32_VAL(esp); /* 0x25005B54: pop ebx */
   2775     esp = ebp; /* 0x25005B55: mov esp, ebp */
   2776     ebp = POP32_VAL(esp); /* 0x25005B57: pop ebp */
   2777     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005B58: ret 4 */
   2778 L_25005B5B:
   2779     esi = MEM32(esi + 0x8); /* 0x25005B5B: mov esi, dword ptr [esi + 8] */
   2780     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   2781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2782     esi = esi - eax; /* 0x25005B5E: sub esi, eax */
   2783     _flag_k = FK_CMP;
   2784     eax = 0x2AAAAAABu; /* 0x25005B60: mov eax, 0x2aaaaaab */
   2785     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x25005B65: imul esi */
   2786       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2787       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2788     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005B67: sar edx, 1 */
   2789     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2790     edx = (uint32_t)((int32_t)edx >> 1u);
   2791     eax = edx; /* 0x25005B69: mov eax, edx */
   2792     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x25005B6B: shr eax, 0x1f */
   2793     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2794     eax = eax >> 31u; /* 0x25005B6B: shr eax, 0x1f */
   2795     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2796     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2797     edx = edx + eax; /* 0x25005B6E: add edx, eax */
   2798     _flag_k = FK_ADD;
   2799     ecx = edx + edx * 2; /* 0x25005B70: lea ecx, [edx + edx*2] */
   2800     edx = MEM32(edi + 0x4); /* 0x25005B73: mov edx, dword ptr [edi + 4] */
   2801     eax = edx + ecx * 4; /* 0x25005B76: lea eax, [edx + ecx*4] */
   2802     MEM32(edi + 0x8) = eax; /* 0x25005B79: mov dword ptr [edi + 8], eax */
   2803     eax = edi; /* 0x25005B7C: mov eax, edi */
   2804     edi = POP32_VAL(esp); /* 0x25005B7E: pop edi */
   2805     esi = POP32_VAL(esp); /* 0x25005B7F: pop esi */
   2806     ebx = POP32_VAL(esp); /* 0x25005B80: pop ebx */
   2807     esp = ebp; /* 0x25005B81: mov esp, ebp */
   2808     ebp = POP32_VAL(esp); /* 0x25005B83: pop ebp */
   2809     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005B84: ret 4 */
   2810 L_25005B87:
   2811     PUSH32(esp, ecx); /* 0x25005B87: push ecx */
   2812     MEM32(ebp + 0x8) = ecx; /* 0x25005B88: mov dword ptr [ebp + 8], ecx */
   2813     RECOMP_ICALL(0x25137EECu); /* 0x25005B8B: call 0x25137eec */ /* not lifted */
   2814     RECOMP_FLAGS_IN();
   2815     eax = MEM32(esi + 0x4); /* 0x25005B90: mov eax, dword ptr [esi + 4] */
   2816     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2817     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2818     esp = esp + 4; /* 0x25005B93: add esp, 4 */
   2819     _flag_k = FK_ADD;
   2820     /* test eax, eax */ /* 0x25005B96: test eax, eax */
   2821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2822     _cf = 0;
   2823     _flag_k = FK_TEST;
   2824     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005B9E; /* 0x25005B98: jne 0x25005b9e */
   2825 L_25005B9A:
   2826     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2827     edx = 0; /* 0x25005B9A: xor edx, edx */
   2828     _cf = 0;
   2829     _flag_k = FK_TEST;
   2830     goto L_25005BB3; /* 0x25005B9C: jmp 0x25005bb3 */
   2831 L_25005B9E:
   2832     ecx = MEM32(esi + 0x8); /* 0x25005B9E: mov ecx, dword ptr [esi + 8] */
   2833     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2835     ecx = ecx - eax; /* 0x25005BA1: sub ecx, eax */
   2836     _flag_k = FK_CMP;
   2837     eax = 0x2AAAAAABu; /* 0x25005BA3: mov eax, 0x2aaaaaab */
   2838     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25005BA8: imul ecx */
   2839       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2840       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2841     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25005BAA: sar edx, 1 */
   2842     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2843     edx = (uint32_t)((int32_t)edx >> 1u);
   2844     ecx = edx; /* 0x25005BAC: mov ecx, edx */
   2845     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x25005BAE: shr ecx, 0x1f */
   2846     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2847     ecx = ecx >> 31u; /* 0x25005BAE: shr ecx, 0x1f */
   2848     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2849     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2850     edx = edx + ecx; /* 0x25005BB1: add edx, ecx */
   2851     _flag_k = FK_ADD;
   2852 L_25005BB3:
   2853     /* test edx, edx */ /* 0x25005BB3: test edx, edx */
   2854     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   2855     _cf = 0;
   2856     _flag_k = FK_TEST;
   2857     eax = edx; /* 0x25005BB5: mov eax, edx */
   2858     if (TEST_NS(_flag_a, _flag_b)) goto L_25005BBB; /* 0x25005BB7: jge 0x25005bbb */
   2859 L_25005BB9:
   2860     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2861     eax = 0; /* 0x25005BB9: xor eax, eax */
   2862     _cf = 0;
   2863     _flag_k = FK_TEST;
   2864 L_25005BBB:
   2865     edx = eax + eax * 2; /* 0x25005BBB: lea edx, [eax + eax*2] */
   2866     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25005BBE: shl edx, 2 */
   2867     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2868     edx = edx << 2u; /* 0x25005BBE: shl edx, 2 */
   2869     PUSH32(esp, edx); /* 0x25005BC1: push edx */
   2870     RECOMP_ICALL(0x251380D0u); /* 0x25005BC2: call 0x251380d0 */ /* not lifted */
   2871     RECOMP_FLAGS_IN();
   2872     edi = MEM32(ebp + (-0x4)); /* 0x25005BC7: mov edi, dword ptr [ebp - 4] */
   2873     MEM32(edi + 0x4) = eax; /* 0x25005BCA: mov dword ptr [edi + 4], eax */
   2874     edx = MEM32(esi + 0x8); /* 0x25005BCD: mov edx, dword ptr [esi + 8] */
   2875     ecx = eax; /* 0x25005BD0: mov ecx, eax */
   2876     eax = MEM32(esi + 0x4); /* 0x25005BD2: mov eax, dword ptr [esi + 4] */
   2877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2879     esp = esp + 4; /* 0x25005BD5: add esp, 4 */
   2880     _flag_k = FK_ADD;
   2881     /* cmp eax, edx */ /* 0x25005BD8: cmp eax, edx */
   2882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2884     _flag_k = FK_CMP;
   2885     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005C01; /* 0x25005BDA: je 0x25005c01 */
   2886 L_25005BDC:
   2887     /* test ecx, ecx */ /* 0x25005BDC: test ecx, ecx */
   2888     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2889     _cf = 0;
   2890     _flag_k = FK_TEST;
   2891     if (TEST_Z(_flag_a, _flag_b)) goto L_25005BF7; /* 0x25005BDE: je 0x25005bf7 */
   2892 L_25005BE0:
   2893     esi = eax; /* 0x25005BE0: mov esi, eax */
   2894     ebx = MEM32(esi); /* 0x25005BE2: mov ebx, dword ptr [esi] */
   2895     edi = ecx; /* 0x25005BE4: mov edi, ecx */
   2896     MEM32(edi) = ebx; /* 0x25005BE6: mov dword ptr [edi], ebx */
   2897     ebx = MEM32(esi + 0x4); /* 0x25005BE8: mov ebx, dword ptr [esi + 4] */
   2898     MEM32(edi + 0x4) = ebx; /* 0x25005BEB: mov dword ptr [edi + 4], ebx */
   2899     esi = MEM32(esi + 0x8); /* 0x25005BEE: mov esi, dword ptr [esi + 8] */
   2900     MEM32(edi + 0x8) = esi; /* 0x25005BF1: mov dword ptr [edi + 8], esi */
   2901     edi = MEM32(ebp + (-0x4)); /* 0x25005BF4: mov edi, dword ptr [ebp - 4] */
   2902 L_25005BF7:
   2903     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   2904     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2905     eax = eax + 0xCu; /* 0x25005BF7: add eax, 0xc */
   2906     _flag_k = FK_ADD;
   2907     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   2908     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2909     ecx = ecx + 0xCu; /* 0x25005BFA: add ecx, 0xc */
   2910     _flag_k = FK_ADD;
   2911     /* cmp eax, edx */ /* 0x25005BFD: cmp eax, edx */
   2912     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2914     _flag_k = FK_CMP;
   2915     RECOMP_BACKEDGE();
   2916     if (CMP_NE(_flag_a, _flag_b)) goto L_25005BDC; /* 0x25005BFF: jne 0x25005bdc */
   2917 L_25005C01:
   2918     MEM32(edi + 0x8) = ecx; /* 0x25005C01: mov dword ptr [edi + 8], ecx */
   2919     MEM32(edi + 0xC) = ecx; /* 0x25005C04: mov dword ptr [edi + 0xc], ecx */
   2920     eax = edi; /* 0x25005C07: mov eax, edi */
   2921 L_25005C09:
   2922     edi = POP32_VAL(esp); /* 0x25005C09: pop edi */
   2923     esi = POP32_VAL(esp); /* 0x25005C0A: pop esi */
   2924     ebx = POP32_VAL(esp); /* 0x25005C0B: pop ebx */
   2925     esp = ebp; /* 0x25005C0C: mov esp, ebp */
   2926     ebp = POP32_VAL(esp); /* 0x25005C0E: pop ebp */
   2927     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005C0F: ret 4 */
   2928     RECOMP_REGS_OUT();
   2929 }
   2930 
   2931 void sub_25005C20(void) {
   2932     int _fpu_cmp = 0;
   2933     uint32_t _cf = 0;
   2934     int _df = 1;
   2935     uint32_t _flag_k = FK_NONE;
   2936     uint32_t _flag_a = 0, _flag_b = 0;
   2937     uint32_t _itail_tgt = 0;
   2938     RECOMP_REGS_LOCALS
   2939     RECOMP_ENTER(0x25005C20u);
   2940 
   2941 L_25005C20:
   2942     PUSH32(esp, ebp); /* 0x25005C20: push ebp */
   2943     ebp = esp; /* 0x25005C21: mov ebp, esp */
   2944     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2946     esp = esp - 0x10u; /* 0x25005C23: sub esp, 0x10 */
   2947     _flag_k = FK_CMP;
   2948     edx = MEM32(ecx + 0xC); /* 0x25005C26: mov edx, dword ptr [ecx + 0xc] */
   2949     PUSH32(esp, ebx); /* 0x25005C29: push ebx */
   2950     ebx = ecx + 0x4; /* 0x25005C2A: lea ebx, [ecx + 4] */
   2951     ecx = MEM32(ebx + 0x4); /* 0x25005C2D: mov ecx, dword ptr [ebx + 4] */
   2952     PUSH32(esp, esi); /* 0x25005C30: push esi */
   2953     esi = MEM32(ecx + 0x4); /* 0x25005C31: mov esi, dword ptr [ecx + 4] */
   2954     /* cmp esi, edx */ /* 0x25005C34: cmp esi, edx */
   2955     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2957     _flag_k = FK_CMP;
   2958     PUSH32(esp, edi); /* 0x25005C36: push edi */
   2959     edi = ecx; /* 0x25005C37: mov edi, ecx */
   2960     SET_LO8(eax, 1); /* 0x25005C39: mov al, 1 */
   2961     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005C57; /* 0x25005C3B: je 0x25005c57 */
   2962 L_25005C3D:
   2963     eax = MEM32(ebp + 0x8); /* 0x25005C3D: mov eax, dword ptr [ebp + 8] */
   2964     /* cmp eax, MEM32(esi + 0xC) */ /* 0x25005C40: cmp eax, dword ptr [esi + 0xc] */
   2965     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC));
   2966     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2967     _flag_k = FK_CMP;
   2968     edi = esi; /* 0x25005C43: mov edi, esi */
   2969     SET_LO8(eax, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x25005C45: setb al */
   2970     /* test LO8(eax), LO8(eax) */ /* 0x25005C48: test al, al */
   2971     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2972     _cf = 0;
   2973     _flag_k = FK_NARROW(FK_TEST, 24);
   2974     if (TEST_Z(_flag_a, _flag_b)) goto L_25005C50; /* 0x25005C4A: je 0x25005c50 */
   2975 L_25005C4C:
   2976     esi = MEM32(esi); /* 0x25005C4C: mov esi, dword ptr [esi] */
   2977     goto L_25005C53; /* 0x25005C4E: jmp 0x25005c53 */
   2978 L_25005C50:
   2979     esi = MEM32(esi + 0x8); /* 0x25005C50: mov esi, dword ptr [esi + 8] */
   2980 L_25005C53:
   2981     /* cmp esi, edx */ /* 0x25005C53: cmp esi, edx */
   2982     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2983     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2984     _flag_k = FK_CMP;
   2985     RECOMP_BACKEDGE();
   2986     if (CMP_NE(_flag_a, _flag_b)) goto L_25005C3D; /* 0x25005C55: jne 0x25005c3d */
   2987 L_25005C57:
   2988     SET_LO8(edx, MEM8(ebx + 0xC)); /* 0x25005C57: mov dl, byte ptr [ebx + 0xc] */
   2989     /* test LO8(edx), LO8(edx) */ /* 0x25005C5A: test dl, dl */
   2990     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2991     _cf = 0;
   2992     _flag_k = FK_NARROW(FK_TEST, 24);
   2993     if (TEST_Z(_flag_a, _flag_b)) goto L_25005C78; /* 0x25005C5C: je 0x25005c78 */
   2994 L_25005C5E:
   2995     ecx = ebp + 0x8; /* 0x25005C5E: lea ecx, [ebp + 8] */
   2996     PUSH32(esp, ecx); /* 0x25005C61: push ecx */
   2997     PUSH32(esp, edi); /* 0x25005C62: push edi */
   2998     PUSH32(esp, esi); /* 0x25005C63: push esi */
   2999     edx = ebp + (-0x8); /* 0x25005C64: lea edx, [ebp - 8] */
   3000     PUSH32(esp, edx); /* 0x25005C67: push edx */
   3001     ecx = ebx; /* 0x25005C68: mov ecx, ebx */
   3002     RECOMP_ICALL(0x25006930u); /* 0x25005C6A: call 0x25006930 */ /* not lifted */
   3003     RECOMP_FLAGS_IN();
   3004     edi = POP32_VAL(esp); /* 0x25005C6F: pop edi */
   3005     esi = POP32_VAL(esp); /* 0x25005C70: pop esi */
   3006     ebx = POP32_VAL(esp); /* 0x25005C71: pop ebx */
   3007     esp = ebp; /* 0x25005C72: mov esp, ebp */
   3008     ebp = POP32_VAL(esp); /* 0x25005C74: pop ebp */
   3009     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005C75: ret 4 */
   3010 L_25005C78:
   3011     /* test LO8(eax), LO8(eax) */ /* 0x25005C78: test al, al */
   3012     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3013     _cf = 0;
   3014     _flag_k = FK_NARROW(FK_TEST, 24);
   3015     MEM32(ebp + (-0x4)) = edi; /* 0x25005C7A: mov dword ptr [ebp - 4], edi */
   3016     if (TEST_Z(_flag_a, _flag_b)) goto L_25005CA5; /* 0x25005C7D: je 0x25005ca5 */
   3017 L_25005C7F:
   3018     /* cmp edi, MEM32(ecx) */ /* 0x25005C7F: cmp edi, dword ptr [ecx] */
   3019     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx));
   3020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3021     _flag_k = FK_CMP;
   3022     if (CMP_NE(_flag_a, _flag_b)) goto L_25005C9D; /* 0x25005C81: jne 0x25005c9d */
   3023 L_25005C83:
   3024     eax = ebp + 0x8; /* 0x25005C83: lea eax, [ebp + 8] */
   3025     PUSH32(esp, eax); /* 0x25005C86: push eax */
   3026     PUSH32(esp, edi); /* 0x25005C87: push edi */
   3027     PUSH32(esp, esi); /* 0x25005C88: push esi */
   3028     ecx = ebp + (-0xC); /* 0x25005C89: lea ecx, [ebp - 0xc] */
   3029     PUSH32(esp, ecx); /* 0x25005C8C: push ecx */
   3030     ecx = ebx; /* 0x25005C8D: mov ecx, ebx */
   3031     RECOMP_ICALL(0x25006930u); /* 0x25005C8F: call 0x25006930 */ /* not lifted */
   3032     RECOMP_FLAGS_IN();
   3033     edi = POP32_VAL(esp); /* 0x25005C94: pop edi */
   3034     esi = POP32_VAL(esp); /* 0x25005C95: pop esi */
   3035     ebx = POP32_VAL(esp); /* 0x25005C96: pop ebx */
   3036     esp = ebp; /* 0x25005C97: mov esp, ebp */
   3037     ebp = POP32_VAL(esp); /* 0x25005C99: pop ebp */
   3038     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005C9A: ret 4 */
   3039 L_25005C9D:
   3040     ecx = ebp + (-0x4); /* 0x25005C9D: lea ecx, [ebp - 4] */
   3041     RECOMP_ICALL(0x25006C40u); /* 0x25005CA0: call 0x25006c40 */ /* not lifted */
   3042     RECOMP_FLAGS_IN();
   3043 L_25005CA5:
   3044     edx = MEM32(ebp + (-0x4)); /* 0x25005CA5: mov edx, dword ptr [ebp - 4] */
   3045     eax = MEM32(edx + 0xC); /* 0x25005CA8: mov eax, dword ptr [edx + 0xc] */
   3046     /* cmp eax, MEM32(ebp + 0x8) */ /* 0x25005CAB: cmp eax, dword ptr [ebp + 8] */
   3047     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0x8));
   3048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3049     _flag_k = FK_CMP;
   3050     if (CMP_AE(_flag_a, _flag_b)) goto L_25005CC1; /* 0x25005CAE: jae 0x25005cc1 */
   3051 L_25005CB0:
   3052     ecx = ebp + 0x8; /* 0x25005CB0: lea ecx, [ebp + 8] */
   3053     PUSH32(esp, ecx); /* 0x25005CB3: push ecx */
   3054     PUSH32(esp, edi); /* 0x25005CB4: push edi */
   3055     PUSH32(esp, esi); /* 0x25005CB5: push esi */
   3056     edx = ebp + (-0x10); /* 0x25005CB6: lea edx, [ebp - 0x10] */
   3057     PUSH32(esp, edx); /* 0x25005CB9: push edx */
   3058     ecx = ebx; /* 0x25005CBA: mov ecx, ebx */
   3059     RECOMP_ICALL(0x25006930u); /* 0x25005CBC: call 0x25006930 */ /* not lifted */
   3060     RECOMP_FLAGS_IN();
   3061 L_25005CC1:
   3062     edi = POP32_VAL(esp); /* 0x25005CC1: pop edi */
   3063     esi = POP32_VAL(esp); /* 0x25005CC2: pop esi */
   3064     ebx = POP32_VAL(esp); /* 0x25005CC3: pop ebx */
   3065     esp = ebp; /* 0x25005CC4: mov esp, ebp */
   3066     ebp = POP32_VAL(esp); /* 0x25005CC6: pop ebp */
   3067     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005CC7: ret 4 */
   3068     RECOMP_REGS_OUT();
   3069 }
   3070 
   3071 void sub_25005CD0(void) {
   3072     int _fpu_cmp = 0;
   3073     uint32_t _cf = 0;
   3074     int _df = 1;
   3075     uint32_t _flag_k = FK_NONE;
   3076     uint32_t _flag_a = 0, _flag_b = 0;
   3077     uint32_t _itail_tgt = 0;
   3078     RECOMP_REGS_LOCALS
   3079     RECOMP_ENTER(0x25005CD0u);
   3080 
   3081 L_25005CD0:
   3082     PUSH32(esp, ebp); /* 0x25005CD0: push ebp */
   3083     ebp = esp; /* 0x25005CD1: mov ebp, esp */
   3084     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3085     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3086     esp = esp - 8; /* 0x25005CD3: sub esp, 8 */
   3087     _flag_k = FK_CMP;
   3088     PUSH32(esp, ebx); /* 0x25005CD6: push ebx */
   3089     PUSH32(esp, esi); /* 0x25005CD7: push esi */
   3090     PUSH32(esp, edi); /* 0x25005CD8: push edi */
   3091     esi = ecx + 0x4; /* 0x25005CD9: lea esi, [ecx + 4] */
   3092     eax = ebp + 0x8; /* 0x25005CDC: lea eax, [ebp + 8] */
   3093     PUSH32(esp, eax); /* 0x25005CDF: push eax */
   3094     ecx = esi; /* 0x25005CE0: mov ecx, esi */
   3095     RECOMP_ICALL(0x250077C0u); /* 0x25005CE2: call 0x250077c0 */ /* not lifted */
   3096     RECOMP_FLAGS_IN();
   3097     ecx = ebp + 0x8; /* 0x25005CE7: lea ecx, [ebp + 8] */
   3098     PUSH32(esp, ecx); /* 0x25005CEA: push ecx */
   3099     ecx = esi; /* 0x25005CEB: mov ecx, esi */
   3100     ebx = eax; /* 0x25005CED: mov ebx, eax */
   3101     RECOMP_ICALL(0x25106D40u); /* 0x25005CEF: call 0x25106d40 */ /* not lifted */
   3102     RECOMP_FLAGS_IN();
   3103     edi = eax; /* 0x25005CF4: mov edi, eax */
   3104     /* cmp edi, ebx */ /* 0x25005CF6: cmp edi, ebx */
   3105     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3107     _flag_k = FK_CMP;
   3108     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005D2C; /* 0x25005CF8: je 0x25005d2c */
   3109 L_25005CFA:
   3110     ecx = MEM32(eax + 0x8); /* 0x25005CFA: mov ecx, dword ptr [eax + 8] */
   3111     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x25005CFD: mov dl, byte ptr [ecx + 0x11] */
   3112     /* test LO8(edx), LO8(edx) */ /* 0x25005D00: test dl, dl */
   3113     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3114     _cf = 0;
   3115     _flag_k = FK_NARROW(FK_TEST, 24);
   3116     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005D0F; /* 0x25005D02: jne 0x25005d0f */
   3117 L_25005D04:
   3118     PUSH32(esp, ecx); /* 0x25005D04: push ecx */
   3119     RECOMP_ICALL(0x25006800u); /* 0x25005D05: call 0x25006800 */ /* not lifted */
   3120     RECOMP_FLAGS_IN();
   3121     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3122     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3123     esp = esp + 4; /* 0x25005D0A: add esp, 4 */
   3124     _flag_k = FK_ADD;
   3125     goto L_25005D28; /* 0x25005D0D: jmp 0x25005d28 */
   3126 L_25005D0F:
   3127     ecx = MEM32(eax + 0x4); /* 0x25005D0F: mov ecx, dword ptr [eax + 4] */
   3128     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005D12: cmp eax, dword ptr [ecx + 8] */
   3129     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3130     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3131     _flag_k = FK_CMP;
   3132     if (CMP_NE(_flag_a, _flag_b)) goto L_25005D21; /* 0x25005D15: jne 0x25005d21 */
   3133 L_25005D17:
   3134     eax = ecx; /* 0x25005D17: mov eax, ecx */
   3135     ecx = MEM32(ecx + 0x4); /* 0x25005D19: mov ecx, dword ptr [ecx + 4] */
   3136     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005D1C: cmp eax, dword ptr [ecx + 8] */
   3137     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3139     _flag_k = FK_CMP;
   3140     RECOMP_BACKEDGE();
   3141     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005D17; /* 0x25005D1F: je 0x25005d17 */
   3142 L_25005D21:
   3143     /* cmp MEM32(eax + 0x8), ecx */ /* 0x25005D21: cmp dword ptr [eax + 8], ecx */
   3144     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   3145     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3146     _flag_k = FK_CMP;
   3147     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005D28; /* 0x25005D24: je 0x25005d28 */
   3148 L_25005D26:
   3149     eax = ecx; /* 0x25005D26: mov eax, ecx */
   3150 L_25005D28:
   3151     /* cmp eax, ebx */ /* 0x25005D28: cmp eax, ebx */
   3152     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3154     _flag_k = FK_CMP;
   3155     RECOMP_BACKEDGE();
   3156     if (CMP_NE(_flag_a, _flag_b)) goto L_25005CFA; /* 0x25005D2A: jne 0x25005cfa */
   3157 L_25005D2C:
   3158     eax = MEM32(esi + 0x10); /* 0x25005D2C: mov eax, dword ptr [esi + 0x10] */
   3159     /* test eax, eax */ /* 0x25005D2F: test eax, eax */
   3160     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3161     _cf = 0;
   3162     _flag_k = FK_TEST;
   3163     MEM32(ebp + (-0x4)) = edi; /* 0x25005D31: mov dword ptr [ebp - 4], edi */
   3164     if (TEST_Z(_flag_a, _flag_b)) goto L_25005D8E; /* 0x25005D34: je 0x25005d8e */
   3165 L_25005D36:
   3166     eax = MEM32(esi + 0x4); /* 0x25005D36: mov eax, dword ptr [esi + 4] */
   3167     /* cmp edi, MEM32(eax) */ /* 0x25005D39: cmp edi, dword ptr [eax] */
   3168     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   3169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3170     _flag_k = FK_CMP;
   3171     if (CMP_NE(_flag_a, _flag_b)) goto L_25005D8E; /* 0x25005D3B: jne 0x25005d8e */
   3172 L_25005D3D:
   3173     /* cmp ebx, eax */ /* 0x25005D3D: cmp ebx, eax */
   3174     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   3175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3176     _flag_k = FK_CMP;
   3177     if (CMP_NE(_flag_a, _flag_b)) goto L_25005D8E; /* 0x25005D3F: jne 0x25005d8e */
   3178 L_25005D41:
   3179     ebx = MEM32(eax + 0x4); /* 0x25005D41: mov ebx, dword ptr [eax + 4] */
   3180     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005D44: cmp ebx, dword ptr [esi + 8] */
   3181     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3183     _flag_k = FK_CMP;
   3184     edi = ebx; /* 0x25005D47: mov edi, ebx */
   3185     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005D6A; /* 0x25005D49: je 0x25005d6a */
   3186 L_25005D4B:
   3187     edx = MEM32(edi + 0x8); /* 0x25005D4B: mov edx, dword ptr [edi + 8] */
   3188     PUSH32(esp, edx); /* 0x25005D4E: push edx */
   3189     ecx = esi; /* 0x25005D4F: mov ecx, esi */
   3190     RECOMP_ICALL(0x250068F0u); /* 0x25005D51: call 0x250068f0 */ /* not lifted */
   3191     RECOMP_FLAGS_IN();
   3192     edi = MEM32(edi); /* 0x25005D56: mov edi, dword ptr [edi] */
   3193     PUSH32(esp, ebx); /* 0x25005D58: push ebx */
   3194     RECOMP_ICALL(0x25137EECu); /* 0x25005D59: call 0x25137eec */ /* not lifted */
   3195     RECOMP_FLAGS_IN();
   3196     eax = MEM32(esi + 0x8); /* 0x25005D5E: mov eax, dword ptr [esi + 8] */
   3197     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3199     esp = esp + 4; /* 0x25005D61: add esp, 4 */
   3200     _flag_k = FK_ADD;
   3201     /* cmp edi, eax */ /* 0x25005D64: cmp edi, eax */
   3202     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3203     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3204     _flag_k = FK_CMP;
   3205     ebx = edi; /* 0x25005D66: mov ebx, edi */
   3206     RECOMP_BACKEDGE();
   3207     if (CMP_NE(_flag_a, _flag_b)) goto L_25005D4B; /* 0x25005D68: jne 0x25005d4b */
   3208 L_25005D6A:
   3209     eax = MEM32(esi + 0x4); /* 0x25005D6A: mov eax, dword ptr [esi + 4] */
   3210     ecx = MEM32(esi + 0x8); /* 0x25005D6D: mov ecx, dword ptr [esi + 8] */
   3211     MEM32(eax + 0x4) = ecx; /* 0x25005D70: mov dword ptr [eax + 4], ecx */
   3212     eax = MEM32(esi + 0x4); /* 0x25005D73: mov eax, dword ptr [esi + 4] */
   3213     MEM32(esi + 0x10) = 0; /* 0x25005D76: mov dword ptr [esi + 0x10], 0 */
   3214     MEM32(eax) = eax; /* 0x25005D7D: mov dword ptr [eax], eax */
   3215     esi = MEM32(esi + 0x4); /* 0x25005D7F: mov esi, dword ptr [esi + 4] */
   3216     edi = POP32_VAL(esp); /* 0x25005D82: pop edi */
   3217     MEM32(esi + 0x8) = esi; /* 0x25005D83: mov dword ptr [esi + 8], esi */
   3218     esi = POP32_VAL(esp); /* 0x25005D86: pop esi */
   3219     ebx = POP32_VAL(esp); /* 0x25005D87: pop ebx */
   3220     esp = ebp; /* 0x25005D88: mov esp, ebp */
   3221     ebp = POP32_VAL(esp); /* 0x25005D8A: pop ebp */
   3222     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005D8B: ret 4 */
   3223 L_25005D8E:
   3224     /* cmp edi, ebx */ /* 0x25005D8E: cmp edi, ebx */
   3225     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3227     _flag_k = FK_CMP;
   3228     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005DAD; /* 0x25005D90: je 0x25005dad */
   3229 L_25005D92:
   3230     ecx = ebp + (-0x4); /* 0x25005D92: lea ecx, [ebp - 4] */
   3231     RECOMP_ICALL(0x250077F0u); /* 0x25005D95: call 0x250077f0 */ /* not lifted */
   3232     RECOMP_FLAGS_IN();
   3233     PUSH32(esp, edi); /* 0x25005D9A: push edi */
   3234     edx = ebp + (-0x8); /* 0x25005D9B: lea edx, [ebp - 8] */
   3235     PUSH32(esp, edx); /* 0x25005D9E: push edx */
   3236     ecx = esi; /* 0x25005D9F: mov ecx, esi */
   3237     RECOMP_ICALL(0x25006380u); /* 0x25005DA1: call 0x25006380 */ /* not lifted */
   3238     RECOMP_FLAGS_IN();
   3239     edi = MEM32(ebp + (-0x4)); /* 0x25005DA6: mov edi, dword ptr [ebp - 4] */
   3240     /* cmp edi, ebx */ /* 0x25005DA9: cmp edi, ebx */
   3241     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3243     _flag_k = FK_CMP;
   3244     RECOMP_BACKEDGE();
   3245     if (CMP_NE(_flag_a, _flag_b)) goto L_25005D92; /* 0x25005DAB: jne 0x25005d92 */
   3246 L_25005DAD:
   3247     edi = POP32_VAL(esp); /* 0x25005DAD: pop edi */
   3248     esi = POP32_VAL(esp); /* 0x25005DAE: pop esi */
   3249     ebx = POP32_VAL(esp); /* 0x25005DAF: pop ebx */
   3250     esp = ebp; /* 0x25005DB0: mov esp, ebp */
   3251     ebp = POP32_VAL(esp); /* 0x25005DB2: pop ebp */
   3252     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005DB3: ret 4 */
   3253     RECOMP_REGS_OUT();
   3254 }
   3255 
   3256 void sub_25005DC0(void) {
   3257     int _fpu_cmp = 0;
   3258     uint32_t _cf = 0;
   3259     int _df = 1;
   3260     uint32_t _flag_k = FK_NONE;
   3261     uint32_t _flag_a = 0, _flag_b = 0;
   3262     uint32_t _itail_tgt = 0;
   3263     RECOMP_REGS_LOCALS
   3264     RECOMP_ENTER(0x25005DC0u);
   3265 
   3266 L_25005DC0:
   3267     PUSH32(esp, ebp); /* 0x25005DC0: push ebp */
   3268     ebp = esp; /* 0x25005DC1: mov ebp, esp */
   3269     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3271     esp = esp - 8; /* 0x25005DC3: sub esp, 8 */
   3272     _flag_k = FK_CMP;
   3273     PUSH32(esp, ebx); /* 0x25005DC6: push ebx */
   3274     PUSH32(esp, esi); /* 0x25005DC7: push esi */
   3275     PUSH32(esp, edi); /* 0x25005DC8: push edi */
   3276     esi = ecx + 0x4; /* 0x25005DC9: lea esi, [ecx + 4] */
   3277     eax = ebp + 0x8; /* 0x25005DCC: lea eax, [ebp + 8] */
   3278     PUSH32(esp, eax); /* 0x25005DCF: push eax */
   3279     ecx = esi; /* 0x25005DD0: mov ecx, esi */
   3280     RECOMP_ICALL(0x250077C0u); /* 0x25005DD2: call 0x250077c0 */ /* not lifted */
   3281     RECOMP_FLAGS_IN();
   3282     ecx = ebp + 0x8; /* 0x25005DD7: lea ecx, [ebp + 8] */
   3283     PUSH32(esp, ecx); /* 0x25005DDA: push ecx */
   3284     ecx = esi; /* 0x25005DDB: mov ecx, esi */
   3285     ebx = eax; /* 0x25005DDD: mov ebx, eax */
   3286     RECOMP_ICALL(0x25106D40u); /* 0x25005DDF: call 0x25106d40 */ /* not lifted */
   3287     RECOMP_FLAGS_IN();
   3288     edi = eax; /* 0x25005DE4: mov edi, eax */
   3289     /* cmp edi, ebx */ /* 0x25005DE6: cmp edi, ebx */
   3290     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3291     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3292     _flag_k = FK_CMP;
   3293     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005E1C; /* 0x25005DE8: je 0x25005e1c */
   3294 L_25005DEA:
   3295     ecx = MEM32(eax + 0x8); /* 0x25005DEA: mov ecx, dword ptr [eax + 8] */
   3296     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x25005DED: mov dl, byte ptr [ecx + 0x11] */
   3297     /* test LO8(edx), LO8(edx) */ /* 0x25005DF0: test dl, dl */
   3298     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3299     _cf = 0;
   3300     _flag_k = FK_NARROW(FK_TEST, 24);
   3301     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005DFF; /* 0x25005DF2: jne 0x25005dff */
   3302 L_25005DF4:
   3303     PUSH32(esp, ecx); /* 0x25005DF4: push ecx */
   3304     RECOMP_ICALL(0x25006800u); /* 0x25005DF5: call 0x25006800 */ /* not lifted */
   3305     RECOMP_FLAGS_IN();
   3306     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3307     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3308     esp = esp + 4; /* 0x25005DFA: add esp, 4 */
   3309     _flag_k = FK_ADD;
   3310     goto L_25005E18; /* 0x25005DFD: jmp 0x25005e18 */
   3311 L_25005DFF:
   3312     ecx = MEM32(eax + 0x4); /* 0x25005DFF: mov ecx, dword ptr [eax + 4] */
   3313     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005E02: cmp eax, dword ptr [ecx + 8] */
   3314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3316     _flag_k = FK_CMP;
   3317     if (CMP_NE(_flag_a, _flag_b)) goto L_25005E11; /* 0x25005E05: jne 0x25005e11 */
   3318 L_25005E07:
   3319     eax = ecx; /* 0x25005E07: mov eax, ecx */
   3320     ecx = MEM32(ecx + 0x4); /* 0x25005E09: mov ecx, dword ptr [ecx + 4] */
   3321     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25005E0C: cmp eax, dword ptr [ecx + 8] */
   3322     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3324     _flag_k = FK_CMP;
   3325     RECOMP_BACKEDGE();
   3326     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005E07; /* 0x25005E0F: je 0x25005e07 */
   3327 L_25005E11:
   3328     /* cmp MEM32(eax + 0x8), ecx */ /* 0x25005E11: cmp dword ptr [eax + 8], ecx */
   3329     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx);
   3330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3331     _flag_k = FK_CMP;
   3332     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005E18; /* 0x25005E14: je 0x25005e18 */
   3333 L_25005E16:
   3334     eax = ecx; /* 0x25005E16: mov eax, ecx */
   3335 L_25005E18:
   3336     /* cmp eax, ebx */ /* 0x25005E18: cmp eax, ebx */
   3337     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3339     _flag_k = FK_CMP;
   3340     RECOMP_BACKEDGE();
   3341     if (CMP_NE(_flag_a, _flag_b)) goto L_25005DEA; /* 0x25005E1A: jne 0x25005dea */
   3342 L_25005E1C:
   3343     eax = MEM32(esi + 0x10); /* 0x25005E1C: mov eax, dword ptr [esi + 0x10] */
   3344     /* test eax, eax */ /* 0x25005E1F: test eax, eax */
   3345     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3346     _cf = 0;
   3347     _flag_k = FK_TEST;
   3348     MEM32(ebp + (-0x4)) = edi; /* 0x25005E21: mov dword ptr [ebp - 4], edi */
   3349     if (TEST_Z(_flag_a, _flag_b)) goto L_25005E7E; /* 0x25005E24: je 0x25005e7e */
   3350 L_25005E26:
   3351     eax = MEM32(esi + 0x4); /* 0x25005E26: mov eax, dword ptr [esi + 4] */
   3352     /* cmp edi, MEM32(eax) */ /* 0x25005E29: cmp edi, dword ptr [eax] */
   3353     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   3354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3355     _flag_k = FK_CMP;
   3356     if (CMP_NE(_flag_a, _flag_b)) goto L_25005E7E; /* 0x25005E2B: jne 0x25005e7e */
   3357 L_25005E2D:
   3358     /* cmp ebx, eax */ /* 0x25005E2D: cmp ebx, eax */
   3359     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   3360     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3361     _flag_k = FK_CMP;
   3362     if (CMP_NE(_flag_a, _flag_b)) goto L_25005E7E; /* 0x25005E2F: jne 0x25005e7e */
   3363 L_25005E31:
   3364     ebx = MEM32(eax + 0x4); /* 0x25005E31: mov ebx, dword ptr [eax + 4] */
   3365     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25005E34: cmp ebx, dword ptr [esi + 8] */
   3366     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3368     _flag_k = FK_CMP;
   3369     edi = ebx; /* 0x25005E37: mov edi, ebx */
   3370     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005E5A; /* 0x25005E39: je 0x25005e5a */
   3371 L_25005E3B:
   3372     edx = MEM32(edi + 0x8); /* 0x25005E3B: mov edx, dword ptr [edi + 8] */
   3373     PUSH32(esp, edx); /* 0x25005E3E: push edx */
   3374     ecx = esi; /* 0x25005E3F: mov ecx, esi */
   3375     RECOMP_ICALL(0x25006C00u); /* 0x25005E41: call 0x25006c00 */ /* not lifted */
   3376     RECOMP_FLAGS_IN();
   3377     edi = MEM32(edi); /* 0x25005E46: mov edi, dword ptr [edi] */
   3378     PUSH32(esp, ebx); /* 0x25005E48: push ebx */
   3379     RECOMP_ICALL(0x25137EECu); /* 0x25005E49: call 0x25137eec */ /* not lifted */
   3380     RECOMP_FLAGS_IN();
   3381     eax = MEM32(esi + 0x8); /* 0x25005E4E: mov eax, dword ptr [esi + 8] */
   3382     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3383     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3384     esp = esp + 4; /* 0x25005E51: add esp, 4 */
   3385     _flag_k = FK_ADD;
   3386     /* cmp edi, eax */ /* 0x25005E54: cmp edi, eax */
   3387     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3389     _flag_k = FK_CMP;
   3390     ebx = edi; /* 0x25005E56: mov ebx, edi */
   3391     RECOMP_BACKEDGE();
   3392     if (CMP_NE(_flag_a, _flag_b)) goto L_25005E3B; /* 0x25005E58: jne 0x25005e3b */
   3393 L_25005E5A:
   3394     eax = MEM32(esi + 0x4); /* 0x25005E5A: mov eax, dword ptr [esi + 4] */
   3395     ecx = MEM32(esi + 0x8); /* 0x25005E5D: mov ecx, dword ptr [esi + 8] */
   3396     MEM32(eax + 0x4) = ecx; /* 0x25005E60: mov dword ptr [eax + 4], ecx */
   3397     eax = MEM32(esi + 0x4); /* 0x25005E63: mov eax, dword ptr [esi + 4] */
   3398     MEM32(esi + 0x10) = 0; /* 0x25005E66: mov dword ptr [esi + 0x10], 0 */
   3399     MEM32(eax) = eax; /* 0x25005E6D: mov dword ptr [eax], eax */
   3400     esi = MEM32(esi + 0x4); /* 0x25005E6F: mov esi, dword ptr [esi + 4] */
   3401     edi = POP32_VAL(esp); /* 0x25005E72: pop edi */
   3402     MEM32(esi + 0x8) = esi; /* 0x25005E73: mov dword ptr [esi + 8], esi */
   3403     esi = POP32_VAL(esp); /* 0x25005E76: pop esi */
   3404     ebx = POP32_VAL(esp); /* 0x25005E77: pop ebx */
   3405     esp = ebp; /* 0x25005E78: mov esp, ebp */
   3406     ebp = POP32_VAL(esp); /* 0x25005E7A: pop ebp */
   3407     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005E7B: ret 4 */
   3408 L_25005E7E:
   3409     /* cmp edi, ebx */ /* 0x25005E7E: cmp edi, ebx */
   3410     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3412     _flag_k = FK_CMP;
   3413     if (CMP_EQ(_flag_a, _flag_b)) goto L_25005E9D; /* 0x25005E80: je 0x25005e9d */
   3414 L_25005E82:
   3415     ecx = ebp + (-0x4); /* 0x25005E82: lea ecx, [ebp - 4] */
   3416     RECOMP_ICALL(0x250077F0u); /* 0x25005E85: call 0x250077f0 */ /* not lifted */
   3417     RECOMP_FLAGS_IN();
   3418     PUSH32(esp, edi); /* 0x25005E8A: push edi */
   3419     edx = ebp + (-0x8); /* 0x25005E8B: lea edx, [ebp - 8] */
   3420     PUSH32(esp, edx); /* 0x25005E8E: push edx */
   3421     ecx = esi; /* 0x25005E8F: mov ecx, esi */
   3422     RECOMP_ICALL(0x25006380u); /* 0x25005E91: call 0x25006380 */ /* not lifted */
   3423     RECOMP_FLAGS_IN();
   3424     edi = MEM32(ebp + (-0x4)); /* 0x25005E96: mov edi, dword ptr [ebp - 4] */
   3425     /* cmp edi, ebx */ /* 0x25005E99: cmp edi, ebx */
   3426     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3428     _flag_k = FK_CMP;
   3429     RECOMP_BACKEDGE();
   3430     if (CMP_NE(_flag_a, _flag_b)) goto L_25005E82; /* 0x25005E9B: jne 0x25005e82 */
   3431 L_25005E9D:
   3432     edi = POP32_VAL(esp); /* 0x25005E9D: pop edi */
   3433     esi = POP32_VAL(esp); /* 0x25005E9E: pop esi */
   3434     ebx = POP32_VAL(esp); /* 0x25005E9F: pop ebx */
   3435     esp = ebp; /* 0x25005EA0: mov esp, ebp */
   3436     ebp = POP32_VAL(esp); /* 0x25005EA2: pop ebp */
   3437     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005EA3: ret 4 */
   3438     RECOMP_REGS_OUT();
   3439 }
   3440 
   3441 void sub_25005EB0(void) {
   3442     int _fpu_cmp = 0;
   3443     uint32_t _cf = 0;
   3444     int _df = 1;
   3445     uint32_t _flag_k = FK_NONE;
   3446     uint32_t _flag_a = 0, _flag_b = 0;
   3447     uint32_t _itail_tgt = 0;
   3448     RECOMP_REGS_LOCALS
   3449     RECOMP_ENTER(0x25005EB0u);
   3450 
   3451 L_25005EB0:
   3452     PUSH32(esp, ebp); /* 0x25005EB0: push ebp */
   3453     ebp = esp; /* 0x25005EB1: mov ebp, esp */
   3454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3456     esp = esp - 0xCu; /* 0x25005EB3: sub esp, 0xc */
   3457     _flag_k = FK_CMP;
   3458     eax = MEM32(ebp + 0x10); /* 0x25005EB6: mov eax, dword ptr [ebp + 0x10] */
   3459     ecx = MEM32(eax); /* 0x25005EB9: mov ecx, dword ptr [eax] */
   3460     edx = MEM32(eax + 0x4); /* 0x25005EBB: mov edx, dword ptr [eax + 4] */
   3461     eax = MEM32(eax + 0x8); /* 0x25005EBE: mov eax, dword ptr [eax + 8] */
   3462     MEM32(ebp + (-0xC)) = ecx; /* 0x25005EC1: mov dword ptr [ebp - 0xc], ecx */
   3463     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x25005EC4: fld dword ptr [ebp - 0xc] */
   3464     _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25005EC7: fmul dword ptr [ebp + 0xc] */
   3465     MEM32(ebp + (-0x8)) = edx; /* 0x25005ECA: mov dword ptr [ebp - 8], edx */
   3466     MEM32(ebp + (-0x4)) = eax; /* 0x25005ECD: mov dword ptr [ebp - 4], eax */
   3467     eax = MEM32(ebp + 0x8); /* 0x25005ED0: mov eax, dword ptr [ebp + 8] */
   3468     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x25005ED3: fstp dword ptr [ebp - 0xc] */
   3469     edx = MEM32(ebp + (-0xC)); /* 0x25005ED6: mov edx, dword ptr [ebp - 0xc] */
   3470     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x25005ED9: fld dword ptr [ebp - 8] */
   3471     ecx = eax; /* 0x25005EDC: mov ecx, eax */
   3472     _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25005EDE: fmul dword ptr [ebp + 0xc] */
   3473     MEM32(ecx) = edx; /* 0x25005EE1: mov dword ptr [ecx], edx */
   3474     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x25005EE3: fstp dword ptr [ebp - 8] */
   3475     edx = MEM32(ebp + (-0x8)); /* 0x25005EE6: mov edx, dword ptr [ebp - 8] */
   3476     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x25005EE9: fld dword ptr [ebp - 4] */
   3477     MEM32(ecx + 0x4) = edx; /* 0x25005EEC: mov dword ptr [ecx + 4], edx */
   3478     _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x25005EEF: fmul dword ptr [ebp + 0xc] */
   3479     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x25005EF2: fstp dword ptr [ebp - 4] */
   3480     edx = MEM32(ebp + (-0x4)); /* 0x25005EF5: mov edx, dword ptr [ebp - 4] */
   3481     MEM32(ecx + 0x8) = edx; /* 0x25005EF8: mov dword ptr [ecx + 8], edx */
   3482     esp = ebp; /* 0x25005EFB: mov esp, ebp */
   3483     ebp = POP32_VAL(esp); /* 0x25005EFD: pop ebp */
   3484     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25005EFE: ret  */
   3485     RECOMP_REGS_OUT();
   3486 }
   3487 
   3488 void sub_25005F00(void) {
   3489     int _fpu_cmp = 0;
   3490     uint32_t _cf = 0;
   3491     int _df = 1;
   3492     uint32_t _flag_k = FK_NONE;
   3493     uint32_t _flag_a = 0, _flag_b = 0;
   3494     uint32_t _itail_tgt = 0;
   3495     RECOMP_REGS_LOCALS
   3496     RECOMP_ENTER(0x25005F00u);
   3497 
   3498 L_25005F00:
   3499     PUSH32(esp, ebp); /* 0x25005F00: push ebp */
   3500     ebp = esp; /* 0x25005F01: mov ebp, esp */
   3501     PUSH32(esp, 0xFFFFFFFFu); /* 0x25005F03: push -1 */
   3502     PUSH32(esp, 0x2514537Bu); /* 0x25005F05: push 0x2514537b */
   3503     eax = MEM32(FS_BASE + (0)); /* 0x25005F0A: mov eax, dword ptr fs:[0] */
   3504     PUSH32(esp, eax); /* 0x25005F10: push eax */
   3505     MEM32(FS_BASE + (0)) = esp; /* 0x25005F11: mov dword ptr fs:[0], esp */
   3506     PUSH32(esp, ecx); /* 0x25005F18: push ecx */
   3507     PUSH32(esp, esi); /* 0x25005F19: push esi */
   3508     PUSH32(esp, 0x138u); /* 0x25005F1A: push 0x138 */
   3509     esi = ecx; /* 0x25005F1F: mov esi, ecx */
   3510     RECOMP_ICALL(0x251380D0u); /* 0x25005F21: call 0x251380d0 */ /* not lifted */
   3511     RECOMP_FLAGS_IN();
   3512     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3513     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3514     esp = esp + 4; /* 0x25005F26: add esp, 4 */
   3515     _flag_k = FK_ADD;
   3516     MEM32(ebp + (-0x10)) = eax; /* 0x25005F29: mov dword ptr [ebp - 0x10], eax */
   3517     /* test eax, eax */ /* 0x25005F2C: test eax, eax */
   3518     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3519     _cf = 0;
   3520     _flag_k = FK_TEST;
   3521     MEM32(ebp + (-0x4)) = 0; /* 0x25005F2E: mov dword ptr [ebp - 4], 0 */
   3522     if (TEST_Z(_flag_a, _flag_b)) goto L_25005F4E; /* 0x25005F35: je 0x25005f4e */
   3523 L_25005F37:
   3524     PUSH32(esp, esi); /* 0x25005F37: push esi */
   3525     ecx = eax; /* 0x25005F38: mov ecx, eax */
   3526     RECOMP_ICALL(0x250E12F0u); /* 0x25005F3A: call 0x250e12f0 */ /* not lifted */
   3527     RECOMP_FLAGS_IN();
   3528     esi = POP32_VAL(esp); /* 0x25005F3F: pop esi */
   3529     ecx = MEM32(ebp + (-0xC)); /* 0x25005F40: mov ecx, dword ptr [ebp - 0xc] */
   3530     MEM32(FS_BASE + (0)) = ecx; /* 0x25005F43: mov dword ptr fs:[0], ecx */
   3531     esp = ebp; /* 0x25005F4A: mov esp, ebp */
   3532     ebp = POP32_VAL(esp); /* 0x25005F4C: pop ebp */
   3533     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25005F4D: ret  */
   3534 L_25005F4E:
   3535     ecx = MEM32(ebp + (-0xC)); /* 0x25005F4E: mov ecx, dword ptr [ebp - 0xc] */
   3536     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3537     eax = 0; /* 0x25005F51: xor eax, eax */
   3538     _cf = 0;
   3539     _flag_k = FK_TEST;
   3540     esi = POP32_VAL(esp); /* 0x25005F53: pop esi */
   3541     MEM32(FS_BASE + (0)) = ecx; /* 0x25005F54: mov dword ptr fs:[0], ecx */
   3542     esp = ebp; /* 0x25005F5B: mov esp, ebp */
   3543     ebp = POP32_VAL(esp); /* 0x25005F5D: pop ebp */
   3544     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25005F5E: ret  */
   3545     RECOMP_REGS_OUT();
   3546 }
   3547 
   3548 void sub_25005F60(void) {
   3549     int _fpu_cmp = 0;
   3550     uint32_t _cf = 0;
   3551     int _df = 1;
   3552     uint32_t _flag_k = FK_NONE;
   3553     uint32_t _flag_a = 0, _flag_b = 0;
   3554     uint32_t _itail_tgt = 0;
   3555     RECOMP_REGS_LOCALS
   3556     RECOMP_ENTER(0x25005F60u);
   3557 
   3558 L_25005F60:
   3559     PUSH32(esp, ebp); /* 0x25005F60: push ebp */
   3560     ebp = esp; /* 0x25005F61: mov ebp, esp */
   3561     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x25005F63: fld dword ptr [ebp + 8] */
   3562     PUSH32(esp, 0); /* 0x25005F66: push 0 */
   3563     _st[0] += (double)*(float*)ADDR(ecx + 0x12C); /* 0x25005F68: fadd dword ptr [ecx + 0x12c] */
   3564     PUSH32(esp, ecx); /* 0x25005F6E: push ecx */
   3565     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x25005F6F: fstp dword ptr [esp] */
   3566     RECOMP_ICALL(0x250E3010u); /* 0x25005F72: call 0x250e3010 */ /* not lifted */
   3567     RECOMP_FLAGS_IN();
   3568     ebp = POP32_VAL(esp); /* 0x25005F77: pop ebp */
   3569     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25005F78: ret 4 */
   3570     RECOMP_REGS_OUT();
   3571 }
   3572 
   3573 void sub_25005F80(void) {
   3574     int _fpu_cmp = 0;
   3575     uint32_t _cf = 0;
   3576     int _df = 1;
   3577     uint32_t _flag_k = FK_NONE;
   3578     uint32_t _flag_a = 0, _flag_b = 0;
   3579     uint32_t _itail_tgt = 0;
   3580     RECOMP_REGS_LOCALS
   3581     RECOMP_ENTER(0x25005F80u);
   3582 
   3583 L_25005F80:
   3584     PUSH32(esp, ebp); /* 0x25005F80: push ebp */
   3585     ebp = esp; /* 0x25005F81: mov ebp, esp */
   3586     PUSH32(esp, ebx); /* 0x25005F83: push ebx */
   3587     PUSH32(esp, esi); /* 0x25005F84: push esi */
   3588     esi = MEM32(ebp + 0xC); /* 0x25005F85: mov esi, dword ptr [ebp + 0xc] */
   3589     PUSH32(esp, edi); /* 0x25005F88: push edi */
   3590     edi = MEM32(esi + 0x4); /* 0x25005F89: mov edi, dword ptr [esi + 4] */
   3591     PUSH32(esp, 0x44u); /* 0x25005F8C: push 0x44 */
   3592     ebx = ecx; /* 0x25005F8E: mov ebx, ecx */
   3593     RECOMP_ICALL(0x251380D0u); /* 0x25005F90: call 0x251380d0 */ /* not lifted */
   3594     RECOMP_FLAGS_IN();
   3595     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3596     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3597     esp = esp + 4; /* 0x25005F95: add esp, 4 */
   3598     _flag_k = FK_ADD;
   3599     /* test esi, esi */ /* 0x25005F98: test esi, esi */
   3600     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3601     _cf = 0;
   3602     _flag_k = FK_TEST;
   3603     ecx = esi; /* 0x25005F9A: mov ecx, esi */
   3604     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005FA0; /* 0x25005F9C: jne 0x25005fa0 */
   3605 L_25005F9E:
   3606     ecx = eax; /* 0x25005F9E: mov ecx, eax */
   3607 L_25005FA0:
   3608     /* test edi, edi */ /* 0x25005FA0: test edi, edi */
   3609     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3610     _cf = 0;
   3611     _flag_k = FK_TEST;
   3612     MEM32(eax) = ecx; /* 0x25005FA2: mov dword ptr [eax], ecx */
   3613     ecx = edi; /* 0x25005FA4: mov ecx, edi */
   3614     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005FAA; /* 0x25005FA6: jne 0x25005faa */
   3615 L_25005FA8:
   3616     ecx = eax; /* 0x25005FA8: mov ecx, eax */
   3617 L_25005FAA:
   3618     MEM32(eax + 0x4) = ecx; /* 0x25005FAA: mov dword ptr [eax + 4], ecx */
   3619     MEM32(esi + 0x4) = eax; /* 0x25005FAD: mov dword ptr [esi + 4], eax */
   3620     ecx = MEM32(eax + 0x4); /* 0x25005FB0: mov ecx, dword ptr [eax + 4] */
   3621     edi = eax + 0x8; /* 0x25005FB3: lea edi, [eax + 8] */
   3622     /* test edi, edi */ /* 0x25005FB6: test edi, edi */
   3623     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3624     _cf = 0;
   3625     _flag_k = FK_TEST;
   3626     MEM32(ecx) = eax; /* 0x25005FB8: mov dword ptr [ecx], eax */
   3627     if (TEST_Z(_flag_a, _flag_b)) goto L_25005FC6; /* 0x25005FBA: je 0x25005fc6 */
   3628 L_25005FBC:
   3629     esi = MEM32(ebp + 0x10); /* 0x25005FBC: mov esi, dword ptr [ebp + 0x10] */
   3630     ecx = 0xFu; /* 0x25005FBF: mov ecx, 0xf */
   3631     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25005FC4: 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; }
   3632 L_25005FC6:
   3633     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1);
   3634     MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x25005FC6: inc dword ptr [ebx + 8] */
   3635     _flag_k = FK_INC;
   3636     ecx = MEM32(ebp + 0x8); /* 0x25005FC9: mov ecx, dword ptr [ebp + 8] */
   3637     edi = POP32_VAL(esp); /* 0x25005FCC: pop edi */
   3638     esi = POP32_VAL(esp); /* 0x25005FCD: pop esi */
   3639     MEM32(ecx) = eax; /* 0x25005FCE: mov dword ptr [ecx], eax */
   3640     eax = ecx; /* 0x25005FD0: mov eax, ecx */
   3641     ebx = POP32_VAL(esp); /* 0x25005FD2: pop ebx */
   3642     ebp = POP32_VAL(esp); /* 0x25005FD3: pop ebp */
   3643     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25005FD4: ret 0xc */
   3644     RECOMP_REGS_OUT();
   3645 }
   3646 
   3647 void sub_25005FE0(void) {
   3648     int _fpu_cmp = 0;
   3649     uint32_t _cf = 0;
   3650     int _df = 1;
   3651     uint32_t _flag_k = FK_NONE;
   3652     uint32_t _flag_a = 0, _flag_b = 0;
   3653     uint32_t _itail_tgt = 0;
   3654     RECOMP_REGS_LOCALS
   3655     RECOMP_ENTER(0x25005FE0u);
   3656 
   3657 L_25005FE0:
   3658     PUSH32(esp, ebp); /* 0x25005FE0: push ebp */
   3659     ebp = esp; /* 0x25005FE1: mov ebp, esp */
   3660     PUSH32(esp, 0x44u); /* 0x25005FE3: push 0x44 */
   3661     RECOMP_ICALL(0x251380D0u); /* 0x25005FE5: call 0x251380d0 */ /* not lifted */
   3662     RECOMP_FLAGS_IN();
   3663     ecx = MEM32(ebp + 0x8); /* 0x25005FEA: mov ecx, dword ptr [ebp + 8] */
   3664     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3665     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3666     esp = esp + 4; /* 0x25005FED: add esp, 4 */
   3667     _flag_k = FK_ADD;
   3668     /* test ecx, ecx */ /* 0x25005FF0: test ecx, ecx */
   3669     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3670     _cf = 0;
   3671     _flag_k = FK_TEST;
   3672     if (TEST_NZ(_flag_a, _flag_b)) goto L_25005FF6; /* 0x25005FF2: jne 0x25005ff6 */
   3673 L_25005FF4:
   3674     ecx = eax; /* 0x25005FF4: mov ecx, eax */
   3675 L_25005FF6:
   3676     MEM32(eax) = ecx; /* 0x25005FF6: mov dword ptr [eax], ecx */
   3677     ecx = MEM32(ebp + 0xC); /* 0x25005FF8: mov ecx, dword ptr [ebp + 0xc] */
   3678     /* test ecx, ecx */ /* 0x25005FFB: test ecx, ecx */
   3679     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3680     _cf = 0;
   3681     _flag_k = FK_TEST;
   3682     if (TEST_Z(_flag_a, _flag_b)) goto L_25006006; /* 0x25005FFD: je 0x25006006 */
   3683 L_25005FFF:
   3684     MEM32(eax + 0x4) = ecx; /* 0x25005FFF: mov dword ptr [eax + 4], ecx */
   3685     ebp = POP32_VAL(esp); /* 0x25006002: pop ebp */
   3686     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006003: ret 8 */
   3687 L_25006006:
   3688     MEM32(eax + 0x4) = eax; /* 0x25006006: mov dword ptr [eax + 4], eax */
   3689     ebp = POP32_VAL(esp); /* 0x25006009: pop ebp */
   3690     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2500600A: ret 8 */
   3691     RECOMP_REGS_OUT();
   3692 }
   3693 
   3694 void sub_25006010(void) {
   3695     int _fpu_cmp = 0;
   3696     uint32_t _cf = 0;
   3697     int _df = 1;
   3698     uint32_t _flag_k = FK_NONE;
   3699     uint32_t _flag_a = 0, _flag_b = 0;
   3700     uint32_t _itail_tgt = 0;
   3701     RECOMP_REGS_LOCALS
   3702     RECOMP_ENTER(0x25006010u);
   3703 
   3704 L_25006010:
   3705     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   3706     SET_LO8(eax, 0); /* 0x25006010: xor al, al */
   3707     _cf = 0;
   3708     _flag_k = FK_NARROW(FK_TEST, 24);
   3709     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006012: ret 0x10 */
   3710     RECOMP_REGS_OUT();
   3711 }
   3712 
   3713 void sub_25006020(void) {
   3714     int _fpu_cmp = 0;
   3715     uint32_t _cf = 0;
   3716     int _df = 1;
   3717     uint32_t _flag_k = FK_NONE;
   3718     uint32_t _flag_a = 0, _flag_b = 0;
   3719     uint32_t _itail_tgt = 0;
   3720     RECOMP_REGS_LOCALS
   3721     RECOMP_ENTER(0x25006020u);
   3722 
   3723 L_25006020:
   3724     PUSH32(esp, ebp); /* 0x25006020: push ebp */
   3725     ebp = esp; /* 0x25006021: mov ebp, esp */
   3726     PUSH32(esp, ebx); /* 0x25006023: push ebx */
   3727     ebx = MEM32(ebp + 0x10); /* 0x25006024: mov ebx, dword ptr [ebp + 0x10] */
   3728     PUSH32(esp, esi); /* 0x25006027: push esi */
   3729     esi = ecx; /* 0x25006028: mov esi, ecx */
   3730     eax = MEM32(esi + 0x10); /* 0x2500602A: mov eax, dword ptr [esi + 0x10] */
   3731     /* test eax, eax */ /* 0x2500602D: test eax, eax */
   3732     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3733     _cf = 0;
   3734     _flag_k = FK_TEST;
   3735     ecx = MEM32(ebp + 0xC); /* 0x2500602F: mov ecx, dword ptr [ebp + 0xc] */
   3736     PUSH32(esp, edi); /* 0x25006032: push edi */
   3737     if (TEST_Z(_flag_a, _flag_b)) goto L_25006095; /* 0x25006033: je 0x25006095 */
   3738 L_25006035:
   3739     eax = MEM32(esi + 0x4); /* 0x25006035: mov eax, dword ptr [esi + 4] */
   3740     /* cmp ecx, MEM32(eax) */ /* 0x25006038: cmp ecx, dword ptr [eax] */
   3741     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
   3742     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3743     _flag_k = FK_CMP;
   3744     if (CMP_NE(_flag_a, _flag_b)) goto L_25006095; /* 0x2500603A: jne 0x25006095 */
   3745 L_2500603C:
   3746     /* cmp ebx, eax */ /* 0x2500603C: cmp ebx, eax */
   3747     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   3748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3749     _flag_k = FK_CMP;
   3750     if (CMP_NE(_flag_a, _flag_b)) goto L_25006095; /* 0x2500603E: jne 0x25006095 */
   3751 L_25006040:
   3752     ebx = MEM32(eax + 0x4); /* 0x25006040: mov ebx, dword ptr [eax + 4] */
   3753     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25006043: cmp ebx, dword ptr [esi + 8] */
   3754     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3756     _flag_k = FK_CMP;
   3757     edi = ebx; /* 0x25006046: mov edi, ebx */
   3758     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006069; /* 0x25006048: je 0x25006069 */
   3759 L_2500604A:
   3760     eax = MEM32(edi + 0x8); /* 0x2500604A: mov eax, dword ptr [edi + 8] */
   3761     PUSH32(esp, eax); /* 0x2500604D: push eax */
   3762     ecx = esi; /* 0x2500604E: mov ecx, esi */
   3763     RECOMP_ICALL(0x250068F0u); /* 0x25006050: call 0x250068f0 */ /* not lifted */
   3764     RECOMP_FLAGS_IN();
   3765     edi = MEM32(edi); /* 0x25006055: mov edi, dword ptr [edi] */
   3766     PUSH32(esp, ebx); /* 0x25006057: push ebx */
   3767     RECOMP_ICALL(0x25137EECu); /* 0x25006058: call 0x25137eec */ /* not lifted */
   3768     RECOMP_FLAGS_IN();
   3769     eax = MEM32(esi + 0x8); /* 0x2500605D: mov eax, dword ptr [esi + 8] */
   3770     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3771     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3772     esp = esp + 4; /* 0x25006060: add esp, 4 */
   3773     _flag_k = FK_ADD;
   3774     /* cmp edi, eax */ /* 0x25006063: cmp edi, eax */
   3775     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3777     _flag_k = FK_CMP;
   3778     ebx = edi; /* 0x25006065: mov ebx, edi */
   3779     RECOMP_BACKEDGE();
   3780     if (CMP_NE(_flag_a, _flag_b)) goto L_2500604A; /* 0x25006067: jne 0x2500604a */
   3781 L_25006069:
   3782     ecx = MEM32(esi + 0x4); /* 0x25006069: mov ecx, dword ptr [esi + 4] */
   3783     edx = MEM32(esi + 0x8); /* 0x2500606C: mov edx, dword ptr [esi + 8] */
   3784     MEM32(ecx + 0x4) = edx; /* 0x2500606F: mov dword ptr [ecx + 4], edx */
   3785     eax = MEM32(esi + 0x4); /* 0x25006072: mov eax, dword ptr [esi + 4] */
   3786     MEM32(esi + 0x10) = 0; /* 0x25006075: mov dword ptr [esi + 0x10], 0 */
   3787     MEM32(eax) = eax; /* 0x2500607C: mov dword ptr [eax], eax */
   3788     eax = MEM32(esi + 0x4); /* 0x2500607E: mov eax, dword ptr [esi + 4] */
   3789     MEM32(eax + 0x8) = eax; /* 0x25006081: mov dword ptr [eax + 8], eax */
   3790     eax = MEM32(esi + 0x4); /* 0x25006084: mov eax, dword ptr [esi + 4] */
   3791     ecx = MEM32(eax); /* 0x25006087: mov ecx, dword ptr [eax] */
   3792     eax = MEM32(ebp + 0x8); /* 0x25006089: mov eax, dword ptr [ebp + 8] */
   3793     edi = POP32_VAL(esp); /* 0x2500608C: pop edi */
   3794     esi = POP32_VAL(esp); /* 0x2500608D: pop esi */
   3795     MEM32(eax) = ecx; /* 0x2500608E: mov dword ptr [eax], ecx */
   3796     ebx = POP32_VAL(esp); /* 0x25006090: pop ebx */
   3797     ebp = POP32_VAL(esp); /* 0x25006091: pop ebp */
   3798     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25006092: ret 0xc */
   3799 L_25006095:
   3800     /* cmp ecx, ebx */ /* 0x25006095: cmp ecx, ebx */
   3801     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3803     _flag_k = FK_CMP;
   3804     if (CMP_EQ(_flag_a, _flag_b)) goto L_250060B6; /* 0x25006097: je 0x250060b6 */
   3805 L_25006099:
   3806     edi = ecx; /* 0x25006099: mov edi, ecx */
   3807     ecx = ebp + 0xC; /* 0x2500609B: lea ecx, [ebp + 0xc] */
   3808     RECOMP_ICALL(0x250077F0u); /* 0x2500609E: call 0x250077f0 */ /* not lifted */
   3809     RECOMP_FLAGS_IN();
   3810     PUSH32(esp, edi); /* 0x250060A3: push edi */
   3811     ecx = ebp + 0x10; /* 0x250060A4: lea ecx, [ebp + 0x10] */
   3812     PUSH32(esp, ecx); /* 0x250060A7: push ecx */
   3813     ecx = esi; /* 0x250060A8: mov ecx, esi */
   3814     RECOMP_ICALL(0x25006380u); /* 0x250060AA: call 0x25006380 */ /* not lifted */
   3815     RECOMP_FLAGS_IN();
   3816     ecx = MEM32(ebp + 0xC); /* 0x250060AF: mov ecx, dword ptr [ebp + 0xc] */
   3817     /* cmp ecx, ebx */ /* 0x250060B2: cmp ecx, ebx */
   3818     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   3819     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3820     _flag_k = FK_CMP;
   3821     RECOMP_BACKEDGE();
   3822     if (CMP_NE(_flag_a, _flag_b)) goto L_25006099; /* 0x250060B4: jne 0x25006099 */
   3823 L_250060B6:
   3824     eax = MEM32(ebp + 0x8); /* 0x250060B6: mov eax, dword ptr [ebp + 8] */
   3825     edi = POP32_VAL(esp); /* 0x250060B9: pop edi */
   3826     esi = POP32_VAL(esp); /* 0x250060BA: pop esi */
   3827     MEM32(eax) = ecx; /* 0x250060BB: mov dword ptr [eax], ecx */
   3828     ebx = POP32_VAL(esp); /* 0x250060BD: pop ebx */
   3829     ebp = POP32_VAL(esp); /* 0x250060BE: pop ebp */
   3830     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250060BF: ret 0xc */
   3831     RECOMP_REGS_OUT();
   3832 }
   3833 
   3834 void sub_250060D0(void) {
   3835     int _fpu_cmp = 0;
   3836     uint32_t _cf = 0;
   3837     int _df = 1;
   3838     uint32_t _flag_k = FK_NONE;
   3839     uint32_t _flag_a = 0, _flag_b = 0;
   3840     uint32_t _itail_tgt = 0;
   3841     RECOMP_REGS_LOCALS
   3842     RECOMP_ENTER(0x250060D0u);
   3843 
   3844 L_250060D0:
   3845     PUSH32(esp, ebp); /* 0x250060D0: push ebp */
   3846     ebp = esp; /* 0x250060D1: mov ebp, esp */
   3847     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3849     esp = esp - 0xCu; /* 0x250060D3: sub esp, 0xc */
   3850     _flag_k = FK_CMP;
   3851     PUSH32(esp, ebx); /* 0x250060D6: push ebx */
   3852     PUSH32(esp, esi); /* 0x250060D7: push esi */
   3853     esi = ecx; /* 0x250060D8: mov esi, ecx */
   3854     eax = MEM32(esi + 0x4); /* 0x250060DA: mov eax, dword ptr [esi + 4] */
   3855     ecx = MEM32(ebp + 0x8); /* 0x250060DD: mov ecx, dword ptr [ebp + 8] */
   3856     edx = MEM32(ecx + 0x4); /* 0x250060E0: mov edx, dword ptr [ecx + 4] */
   3857     ebx = MEM32(edx + 0x4); /* 0x250060E3: mov ebx, dword ptr [edx + 4] */
   3858     MEM32(ebp + (-0xC)) = eax; /* 0x250060E6: mov dword ptr [ebp - 0xc], eax */
   3859     eax = MEM32(esi + 0x8); /* 0x250060E9: mov eax, dword ptr [esi + 8] */
   3860     MEM32(ebp + (-0x8)) = eax; /* 0x250060EC: mov dword ptr [ebp - 8], eax */
   3861     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x250060EF: mov al, byte ptr [ebx + 0x11] */
   3862     /* test LO8(eax), LO8(eax) */ /* 0x250060F2: test al, al */
   3863     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3864     _cf = 0;
   3865     _flag_k = FK_NARROW(FK_TEST, 24);
   3866     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500615B; /* 0x250060F4: jne 0x2500615b */
   3867 L_250060F6:
   3868     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x250060F6: mov cl, byte ptr [ebx + 0x10] */
   3869     PUSH32(esp, edi); /* 0x250060F9: push edi */
   3870     PUSH32(esp, 0x14u); /* 0x250060FA: push 0x14 */
   3871     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x250060FC: mov byte ptr [ebp - 1], cl */
   3872     RECOMP_ICALL(0x251380D0u); /* 0x250060FF: call 0x251380d0 */ /* not lifted */
   3873     RECOMP_FLAGS_IN();
   3874     edx = MEM32(ebp + (-0xC)); /* 0x25006104: mov edx, dword ptr [ebp - 0xc] */
   3875     edi = eax; /* 0x25006107: mov edi, eax */
   3876     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x25006109: mov al, byte ptr [ebp - 1] */
   3877     ecx = ebx + 0xC; /* 0x2500610C: lea ecx, [ebx + 0xc] */
   3878     MEM32(edi + 0x4) = edx; /* 0x2500610F: mov dword ptr [edi + 4], edx */
   3879     PUSH32(esp, ecx); /* 0x25006112: push ecx */
   3880     edx = edi + 0xC; /* 0x25006113: lea edx, [edi + 0xc] */
   3881     PUSH32(esp, edx); /* 0x25006116: push edx */
   3882     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x25006117: mov byte ptr [edi + 0x10], al */
   3883     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x2500611A: mov byte ptr [edi + 0x11], 0 */
   3884     RECOMP_ICALL(0x25085360u); /* 0x2500611E: call 0x25085360 */ /* not lifted */
   3885     RECOMP_FLAGS_IN();
   3886     eax = MEM32(esi + 0x8); /* 0x25006123: mov eax, dword ptr [esi + 8] */
   3887     edx = MEM32(ebp + (-0x8)); /* 0x25006126: mov edx, dword ptr [ebp - 8] */
   3888     MEM32(edi) = eax; /* 0x25006129: mov dword ptr [edi], eax */
   3889     ecx = MEM32(esi + 0x8); /* 0x2500612B: mov ecx, dword ptr [esi + 8] */
   3890     MEM32(edi + 0x8) = ecx; /* 0x2500612E: mov dword ptr [edi + 8], ecx */
   3891     eax = MEM32(esi + 0x8); /* 0x25006131: mov eax, dword ptr [esi + 8] */
   3892     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3893     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3894     esp = esp + 0xCu; /* 0x25006134: add esp, 0xc */
   3895     _flag_k = FK_ADD;
   3896     /* cmp edx, eax */ /* 0x25006137: cmp edx, eax */
   3897     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3899     _flag_k = FK_CMP;
   3900     if (CMP_NE(_flag_a, _flag_b)) goto L_2500613E; /* 0x25006139: jne 0x2500613e */
   3901 L_2500613B:
   3902     MEM32(ebp + (-0x8)) = edi; /* 0x2500613B: mov dword ptr [ebp - 8], edi */
   3903 L_2500613E:
   3904     eax = MEM32(ebx); /* 0x2500613E: mov eax, dword ptr [ebx] */
   3905     PUSH32(esp, edi); /* 0x25006140: push edi */
   3906     PUSH32(esp, eax); /* 0x25006141: push eax */
   3907     ecx = esi; /* 0x25006142: mov ecx, esi */
   3908     RECOMP_ICALL(0x25006860u); /* 0x25006144: call 0x25006860 */ /* not lifted */
   3909     RECOMP_FLAGS_IN();
   3910     MEM32(edi) = eax; /* 0x25006149: mov dword ptr [edi], eax */
   3911     ecx = MEM32(ebx + 0x8); /* 0x2500614B: mov ecx, dword ptr [ebx + 8] */
   3912     PUSH32(esp, edi); /* 0x2500614E: push edi */
   3913     PUSH32(esp, ecx); /* 0x2500614F: push ecx */
   3914     ecx = esi; /* 0x25006150: mov ecx, esi */
   3915     RECOMP_ICALL(0x25006860u); /* 0x25006152: call 0x25006860 */ /* not lifted */
   3916     RECOMP_FLAGS_IN();
   3917     MEM32(edi + 0x8) = eax; /* 0x25006157: mov dword ptr [edi + 8], eax */
   3918     edi = POP32_VAL(esp); /* 0x2500615A: pop edi */
   3919 L_2500615B:
   3920     edx = MEM32(esi + 0x4); /* 0x2500615B: mov edx, dword ptr [esi + 4] */
   3921     eax = MEM32(ebp + (-0x8)); /* 0x2500615E: mov eax, dword ptr [ebp - 8] */
   3922     ecx = MEM32(ebp + 0x8); /* 0x25006161: mov ecx, dword ptr [ebp + 8] */
   3923     MEM32(edx + 0x4) = eax; /* 0x25006164: mov dword ptr [edx + 4], eax */
   3924     edx = MEM32(ecx + 0x10); /* 0x25006167: mov edx, dword ptr [ecx + 0x10] */
   3925     ecx = MEM32(esi + 0x8); /* 0x2500616A: mov ecx, dword ptr [esi + 8] */
   3926     MEM32(esi + 0x10) = edx; /* 0x2500616D: mov dword ptr [esi + 0x10], edx */
   3927     edx = MEM32(esi + 0x4); /* 0x25006170: mov edx, dword ptr [esi + 4] */
   3928     eax = MEM32(edx + 0x4); /* 0x25006173: mov eax, dword ptr [edx + 4] */
   3929     /* cmp eax, ecx */ /* 0x25006176: cmp eax, ecx */
   3930     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3932     _flag_k = FK_CMP;
   3933     if (CMP_EQ(_flag_a, _flag_b)) goto L_250061B7; /* 0x25006178: je 0x250061b7 */
   3934 L_2500617A:
   3935     ecx = MEM32(eax); /* 0x2500617A: mov ecx, dword ptr [eax] */
   3936     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x2500617C: mov bl, byte ptr [ecx + 0x11] */
   3937     /* test LO8(ebx), LO8(ebx) */ /* 0x2500617F: test bl, bl */
   3938     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3939     _cf = 0;
   3940     _flag_k = FK_NARROW(FK_TEST, 24);
   3941     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500618E; /* 0x25006181: jne 0x2500618e */
   3942 L_25006183:
   3943     eax = ecx; /* 0x25006183: mov eax, ecx */
   3944     ecx = MEM32(eax); /* 0x25006185: mov ecx, dword ptr [eax] */
   3945     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x25006187: mov bl, byte ptr [ecx + 0x11] */
   3946     /* test LO8(ebx), LO8(ebx) */ /* 0x2500618A: test bl, bl */
   3947     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3948     _cf = 0;
   3949     _flag_k = FK_NARROW(FK_TEST, 24);
   3950     RECOMP_BACKEDGE();
   3951     if (TEST_Z(_flag_a, _flag_b)) goto L_25006183; /* 0x2500618C: je 0x25006183 */
   3952 L_2500618E:
   3953     MEM32(edx) = eax; /* 0x2500618E: mov dword ptr [edx], eax */
   3954     esi = MEM32(esi + 0x4); /* 0x25006190: mov esi, dword ptr [esi + 4] */
   3955     ecx = MEM32(esi + 0x4); /* 0x25006193: mov ecx, dword ptr [esi + 4] */
   3956     eax = MEM32(ecx + 0x8); /* 0x25006196: mov eax, dword ptr [ecx + 8] */
   3957     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x25006199: mov dl, byte ptr [eax + 0x11] */
   3958     /* test LO8(edx), LO8(edx) */ /* 0x2500619C: test dl, dl */
   3959     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3960     _cf = 0;
   3961     _flag_k = FK_NARROW(FK_TEST, 24);
   3962     if (TEST_NZ(_flag_a, _flag_b)) goto L_250061AC; /* 0x2500619E: jne 0x250061ac */
   3963 L_250061A0:
   3964     ecx = eax; /* 0x250061A0: mov ecx, eax */
   3965     eax = MEM32(ecx + 0x8); /* 0x250061A2: mov eax, dword ptr [ecx + 8] */
   3966     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250061A5: mov dl, byte ptr [eax + 0x11] */
   3967     /* test LO8(edx), LO8(edx) */ /* 0x250061A8: test dl, dl */
   3968     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3969     _cf = 0;
   3970     _flag_k = FK_NARROW(FK_TEST, 24);
   3971     RECOMP_BACKEDGE();
   3972     if (TEST_Z(_flag_a, _flag_b)) goto L_250061A0; /* 0x250061AA: je 0x250061a0 */
   3973 L_250061AC:
   3974     MEM32(esi + 0x8) = ecx; /* 0x250061AC: mov dword ptr [esi + 8], ecx */
   3975     esi = POP32_VAL(esp); /* 0x250061AF: pop esi */
   3976     ebx = POP32_VAL(esp); /* 0x250061B0: pop ebx */
   3977     esp = ebp; /* 0x250061B1: mov esp, ebp */
   3978     ebp = POP32_VAL(esp); /* 0x250061B3: pop ebp */
   3979     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250061B4: ret 4 */
   3980 L_250061B7:
   3981     MEM32(edx) = edx; /* 0x250061B7: mov dword ptr [edx], edx */
   3982     esi = MEM32(esi + 0x4); /* 0x250061B9: mov esi, dword ptr [esi + 4] */
   3983     MEM32(esi + 0x8) = esi; /* 0x250061BC: mov dword ptr [esi + 8], esi */
   3984     esi = POP32_VAL(esp); /* 0x250061BF: pop esi */
   3985     ebx = POP32_VAL(esp); /* 0x250061C0: pop ebx */
   3986     esp = ebp; /* 0x250061C1: mov esp, ebp */
   3987     ebp = POP32_VAL(esp); /* 0x250061C3: pop ebp */
   3988     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250061C4: ret 4 */
   3989     RECOMP_REGS_OUT();
   3990 }
   3991 
   3992 void sub_250061D0(void) {
   3993     int _fpu_cmp = 0;
   3994     uint32_t _cf = 0;
   3995     int _df = 1;
   3996     uint32_t _flag_k = FK_NONE;
   3997     uint32_t _flag_a = 0, _flag_b = 0;
   3998     uint32_t _itail_tgt = 0;
   3999     RECOMP_REGS_LOCALS
   4000     RECOMP_ENTER(0x250061D0u);
   4001 
   4002 L_250061D0:
   4003     PUSH32(esp, ebp); /* 0x250061D0: push ebp */
   4004     ebp = esp; /* 0x250061D1: mov ebp, esp */
   4005     PUSH32(esp, ebx); /* 0x250061D3: push ebx */
   4006     ebx = MEM32(ebp + 0x10); /* 0x250061D4: mov ebx, dword ptr [ebp + 0x10] */
   4007     PUSH32(esp, esi); /* 0x250061D7: push esi */
   4008     esi = ecx; /* 0x250061D8: mov esi, ecx */
   4009     eax = MEM32(esi + 0x10); /* 0x250061DA: mov eax, dword ptr [esi + 0x10] */
   4010     /* test eax, eax */ /* 0x250061DD: test eax, eax */
   4011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4012     _cf = 0;
   4013     _flag_k = FK_TEST;
   4014     ecx = MEM32(ebp + 0xC); /* 0x250061DF: mov ecx, dword ptr [ebp + 0xc] */
   4015     PUSH32(esp, edi); /* 0x250061E2: push edi */
   4016     if (TEST_Z(_flag_a, _flag_b)) goto L_25006245; /* 0x250061E3: je 0x25006245 */
   4017 L_250061E5:
   4018     eax = MEM32(esi + 0x4); /* 0x250061E5: mov eax, dword ptr [esi + 4] */
   4019     /* cmp ecx, MEM32(eax) */ /* 0x250061E8: cmp ecx, dword ptr [eax] */
   4020     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
   4021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4022     _flag_k = FK_CMP;
   4023     if (CMP_NE(_flag_a, _flag_b)) goto L_25006245; /* 0x250061EA: jne 0x25006245 */
   4024 L_250061EC:
   4025     /* cmp ebx, eax */ /* 0x250061EC: cmp ebx, eax */
   4026     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   4027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4028     _flag_k = FK_CMP;
   4029     if (CMP_NE(_flag_a, _flag_b)) goto L_25006245; /* 0x250061EE: jne 0x25006245 */
   4030 L_250061F0:
   4031     ebx = MEM32(eax + 0x4); /* 0x250061F0: mov ebx, dword ptr [eax + 4] */
   4032     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x250061F3: cmp ebx, dword ptr [esi + 8] */
   4033     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4034     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4035     _flag_k = FK_CMP;
   4036     edi = ebx; /* 0x250061F6: mov edi, ebx */
   4037     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006219; /* 0x250061F8: je 0x25006219 */
   4038 L_250061FA:
   4039     eax = MEM32(edi + 0x8); /* 0x250061FA: mov eax, dword ptr [edi + 8] */
   4040     PUSH32(esp, eax); /* 0x250061FD: push eax */
   4041     ecx = esi; /* 0x250061FE: mov ecx, esi */
   4042     RECOMP_ICALL(0x25006C00u); /* 0x25006200: call 0x25006c00 */ /* not lifted */
   4043     RECOMP_FLAGS_IN();
   4044     edi = MEM32(edi); /* 0x25006205: mov edi, dword ptr [edi] */
   4045     PUSH32(esp, ebx); /* 0x25006207: push ebx */
   4046     RECOMP_ICALL(0x25137EECu); /* 0x25006208: call 0x25137eec */ /* not lifted */
   4047     RECOMP_FLAGS_IN();
   4048     eax = MEM32(esi + 0x8); /* 0x2500620D: mov eax, dword ptr [esi + 8] */
   4049     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4050     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4051     esp = esp + 4; /* 0x25006210: add esp, 4 */
   4052     _flag_k = FK_ADD;
   4053     /* cmp edi, eax */ /* 0x25006213: cmp edi, eax */
   4054     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4056     _flag_k = FK_CMP;
   4057     ebx = edi; /* 0x25006215: mov ebx, edi */
   4058     RECOMP_BACKEDGE();
   4059     if (CMP_NE(_flag_a, _flag_b)) goto L_250061FA; /* 0x25006217: jne 0x250061fa */
   4060 L_25006219:
   4061     ecx = MEM32(esi + 0x4); /* 0x25006219: mov ecx, dword ptr [esi + 4] */
   4062     edx = MEM32(esi + 0x8); /* 0x2500621C: mov edx, dword ptr [esi + 8] */
   4063     MEM32(ecx + 0x4) = edx; /* 0x2500621F: mov dword ptr [ecx + 4], edx */
   4064     eax = MEM32(esi + 0x4); /* 0x25006222: mov eax, dword ptr [esi + 4] */
   4065     MEM32(esi + 0x10) = 0; /* 0x25006225: mov dword ptr [esi + 0x10], 0 */
   4066     MEM32(eax) = eax; /* 0x2500622C: mov dword ptr [eax], eax */
   4067     eax = MEM32(esi + 0x4); /* 0x2500622E: mov eax, dword ptr [esi + 4] */
   4068     MEM32(eax + 0x8) = eax; /* 0x25006231: mov dword ptr [eax + 8], eax */
   4069     eax = MEM32(esi + 0x4); /* 0x25006234: mov eax, dword ptr [esi + 4] */
   4070     ecx = MEM32(eax); /* 0x25006237: mov ecx, dword ptr [eax] */
   4071     eax = MEM32(ebp + 0x8); /* 0x25006239: mov eax, dword ptr [ebp + 8] */
   4072     edi = POP32_VAL(esp); /* 0x2500623C: pop edi */
   4073     esi = POP32_VAL(esp); /* 0x2500623D: pop esi */
   4074     MEM32(eax) = ecx; /* 0x2500623E: mov dword ptr [eax], ecx */
   4075     ebx = POP32_VAL(esp); /* 0x25006240: pop ebx */
   4076     ebp = POP32_VAL(esp); /* 0x25006241: pop ebp */
   4077     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25006242: ret 0xc */
   4078 L_25006245:
   4079     /* cmp ecx, ebx */ /* 0x25006245: cmp ecx, ebx */
   4080     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4081     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4082     _flag_k = FK_CMP;
   4083     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006266; /* 0x25006247: je 0x25006266 */
   4084 L_25006249:
   4085     edi = ecx; /* 0x25006249: mov edi, ecx */
   4086     ecx = ebp + 0xC; /* 0x2500624B: lea ecx, [ebp + 0xc] */
   4087     RECOMP_ICALL(0x250077F0u); /* 0x2500624E: call 0x250077f0 */ /* not lifted */
   4088     RECOMP_FLAGS_IN();
   4089     PUSH32(esp, edi); /* 0x25006253: push edi */
   4090     ecx = ebp + 0x10; /* 0x25006254: lea ecx, [ebp + 0x10] */
   4091     PUSH32(esp, ecx); /* 0x25006257: push ecx */
   4092     ecx = esi; /* 0x25006258: mov ecx, esi */
   4093     RECOMP_ICALL(0x25006380u); /* 0x2500625A: call 0x25006380 */ /* not lifted */
   4094     RECOMP_FLAGS_IN();
   4095     ecx = MEM32(ebp + 0xC); /* 0x2500625F: mov ecx, dword ptr [ebp + 0xc] */
   4096     /* cmp ecx, ebx */ /* 0x25006262: cmp ecx, ebx */
   4097     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4099     _flag_k = FK_CMP;
   4100     RECOMP_BACKEDGE();
   4101     if (CMP_NE(_flag_a, _flag_b)) goto L_25006249; /* 0x25006264: jne 0x25006249 */
   4102 L_25006266:
   4103     eax = MEM32(ebp + 0x8); /* 0x25006266: mov eax, dword ptr [ebp + 8] */
   4104     edi = POP32_VAL(esp); /* 0x25006269: pop edi */
   4105     esi = POP32_VAL(esp); /* 0x2500626A: pop esi */
   4106     MEM32(eax) = ecx; /* 0x2500626B: mov dword ptr [eax], ecx */
   4107     ebx = POP32_VAL(esp); /* 0x2500626D: pop ebx */
   4108     ebp = POP32_VAL(esp); /* 0x2500626E: pop ebp */
   4109     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500626F: ret 0xc */
   4110     RECOMP_REGS_OUT();
   4111 }
   4112 
   4113 void sub_25006280(void) {
   4114     int _fpu_cmp = 0;
   4115     uint32_t _cf = 0;
   4116     int _df = 1;
   4117     uint32_t _flag_k = FK_NONE;
   4118     uint32_t _flag_a = 0, _flag_b = 0;
   4119     uint32_t _itail_tgt = 0;
   4120     RECOMP_REGS_LOCALS
   4121     RECOMP_ENTER(0x25006280u);
   4122 
   4123 L_25006280:
   4124     PUSH32(esp, ebp); /* 0x25006280: push ebp */
   4125     ebp = esp; /* 0x25006281: mov ebp, esp */
   4126     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4128     esp = esp - 0xCu; /* 0x25006283: sub esp, 0xc */
   4129     _flag_k = FK_CMP;
   4130     PUSH32(esp, ebx); /* 0x25006286: push ebx */
   4131     PUSH32(esp, esi); /* 0x25006287: push esi */
   4132     esi = ecx; /* 0x25006288: mov esi, ecx */
   4133     eax = MEM32(esi + 0x4); /* 0x2500628A: mov eax, dword ptr [esi + 4] */
   4134     ecx = MEM32(ebp + 0x8); /* 0x2500628D: mov ecx, dword ptr [ebp + 8] */
   4135     edx = MEM32(ecx + 0x4); /* 0x25006290: mov edx, dword ptr [ecx + 4] */
   4136     ebx = MEM32(edx + 0x4); /* 0x25006293: mov ebx, dword ptr [edx + 4] */
   4137     MEM32(ebp + (-0xC)) = eax; /* 0x25006296: mov dword ptr [ebp - 0xc], eax */
   4138     eax = MEM32(esi + 0x8); /* 0x25006299: mov eax, dword ptr [esi + 8] */
   4139     MEM32(ebp + (-0x8)) = eax; /* 0x2500629C: mov dword ptr [ebp - 8], eax */
   4140     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x2500629F: mov al, byte ptr [ebx + 0x11] */
   4141     /* test LO8(eax), LO8(eax) */ /* 0x250062A2: test al, al */
   4142     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4143     _cf = 0;
   4144     _flag_k = FK_NARROW(FK_TEST, 24);
   4145     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500630B; /* 0x250062A4: jne 0x2500630b */
   4146 L_250062A6:
   4147     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x250062A6: mov cl, byte ptr [ebx + 0x10] */
   4148     PUSH32(esp, edi); /* 0x250062A9: push edi */
   4149     PUSH32(esp, 0x14u); /* 0x250062AA: push 0x14 */
   4150     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x250062AC: mov byte ptr [ebp - 1], cl */
   4151     RECOMP_ICALL(0x251380D0u); /* 0x250062AF: call 0x251380d0 */ /* not lifted */
   4152     RECOMP_FLAGS_IN();
   4153     edx = MEM32(ebp + (-0xC)); /* 0x250062B4: mov edx, dword ptr [ebp - 0xc] */
   4154     edi = eax; /* 0x250062B7: mov edi, eax */
   4155     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250062B9: mov al, byte ptr [ebp - 1] */
   4156     ecx = ebx + 0xC; /* 0x250062BC: lea ecx, [ebx + 0xc] */
   4157     MEM32(edi + 0x4) = edx; /* 0x250062BF: mov dword ptr [edi + 4], edx */
   4158     PUSH32(esp, ecx); /* 0x250062C2: push ecx */
   4159     edx = edi + 0xC; /* 0x250062C3: lea edx, [edi + 0xc] */
   4160     PUSH32(esp, edx); /* 0x250062C6: push edx */
   4161     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x250062C7: mov byte ptr [edi + 0x10], al */
   4162     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x250062CA: mov byte ptr [edi + 0x11], 0 */
   4163     RECOMP_ICALL(0x25085360u); /* 0x250062CE: call 0x25085360 */ /* not lifted */
   4164     RECOMP_FLAGS_IN();
   4165     eax = MEM32(esi + 0x8); /* 0x250062D3: mov eax, dword ptr [esi + 8] */
   4166     edx = MEM32(ebp + (-0x8)); /* 0x250062D6: mov edx, dword ptr [ebp - 8] */
   4167     MEM32(edi) = eax; /* 0x250062D9: mov dword ptr [edi], eax */
   4168     ecx = MEM32(esi + 0x8); /* 0x250062DB: mov ecx, dword ptr [esi + 8] */
   4169     MEM32(edi + 0x8) = ecx; /* 0x250062DE: mov dword ptr [edi + 8], ecx */
   4170     eax = MEM32(esi + 0x8); /* 0x250062E1: mov eax, dword ptr [esi + 8] */
   4171     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4172     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4173     esp = esp + 0xCu; /* 0x250062E4: add esp, 0xc */
   4174     _flag_k = FK_ADD;
   4175     /* cmp edx, eax */ /* 0x250062E7: cmp edx, eax */
   4176     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4178     _flag_k = FK_CMP;
   4179     if (CMP_NE(_flag_a, _flag_b)) goto L_250062EE; /* 0x250062E9: jne 0x250062ee */
   4180 L_250062EB:
   4181     MEM32(ebp + (-0x8)) = edi; /* 0x250062EB: mov dword ptr [ebp - 8], edi */
   4182 L_250062EE:
   4183     eax = MEM32(ebx); /* 0x250062EE: mov eax, dword ptr [ebx] */
   4184     PUSH32(esp, edi); /* 0x250062F0: push edi */
   4185     PUSH32(esp, eax); /* 0x250062F1: push eax */
   4186     ecx = esi; /* 0x250062F2: mov ecx, esi */
   4187     RECOMP_ICALL(0x25006B70u); /* 0x250062F4: call 0x25006b70 */ /* not lifted */
   4188     RECOMP_FLAGS_IN();
   4189     MEM32(edi) = eax; /* 0x250062F9: mov dword ptr [edi], eax */
   4190     ecx = MEM32(ebx + 0x8); /* 0x250062FB: mov ecx, dword ptr [ebx + 8] */
   4191     PUSH32(esp, edi); /* 0x250062FE: push edi */
   4192     PUSH32(esp, ecx); /* 0x250062FF: push ecx */
   4193     ecx = esi; /* 0x25006300: mov ecx, esi */
   4194     RECOMP_ICALL(0x25006B70u); /* 0x25006302: call 0x25006b70 */ /* not lifted */
   4195     RECOMP_FLAGS_IN();
   4196     MEM32(edi + 0x8) = eax; /* 0x25006307: mov dword ptr [edi + 8], eax */
   4197     edi = POP32_VAL(esp); /* 0x2500630A: pop edi */
   4198 L_2500630B:
   4199     edx = MEM32(esi + 0x4); /* 0x2500630B: mov edx, dword ptr [esi + 4] */
   4200     eax = MEM32(ebp + (-0x8)); /* 0x2500630E: mov eax, dword ptr [ebp - 8] */
   4201     ecx = MEM32(ebp + 0x8); /* 0x25006311: mov ecx, dword ptr [ebp + 8] */
   4202     MEM32(edx + 0x4) = eax; /* 0x25006314: mov dword ptr [edx + 4], eax */
   4203     edx = MEM32(ecx + 0x10); /* 0x25006317: mov edx, dword ptr [ecx + 0x10] */
   4204     ecx = MEM32(esi + 0x8); /* 0x2500631A: mov ecx, dword ptr [esi + 8] */
   4205     MEM32(esi + 0x10) = edx; /* 0x2500631D: mov dword ptr [esi + 0x10], edx */
   4206     edx = MEM32(esi + 0x4); /* 0x25006320: mov edx, dword ptr [esi + 4] */
   4207     eax = MEM32(edx + 0x4); /* 0x25006323: mov eax, dword ptr [edx + 4] */
   4208     /* cmp eax, ecx */ /* 0x25006326: cmp eax, ecx */
   4209     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4211     _flag_k = FK_CMP;
   4212     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006367; /* 0x25006328: je 0x25006367 */
   4213 L_2500632A:
   4214     ecx = MEM32(eax); /* 0x2500632A: mov ecx, dword ptr [eax] */
   4215     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x2500632C: mov bl, byte ptr [ecx + 0x11] */
   4216     /* test LO8(ebx), LO8(ebx) */ /* 0x2500632F: test bl, bl */
   4217     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4218     _cf = 0;
   4219     _flag_k = FK_NARROW(FK_TEST, 24);
   4220     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500633E; /* 0x25006331: jne 0x2500633e */
   4221 L_25006333:
   4222     eax = ecx; /* 0x25006333: mov eax, ecx */
   4223     ecx = MEM32(eax); /* 0x25006335: mov ecx, dword ptr [eax] */
   4224     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x25006337: mov bl, byte ptr [ecx + 0x11] */
   4225     /* test LO8(ebx), LO8(ebx) */ /* 0x2500633A: test bl, bl */
   4226     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4227     _cf = 0;
   4228     _flag_k = FK_NARROW(FK_TEST, 24);
   4229     RECOMP_BACKEDGE();
   4230     if (TEST_Z(_flag_a, _flag_b)) goto L_25006333; /* 0x2500633C: je 0x25006333 */
   4231 L_2500633E:
   4232     MEM32(edx) = eax; /* 0x2500633E: mov dword ptr [edx], eax */
   4233     esi = MEM32(esi + 0x4); /* 0x25006340: mov esi, dword ptr [esi + 4] */
   4234     ecx = MEM32(esi + 0x4); /* 0x25006343: mov ecx, dword ptr [esi + 4] */
   4235     eax = MEM32(ecx + 0x8); /* 0x25006346: mov eax, dword ptr [ecx + 8] */
   4236     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x25006349: mov dl, byte ptr [eax + 0x11] */
   4237     /* test LO8(edx), LO8(edx) */ /* 0x2500634C: test dl, dl */
   4238     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4239     _cf = 0;
   4240     _flag_k = FK_NARROW(FK_TEST, 24);
   4241     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500635C; /* 0x2500634E: jne 0x2500635c */
   4242 L_25006350:
   4243     ecx = eax; /* 0x25006350: mov ecx, eax */
   4244     eax = MEM32(ecx + 0x8); /* 0x25006352: mov eax, dword ptr [ecx + 8] */
   4245     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x25006355: mov dl, byte ptr [eax + 0x11] */
   4246     /* test LO8(edx), LO8(edx) */ /* 0x25006358: test dl, dl */
   4247     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4248     _cf = 0;
   4249     _flag_k = FK_NARROW(FK_TEST, 24);
   4250     RECOMP_BACKEDGE();
   4251     if (TEST_Z(_flag_a, _flag_b)) goto L_25006350; /* 0x2500635A: je 0x25006350 */
   4252 L_2500635C:
   4253     MEM32(esi + 0x8) = ecx; /* 0x2500635C: mov dword ptr [esi + 8], ecx */
   4254     esi = POP32_VAL(esp); /* 0x2500635F: pop esi */
   4255     ebx = POP32_VAL(esp); /* 0x25006360: pop ebx */
   4256     esp = ebp; /* 0x25006361: mov esp, ebp */
   4257     ebp = POP32_VAL(esp); /* 0x25006363: pop ebp */
   4258     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006364: ret 4 */
   4259 L_25006367:
   4260     MEM32(edx) = edx; /* 0x25006367: mov dword ptr [edx], edx */
   4261     esi = MEM32(esi + 0x4); /* 0x25006369: mov esi, dword ptr [esi + 4] */
   4262     MEM32(esi + 0x8) = esi; /* 0x2500636C: mov dword ptr [esi + 8], esi */
   4263     esi = POP32_VAL(esp); /* 0x2500636F: pop esi */
   4264     ebx = POP32_VAL(esp); /* 0x25006370: pop ebx */
   4265     esp = ebp; /* 0x25006371: mov esp, ebp */
   4266     ebp = POP32_VAL(esp); /* 0x25006373: pop ebp */
   4267     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006374: ret 4 */
   4268     RECOMP_REGS_OUT();
   4269 }
   4270 
   4271 void sub_25006380(void) {
   4272     int _fpu_cmp = 0;
   4273     uint32_t _cf = 0;
   4274     int _df = 1;
   4275     uint32_t _flag_k = FK_NONE;
   4276     uint32_t _flag_a = 0, _flag_b = 0;
   4277     uint32_t _itail_tgt = 0;
   4278     RECOMP_REGS_LOCALS
   4279     RECOMP_ENTER(0x25006380u);
   4280 
   4281 L_25006380:
   4282     PUSH32(esp, ebp); /* 0x25006380: push ebp */
   4283     ebp = esp; /* 0x25006381: mov ebp, esp */
   4284     PUSH32(esp, ecx); /* 0x25006383: push ecx */
   4285     PUSH32(esp, ebx); /* 0x25006384: push ebx */
   4286     PUSH32(esp, esi); /* 0x25006385: push esi */
   4287     esi = MEM32(ebp + 0xC); /* 0x25006386: mov esi, dword ptr [ebp + 0xc] */
   4288     PUSH32(esp, edi); /* 0x25006389: push edi */
   4289     edi = ecx; /* 0x2500638A: mov edi, ecx */
   4290     ecx = ebp + 0xC; /* 0x2500638C: lea ecx, [ebp + 0xc] */
   4291     RECOMP_ICALL(0x250077F0u); /* 0x2500638F: call 0x250077f0 */ /* not lifted */
   4292     RECOMP_FLAGS_IN();
   4293     edx = MEM32(esi); /* 0x25006394: mov edx, dword ptr [esi] */
   4294     eax = MEM32(edi + 0x8); /* 0x25006396: mov eax, dword ptr [edi + 8] */
   4295     /* cmp edx, eax */ /* 0x25006399: cmp edx, eax */
   4296     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4298     _flag_k = FK_CMP;
   4299     MEM32(ebp + (-0x4)) = esi; /* 0x2500639B: mov dword ptr [ebp - 4], esi */
   4300     if (CMP_NE(_flag_a, _flag_b)) goto L_250063C0; /* 0x2500639E: jne 0x250063c0 */
   4301 L_250063A0:
   4302     eax = MEM32(esi + 0x8); /* 0x250063A0: mov eax, dword ptr [esi + 8] */
   4303 L_250063A3:
   4304     ecx = MEM32(ebp + (-0x4)); /* 0x250063A3: mov ecx, dword ptr [ebp - 4] */
   4305     edx = MEM32(ecx + 0x4); /* 0x250063A6: mov edx, dword ptr [ecx + 4] */
   4306     MEM32(eax + 0x4) = edx; /* 0x250063A9: mov dword ptr [eax + 4], edx */
   4307     ecx = MEM32(edi + 0x4); /* 0x250063AC: mov ecx, dword ptr [edi + 4] */
   4308     /* cmp MEM32(ecx + 0x4), esi */ /* 0x250063AF: cmp dword ptr [ecx + 4], esi */
   4309     _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi);
   4310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4311     _flag_k = FK_CMP;
   4312     if (CMP_NE(_flag_a, _flag_b)) goto L_25006443; /* 0x250063B2: jne 0x25006443 */
   4313 L_250063B8:
   4314     MEM32(ecx + 0x4) = eax; /* 0x250063B8: mov dword ptr [ecx + 4], eax */
   4315     goto L_25006451; /* 0x250063BB: jmp 0x25006451 */
   4316 L_250063C0:
   4317     ecx = MEM32(esi + 0x8); /* 0x250063C0: mov ecx, dword ptr [esi + 8] */
   4318     /* cmp ecx, eax */ /* 0x250063C3: cmp ecx, eax */
   4319     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4321     _flag_k = FK_CMP;
   4322     if (CMP_NE(_flag_a, _flag_b)) goto L_250063CB; /* 0x250063C5: jne 0x250063cb */
   4323 L_250063C7:
   4324     eax = edx; /* 0x250063C7: mov eax, edx */
   4325     RECOMP_BACKEDGE();
   4326     goto L_250063A3; /* 0x250063C9: jmp 0x250063a3 */
   4327 L_250063CB:
   4328     eax = MEM32(ecx); /* 0x250063CB: mov eax, dword ptr [ecx] */
   4329     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x250063CD: mov bl, byte ptr [eax + 0x11] */
   4330     /* test LO8(ebx), LO8(ebx) */ /* 0x250063D0: test bl, bl */
   4331     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4332     _cf = 0;
   4333     _flag_k = FK_NARROW(FK_TEST, 24);
   4334     if (TEST_NZ(_flag_a, _flag_b)) goto L_250063DF; /* 0x250063D2: jne 0x250063df */
   4335 L_250063D4:
   4336     ecx = eax; /* 0x250063D4: mov ecx, eax */
   4337     eax = MEM32(ecx); /* 0x250063D6: mov eax, dword ptr [ecx] */
   4338     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x250063D8: mov bl, byte ptr [eax + 0x11] */
   4339     /* test LO8(ebx), LO8(ebx) */ /* 0x250063DB: test bl, bl */
   4340     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4341     _cf = 0;
   4342     _flag_k = FK_NARROW(FK_TEST, 24);
   4343     RECOMP_BACKEDGE();
   4344     if (TEST_Z(_flag_a, _flag_b)) goto L_250063D4; /* 0x250063DD: je 0x250063d4 */
   4345 L_250063DF:
   4346     /* cmp ecx, esi */ /* 0x250063DF: cmp ecx, esi */
   4347     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   4348     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4349     _flag_k = FK_CMP;
   4350     eax = MEM32(ecx + 0x8); /* 0x250063E1: mov eax, dword ptr [ecx + 8] */
   4351     MEM32(ebp + (-0x4)) = ecx; /* 0x250063E4: mov dword ptr [ebp - 4], ecx */
   4352     RECOMP_BACKEDGE();
   4353     if (CMP_EQ(_flag_a, _flag_b)) goto L_250063A3; /* 0x250063E7: je 0x250063a3 */
   4354 L_250063E9:
   4355     MEM32(edx + 0x4) = ecx; /* 0x250063E9: mov dword ptr [edx + 4], ecx */
   4356     edx = MEM32(esi); /* 0x250063EC: mov edx, dword ptr [esi] */
   4357     MEM32(ecx) = edx; /* 0x250063EE: mov dword ptr [ecx], edx */
   4358     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250063F0: cmp ecx, dword ptr [esi + 8] */
   4359     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4360     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4361     _flag_k = FK_CMP;
   4362     if (CMP_NE(_flag_a, _flag_b)) goto L_250063FA; /* 0x250063F3: jne 0x250063fa */
   4363 L_250063F5:
   4364     MEM32(eax + 0x4) = ecx; /* 0x250063F5: mov dword ptr [eax + 4], ecx */
   4365     goto L_25006411; /* 0x250063F8: jmp 0x25006411 */
   4366 L_250063FA:
   4367     edx = MEM32(ecx + 0x4); /* 0x250063FA: mov edx, dword ptr [ecx + 4] */
   4368     MEM32(eax + 0x4) = edx; /* 0x250063FD: mov dword ptr [eax + 4], edx */
   4369     edx = MEM32(ecx + 0x4); /* 0x25006400: mov edx, dword ptr [ecx + 4] */
   4370     MEM32(edx) = eax; /* 0x25006403: mov dword ptr [edx], eax */
   4371     edx = MEM32(esi + 0x8); /* 0x25006405: mov edx, dword ptr [esi + 8] */
   4372     MEM32(ecx + 0x8) = edx; /* 0x25006408: mov dword ptr [ecx + 8], edx */
   4373     edx = MEM32(esi + 0x8); /* 0x2500640B: mov edx, dword ptr [esi + 8] */
   4374     MEM32(edx + 0x4) = ecx; /* 0x2500640E: mov dword ptr [edx + 4], ecx */
   4375 L_25006411:
   4376     edx = MEM32(edi + 0x4); /* 0x25006411: mov edx, dword ptr [edi + 4] */
   4377     /* cmp MEM32(edx + 0x4), esi */ /* 0x25006414: cmp dword ptr [edx + 4], esi */
   4378     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi);
   4379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4380     _flag_k = FK_CMP;
   4381     if (CMP_NE(_flag_a, _flag_b)) goto L_2500641E; /* 0x25006417: jne 0x2500641e */
   4382 L_25006419:
   4383     MEM32(edx + 0x4) = ecx; /* 0x25006419: mov dword ptr [edx + 4], ecx */
   4384     goto L_2500642C; /* 0x2500641C: jmp 0x2500642c */
   4385 L_2500641E:
   4386     edx = MEM32(esi + 0x4); /* 0x2500641E: mov edx, dword ptr [esi + 4] */
   4387     /* cmp MEM32(edx), esi */ /* 0x25006421: cmp dword ptr [edx], esi */
   4388     _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi);
   4389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4390     _flag_k = FK_CMP;
   4391     if (CMP_NE(_flag_a, _flag_b)) goto L_25006429; /* 0x25006423: jne 0x25006429 */
   4392 L_25006425:
   4393     MEM32(edx) = ecx; /* 0x25006425: mov dword ptr [edx], ecx */
   4394     goto L_2500642C; /* 0x25006427: jmp 0x2500642c */
   4395 L_25006429:
   4396     MEM32(edx + 0x8) = ecx; /* 0x25006429: mov dword ptr [edx + 8], ecx */
   4397 L_2500642C:
   4398     edx = MEM32(esi + 0x4); /* 0x2500642C: mov edx, dword ptr [esi + 4] */
   4399     MEM32(ecx + 0x4) = edx; /* 0x2500642F: mov dword ptr [ecx + 4], edx */
   4400     SET_LO8(ebx, MEM8(esi + 0x10)); /* 0x25006432: mov bl, byte ptr [esi + 0x10] */
   4401     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006435: mov dl, byte ptr [ecx + 0x10] */
   4402     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006438: mov byte ptr [ecx + 0x10], bl */
   4403     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500643B: mov byte ptr [esi + 0x10], dl */
   4404     MEM32(ebp + (-0x4)) = esi; /* 0x2500643E: mov dword ptr [ebp - 4], esi */
   4405     goto L_250064A8; /* 0x25006441: jmp 0x250064a8 */
   4406 L_25006443:
   4407     ecx = MEM32(esi + 0x4); /* 0x25006443: mov ecx, dword ptr [esi + 4] */
   4408     /* cmp MEM32(ecx), esi */ /* 0x25006446: cmp dword ptr [ecx], esi */
   4409     _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi);
   4410     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4411     _flag_k = FK_CMP;
   4412     if (CMP_NE(_flag_a, _flag_b)) goto L_2500644E; /* 0x25006448: jne 0x2500644e */
   4413 L_2500644A:
   4414     MEM32(ecx) = eax; /* 0x2500644A: mov dword ptr [ecx], eax */
   4415     goto L_25006451; /* 0x2500644C: jmp 0x25006451 */
   4416 L_2500644E:
   4417     MEM32(ecx + 0x8) = eax; /* 0x2500644E: mov dword ptr [ecx + 8], eax */
   4418 L_25006451:
   4419     ebx = MEM32(edi + 0x4); /* 0x25006451: mov ebx, dword ptr [edi + 4] */
   4420     /* cmp MEM32(ebx), esi */ /* 0x25006454: cmp dword ptr [ebx], esi */
   4421     _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi);
   4422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4423     _flag_k = FK_CMP;
   4424     if (CMP_NE(_flag_a, _flag_b)) goto L_2500647B; /* 0x25006456: jne 0x2500647b */
   4425 L_25006458:
   4426     ecx = MEM32(esi + 0x8); /* 0x25006458: mov ecx, dword ptr [esi + 8] */
   4427     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2500645B: cmp ecx, dword ptr [edi + 8] */
   4428     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4429     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4430     _flag_k = FK_CMP;
   4431     if (CMP_NE(_flag_a, _flag_b)) goto L_25006465; /* 0x2500645E: jne 0x25006465 */
   4432 L_25006460:
   4433     edx = MEM32(esi + 0x4); /* 0x25006460: mov edx, dword ptr [esi + 4] */
   4434     goto L_25006479; /* 0x25006463: jmp 0x25006479 */
   4435 L_25006465:
   4436     ecx = MEM32(eax); /* 0x25006465: mov ecx, dword ptr [eax] */
   4437     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006467: cmp byte ptr [ecx + 0x11], 0 */
   4438     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4439     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4440     _flag_k = FK_NARROW(FK_CMP, 24);
   4441     edx = eax; /* 0x2500646B: mov edx, eax */
   4442     if (CMP_NE(_flag_a, _flag_b)) goto L_25006479; /* 0x2500646D: jne 0x25006479 */
   4443 L_2500646F:
   4444     edx = ecx; /* 0x2500646F: mov edx, ecx */
   4445     ecx = MEM32(edx); /* 0x25006471: mov ecx, dword ptr [edx] */
   4446     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006473: cmp byte ptr [ecx + 0x11], 0 */
   4447     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4448     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4449     _flag_k = FK_NARROW(FK_CMP, 24);
   4450     RECOMP_BACKEDGE();
   4451     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500646F; /* 0x25006477: je 0x2500646f */
   4452 L_25006479:
   4453     MEM32(ebx) = edx; /* 0x25006479: mov dword ptr [ebx], edx */
   4454 L_2500647B:
   4455     ebx = MEM32(edi + 0x4); /* 0x2500647B: mov ebx, dword ptr [edi + 4] */
   4456     /* cmp MEM32(ebx + 0x8), esi */ /* 0x2500647E: cmp dword ptr [ebx + 8], esi */
   4457     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   4458     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4459     _flag_k = FK_CMP;
   4460     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A8; /* 0x25006481: jne 0x250064a8 */
   4461 L_25006483:
   4462     ecx = MEM32(esi); /* 0x25006483: mov ecx, dword ptr [esi] */
   4463     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006485: cmp ecx, dword ptr [edi + 8] */
   4464     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4465     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4466     _flag_k = FK_CMP;
   4467     if (CMP_NE(_flag_a, _flag_b)) goto L_2500648F; /* 0x25006488: jne 0x2500648f */
   4468 L_2500648A:
   4469     edx = MEM32(esi + 0x4); /* 0x2500648A: mov edx, dword ptr [esi + 4] */
   4470     goto L_250064A5; /* 0x2500648D: jmp 0x250064a5 */
   4471 L_2500648F:
   4472     ecx = MEM32(eax + 0x8); /* 0x2500648F: mov ecx, dword ptr [eax + 8] */
   4473     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006492: cmp byte ptr [ecx + 0x11], 0 */
   4474     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4476     _flag_k = FK_NARROW(FK_CMP, 24);
   4477     edx = eax; /* 0x25006496: mov edx, eax */
   4478     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A5; /* 0x25006498: jne 0x250064a5 */
   4479 L_2500649A:
   4480     edx = ecx; /* 0x2500649A: mov edx, ecx */
   4481     ecx = MEM32(edx + 0x8); /* 0x2500649C: mov ecx, dword ptr [edx + 8] */
   4482     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x2500649F: cmp byte ptr [ecx + 0x11], 0 */
   4483     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4485     _flag_k = FK_NARROW(FK_CMP, 24);
   4486     RECOMP_BACKEDGE();
   4487     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500649A; /* 0x250064A3: je 0x2500649a */
   4488 L_250064A5:
   4489     MEM32(ebx + 0x8) = edx; /* 0x250064A5: mov dword ptr [ebx + 8], edx */
   4490 L_250064A8:
   4491     ecx = MEM32(ebp + (-0x4)); /* 0x250064A8: mov ecx, dword ptr [ebp - 4] */
   4492     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064AB: mov dl, byte ptr [ecx + 0x10] */
   4493     SET_LO8(ebx, 1); /* 0x250064AE: mov bl, 1 */
   4494     /* cmp LO8(edx), LO8(ebx) */ /* 0x250064B0: cmp dl, bl */
   4495     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4497     _flag_k = FK_NARROW(FK_CMP, 24);
   4498     if (CMP_NE(_flag_a, _flag_b)) goto L_25006715; /* 0x250064B2: jne 0x25006715 */
   4499 L_250064B8:
   4500     edx = MEM32(edi + 0x4); /* 0x250064B8: mov edx, dword ptr [edi + 4] */
   4501     /* cmp eax, MEM32(edx + 0x4) */ /* 0x250064BB: cmp eax, dword ptr [edx + 4] */
   4502     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   4503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4504     _flag_k = FK_CMP;
   4505     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006712; /* 0x250064BE: je 0x25006712 */
   4506 L_250064C4:
   4507     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   4508     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4510     _flag_k = FK_NARROW(FK_CMP, 24);
   4511     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   4512 L_250064CD:
   4513     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   4514     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   4515     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   4516     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4518     _flag_k = FK_CMP;
   4519     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   4520 L_250064D6:
   4521     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   4522     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   4523     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   4524     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4525     _cf = 0;
   4526     _flag_k = FK_NARROW(FK_TEST, 24);
   4527     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   4528 L_250064E0:
   4529     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   4530     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   4531     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   4532     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   4533     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   4534     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   4535     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   4536     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   4537     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   4538     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4540     _flag_k = FK_CMP;
   4541     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   4542 L_250064FC:
   4543     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   4544 L_250064FF:
   4545     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   4546     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   4547     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   4548     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   4549     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4551     _flag_k = FK_CMP;
   4552     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   4553 L_2500650D:
   4554     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   4555     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   4556 L_25006512:
   4557     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   4558     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   4559     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4561     _flag_k = FK_CMP;
   4562     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   4563 L_25006519:
   4564     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   4565     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   4566 L_2500651D:
   4567     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   4568 L_25006520:
   4569     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   4570     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   4571     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   4572     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   4573 L_2500652B:
   4574     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   4575     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   4576     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4577     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4578     _flag_k = FK_NARROW(FK_CMP, 24);
   4579     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   4580 L_25006536:
   4581     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   4582     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   4583     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4584     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4585     _flag_k = FK_NARROW(FK_CMP, 24);
   4586     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   4587 L_25006542:
   4588     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   4589 L_25006544:
   4590     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   4591     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   4592     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4593     _cf = 0;
   4594     _flag_k = FK_NARROW(FK_TEST, 24);
   4595     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   4596 L_2500654B:
   4597     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   4598     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   4599     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   4600     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   4601     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   4602     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   4603     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   4604     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   4605     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   4606     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4608     _flag_k = FK_CMP;
   4609     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   4610 L_25006567:
   4611     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   4612 L_2500656A:
   4613     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   4614     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   4615     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   4616     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   4617     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4618     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4619     _flag_k = FK_CMP;
   4620     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   4621 L_25006578:
   4622     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   4623     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   4624 L_2500657D:
   4625     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   4626     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   4627     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4628     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4629     _flag_k = FK_CMP;
   4630     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   4631 L_25006585:
   4632     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   4633     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   4634 L_2500658A:
   4635     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   4636 L_2500658C:
   4637     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   4638     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   4639     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   4640     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   4641 L_25006597:
   4642     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   4643     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   4644     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4645     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4646     _flag_k = FK_NARROW(FK_CMP, 24);
   4647     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   4648 L_250065A3:
   4649     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   4650     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   4651     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4653     _flag_k = FK_NARROW(FK_CMP, 24);
   4654     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   4655 L_250065AE:
   4656     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   4657     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   4658     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   4659     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   4660     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4661     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4662     _flag_k = FK_CMP;
   4663     RECOMP_BACKEDGE();
   4664     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   4665 L_250065C1:
   4666     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   4667 L_250065C6:
   4668     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   4669     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   4670     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4671     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4672     _flag_k = FK_NARROW(FK_CMP, 24);
   4673     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   4674 L_250065CE:
   4675     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   4676     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   4677     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   4678     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   4679     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   4680     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   4681     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   4682     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   4683     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4685     _flag_k = FK_CMP;
   4686     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   4687 L_250065E6:
   4688     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   4689 L_250065E9:
   4690     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   4691     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   4692     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   4693     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   4694     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4696     _flag_k = FK_CMP;
   4697     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   4698 L_250065F7:
   4699     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   4700     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   4701 L_250065FC:
   4702     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   4703     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   4704     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4706     _flag_k = FK_CMP;
   4707     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   4708 L_25006604:
   4709     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   4710     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   4711 L_25006609:
   4712     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   4713 L_2500660B:
   4714     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   4715     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   4716     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   4717     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   4718 L_25006617:
   4719     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   4720     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   4721     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   4722     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   4723     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   4724     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   4725     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   4726     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   4727     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   4728     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   4729     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   4730     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   4731     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   4732     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4734     _flag_k = FK_CMP;
   4735     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   4736 L_2500663E:
   4737     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   4738 L_25006641:
   4739     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   4740     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   4741     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   4742     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   4743     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4744     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4745     _flag_k = FK_CMP;
   4746     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   4747 L_2500664F:
   4748     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   4749     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   4750     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   4751 L_25006659:
   4752     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   4753     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   4754     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4756     _flag_k = FK_CMP;
   4757     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   4758 L_25006660:
   4759     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   4760     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   4761     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   4762 L_25006669:
   4763     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   4764     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   4765     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   4766 L_25006673:
   4767     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   4768     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   4769     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4771     _flag_k = FK_NARROW(FK_CMP, 24);
   4772     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   4773 L_2500667A:
   4774     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   4775     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   4776     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   4777     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   4778     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   4779     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   4780     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   4781     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   4782     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4783     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4784     _flag_k = FK_CMP;
   4785     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   4786 L_25006693:
   4787     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   4788 L_25006696:
   4789     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   4790     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   4791     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   4792     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   4793     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4795     _flag_k = FK_CMP;
   4796     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   4797 L_250066A4:
   4798     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   4799     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   4800 L_250066A9:
   4801     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   4802     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   4803     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4805     _flag_k = FK_CMP;
   4806     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   4807 L_250066B0:
   4808     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   4809     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   4810 L_250066B4:
   4811     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   4812 L_250066B7:
   4813     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   4814     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   4815     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   4816     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   4817 L_250066C1:
   4818     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   4819     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   4820     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   4821     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   4822     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   4823     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   4824     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   4825     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   4826     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   4827     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   4828     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   4829     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   4830     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   4831     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4832     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4833     _flag_k = FK_CMP;
   4834     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   4835 L_250066E7:
   4836     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   4837 L_250066EA:
   4838     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   4839     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   4840     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   4841     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   4842     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4843     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4844     _flag_k = FK_CMP;
   4845     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   4846 L_250066F8:
   4847     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   4848     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   4849 L_250066FD:
   4850     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   4851     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   4852     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4854     _flag_k = FK_CMP;
   4855     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   4856 L_25006705:
   4857     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   4858     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   4859 L_2500670A:
   4860     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   4861 L_2500670C:
   4862     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   4863 L_2500670F:
   4864     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   4865 L_25006712:
   4866     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   4867 L_25006715:
   4868     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   4869     PUSH32(esp, edx); /* 0x25006718: push edx */
   4870     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   4871     RECOMP_FLAGS_IN();
   4872     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   4873     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   4874     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4876     esp = esp + 4; /* 0x25006724: add esp, 4 */
   4877     _flag_k = FK_ADD;
   4878     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4879     eax = eax - 1; /* 0x25006727: dec eax */
   4880     _flag_k = FK_DEC;
   4881     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   4882     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   4883     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   4884     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   4885     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   4886     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   4887     esp = ebp; /* 0x25006733: mov esp, ebp */
   4888     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   4889     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   4890     RECOMP_REGS_OUT();
   4891 }
   4892 
   4893 void sub_25006451(void) {
   4894     int _fpu_cmp = 0;
   4895     uint32_t _cf = 0;
   4896     int _df = 1;
   4897     uint32_t _flag_k = FK_NONE;
   4898     uint32_t _flag_a = 0, _flag_b = 0;
   4899     uint32_t _itail_tgt = 0;
   4900     RECOMP_REGS_LOCALS
   4901     RECOMP_ENTER(0x25006451u);
   4902 
   4903 L_25006451:
   4904     ebx = MEM32(edi + 0x4); /* 0x25006451: mov ebx, dword ptr [edi + 4] */
   4905     /* cmp MEM32(ebx), esi */ /* 0x25006454: cmp dword ptr [ebx], esi */
   4906     _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi);
   4907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4908     _flag_k = FK_CMP;
   4909     if (CMP_NE(_flag_a, _flag_b)) goto L_2500647B; /* 0x25006456: jne 0x2500647b */
   4910 L_25006458:
   4911     ecx = MEM32(esi + 0x8); /* 0x25006458: mov ecx, dword ptr [esi + 8] */
   4912     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2500645B: cmp ecx, dword ptr [edi + 8] */
   4913     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4915     _flag_k = FK_CMP;
   4916     if (CMP_NE(_flag_a, _flag_b)) goto L_25006465; /* 0x2500645E: jne 0x25006465 */
   4917 L_25006460:
   4918     edx = MEM32(esi + 0x4); /* 0x25006460: mov edx, dword ptr [esi + 4] */
   4919     goto L_25006479; /* 0x25006463: jmp 0x25006479 */
   4920 L_25006465:
   4921     ecx = MEM32(eax); /* 0x25006465: mov ecx, dword ptr [eax] */
   4922     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006467: cmp byte ptr [ecx + 0x11], 0 */
   4923     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4925     _flag_k = FK_NARROW(FK_CMP, 24);
   4926     edx = eax; /* 0x2500646B: mov edx, eax */
   4927     if (CMP_NE(_flag_a, _flag_b)) goto L_25006479; /* 0x2500646D: jne 0x25006479 */
   4928 L_2500646F:
   4929     edx = ecx; /* 0x2500646F: mov edx, ecx */
   4930     ecx = MEM32(edx); /* 0x25006471: mov ecx, dword ptr [edx] */
   4931     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006473: cmp byte ptr [ecx + 0x11], 0 */
   4932     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4934     _flag_k = FK_NARROW(FK_CMP, 24);
   4935     RECOMP_BACKEDGE();
   4936     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500646F; /* 0x25006477: je 0x2500646f */
   4937 L_25006479:
   4938     MEM32(ebx) = edx; /* 0x25006479: mov dword ptr [ebx], edx */
   4939 L_2500647B:
   4940     ebx = MEM32(edi + 0x4); /* 0x2500647B: mov ebx, dword ptr [edi + 4] */
   4941     /* cmp MEM32(ebx + 0x8), esi */ /* 0x2500647E: cmp dword ptr [ebx + 8], esi */
   4942     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   4943     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4944     _flag_k = FK_CMP;
   4945     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A8; /* 0x25006481: jne 0x250064a8 */
   4946 L_25006483:
   4947     ecx = MEM32(esi); /* 0x25006483: mov ecx, dword ptr [esi] */
   4948     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006485: cmp ecx, dword ptr [edi + 8] */
   4949     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4951     _flag_k = FK_CMP;
   4952     if (CMP_NE(_flag_a, _flag_b)) goto L_2500648F; /* 0x25006488: jne 0x2500648f */
   4953 L_2500648A:
   4954     edx = MEM32(esi + 0x4); /* 0x2500648A: mov edx, dword ptr [esi + 4] */
   4955     goto L_250064A5; /* 0x2500648D: jmp 0x250064a5 */
   4956 L_2500648F:
   4957     ecx = MEM32(eax + 0x8); /* 0x2500648F: mov ecx, dword ptr [eax + 8] */
   4958     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006492: cmp byte ptr [ecx + 0x11], 0 */
   4959     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4961     _flag_k = FK_NARROW(FK_CMP, 24);
   4962     edx = eax; /* 0x25006496: mov edx, eax */
   4963     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A5; /* 0x25006498: jne 0x250064a5 */
   4964 L_2500649A:
   4965     edx = ecx; /* 0x2500649A: mov edx, ecx */
   4966     ecx = MEM32(edx + 0x8); /* 0x2500649C: mov ecx, dword ptr [edx + 8] */
   4967     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x2500649F: cmp byte ptr [ecx + 0x11], 0 */
   4968     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   4969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4970     _flag_k = FK_NARROW(FK_CMP, 24);
   4971     RECOMP_BACKEDGE();
   4972     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500649A; /* 0x250064A3: je 0x2500649a */
   4973 L_250064A5:
   4974     MEM32(ebx + 0x8) = edx; /* 0x250064A5: mov dword ptr [ebx + 8], edx */
   4975 L_250064A8:
   4976     ecx = MEM32(ebp + (-0x4)); /* 0x250064A8: mov ecx, dword ptr [ebp - 4] */
   4977     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064AB: mov dl, byte ptr [ecx + 0x10] */
   4978     SET_LO8(ebx, 1); /* 0x250064AE: mov bl, 1 */
   4979     /* cmp LO8(edx), LO8(ebx) */ /* 0x250064B0: cmp dl, bl */
   4980     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4982     _flag_k = FK_NARROW(FK_CMP, 24);
   4983     if (CMP_NE(_flag_a, _flag_b)) goto L_25006715; /* 0x250064B2: jne 0x25006715 */
   4984 L_250064B8:
   4985     edx = MEM32(edi + 0x4); /* 0x250064B8: mov edx, dword ptr [edi + 4] */
   4986     /* cmp eax, MEM32(edx + 0x4) */ /* 0x250064BB: cmp eax, dword ptr [edx + 4] */
   4987     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   4988     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4989     _flag_k = FK_CMP;
   4990     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006712; /* 0x250064BE: je 0x25006712 */
   4991 L_250064C4:
   4992     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   4993     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4995     _flag_k = FK_NARROW(FK_CMP, 24);
   4996     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   4997 L_250064CD:
   4998     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   4999     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   5000     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   5001     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5002     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5003     _flag_k = FK_CMP;
   5004     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   5005 L_250064D6:
   5006     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   5007     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   5008     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   5009     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5010     _cf = 0;
   5011     _flag_k = FK_NARROW(FK_TEST, 24);
   5012     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   5013 L_250064E0:
   5014     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   5015     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   5016     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   5017     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   5018     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   5019     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   5020     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   5021     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   5022     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   5023     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5024     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5025     _flag_k = FK_CMP;
   5026     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   5027 L_250064FC:
   5028     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   5029 L_250064FF:
   5030     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   5031     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   5032     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   5033     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   5034     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5035     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5036     _flag_k = FK_CMP;
   5037     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   5038 L_2500650D:
   5039     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   5040     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   5041 L_25006512:
   5042     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   5043     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   5044     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5045     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5046     _flag_k = FK_CMP;
   5047     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   5048 L_25006519:
   5049     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   5050     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   5051 L_2500651D:
   5052     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   5053 L_25006520:
   5054     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   5055     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   5056     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   5057     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   5058 L_2500652B:
   5059     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   5060     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   5061     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5063     _flag_k = FK_NARROW(FK_CMP, 24);
   5064     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   5065 L_25006536:
   5066     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   5067     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   5068     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5070     _flag_k = FK_NARROW(FK_CMP, 24);
   5071     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   5072 L_25006542:
   5073     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   5074 L_25006544:
   5075     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   5076     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   5077     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5078     _cf = 0;
   5079     _flag_k = FK_NARROW(FK_TEST, 24);
   5080     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   5081 L_2500654B:
   5082     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   5083     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   5084     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   5085     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   5086     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   5087     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   5088     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   5089     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   5090     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   5091     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5092     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5093     _flag_k = FK_CMP;
   5094     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   5095 L_25006567:
   5096     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   5097 L_2500656A:
   5098     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   5099     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   5100     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   5101     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   5102     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5104     _flag_k = FK_CMP;
   5105     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   5106 L_25006578:
   5107     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   5108     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   5109 L_2500657D:
   5110     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   5111     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   5112     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5114     _flag_k = FK_CMP;
   5115     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   5116 L_25006585:
   5117     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   5118     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   5119 L_2500658A:
   5120     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   5121 L_2500658C:
   5122     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   5123     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   5124     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   5125     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   5126 L_25006597:
   5127     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   5128     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   5129     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5130     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5131     _flag_k = FK_NARROW(FK_CMP, 24);
   5132     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   5133 L_250065A3:
   5134     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   5135     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   5136     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5138     _flag_k = FK_NARROW(FK_CMP, 24);
   5139     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   5140 L_250065AE:
   5141     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   5142     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   5143     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   5144     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   5145     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5147     _flag_k = FK_CMP;
   5148     RECOMP_BACKEDGE();
   5149     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   5150 L_250065C1:
   5151     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   5152 L_250065C6:
   5153     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   5154     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   5155     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5157     _flag_k = FK_NARROW(FK_CMP, 24);
   5158     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   5159 L_250065CE:
   5160     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   5161     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   5162     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   5163     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   5164     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   5165     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   5166     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   5167     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   5168     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5170     _flag_k = FK_CMP;
   5171     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   5172 L_250065E6:
   5173     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   5174 L_250065E9:
   5175     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   5176     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   5177     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   5178     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   5179     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5181     _flag_k = FK_CMP;
   5182     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   5183 L_250065F7:
   5184     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   5185     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   5186 L_250065FC:
   5187     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   5188     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   5189     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5190     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5191     _flag_k = FK_CMP;
   5192     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   5193 L_25006604:
   5194     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   5195     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   5196 L_25006609:
   5197     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   5198 L_2500660B:
   5199     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   5200     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   5201     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   5202     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   5203 L_25006617:
   5204     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   5205     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   5206     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   5207     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   5208     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   5209     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   5210     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   5211     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   5212     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   5213     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   5214     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   5215     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   5216     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   5217     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5219     _flag_k = FK_CMP;
   5220     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   5221 L_2500663E:
   5222     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   5223 L_25006641:
   5224     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   5225     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   5226     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   5227     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   5228     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5230     _flag_k = FK_CMP;
   5231     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   5232 L_2500664F:
   5233     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   5234     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   5235     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   5236 L_25006659:
   5237     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   5238     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   5239     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5241     _flag_k = FK_CMP;
   5242     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   5243 L_25006660:
   5244     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   5245     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   5246     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   5247 L_25006669:
   5248     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   5249     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   5250     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   5251 L_25006673:
   5252     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   5253     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   5254     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5256     _flag_k = FK_NARROW(FK_CMP, 24);
   5257     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   5258 L_2500667A:
   5259     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   5260     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   5261     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   5262     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   5263     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   5264     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   5265     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   5266     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   5267     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5269     _flag_k = FK_CMP;
   5270     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   5271 L_25006693:
   5272     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   5273 L_25006696:
   5274     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   5275     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   5276     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   5277     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   5278     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5280     _flag_k = FK_CMP;
   5281     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   5282 L_250066A4:
   5283     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   5284     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   5285 L_250066A9:
   5286     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   5287     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   5288     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5290     _flag_k = FK_CMP;
   5291     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   5292 L_250066B0:
   5293     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   5294     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   5295 L_250066B4:
   5296     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   5297 L_250066B7:
   5298     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   5299     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   5300     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   5301     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   5302 L_250066C1:
   5303     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   5304     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   5305     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   5306     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   5307     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   5308     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   5309     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   5310     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   5311     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   5312     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   5313     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   5314     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   5315     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   5316     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5318     _flag_k = FK_CMP;
   5319     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   5320 L_250066E7:
   5321     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   5322 L_250066EA:
   5323     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   5324     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   5325     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   5326     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   5327     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5329     _flag_k = FK_CMP;
   5330     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   5331 L_250066F8:
   5332     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   5333     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   5334 L_250066FD:
   5335     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   5336     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   5337     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5339     _flag_k = FK_CMP;
   5340     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   5341 L_25006705:
   5342     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   5343     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   5344 L_2500670A:
   5345     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   5346 L_2500670C:
   5347     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   5348 L_2500670F:
   5349     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   5350 L_25006712:
   5351     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   5352 L_25006715:
   5353     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   5354     PUSH32(esp, edx); /* 0x25006718: push edx */
   5355     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   5356     RECOMP_FLAGS_IN();
   5357     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   5358     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   5359     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5360     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5361     esp = esp + 4; /* 0x25006724: add esp, 4 */
   5362     _flag_k = FK_ADD;
   5363     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5364     eax = eax - 1; /* 0x25006727: dec eax */
   5365     _flag_k = FK_DEC;
   5366     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   5367     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   5368     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   5369     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   5370     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   5371     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   5372     esp = ebp; /* 0x25006733: mov esp, ebp */
   5373     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   5374     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   5375     RECOMP_REGS_OUT();
   5376 }
   5377 
   5378 void sub_25006479(void) {
   5379     int _fpu_cmp = 0;
   5380     uint32_t _cf = 0;
   5381     int _df = 1;
   5382     uint32_t _flag_k = FK_NONE;
   5383     uint32_t _flag_a = 0, _flag_b = 0;
   5384     uint32_t _itail_tgt = 0;
   5385     RECOMP_REGS_LOCALS
   5386     RECOMP_ENTER(0x25006479u);
   5387 
   5388 L_25006479:
   5389     MEM32(ebx) = edx; /* 0x25006479: mov dword ptr [ebx], edx */
   5390     ebx = MEM32(edi + 0x4); /* 0x2500647B: mov ebx, dword ptr [edi + 4] */
   5391     /* cmp MEM32(ebx + 0x8), esi */ /* 0x2500647E: cmp dword ptr [ebx + 8], esi */
   5392     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   5393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5394     _flag_k = FK_CMP;
   5395     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A8; /* 0x25006481: jne 0x250064a8 */
   5396 L_25006483:
   5397     ecx = MEM32(esi); /* 0x25006483: mov ecx, dword ptr [esi] */
   5398     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006485: cmp ecx, dword ptr [edi + 8] */
   5399     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5400     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5401     _flag_k = FK_CMP;
   5402     if (CMP_NE(_flag_a, _flag_b)) goto L_2500648F; /* 0x25006488: jne 0x2500648f */
   5403 L_2500648A:
   5404     edx = MEM32(esi + 0x4); /* 0x2500648A: mov edx, dword ptr [esi + 4] */
   5405     goto L_250064A5; /* 0x2500648D: jmp 0x250064a5 */
   5406 L_2500648F:
   5407     ecx = MEM32(eax + 0x8); /* 0x2500648F: mov ecx, dword ptr [eax + 8] */
   5408     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x25006492: cmp byte ptr [ecx + 0x11], 0 */
   5409     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   5410     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5411     _flag_k = FK_NARROW(FK_CMP, 24);
   5412     edx = eax; /* 0x25006496: mov edx, eax */
   5413     if (CMP_NE(_flag_a, _flag_b)) goto L_250064A5; /* 0x25006498: jne 0x250064a5 */
   5414 L_2500649A:
   5415     edx = ecx; /* 0x2500649A: mov edx, ecx */
   5416     ecx = MEM32(edx + 0x8); /* 0x2500649C: mov ecx, dword ptr [edx + 8] */
   5417     /* cmp MEM8(ecx + 0x11), 0 */ /* 0x2500649F: cmp byte ptr [ecx + 0x11], 0 */
   5418     _flag_a = (uint32_t)(MEM8(ecx + 0x11)) << 24; _flag_b = (uint32_t)(0) << 24;
   5419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5420     _flag_k = FK_NARROW(FK_CMP, 24);
   5421     RECOMP_BACKEDGE();
   5422     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500649A; /* 0x250064A3: je 0x2500649a */
   5423 L_250064A5:
   5424     MEM32(ebx + 0x8) = edx; /* 0x250064A5: mov dword ptr [ebx + 8], edx */
   5425 L_250064A8:
   5426     ecx = MEM32(ebp + (-0x4)); /* 0x250064A8: mov ecx, dword ptr [ebp - 4] */
   5427     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064AB: mov dl, byte ptr [ecx + 0x10] */
   5428     SET_LO8(ebx, 1); /* 0x250064AE: mov bl, 1 */
   5429     /* cmp LO8(edx), LO8(ebx) */ /* 0x250064B0: cmp dl, bl */
   5430     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5432     _flag_k = FK_NARROW(FK_CMP, 24);
   5433     if (CMP_NE(_flag_a, _flag_b)) goto L_25006715; /* 0x250064B2: jne 0x25006715 */
   5434 L_250064B8:
   5435     edx = MEM32(edi + 0x4); /* 0x250064B8: mov edx, dword ptr [edi + 4] */
   5436     /* cmp eax, MEM32(edx + 0x4) */ /* 0x250064BB: cmp eax, dword ptr [edx + 4] */
   5437     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5439     _flag_k = FK_CMP;
   5440     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006712; /* 0x250064BE: je 0x25006712 */
   5441 L_250064C4:
   5442     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   5443     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5445     _flag_k = FK_NARROW(FK_CMP, 24);
   5446     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   5447 L_250064CD:
   5448     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   5449     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   5450     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   5451     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5453     _flag_k = FK_CMP;
   5454     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   5455 L_250064D6:
   5456     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   5457     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   5458     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   5459     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5460     _cf = 0;
   5461     _flag_k = FK_NARROW(FK_TEST, 24);
   5462     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   5463 L_250064E0:
   5464     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   5465     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   5466     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   5467     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   5468     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   5469     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   5470     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   5471     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   5472     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   5473     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5475     _flag_k = FK_CMP;
   5476     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   5477 L_250064FC:
   5478     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   5479 L_250064FF:
   5480     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   5481     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   5482     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   5483     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   5484     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5486     _flag_k = FK_CMP;
   5487     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   5488 L_2500650D:
   5489     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   5490     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   5491 L_25006512:
   5492     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   5493     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   5494     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5496     _flag_k = FK_CMP;
   5497     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   5498 L_25006519:
   5499     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   5500     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   5501 L_2500651D:
   5502     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   5503 L_25006520:
   5504     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   5505     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   5506     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   5507     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   5508 L_2500652B:
   5509     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   5510     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   5511     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5513     _flag_k = FK_NARROW(FK_CMP, 24);
   5514     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   5515 L_25006536:
   5516     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   5517     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   5518     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5519     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5520     _flag_k = FK_NARROW(FK_CMP, 24);
   5521     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   5522 L_25006542:
   5523     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   5524 L_25006544:
   5525     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   5526     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   5527     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5528     _cf = 0;
   5529     _flag_k = FK_NARROW(FK_TEST, 24);
   5530     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   5531 L_2500654B:
   5532     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   5533     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   5534     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   5535     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   5536     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   5537     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   5538     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   5539     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   5540     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   5541     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5543     _flag_k = FK_CMP;
   5544     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   5545 L_25006567:
   5546     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   5547 L_2500656A:
   5548     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   5549     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   5550     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   5551     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   5552     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5553     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5554     _flag_k = FK_CMP;
   5555     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   5556 L_25006578:
   5557     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   5558     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   5559 L_2500657D:
   5560     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   5561     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   5562     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5564     _flag_k = FK_CMP;
   5565     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   5566 L_25006585:
   5567     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   5568     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   5569 L_2500658A:
   5570     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   5571 L_2500658C:
   5572     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   5573     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   5574     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   5575     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   5576 L_25006597:
   5577     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   5578     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   5579     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5580     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5581     _flag_k = FK_NARROW(FK_CMP, 24);
   5582     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   5583 L_250065A3:
   5584     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   5585     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   5586     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5588     _flag_k = FK_NARROW(FK_CMP, 24);
   5589     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   5590 L_250065AE:
   5591     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   5592     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   5593     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   5594     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   5595     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5597     _flag_k = FK_CMP;
   5598     RECOMP_BACKEDGE();
   5599     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   5600 L_250065C1:
   5601     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   5602 L_250065C6:
   5603     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   5604     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   5605     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5607     _flag_k = FK_NARROW(FK_CMP, 24);
   5608     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   5609 L_250065CE:
   5610     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   5611     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   5612     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   5613     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   5614     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   5615     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   5616     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   5617     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   5618     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5620     _flag_k = FK_CMP;
   5621     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   5622 L_250065E6:
   5623     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   5624 L_250065E9:
   5625     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   5626     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   5627     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   5628     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   5629     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5630     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5631     _flag_k = FK_CMP;
   5632     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   5633 L_250065F7:
   5634     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   5635     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   5636 L_250065FC:
   5637     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   5638     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   5639     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5641     _flag_k = FK_CMP;
   5642     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   5643 L_25006604:
   5644     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   5645     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   5646 L_25006609:
   5647     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   5648 L_2500660B:
   5649     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   5650     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   5651     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   5652     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   5653 L_25006617:
   5654     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   5655     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   5656     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   5657     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   5658     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   5659     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   5660     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   5661     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   5662     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   5663     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   5664     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   5665     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   5666     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   5667     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5669     _flag_k = FK_CMP;
   5670     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   5671 L_2500663E:
   5672     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   5673 L_25006641:
   5674     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   5675     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   5676     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   5677     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   5678     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5680     _flag_k = FK_CMP;
   5681     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   5682 L_2500664F:
   5683     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   5684     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   5685     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   5686 L_25006659:
   5687     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   5688     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   5689     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5690     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5691     _flag_k = FK_CMP;
   5692     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   5693 L_25006660:
   5694     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   5695     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   5696     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   5697 L_25006669:
   5698     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   5699     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   5700     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   5701 L_25006673:
   5702     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   5703     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   5704     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5706     _flag_k = FK_NARROW(FK_CMP, 24);
   5707     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   5708 L_2500667A:
   5709     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   5710     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   5711     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   5712     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   5713     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   5714     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   5715     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   5716     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   5717     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5718     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5719     _flag_k = FK_CMP;
   5720     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   5721 L_25006693:
   5722     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   5723 L_25006696:
   5724     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   5725     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   5726     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   5727     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   5728     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5729     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5730     _flag_k = FK_CMP;
   5731     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   5732 L_250066A4:
   5733     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   5734     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   5735 L_250066A9:
   5736     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   5737     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   5738     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5740     _flag_k = FK_CMP;
   5741     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   5742 L_250066B0:
   5743     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   5744     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   5745 L_250066B4:
   5746     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   5747 L_250066B7:
   5748     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   5749     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   5750     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   5751     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   5752 L_250066C1:
   5753     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   5754     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   5755     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   5756     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   5757     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   5758     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   5759     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   5760     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   5761     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   5762     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   5763     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   5764     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   5765     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   5766     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5767     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5768     _flag_k = FK_CMP;
   5769     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   5770 L_250066E7:
   5771     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   5772 L_250066EA:
   5773     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   5774     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   5775     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   5776     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   5777     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5779     _flag_k = FK_CMP;
   5780     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   5781 L_250066F8:
   5782     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   5783     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   5784 L_250066FD:
   5785     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   5786     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   5787     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5789     _flag_k = FK_CMP;
   5790     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   5791 L_25006705:
   5792     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   5793     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   5794 L_2500670A:
   5795     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   5796 L_2500670C:
   5797     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   5798 L_2500670F:
   5799     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   5800 L_25006712:
   5801     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   5802 L_25006715:
   5803     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   5804     PUSH32(esp, edx); /* 0x25006718: push edx */
   5805     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   5806     RECOMP_FLAGS_IN();
   5807     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   5808     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   5809     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5810     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5811     esp = esp + 4; /* 0x25006724: add esp, 4 */
   5812     _flag_k = FK_ADD;
   5813     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5814     eax = eax - 1; /* 0x25006727: dec eax */
   5815     _flag_k = FK_DEC;
   5816     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   5817     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   5818     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   5819     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   5820     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   5821     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   5822     esp = ebp; /* 0x25006733: mov esp, ebp */
   5823     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   5824     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   5825     RECOMP_REGS_OUT();
   5826 }
   5827 
   5828 void sub_250064A5(void) {
   5829     int _fpu_cmp = 0;
   5830     uint32_t _cf = 0;
   5831     int _df = 1;
   5832     uint32_t _flag_k = FK_NONE;
   5833     uint32_t _flag_a = 0, _flag_b = 0;
   5834     uint32_t _itail_tgt = 0;
   5835     RECOMP_REGS_LOCALS
   5836     RECOMP_ENTER(0x250064A5u);
   5837 
   5838 L_250064A5:
   5839     MEM32(ebx + 0x8) = edx; /* 0x250064A5: mov dword ptr [ebx + 8], edx */
   5840     ecx = MEM32(ebp + (-0x4)); /* 0x250064A8: mov ecx, dword ptr [ebp - 4] */
   5841     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064AB: mov dl, byte ptr [ecx + 0x10] */
   5842     SET_LO8(ebx, 1); /* 0x250064AE: mov bl, 1 */
   5843     /* cmp LO8(edx), LO8(ebx) */ /* 0x250064B0: cmp dl, bl */
   5844     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5845     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5846     _flag_k = FK_NARROW(FK_CMP, 24);
   5847     if (CMP_NE(_flag_a, _flag_b)) goto L_25006715; /* 0x250064B2: jne 0x25006715 */
   5848 L_250064B8:
   5849     edx = MEM32(edi + 0x4); /* 0x250064B8: mov edx, dword ptr [edi + 4] */
   5850     /* cmp eax, MEM32(edx + 0x4) */ /* 0x250064BB: cmp eax, dword ptr [edx + 4] */
   5851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5853     _flag_k = FK_CMP;
   5854     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006712; /* 0x250064BE: je 0x25006712 */
   5855 L_250064C4:
   5856     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   5857     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5859     _flag_k = FK_NARROW(FK_CMP, 24);
   5860     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   5861 L_250064CD:
   5862     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   5863     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   5864     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   5865     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5866     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5867     _flag_k = FK_CMP;
   5868     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   5869 L_250064D6:
   5870     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   5871     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   5872     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   5873     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5874     _cf = 0;
   5875     _flag_k = FK_NARROW(FK_TEST, 24);
   5876     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   5877 L_250064E0:
   5878     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   5879     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   5880     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   5881     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   5882     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   5883     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   5884     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   5885     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   5886     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   5887     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5888     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5889     _flag_k = FK_CMP;
   5890     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   5891 L_250064FC:
   5892     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   5893 L_250064FF:
   5894     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   5895     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   5896     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   5897     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   5898     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5900     _flag_k = FK_CMP;
   5901     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   5902 L_2500650D:
   5903     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   5904     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   5905 L_25006512:
   5906     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   5907     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   5908     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5909     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5910     _flag_k = FK_CMP;
   5911     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   5912 L_25006519:
   5913     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   5914     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   5915 L_2500651D:
   5916     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   5917 L_25006520:
   5918     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   5919     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   5920     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   5921     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   5922 L_2500652B:
   5923     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   5924     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   5925     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5927     _flag_k = FK_NARROW(FK_CMP, 24);
   5928     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   5929 L_25006536:
   5930     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   5931     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   5932     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5934     _flag_k = FK_NARROW(FK_CMP, 24);
   5935     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   5936 L_25006542:
   5937     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   5938 L_25006544:
   5939     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   5940     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   5941     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5942     _cf = 0;
   5943     _flag_k = FK_NARROW(FK_TEST, 24);
   5944     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   5945 L_2500654B:
   5946     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   5947     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   5948     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   5949     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   5950     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   5951     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   5952     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   5953     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   5954     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   5955     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5957     _flag_k = FK_CMP;
   5958     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   5959 L_25006567:
   5960     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   5961 L_2500656A:
   5962     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   5963     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   5964     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   5965     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   5966     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5968     _flag_k = FK_CMP;
   5969     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   5970 L_25006578:
   5971     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   5972     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   5973 L_2500657D:
   5974     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   5975     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   5976     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5977     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5978     _flag_k = FK_CMP;
   5979     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   5980 L_25006585:
   5981     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   5982     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   5983 L_2500658A:
   5984     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   5985 L_2500658C:
   5986     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   5987     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   5988     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   5989     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   5990 L_25006597:
   5991     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   5992     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   5993     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5995     _flag_k = FK_NARROW(FK_CMP, 24);
   5996     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   5997 L_250065A3:
   5998     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   5999     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   6000     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6002     _flag_k = FK_NARROW(FK_CMP, 24);
   6003     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   6004 L_250065AE:
   6005     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   6006     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   6007     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   6008     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   6009     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6011     _flag_k = FK_CMP;
   6012     RECOMP_BACKEDGE();
   6013     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   6014 L_250065C1:
   6015     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   6016 L_250065C6:
   6017     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   6018     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   6019     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6021     _flag_k = FK_NARROW(FK_CMP, 24);
   6022     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   6023 L_250065CE:
   6024     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   6025     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   6026     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   6027     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   6028     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   6029     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   6030     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   6031     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   6032     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6033     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6034     _flag_k = FK_CMP;
   6035     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   6036 L_250065E6:
   6037     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   6038 L_250065E9:
   6039     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   6040     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   6041     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   6042     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   6043     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6045     _flag_k = FK_CMP;
   6046     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   6047 L_250065F7:
   6048     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   6049     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   6050 L_250065FC:
   6051     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   6052     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   6053     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6054     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6055     _flag_k = FK_CMP;
   6056     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   6057 L_25006604:
   6058     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   6059     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   6060 L_25006609:
   6061     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   6062 L_2500660B:
   6063     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   6064     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   6065     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   6066     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   6067 L_25006617:
   6068     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   6069     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   6070     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   6071     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   6072     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   6073     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   6074     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   6075     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   6076     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   6077     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   6078     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   6079     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   6080     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   6081     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6083     _flag_k = FK_CMP;
   6084     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   6085 L_2500663E:
   6086     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   6087 L_25006641:
   6088     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   6089     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   6090     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   6091     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   6092     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6094     _flag_k = FK_CMP;
   6095     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   6096 L_2500664F:
   6097     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   6098     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   6099     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   6100 L_25006659:
   6101     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   6102     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   6103     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6105     _flag_k = FK_CMP;
   6106     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   6107 L_25006660:
   6108     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   6109     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   6110     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   6111 L_25006669:
   6112     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   6113     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   6114     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   6115 L_25006673:
   6116     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   6117     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   6118     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6120     _flag_k = FK_NARROW(FK_CMP, 24);
   6121     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   6122 L_2500667A:
   6123     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   6124     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   6125     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   6126     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   6127     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   6128     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   6129     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   6130     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   6131     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6132     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6133     _flag_k = FK_CMP;
   6134     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   6135 L_25006693:
   6136     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   6137 L_25006696:
   6138     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   6139     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   6140     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   6141     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   6142     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6144     _flag_k = FK_CMP;
   6145     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   6146 L_250066A4:
   6147     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   6148     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   6149 L_250066A9:
   6150     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   6151     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   6152     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6154     _flag_k = FK_CMP;
   6155     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   6156 L_250066B0:
   6157     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   6158     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   6159 L_250066B4:
   6160     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   6161 L_250066B7:
   6162     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   6163     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   6164     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   6165     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   6166 L_250066C1:
   6167     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   6168     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   6169     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   6170     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   6171     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   6172     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   6173     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   6174     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   6175     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   6176     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   6177     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   6178     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   6179     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   6180     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6182     _flag_k = FK_CMP;
   6183     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   6184 L_250066E7:
   6185     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   6186 L_250066EA:
   6187     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   6188     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   6189     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   6190     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   6191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6193     _flag_k = FK_CMP;
   6194     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   6195 L_250066F8:
   6196     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   6197     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   6198 L_250066FD:
   6199     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   6200     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   6201     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6202     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6203     _flag_k = FK_CMP;
   6204     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   6205 L_25006705:
   6206     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   6207     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   6208 L_2500670A:
   6209     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   6210 L_2500670C:
   6211     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   6212 L_2500670F:
   6213     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   6214 L_25006712:
   6215     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   6216 L_25006715:
   6217     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   6218     PUSH32(esp, edx); /* 0x25006718: push edx */
   6219     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   6220     RECOMP_FLAGS_IN();
   6221     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   6222     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   6223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6225     esp = esp + 4; /* 0x25006724: add esp, 4 */
   6226     _flag_k = FK_ADD;
   6227     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6228     eax = eax - 1; /* 0x25006727: dec eax */
   6229     _flag_k = FK_DEC;
   6230     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   6231     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   6232     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   6233     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   6234     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   6235     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   6236     esp = ebp; /* 0x25006733: mov esp, ebp */
   6237     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   6238     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   6239     RECOMP_REGS_OUT();
   6240 }
   6241 
   6242 void sub_250064C4(void) {
   6243     int _fpu_cmp = 0;
   6244     uint32_t _cf = 0;
   6245     int _df = 1;
   6246     uint32_t _flag_k = FK_NONE;
   6247     uint32_t _flag_a = 0, _flag_b = 0;
   6248     uint32_t _itail_tgt = 0;
   6249     RECOMP_REGS_LOCALS
   6250     RECOMP_ENTER(0x250064C4u);
   6251 
   6252 L_250064C4:
   6253     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   6254     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6256     _flag_k = FK_NARROW(FK_CMP, 24);
   6257     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   6258 L_250064CD:
   6259     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   6260     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   6261     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   6262     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6264     _flag_k = FK_CMP;
   6265     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   6266 L_250064D6:
   6267     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   6268     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   6269     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   6270     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6271     _cf = 0;
   6272     _flag_k = FK_NARROW(FK_TEST, 24);
   6273     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   6274 L_250064E0:
   6275     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   6276     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   6277     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   6278     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   6279     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   6280     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   6281     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   6282     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   6283     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   6284     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6285     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6286     _flag_k = FK_CMP;
   6287     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   6288 L_250064FC:
   6289     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   6290 L_250064FF:
   6291     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   6292     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   6293     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   6294     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   6295     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6297     _flag_k = FK_CMP;
   6298     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   6299 L_2500650D:
   6300     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   6301     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   6302 L_25006512:
   6303     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   6304     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   6305     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6306     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6307     _flag_k = FK_CMP;
   6308     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   6309 L_25006519:
   6310     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   6311     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   6312 L_2500651D:
   6313     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   6314 L_25006520:
   6315     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   6316     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   6317     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   6318     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   6319 L_2500652B:
   6320     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   6321     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   6322     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6324     _flag_k = FK_NARROW(FK_CMP, 24);
   6325     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   6326 L_25006536:
   6327     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   6328     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   6329     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6331     _flag_k = FK_NARROW(FK_CMP, 24);
   6332     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   6333 L_25006542:
   6334     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   6335 L_25006544:
   6336     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   6337     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   6338     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6339     _cf = 0;
   6340     _flag_k = FK_NARROW(FK_TEST, 24);
   6341     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   6342 L_2500654B:
   6343     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   6344     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   6345     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   6346     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   6347     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   6348     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   6349     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   6350     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   6351     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   6352     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6354     _flag_k = FK_CMP;
   6355     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   6356 L_25006567:
   6357     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   6358 L_2500656A:
   6359     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   6360     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   6361     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   6362     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   6363     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6364     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6365     _flag_k = FK_CMP;
   6366     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   6367 L_25006578:
   6368     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   6369     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   6370 L_2500657D:
   6371     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   6372     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   6373     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6375     _flag_k = FK_CMP;
   6376     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   6377 L_25006585:
   6378     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   6379     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   6380 L_2500658A:
   6381     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   6382 L_2500658C:
   6383     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   6384     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   6385     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   6386     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   6387 L_25006597:
   6388     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   6389     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   6390     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6392     _flag_k = FK_NARROW(FK_CMP, 24);
   6393     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   6394 L_250065A3:
   6395     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   6396     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   6397     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6399     _flag_k = FK_NARROW(FK_CMP, 24);
   6400     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   6401 L_250065AE:
   6402     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   6403     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   6404     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   6405     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   6406     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6408     _flag_k = FK_CMP;
   6409     RECOMP_BACKEDGE();
   6410     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   6411 L_250065C1:
   6412     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   6413 L_250065C6:
   6414     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   6415     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   6416     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6418     _flag_k = FK_NARROW(FK_CMP, 24);
   6419     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   6420 L_250065CE:
   6421     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   6422     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   6423     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   6424     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   6425     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   6426     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   6427     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   6428     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   6429     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6431     _flag_k = FK_CMP;
   6432     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   6433 L_250065E6:
   6434     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   6435 L_250065E9:
   6436     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   6437     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   6438     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   6439     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   6440     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6442     _flag_k = FK_CMP;
   6443     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   6444 L_250065F7:
   6445     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   6446     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   6447 L_250065FC:
   6448     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   6449     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   6450     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6451     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6452     _flag_k = FK_CMP;
   6453     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   6454 L_25006604:
   6455     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   6456     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   6457 L_25006609:
   6458     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   6459 L_2500660B:
   6460     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   6461     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   6462     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   6463     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   6464 L_25006617:
   6465     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   6466     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   6467     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   6468     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   6469     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   6470     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   6471     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   6472     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   6473     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   6474     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   6475     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   6476     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   6477     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   6478     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6479     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6480     _flag_k = FK_CMP;
   6481     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   6482 L_2500663E:
   6483     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   6484 L_25006641:
   6485     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   6486     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   6487     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   6488     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   6489     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6491     _flag_k = FK_CMP;
   6492     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   6493 L_2500664F:
   6494     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   6495     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   6496     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   6497 L_25006659:
   6498     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   6499     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   6500     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   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_25006669; /* 0x2500665E: jne 0x25006669 */
   6504 L_25006660:
   6505     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   6506     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   6507     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   6508 L_25006669:
   6509     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   6510     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   6511     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   6512 L_25006673:
   6513     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   6514     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   6515     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6517     _flag_k = FK_NARROW(FK_CMP, 24);
   6518     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   6519 L_2500667A:
   6520     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   6521     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   6522     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   6523     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   6524     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   6525     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   6526     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   6527     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   6528     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6530     _flag_k = FK_CMP;
   6531     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   6532 L_25006693:
   6533     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   6534 L_25006696:
   6535     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   6536     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   6537     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   6538     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   6539     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6540     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6541     _flag_k = FK_CMP;
   6542     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   6543 L_250066A4:
   6544     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   6545     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   6546 L_250066A9:
   6547     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   6548     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   6549     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6551     _flag_k = FK_CMP;
   6552     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   6553 L_250066B0:
   6554     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   6555     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   6556 L_250066B4:
   6557     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   6558 L_250066B7:
   6559     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   6560     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   6561     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   6562     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   6563 L_250066C1:
   6564     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   6565     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   6566     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   6567     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   6568     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   6569     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   6570     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   6571     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   6572     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   6573     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   6574     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   6575     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   6576     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   6577     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6578     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6579     _flag_k = FK_CMP;
   6580     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   6581 L_250066E7:
   6582     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   6583 L_250066EA:
   6584     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   6585     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   6586     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   6587     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   6588     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6590     _flag_k = FK_CMP;
   6591     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   6592 L_250066F8:
   6593     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   6594     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   6595 L_250066FD:
   6596     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   6597     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   6598     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6599     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6600     _flag_k = FK_CMP;
   6601     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   6602 L_25006705:
   6603     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   6604     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   6605 L_2500670A:
   6606     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   6607 L_2500670C:
   6608     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   6609 L_2500670F:
   6610     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   6611 L_25006712:
   6612     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   6613     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   6614     PUSH32(esp, edx); /* 0x25006718: push edx */
   6615     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   6616     RECOMP_FLAGS_IN();
   6617     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   6618     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   6619     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6620     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6621     esp = esp + 4; /* 0x25006724: add esp, 4 */
   6622     _flag_k = FK_ADD;
   6623     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6624     eax = eax - 1; /* 0x25006727: dec eax */
   6625     _flag_k = FK_DEC;
   6626     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   6627     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   6628     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   6629     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   6630     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   6631     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   6632     esp = ebp; /* 0x25006733: mov esp, ebp */
   6633     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   6634     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   6635     RECOMP_REGS_OUT();
   6636 }
   6637 
   6638 void sub_25006520(void) {
   6639     int _fpu_cmp = 0;
   6640     uint32_t _cf = 0;
   6641     int _df = 1;
   6642     uint32_t _flag_k = FK_NONE;
   6643     uint32_t _flag_a = 0, _flag_b = 0;
   6644     uint32_t _itail_tgt = 0;
   6645     RECOMP_REGS_LOCALS
   6646     RECOMP_ENTER(0x25006520u);
   6647 
   6648     goto L_25006520;
   6649 L_250064C4:
   6650     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   6651     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6653     _flag_k = FK_NARROW(FK_CMP, 24);
   6654     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   6655 L_250064CD:
   6656     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   6657     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   6658     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   6659     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6661     _flag_k = FK_CMP;
   6662     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   6663 L_250064D6:
   6664     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   6665     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   6666     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   6667     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6668     _cf = 0;
   6669     _flag_k = FK_NARROW(FK_TEST, 24);
   6670     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   6671 L_250064E0:
   6672     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   6673     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   6674     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   6675     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   6676     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   6677     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   6678     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   6679     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   6680     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   6681     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6682     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6683     _flag_k = FK_CMP;
   6684     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   6685 L_250064FC:
   6686     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   6687 L_250064FF:
   6688     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   6689     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   6690     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   6691     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   6692     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6694     _flag_k = FK_CMP;
   6695     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   6696 L_2500650D:
   6697     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   6698     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   6699 L_25006512:
   6700     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   6701     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   6702     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6703     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6704     _flag_k = FK_CMP;
   6705     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   6706 L_25006519:
   6707     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   6708     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   6709 L_2500651D:
   6710     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   6711 L_25006520:
   6712     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   6713     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   6714     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   6715     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   6716 L_2500652B:
   6717     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   6718     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   6719     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6721     _flag_k = FK_NARROW(FK_CMP, 24);
   6722     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   6723 L_25006536:
   6724     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   6725     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   6726     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6727     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6728     _flag_k = FK_NARROW(FK_CMP, 24);
   6729     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   6730 L_25006542:
   6731     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   6732 L_25006544:
   6733     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   6734     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   6735     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6736     _cf = 0;
   6737     _flag_k = FK_NARROW(FK_TEST, 24);
   6738     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   6739 L_2500654B:
   6740     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   6741     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   6742     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   6743     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   6744     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   6745     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   6746     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   6747     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   6748     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   6749     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6750     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6751     _flag_k = FK_CMP;
   6752     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   6753 L_25006567:
   6754     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   6755 L_2500656A:
   6756     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   6757     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   6758     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   6759     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   6760     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6761     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6762     _flag_k = FK_CMP;
   6763     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   6764 L_25006578:
   6765     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   6766     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   6767 L_2500657D:
   6768     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   6769     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   6770     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6771     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6772     _flag_k = FK_CMP;
   6773     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   6774 L_25006585:
   6775     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   6776     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   6777 L_2500658A:
   6778     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   6779 L_2500658C:
   6780     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   6781     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   6782     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   6783     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   6784 L_25006597:
   6785     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   6786     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   6787     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6789     _flag_k = FK_NARROW(FK_CMP, 24);
   6790     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   6791 L_250065A3:
   6792     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   6793     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   6794     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6795     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6796     _flag_k = FK_NARROW(FK_CMP, 24);
   6797     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   6798 L_250065AE:
   6799     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   6800     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   6801     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   6802     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   6803     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6805     _flag_k = FK_CMP;
   6806     RECOMP_BACKEDGE();
   6807     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   6808 L_250065C1:
   6809     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   6810 L_250065C6:
   6811     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   6812     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   6813     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6814     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6815     _flag_k = FK_NARROW(FK_CMP, 24);
   6816     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   6817 L_250065CE:
   6818     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   6819     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   6820     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   6821     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   6822     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   6823     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   6824     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   6825     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   6826     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6828     _flag_k = FK_CMP;
   6829     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   6830 L_250065E6:
   6831     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   6832 L_250065E9:
   6833     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   6834     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   6835     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   6836     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   6837     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6838     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6839     _flag_k = FK_CMP;
   6840     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   6841 L_250065F7:
   6842     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   6843     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   6844 L_250065FC:
   6845     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   6846     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   6847     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6849     _flag_k = FK_CMP;
   6850     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   6851 L_25006604:
   6852     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   6853     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   6854 L_25006609:
   6855     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   6856 L_2500660B:
   6857     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   6858     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   6859     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   6860     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   6861 L_25006617:
   6862     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   6863     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   6864     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   6865     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   6866     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   6867     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   6868     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   6869     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   6870     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   6871     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   6872     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   6873     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   6874     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   6875     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6877     _flag_k = FK_CMP;
   6878     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   6879 L_2500663E:
   6880     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   6881 L_25006641:
   6882     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   6883     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   6884     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   6885     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   6886     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6888     _flag_k = FK_CMP;
   6889     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   6890 L_2500664F:
   6891     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   6892     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   6893     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   6894 L_25006659:
   6895     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   6896     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   6897     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6899     _flag_k = FK_CMP;
   6900     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   6901 L_25006660:
   6902     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   6903     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   6904     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   6905 L_25006669:
   6906     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   6907     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   6908     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   6909 L_25006673:
   6910     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   6911     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   6912     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6914     _flag_k = FK_NARROW(FK_CMP, 24);
   6915     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   6916 L_2500667A:
   6917     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   6918     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   6919     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   6920     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   6921     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   6922     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   6923     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   6924     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   6925     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6927     _flag_k = FK_CMP;
   6928     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   6929 L_25006693:
   6930     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   6931 L_25006696:
   6932     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   6933     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   6934     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   6935     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   6936     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6938     _flag_k = FK_CMP;
   6939     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   6940 L_250066A4:
   6941     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   6942     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   6943 L_250066A9:
   6944     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   6945     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   6946     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6948     _flag_k = FK_CMP;
   6949     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   6950 L_250066B0:
   6951     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   6952     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   6953 L_250066B4:
   6954     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   6955 L_250066B7:
   6956     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   6957     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   6958     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   6959     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   6960 L_250066C1:
   6961     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   6962     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   6963     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   6964     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   6965     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   6966     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   6967     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   6968     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   6969     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   6970     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   6971     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   6972     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   6973     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   6974     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6976     _flag_k = FK_CMP;
   6977     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   6978 L_250066E7:
   6979     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   6980 L_250066EA:
   6981     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   6982     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   6983     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   6984     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   6985     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6987     _flag_k = FK_CMP;
   6988     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   6989 L_250066F8:
   6990     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   6991     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   6992 L_250066FD:
   6993     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   6994     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   6995     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6997     _flag_k = FK_CMP;
   6998     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   6999 L_25006705:
   7000     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   7001     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   7002 L_2500670A:
   7003     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   7004 L_2500670C:
   7005     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   7006 L_2500670F:
   7007     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   7008 L_25006712:
   7009     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   7010     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   7011     PUSH32(esp, edx); /* 0x25006718: push edx */
   7012     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   7013     RECOMP_FLAGS_IN();
   7014     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   7015     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   7016     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7017     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7018     esp = esp + 4; /* 0x25006724: add esp, 4 */
   7019     _flag_k = FK_ADD;
   7020     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7021     eax = eax - 1; /* 0x25006727: dec eax */
   7022     _flag_k = FK_DEC;
   7023     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   7024     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   7025     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   7026     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   7027     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   7028     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   7029     esp = ebp; /* 0x25006733: mov esp, ebp */
   7030     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   7031     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   7032     RECOMP_REGS_OUT();
   7033 }
   7034 
   7035 void sub_2500652B(void) {
   7036     int _fpu_cmp = 0;
   7037     uint32_t _cf = 0;
   7038     int _df = 1;
   7039     uint32_t _flag_k = FK_NONE;
   7040     uint32_t _flag_a = 0, _flag_b = 0;
   7041     uint32_t _itail_tgt = 0;
   7042     RECOMP_REGS_LOCALS
   7043     RECOMP_ENTER(0x2500652Bu);
   7044 
   7045     goto L_2500652B;
   7046 L_250064C4:
   7047     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   7048     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7050     _flag_k = FK_NARROW(FK_CMP, 24);
   7051     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   7052 L_250064CD:
   7053     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   7054     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   7055     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   7056     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7057     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7058     _flag_k = FK_CMP;
   7059     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   7060 L_250064D6:
   7061     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   7062     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   7063     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   7064     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7065     _cf = 0;
   7066     _flag_k = FK_NARROW(FK_TEST, 24);
   7067     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   7068 L_250064E0:
   7069     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   7070     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   7071     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   7072     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   7073     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   7074     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   7075     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   7076     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   7077     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   7078     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7080     _flag_k = FK_CMP;
   7081     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   7082 L_250064FC:
   7083     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   7084 L_250064FF:
   7085     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   7086     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   7087     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   7088     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   7089     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7090     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7091     _flag_k = FK_CMP;
   7092     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   7093 L_2500650D:
   7094     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   7095     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   7096 L_25006512:
   7097     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   7098     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   7099     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7101     _flag_k = FK_CMP;
   7102     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   7103 L_25006519:
   7104     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   7105     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   7106 L_2500651D:
   7107     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   7108 L_25006520:
   7109     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   7110     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   7111     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   7112     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   7113 L_2500652B:
   7114     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   7115     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   7116     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7118     _flag_k = FK_NARROW(FK_CMP, 24);
   7119     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   7120 L_25006536:
   7121     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   7122     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   7123     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7124     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7125     _flag_k = FK_NARROW(FK_CMP, 24);
   7126     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   7127 L_25006542:
   7128     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   7129 L_25006544:
   7130     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   7131     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   7132     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7133     _cf = 0;
   7134     _flag_k = FK_NARROW(FK_TEST, 24);
   7135     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   7136 L_2500654B:
   7137     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   7138     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   7139     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   7140     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   7141     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   7142     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   7143     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   7144     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   7145     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   7146     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7147     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7148     _flag_k = FK_CMP;
   7149     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   7150 L_25006567:
   7151     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   7152 L_2500656A:
   7153     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   7154     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   7155     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   7156     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   7157     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7158     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7159     _flag_k = FK_CMP;
   7160     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   7161 L_25006578:
   7162     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   7163     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   7164 L_2500657D:
   7165     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   7166     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   7167     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7168     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7169     _flag_k = FK_CMP;
   7170     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   7171 L_25006585:
   7172     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   7173     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   7174 L_2500658A:
   7175     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   7176 L_2500658C:
   7177     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   7178     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   7179     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   7180     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   7181 L_25006597:
   7182     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   7183     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   7184     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7185     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7186     _flag_k = FK_NARROW(FK_CMP, 24);
   7187     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   7188 L_250065A3:
   7189     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   7190     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   7191     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7193     _flag_k = FK_NARROW(FK_CMP, 24);
   7194     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   7195 L_250065AE:
   7196     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   7197     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   7198     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   7199     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   7200     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7202     _flag_k = FK_CMP;
   7203     RECOMP_BACKEDGE();
   7204     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   7205 L_250065C1:
   7206     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   7207 L_250065C6:
   7208     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   7209     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   7210     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7211     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7212     _flag_k = FK_NARROW(FK_CMP, 24);
   7213     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   7214 L_250065CE:
   7215     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   7216     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   7217     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   7218     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   7219     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   7220     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   7221     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   7222     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   7223     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7225     _flag_k = FK_CMP;
   7226     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   7227 L_250065E6:
   7228     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   7229 L_250065E9:
   7230     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   7231     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   7232     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   7233     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   7234     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7236     _flag_k = FK_CMP;
   7237     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   7238 L_250065F7:
   7239     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   7240     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   7241 L_250065FC:
   7242     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   7243     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   7244     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7245     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7246     _flag_k = FK_CMP;
   7247     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   7248 L_25006604:
   7249     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   7250     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   7251 L_25006609:
   7252     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   7253 L_2500660B:
   7254     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   7255     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   7256     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   7257     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   7258 L_25006617:
   7259     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   7260     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   7261     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   7262     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   7263     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   7264     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   7265     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   7266     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   7267     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   7268     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   7269     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   7270     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   7271     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   7272     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7273     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7274     _flag_k = FK_CMP;
   7275     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   7276 L_2500663E:
   7277     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   7278 L_25006641:
   7279     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   7280     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   7281     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   7282     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   7283     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7284     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7285     _flag_k = FK_CMP;
   7286     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   7287 L_2500664F:
   7288     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   7289     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   7290     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   7291 L_25006659:
   7292     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   7293     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   7294     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7295     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7296     _flag_k = FK_CMP;
   7297     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   7298 L_25006660:
   7299     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   7300     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   7301     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   7302 L_25006669:
   7303     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   7304     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   7305     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   7306 L_25006673:
   7307     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   7308     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   7309     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7311     _flag_k = FK_NARROW(FK_CMP, 24);
   7312     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   7313 L_2500667A:
   7314     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   7315     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   7316     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   7317     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   7318     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   7319     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   7320     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   7321     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   7322     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7324     _flag_k = FK_CMP;
   7325     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   7326 L_25006693:
   7327     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   7328 L_25006696:
   7329     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   7330     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   7331     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   7332     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   7333     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7335     _flag_k = FK_CMP;
   7336     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   7337 L_250066A4:
   7338     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   7339     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   7340 L_250066A9:
   7341     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   7342     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   7343     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7345     _flag_k = FK_CMP;
   7346     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   7347 L_250066B0:
   7348     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   7349     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   7350 L_250066B4:
   7351     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   7352 L_250066B7:
   7353     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   7354     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   7355     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   7356     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   7357 L_250066C1:
   7358     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   7359     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   7360     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   7361     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   7362     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   7363     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   7364     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   7365     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   7366     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   7367     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   7368     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   7369     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   7370     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   7371     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7373     _flag_k = FK_CMP;
   7374     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   7375 L_250066E7:
   7376     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   7377 L_250066EA:
   7378     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   7379     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   7380     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   7381     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   7382     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7384     _flag_k = FK_CMP;
   7385     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   7386 L_250066F8:
   7387     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   7388     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   7389 L_250066FD:
   7390     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   7391     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   7392     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7394     _flag_k = FK_CMP;
   7395     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   7396 L_25006705:
   7397     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   7398     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   7399 L_2500670A:
   7400     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   7401 L_2500670C:
   7402     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   7403 L_2500670F:
   7404     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   7405 L_25006712:
   7406     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   7407     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   7408     PUSH32(esp, edx); /* 0x25006718: push edx */
   7409     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   7410     RECOMP_FLAGS_IN();
   7411     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   7412     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   7413     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7414     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7415     esp = esp + 4; /* 0x25006724: add esp, 4 */
   7416     _flag_k = FK_ADD;
   7417     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7418     eax = eax - 1; /* 0x25006727: dec eax */
   7419     _flag_k = FK_DEC;
   7420     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   7421     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   7422     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   7423     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   7424     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   7425     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   7426     esp = ebp; /* 0x25006733: mov esp, ebp */
   7427     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   7428     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   7429     RECOMP_REGS_OUT();
   7430 }
   7431 
   7432 void sub_25006544(void) {
   7433     int _fpu_cmp = 0;
   7434     uint32_t _cf = 0;
   7435     int _df = 1;
   7436     uint32_t _flag_k = FK_NONE;
   7437     uint32_t _flag_a = 0, _flag_b = 0;
   7438     uint32_t _itail_tgt = 0;
   7439     RECOMP_REGS_LOCALS
   7440     RECOMP_ENTER(0x25006544u);
   7441 
   7442     goto L_25006544;
   7443 L_250064C4:
   7444     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   7445     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7447     _flag_k = FK_NARROW(FK_CMP, 24);
   7448     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   7449 L_250064CD:
   7450     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   7451     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   7452     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   7453     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7455     _flag_k = FK_CMP;
   7456     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   7457 L_250064D6:
   7458     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   7459     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   7460     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   7461     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7462     _cf = 0;
   7463     _flag_k = FK_NARROW(FK_TEST, 24);
   7464     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   7465 L_250064E0:
   7466     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   7467     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   7468     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   7469     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   7470     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   7471     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   7472     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   7473     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   7474     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   7475     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7477     _flag_k = FK_CMP;
   7478     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   7479 L_250064FC:
   7480     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   7481 L_250064FF:
   7482     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   7483     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   7484     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   7485     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   7486     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7488     _flag_k = FK_CMP;
   7489     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   7490 L_2500650D:
   7491     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   7492     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   7493 L_25006512:
   7494     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   7495     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   7496     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7497     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7498     _flag_k = FK_CMP;
   7499     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   7500 L_25006519:
   7501     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   7502     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   7503 L_2500651D:
   7504     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   7505 L_25006520:
   7506     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   7507     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   7508     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   7509     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   7510 L_2500652B:
   7511     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   7512     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   7513     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7515     _flag_k = FK_NARROW(FK_CMP, 24);
   7516     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   7517 L_25006536:
   7518     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   7519     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   7520     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7522     _flag_k = FK_NARROW(FK_CMP, 24);
   7523     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   7524 L_25006542:
   7525     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   7526 L_25006544:
   7527     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   7528     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   7529     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7530     _cf = 0;
   7531     _flag_k = FK_NARROW(FK_TEST, 24);
   7532     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   7533 L_2500654B:
   7534     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   7535     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   7536     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   7537     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   7538     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   7539     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   7540     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   7541     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   7542     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   7543     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7544     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7545     _flag_k = FK_CMP;
   7546     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   7547 L_25006567:
   7548     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   7549 L_2500656A:
   7550     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   7551     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   7552     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   7553     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   7554     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7555     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7556     _flag_k = FK_CMP;
   7557     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   7558 L_25006578:
   7559     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   7560     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   7561 L_2500657D:
   7562     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   7563     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   7564     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7566     _flag_k = FK_CMP;
   7567     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   7568 L_25006585:
   7569     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   7570     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   7571 L_2500658A:
   7572     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   7573 L_2500658C:
   7574     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   7575     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   7576     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   7577     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   7578 L_25006597:
   7579     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   7580     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   7581     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7583     _flag_k = FK_NARROW(FK_CMP, 24);
   7584     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   7585 L_250065A3:
   7586     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   7587     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   7588     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7590     _flag_k = FK_NARROW(FK_CMP, 24);
   7591     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   7592 L_250065AE:
   7593     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   7594     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   7595     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   7596     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   7597     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7599     _flag_k = FK_CMP;
   7600     RECOMP_BACKEDGE();
   7601     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   7602 L_250065C1:
   7603     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   7604 L_250065C6:
   7605     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   7606     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   7607     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7609     _flag_k = FK_NARROW(FK_CMP, 24);
   7610     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   7611 L_250065CE:
   7612     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   7613     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   7614     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   7615     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   7616     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   7617     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   7618     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   7619     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   7620     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7622     _flag_k = FK_CMP;
   7623     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   7624 L_250065E6:
   7625     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   7626 L_250065E9:
   7627     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   7628     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   7629     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   7630     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   7631     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7633     _flag_k = FK_CMP;
   7634     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   7635 L_250065F7:
   7636     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   7637     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   7638 L_250065FC:
   7639     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   7640     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   7641     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7642     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7643     _flag_k = FK_CMP;
   7644     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   7645 L_25006604:
   7646     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   7647     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   7648 L_25006609:
   7649     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   7650 L_2500660B:
   7651     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   7652     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   7653     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   7654     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   7655 L_25006617:
   7656     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   7657     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   7658     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   7659     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   7660     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   7661     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   7662     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   7663     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   7664     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   7665     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   7666     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   7667     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   7668     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   7669     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7671     _flag_k = FK_CMP;
   7672     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   7673 L_2500663E:
   7674     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   7675 L_25006641:
   7676     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   7677     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   7678     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   7679     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   7680     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7682     _flag_k = FK_CMP;
   7683     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   7684 L_2500664F:
   7685     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   7686     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   7687     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   7688 L_25006659:
   7689     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   7690     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   7691     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7693     _flag_k = FK_CMP;
   7694     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   7695 L_25006660:
   7696     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   7697     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   7698     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   7699 L_25006669:
   7700     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   7701     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   7702     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   7703 L_25006673:
   7704     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   7705     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   7706     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7708     _flag_k = FK_NARROW(FK_CMP, 24);
   7709     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   7710 L_2500667A:
   7711     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   7712     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   7713     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   7714     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   7715     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   7716     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   7717     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   7718     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   7719     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7721     _flag_k = FK_CMP;
   7722     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   7723 L_25006693:
   7724     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   7725 L_25006696:
   7726     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   7727     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   7728     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   7729     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   7730     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7731     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7732     _flag_k = FK_CMP;
   7733     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   7734 L_250066A4:
   7735     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   7736     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   7737 L_250066A9:
   7738     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   7739     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   7740     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7742     _flag_k = FK_CMP;
   7743     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   7744 L_250066B0:
   7745     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   7746     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   7747 L_250066B4:
   7748     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   7749 L_250066B7:
   7750     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   7751     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   7752     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   7753     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   7754 L_250066C1:
   7755     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   7756     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   7757     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   7758     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   7759     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   7760     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   7761     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   7762     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   7763     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   7764     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   7765     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   7766     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   7767     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   7768     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7770     _flag_k = FK_CMP;
   7771     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   7772 L_250066E7:
   7773     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   7774 L_250066EA:
   7775     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   7776     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   7777     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   7778     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   7779     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7781     _flag_k = FK_CMP;
   7782     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   7783 L_250066F8:
   7784     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   7785     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   7786 L_250066FD:
   7787     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   7788     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   7789     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7791     _flag_k = FK_CMP;
   7792     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   7793 L_25006705:
   7794     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   7795     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   7796 L_2500670A:
   7797     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   7798 L_2500670C:
   7799     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   7800 L_2500670F:
   7801     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   7802 L_25006712:
   7803     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   7804     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   7805     PUSH32(esp, edx); /* 0x25006718: push edx */
   7806     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   7807     RECOMP_FLAGS_IN();
   7808     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   7809     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   7810     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7811     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7812     esp = esp + 4; /* 0x25006724: add esp, 4 */
   7813     _flag_k = FK_ADD;
   7814     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7815     eax = eax - 1; /* 0x25006727: dec eax */
   7816     _flag_k = FK_DEC;
   7817     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   7818     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   7819     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   7820     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   7821     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   7822     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   7823     esp = ebp; /* 0x25006733: mov esp, ebp */
   7824     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   7825     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   7826     RECOMP_REGS_OUT();
   7827 }
   7828 
   7829 void sub_2500658C(void) {
   7830     int _fpu_cmp = 0;
   7831     uint32_t _cf = 0;
   7832     int _df = 1;
   7833     uint32_t _flag_k = FK_NONE;
   7834     uint32_t _flag_a = 0, _flag_b = 0;
   7835     uint32_t _itail_tgt = 0;
   7836     RECOMP_REGS_LOCALS
   7837     RECOMP_ENTER(0x2500658Cu);
   7838 
   7839     goto L_2500658C;
   7840 L_250064C4:
   7841     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   7842     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7843     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7844     _flag_k = FK_NARROW(FK_CMP, 24);
   7845     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   7846 L_250064CD:
   7847     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   7848     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   7849     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   7850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7851     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7852     _flag_k = FK_CMP;
   7853     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   7854 L_250064D6:
   7855     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   7856     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   7857     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   7858     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7859     _cf = 0;
   7860     _flag_k = FK_NARROW(FK_TEST, 24);
   7861     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   7862 L_250064E0:
   7863     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   7864     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   7865     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   7866     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   7867     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   7868     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   7869     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   7870     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   7871     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   7872     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7873     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7874     _flag_k = FK_CMP;
   7875     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   7876 L_250064FC:
   7877     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   7878 L_250064FF:
   7879     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   7880     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   7881     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   7882     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   7883     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7885     _flag_k = FK_CMP;
   7886     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   7887 L_2500650D:
   7888     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   7889     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   7890 L_25006512:
   7891     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   7892     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   7893     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7895     _flag_k = FK_CMP;
   7896     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   7897 L_25006519:
   7898     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   7899     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   7900 L_2500651D:
   7901     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   7902 L_25006520:
   7903     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   7904     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   7905     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   7906     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   7907 L_2500652B:
   7908     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   7909     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   7910     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7912     _flag_k = FK_NARROW(FK_CMP, 24);
   7913     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   7914 L_25006536:
   7915     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   7916     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   7917     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7918     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7919     _flag_k = FK_NARROW(FK_CMP, 24);
   7920     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   7921 L_25006542:
   7922     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   7923 L_25006544:
   7924     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   7925     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   7926     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7927     _cf = 0;
   7928     _flag_k = FK_NARROW(FK_TEST, 24);
   7929     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   7930 L_2500654B:
   7931     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   7932     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   7933     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   7934     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   7935     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   7936     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   7937     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   7938     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   7939     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   7940     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7941     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7942     _flag_k = FK_CMP;
   7943     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   7944 L_25006567:
   7945     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   7946 L_2500656A:
   7947     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   7948     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   7949     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   7950     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   7951     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7952     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7953     _flag_k = FK_CMP;
   7954     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   7955 L_25006578:
   7956     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   7957     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   7958 L_2500657D:
   7959     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   7960     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   7961     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7962     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7963     _flag_k = FK_CMP;
   7964     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   7965 L_25006585:
   7966     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   7967     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   7968 L_2500658A:
   7969     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   7970 L_2500658C:
   7971     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   7972     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   7973     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   7974     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   7975 L_25006597:
   7976     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   7977     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   7978     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7980     _flag_k = FK_NARROW(FK_CMP, 24);
   7981     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   7982 L_250065A3:
   7983     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   7984     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   7985     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7987     _flag_k = FK_NARROW(FK_CMP, 24);
   7988     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   7989 L_250065AE:
   7990     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   7991     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   7992     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   7993     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   7994     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7996     _flag_k = FK_CMP;
   7997     RECOMP_BACKEDGE();
   7998     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   7999 L_250065C1:
   8000     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   8001 L_250065C6:
   8002     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   8003     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   8004     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8005     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8006     _flag_k = FK_NARROW(FK_CMP, 24);
   8007     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   8008 L_250065CE:
   8009     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   8010     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   8011     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   8012     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   8013     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   8014     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   8015     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   8016     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   8017     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8018     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8019     _flag_k = FK_CMP;
   8020     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   8021 L_250065E6:
   8022     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   8023 L_250065E9:
   8024     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   8025     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   8026     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   8027     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   8028     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8030     _flag_k = FK_CMP;
   8031     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   8032 L_250065F7:
   8033     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   8034     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   8035 L_250065FC:
   8036     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   8037     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   8038     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8040     _flag_k = FK_CMP;
   8041     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   8042 L_25006604:
   8043     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   8044     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   8045 L_25006609:
   8046     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   8047 L_2500660B:
   8048     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   8049     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   8050     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   8051     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   8052 L_25006617:
   8053     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   8054     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   8055     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   8056     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   8057     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   8058     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   8059     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   8060     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   8061     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   8062     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   8063     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   8064     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   8065     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   8066     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8067     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8068     _flag_k = FK_CMP;
   8069     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   8070 L_2500663E:
   8071     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   8072 L_25006641:
   8073     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   8074     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   8075     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   8076     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   8077     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8079     _flag_k = FK_CMP;
   8080     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   8081 L_2500664F:
   8082     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   8083     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   8084     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   8085 L_25006659:
   8086     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   8087     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   8088     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8090     _flag_k = FK_CMP;
   8091     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   8092 L_25006660:
   8093     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   8094     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   8095     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   8096 L_25006669:
   8097     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   8098     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   8099     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   8100 L_25006673:
   8101     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   8102     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   8103     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8105     _flag_k = FK_NARROW(FK_CMP, 24);
   8106     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   8107 L_2500667A:
   8108     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   8109     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   8110     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   8111     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   8112     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   8113     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   8114     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   8115     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   8116     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8118     _flag_k = FK_CMP;
   8119     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   8120 L_25006693:
   8121     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   8122 L_25006696:
   8123     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   8124     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   8125     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   8126     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   8127     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8128     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8129     _flag_k = FK_CMP;
   8130     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   8131 L_250066A4:
   8132     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   8133     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   8134 L_250066A9:
   8135     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   8136     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   8137     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8139     _flag_k = FK_CMP;
   8140     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   8141 L_250066B0:
   8142     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   8143     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   8144 L_250066B4:
   8145     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   8146 L_250066B7:
   8147     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   8148     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   8149     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   8150     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   8151 L_250066C1:
   8152     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   8153     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   8154     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   8155     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   8156     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   8157     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   8158     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   8159     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   8160     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   8161     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   8162     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   8163     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   8164     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   8165     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8167     _flag_k = FK_CMP;
   8168     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   8169 L_250066E7:
   8170     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   8171 L_250066EA:
   8172     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   8173     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   8174     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   8175     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   8176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8178     _flag_k = FK_CMP;
   8179     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   8180 L_250066F8:
   8181     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   8182     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   8183 L_250066FD:
   8184     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   8185     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   8186     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8188     _flag_k = FK_CMP;
   8189     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   8190 L_25006705:
   8191     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   8192     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   8193 L_2500670A:
   8194     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   8195 L_2500670C:
   8196     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   8197 L_2500670F:
   8198     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   8199 L_25006712:
   8200     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   8201     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   8202     PUSH32(esp, edx); /* 0x25006718: push edx */
   8203     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   8204     RECOMP_FLAGS_IN();
   8205     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   8206     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   8207     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8208     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8209     esp = esp + 4; /* 0x25006724: add esp, 4 */
   8210     _flag_k = FK_ADD;
   8211     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8212     eax = eax - 1; /* 0x25006727: dec eax */
   8213     _flag_k = FK_DEC;
   8214     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   8215     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   8216     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   8217     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   8218     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   8219     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   8220     esp = ebp; /* 0x25006733: mov esp, ebp */
   8221     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   8222     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   8223     RECOMP_REGS_OUT();
   8224 }
   8225 
   8226 void sub_25006597(void) {
   8227     int _fpu_cmp = 0;
   8228     uint32_t _cf = 0;
   8229     int _df = 1;
   8230     uint32_t _flag_k = FK_NONE;
   8231     uint32_t _flag_a = 0, _flag_b = 0;
   8232     uint32_t _itail_tgt = 0;
   8233     RECOMP_REGS_LOCALS
   8234     RECOMP_ENTER(0x25006597u);
   8235 
   8236     goto L_25006597;
   8237 L_250064C4:
   8238     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   8239     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8241     _flag_k = FK_NARROW(FK_CMP, 24);
   8242     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   8243 L_250064CD:
   8244     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   8245     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   8246     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   8247     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8249     _flag_k = FK_CMP;
   8250     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   8251 L_250064D6:
   8252     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   8253     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   8254     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   8255     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8256     _cf = 0;
   8257     _flag_k = FK_NARROW(FK_TEST, 24);
   8258     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   8259 L_250064E0:
   8260     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   8261     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   8262     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   8263     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   8264     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   8265     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   8266     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   8267     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   8268     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   8269     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8271     _flag_k = FK_CMP;
   8272     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   8273 L_250064FC:
   8274     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   8275 L_250064FF:
   8276     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   8277     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   8278     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   8279     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   8280     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8282     _flag_k = FK_CMP;
   8283     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   8284 L_2500650D:
   8285     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   8286     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   8287 L_25006512:
   8288     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   8289     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   8290     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8291     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8292     _flag_k = FK_CMP;
   8293     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   8294 L_25006519:
   8295     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   8296     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   8297 L_2500651D:
   8298     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   8299 L_25006520:
   8300     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   8301     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   8302     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   8303     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   8304 L_2500652B:
   8305     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   8306     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   8307     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8309     _flag_k = FK_NARROW(FK_CMP, 24);
   8310     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   8311 L_25006536:
   8312     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   8313     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   8314     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8316     _flag_k = FK_NARROW(FK_CMP, 24);
   8317     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   8318 L_25006542:
   8319     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   8320 L_25006544:
   8321     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   8322     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   8323     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8324     _cf = 0;
   8325     _flag_k = FK_NARROW(FK_TEST, 24);
   8326     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   8327 L_2500654B:
   8328     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   8329     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   8330     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   8331     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   8332     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   8333     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   8334     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   8335     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   8336     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   8337     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8339     _flag_k = FK_CMP;
   8340     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   8341 L_25006567:
   8342     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   8343 L_2500656A:
   8344     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   8345     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   8346     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   8347     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   8348     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8350     _flag_k = FK_CMP;
   8351     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   8352 L_25006578:
   8353     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   8354     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   8355 L_2500657D:
   8356     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   8357     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   8358     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8360     _flag_k = FK_CMP;
   8361     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   8362 L_25006585:
   8363     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   8364     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   8365 L_2500658A:
   8366     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   8367 L_2500658C:
   8368     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   8369     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   8370     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   8371     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   8372 L_25006597:
   8373     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   8374     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   8375     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8377     _flag_k = FK_NARROW(FK_CMP, 24);
   8378     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   8379 L_250065A3:
   8380     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   8381     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   8382     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8384     _flag_k = FK_NARROW(FK_CMP, 24);
   8385     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   8386 L_250065AE:
   8387     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   8388     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   8389     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   8390     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   8391     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8392     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8393     _flag_k = FK_CMP;
   8394     RECOMP_BACKEDGE();
   8395     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   8396 L_250065C1:
   8397     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   8398 L_250065C6:
   8399     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   8400     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   8401     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8402     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8403     _flag_k = FK_NARROW(FK_CMP, 24);
   8404     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   8405 L_250065CE:
   8406     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   8407     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   8408     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   8409     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   8410     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   8411     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   8412     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   8413     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   8414     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8416     _flag_k = FK_CMP;
   8417     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   8418 L_250065E6:
   8419     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   8420 L_250065E9:
   8421     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   8422     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   8423     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   8424     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   8425     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8426     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8427     _flag_k = FK_CMP;
   8428     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   8429 L_250065F7:
   8430     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   8431     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   8432 L_250065FC:
   8433     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   8434     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   8435     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8437     _flag_k = FK_CMP;
   8438     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   8439 L_25006604:
   8440     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   8441     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   8442 L_25006609:
   8443     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   8444 L_2500660B:
   8445     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   8446     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   8447     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   8448     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   8449 L_25006617:
   8450     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   8451     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   8452     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   8453     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   8454     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   8455     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   8456     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   8457     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   8458     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   8459     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   8460     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   8461     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   8462     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   8463     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8465     _flag_k = FK_CMP;
   8466     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   8467 L_2500663E:
   8468     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   8469 L_25006641:
   8470     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   8471     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   8472     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   8473     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   8474     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8476     _flag_k = FK_CMP;
   8477     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   8478 L_2500664F:
   8479     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   8480     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   8481     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   8482 L_25006659:
   8483     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   8484     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   8485     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8487     _flag_k = FK_CMP;
   8488     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   8489 L_25006660:
   8490     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   8491     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   8492     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   8493 L_25006669:
   8494     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   8495     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   8496     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   8497 L_25006673:
   8498     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   8499     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   8500     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8502     _flag_k = FK_NARROW(FK_CMP, 24);
   8503     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   8504 L_2500667A:
   8505     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   8506     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   8507     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   8508     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   8509     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   8510     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   8511     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   8512     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   8513     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8515     _flag_k = FK_CMP;
   8516     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   8517 L_25006693:
   8518     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   8519 L_25006696:
   8520     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   8521     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   8522     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   8523     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   8524     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8526     _flag_k = FK_CMP;
   8527     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   8528 L_250066A4:
   8529     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   8530     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   8531 L_250066A9:
   8532     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   8533     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   8534     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8536     _flag_k = FK_CMP;
   8537     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   8538 L_250066B0:
   8539     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   8540     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   8541 L_250066B4:
   8542     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   8543 L_250066B7:
   8544     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   8545     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   8546     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   8547     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   8548 L_250066C1:
   8549     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   8550     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   8551     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   8552     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   8553     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   8554     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   8555     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   8556     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   8557     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   8558     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   8559     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   8560     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   8561     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   8562     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8564     _flag_k = FK_CMP;
   8565     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   8566 L_250066E7:
   8567     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   8568 L_250066EA:
   8569     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   8570     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   8571     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   8572     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   8573     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8575     _flag_k = FK_CMP;
   8576     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   8577 L_250066F8:
   8578     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   8579     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   8580 L_250066FD:
   8581     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   8582     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   8583     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8584     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8585     _flag_k = FK_CMP;
   8586     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   8587 L_25006705:
   8588     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   8589     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   8590 L_2500670A:
   8591     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   8592 L_2500670C:
   8593     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   8594 L_2500670F:
   8595     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   8596 L_25006712:
   8597     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   8598     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   8599     PUSH32(esp, edx); /* 0x25006718: push edx */
   8600     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   8601     RECOMP_FLAGS_IN();
   8602     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   8603     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   8604     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8605     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8606     esp = esp + 4; /* 0x25006724: add esp, 4 */
   8607     _flag_k = FK_ADD;
   8608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8609     eax = eax - 1; /* 0x25006727: dec eax */
   8610     _flag_k = FK_DEC;
   8611     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   8612     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   8613     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   8614     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   8615     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   8616     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   8617     esp = ebp; /* 0x25006733: mov esp, ebp */
   8618     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   8619     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   8620     RECOMP_REGS_OUT();
   8621 }
   8622 
   8623 void sub_250065AE(void) {
   8624     int _fpu_cmp = 0;
   8625     uint32_t _cf = 0;
   8626     int _df = 1;
   8627     uint32_t _flag_k = FK_NONE;
   8628     uint32_t _flag_a = 0, _flag_b = 0;
   8629     uint32_t _itail_tgt = 0;
   8630     RECOMP_REGS_LOCALS
   8631     RECOMP_ENTER(0x250065AEu);
   8632 
   8633     goto L_250065AE;
   8634 L_250064C4:
   8635     /* cmp MEM8(eax + 0x10), LO8(ebx) */ /* 0x250064C4: cmp byte ptr [eax + 0x10], bl */
   8636     _flag_a = (uint32_t)(MEM8(eax + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8638     _flag_k = FK_NARROW(FK_CMP, 24);
   8639     if (CMP_NE(_flag_a, _flag_b)) goto L_25006712; /* 0x250064C7: jne 0x25006712 */
   8640 L_250064CD:
   8641     edx = MEM32(eax + 0x4); /* 0x250064CD: mov edx, dword ptr [eax + 4] */
   8642     ecx = MEM32(edx); /* 0x250064D0: mov ecx, dword ptr [edx] */
   8643     /* cmp eax, ecx */ /* 0x250064D2: cmp eax, ecx */
   8644     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8645     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8646     _flag_k = FK_CMP;
   8647     if (CMP_NE(_flag_a, _flag_b)) goto L_25006544; /* 0x250064D4: jne 0x25006544 */
   8648 L_250064D6:
   8649     ecx = MEM32(edx + 0x8); /* 0x250064D6: mov ecx, dword ptr [edx + 8] */
   8650     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250064D9: mov dl, byte ptr [ecx + 0x10] */
   8651     /* test LO8(edx), LO8(edx) */ /* 0x250064DC: test dl, dl */
   8652     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8653     _cf = 0;
   8654     _flag_k = FK_NARROW(FK_TEST, 24);
   8655     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500652B; /* 0x250064DE: jne 0x2500652b */
   8656 L_250064E0:
   8657     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250064E0: mov byte ptr [ecx + 0x10], bl */
   8658     ecx = MEM32(eax + 0x4); /* 0x250064E3: mov ecx, dword ptr [eax + 4] */
   8659     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250064E6: mov byte ptr [ecx + 0x10], 0 */
   8660     ecx = MEM32(eax + 0x4); /* 0x250064EA: mov ecx, dword ptr [eax + 4] */
   8661     edx = MEM32(ecx + 0x8); /* 0x250064ED: mov edx, dword ptr [ecx + 8] */
   8662     esi = MEM32(edx); /* 0x250064F0: mov esi, dword ptr [edx] */
   8663     MEM32(ecx + 0x8) = esi; /* 0x250064F2: mov dword ptr [ecx + 8], esi */
   8664     esi = MEM32(edx); /* 0x250064F5: mov esi, dword ptr [edx] */
   8665     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250064F7: cmp esi, dword ptr [edi + 8] */
   8666     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8668     _flag_k = FK_CMP;
   8669     if (CMP_EQ(_flag_a, _flag_b)) goto L_250064FF; /* 0x250064FA: je 0x250064ff */
   8670 L_250064FC:
   8671     MEM32(esi + 0x4) = ecx; /* 0x250064FC: mov dword ptr [esi + 4], ecx */
   8672 L_250064FF:
   8673     esi = MEM32(ecx + 0x4); /* 0x250064FF: mov esi, dword ptr [ecx + 4] */
   8674     MEM32(edx + 0x4) = esi; /* 0x25006502: mov dword ptr [edx + 4], esi */
   8675     esi = MEM32(edi + 0x4); /* 0x25006505: mov esi, dword ptr [edi + 4] */
   8676     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006508: cmp ecx, dword ptr [esi + 4] */
   8677     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8679     _flag_k = FK_CMP;
   8680     if (CMP_NE(_flag_a, _flag_b)) goto L_25006512; /* 0x2500650B: jne 0x25006512 */
   8681 L_2500650D:
   8682     MEM32(esi + 0x4) = edx; /* 0x2500650D: mov dword ptr [esi + 4], edx */
   8683     goto L_25006520; /* 0x25006510: jmp 0x25006520 */
   8684 L_25006512:
   8685     esi = MEM32(ecx + 0x4); /* 0x25006512: mov esi, dword ptr [ecx + 4] */
   8686     /* cmp ecx, MEM32(esi) */ /* 0x25006515: cmp ecx, dword ptr [esi] */
   8687     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8689     _flag_k = FK_CMP;
   8690     if (CMP_NE(_flag_a, _flag_b)) goto L_2500651D; /* 0x25006517: jne 0x2500651d */
   8691 L_25006519:
   8692     MEM32(esi) = edx; /* 0x25006519: mov dword ptr [esi], edx */
   8693     goto L_25006520; /* 0x2500651B: jmp 0x25006520 */
   8694 L_2500651D:
   8695     MEM32(esi + 0x8) = edx; /* 0x2500651D: mov dword ptr [esi + 8], edx */
   8696 L_25006520:
   8697     MEM32(edx) = ecx; /* 0x25006520: mov dword ptr [edx], ecx */
   8698     MEM32(ecx + 0x4) = edx; /* 0x25006522: mov dword ptr [ecx + 4], edx */
   8699     edx = MEM32(eax + 0x4); /* 0x25006525: mov edx, dword ptr [eax + 4] */
   8700     ecx = MEM32(edx + 0x8); /* 0x25006528: mov ecx, dword ptr [edx + 8] */
   8701 L_2500652B:
   8702     edx = MEM32(ecx); /* 0x2500652B: mov edx, dword ptr [ecx] */
   8703     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500652D: cmp byte ptr [edx + 0x10], bl */
   8704     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8706     _flag_k = FK_NARROW(FK_CMP, 24);
   8707     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x25006530: jne 0x250065c6 */
   8708 L_25006536:
   8709     edx = MEM32(ecx + 0x8); /* 0x25006536: mov edx, dword ptr [ecx + 8] */
   8710     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006539: cmp byte ptr [edx + 0x10], bl */
   8711     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8712     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8713     _flag_k = FK_NARROW(FK_CMP, 24);
   8714     if (CMP_NE(_flag_a, _flag_b)) goto L_250065C6; /* 0x2500653C: jne 0x250065c6 */
   8715 L_25006542:
   8716     goto L_250065AE; /* 0x25006542: jmp 0x250065ae */
   8717 L_25006544:
   8718     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x25006544: mov dl, byte ptr [ecx + 0x10] */
   8719     /* test LO8(edx), LO8(edx) */ /* 0x25006547: test dl, dl */
   8720     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8721     _cf = 0;
   8722     _flag_k = FK_NARROW(FK_TEST, 24);
   8723     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006597; /* 0x25006549: jne 0x25006597 */
   8724 L_2500654B:
   8725     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500654B: mov byte ptr [ecx + 0x10], bl */
   8726     ecx = MEM32(eax + 0x4); /* 0x2500654E: mov ecx, dword ptr [eax + 4] */
   8727     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006551: mov byte ptr [ecx + 0x10], 0 */
   8728     ecx = MEM32(eax + 0x4); /* 0x25006555: mov ecx, dword ptr [eax + 4] */
   8729     edx = MEM32(ecx); /* 0x25006558: mov edx, dword ptr [ecx] */
   8730     esi = MEM32(edx + 0x8); /* 0x2500655A: mov esi, dword ptr [edx + 8] */
   8731     MEM32(ecx) = esi; /* 0x2500655D: mov dword ptr [ecx], esi */
   8732     esi = MEM32(edx + 0x8); /* 0x2500655F: mov esi, dword ptr [edx + 8] */
   8733     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006562: cmp esi, dword ptr [edi + 8] */
   8734     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8736     _flag_k = FK_CMP;
   8737     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500656A; /* 0x25006565: je 0x2500656a */
   8738 L_25006567:
   8739     MEM32(esi + 0x4) = ecx; /* 0x25006567: mov dword ptr [esi + 4], ecx */
   8740 L_2500656A:
   8741     esi = MEM32(ecx + 0x4); /* 0x2500656A: mov esi, dword ptr [ecx + 4] */
   8742     MEM32(edx + 0x4) = esi; /* 0x2500656D: mov dword ptr [edx + 4], esi */
   8743     esi = MEM32(edi + 0x4); /* 0x25006570: mov esi, dword ptr [edi + 4] */
   8744     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x25006573: cmp ecx, dword ptr [esi + 4] */
   8745     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8747     _flag_k = FK_CMP;
   8748     if (CMP_NE(_flag_a, _flag_b)) goto L_2500657D; /* 0x25006576: jne 0x2500657d */
   8749 L_25006578:
   8750     MEM32(esi + 0x4) = edx; /* 0x25006578: mov dword ptr [esi + 4], edx */
   8751     goto L_2500658C; /* 0x2500657B: jmp 0x2500658c */
   8752 L_2500657D:
   8753     esi = MEM32(ecx + 0x4); /* 0x2500657D: mov esi, dword ptr [ecx + 4] */
   8754     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006580: cmp ecx, dword ptr [esi + 8] */
   8755     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8757     _flag_k = FK_CMP;
   8758     if (CMP_NE(_flag_a, _flag_b)) goto L_2500658A; /* 0x25006583: jne 0x2500658a */
   8759 L_25006585:
   8760     MEM32(esi + 0x8) = edx; /* 0x25006585: mov dword ptr [esi + 8], edx */
   8761     goto L_2500658C; /* 0x25006588: jmp 0x2500658c */
   8762 L_2500658A:
   8763     MEM32(esi) = edx; /* 0x2500658A: mov dword ptr [esi], edx */
   8764 L_2500658C:
   8765     MEM32(edx + 0x8) = ecx; /* 0x2500658C: mov dword ptr [edx + 8], ecx */
   8766     MEM32(ecx + 0x4) = edx; /* 0x2500658F: mov dword ptr [ecx + 4], edx */
   8767     edx = MEM32(eax + 0x4); /* 0x25006592: mov edx, dword ptr [eax + 4] */
   8768     ecx = MEM32(edx); /* 0x25006595: mov ecx, dword ptr [edx] */
   8769 L_25006597:
   8770     edx = MEM32(ecx + 0x8); /* 0x25006597: mov edx, dword ptr [ecx + 8] */
   8771     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x2500659A: cmp byte ptr [edx + 0x10], bl */
   8772     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8773     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8774     _flag_k = FK_NARROW(FK_CMP, 24);
   8775     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x2500659D: jne 0x25006673 */
   8776 L_250065A3:
   8777     edx = MEM32(ecx); /* 0x250065A3: mov edx, dword ptr [ecx] */
   8778     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065A5: cmp byte ptr [edx + 0x10], bl */
   8779     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8781     _flag_k = FK_NARROW(FK_CMP, 24);
   8782     if (CMP_NE(_flag_a, _flag_b)) goto L_25006673; /* 0x250065A8: jne 0x25006673 */
   8783 L_250065AE:
   8784     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065AE: mov byte ptr [ecx + 0x10], 0 */
   8785     ecx = MEM32(edi + 0x4); /* 0x250065B2: mov ecx, dword ptr [edi + 4] */
   8786     eax = MEM32(eax + 0x4); /* 0x250065B5: mov eax, dword ptr [eax + 4] */
   8787     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x250065B8: cmp eax, dword ptr [ecx + 4] */
   8788     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8790     _flag_k = FK_CMP;
   8791     RECOMP_BACKEDGE();
   8792     if (CMP_NE(_flag_a, _flag_b)) goto L_250064C4; /* 0x250065BB: jne 0x250064c4 */
   8793 L_250065C1:
   8794     goto L_25006712; /* 0x250065C1: jmp 0x25006712 */
   8795 L_250065C6:
   8796     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   8797     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   8798     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8800     _flag_k = FK_NARROW(FK_CMP, 24);
   8801     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   8802 L_250065CE:
   8803     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   8804     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   8805     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   8806     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   8807     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   8808     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   8809     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   8810     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   8811     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8813     _flag_k = FK_CMP;
   8814     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   8815 L_250065E6:
   8816     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   8817 L_250065E9:
   8818     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   8819     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   8820     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   8821     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   8822     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8824     _flag_k = FK_CMP;
   8825     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   8826 L_250065F7:
   8827     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   8828     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   8829 L_250065FC:
   8830     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   8831     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   8832     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8833     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8834     _flag_k = FK_CMP;
   8835     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   8836 L_25006604:
   8837     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   8838     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   8839 L_25006609:
   8840     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   8841 L_2500660B:
   8842     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   8843     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   8844     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   8845     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   8846 L_25006617:
   8847     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   8848     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   8849     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   8850     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   8851     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   8852     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   8853     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   8854     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   8855     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   8856     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   8857     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   8858     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   8859     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   8860     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8862     _flag_k = FK_CMP;
   8863     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   8864 L_2500663E:
   8865     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   8866 L_25006641:
   8867     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   8868     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   8869     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   8870     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   8871     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8872     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8873     _flag_k = FK_CMP;
   8874     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   8875 L_2500664F:
   8876     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   8877     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   8878     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   8879 L_25006659:
   8880     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   8881     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   8882     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8884     _flag_k = FK_CMP;
   8885     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   8886 L_25006660:
   8887     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   8888     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   8889     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   8890 L_25006669:
   8891     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   8892     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   8893     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   8894 L_25006673:
   8895     edx = MEM32(ecx); /* 0x25006673: mov edx, dword ptr [ecx] */
   8896     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x25006675: cmp byte ptr [edx + 0x10], bl */
   8897     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8899     _flag_k = FK_NARROW(FK_CMP, 24);
   8900     if (CMP_NE(_flag_a, _flag_b)) goto L_250066C1; /* 0x25006678: jne 0x250066c1 */
   8901 L_2500667A:
   8902     edx = MEM32(ecx + 0x8); /* 0x2500667A: mov edx, dword ptr [ecx + 8] */
   8903     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2500667D: mov byte ptr [edx + 0x10], bl */
   8904     edx = MEM32(ecx + 0x8); /* 0x25006680: mov edx, dword ptr [ecx + 8] */
   8905     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006683: mov byte ptr [ecx + 0x10], 0 */
   8906     esi = MEM32(edx); /* 0x25006687: mov esi, dword ptr [edx] */
   8907     MEM32(ecx + 0x8) = esi; /* 0x25006689: mov dword ptr [ecx + 8], esi */
   8908     esi = MEM32(edx); /* 0x2500668C: mov esi, dword ptr [edx] */
   8909     /* cmp esi, MEM32(edi + 0x8) */ /* 0x2500668E: cmp esi, dword ptr [edi + 8] */
   8910     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8912     _flag_k = FK_CMP;
   8913     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006696; /* 0x25006691: je 0x25006696 */
   8914 L_25006693:
   8915     MEM32(esi + 0x4) = ecx; /* 0x25006693: mov dword ptr [esi + 4], ecx */
   8916 L_25006696:
   8917     esi = MEM32(ecx + 0x4); /* 0x25006696: mov esi, dword ptr [ecx + 4] */
   8918     MEM32(edx + 0x4) = esi; /* 0x25006699: mov dword ptr [edx + 4], esi */
   8919     esi = MEM32(edi + 0x4); /* 0x2500669C: mov esi, dword ptr [edi + 4] */
   8920     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500669F: cmp ecx, dword ptr [esi + 4] */
   8921     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8923     _flag_k = FK_CMP;
   8924     if (CMP_NE(_flag_a, _flag_b)) goto L_250066A9; /* 0x250066A2: jne 0x250066a9 */
   8925 L_250066A4:
   8926     MEM32(esi + 0x4) = edx; /* 0x250066A4: mov dword ptr [esi + 4], edx */
   8927     goto L_250066B7; /* 0x250066A7: jmp 0x250066b7 */
   8928 L_250066A9:
   8929     esi = MEM32(ecx + 0x4); /* 0x250066A9: mov esi, dword ptr [ecx + 4] */
   8930     /* cmp ecx, MEM32(esi) */ /* 0x250066AC: cmp ecx, dword ptr [esi] */
   8931     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8933     _flag_k = FK_CMP;
   8934     if (CMP_NE(_flag_a, _flag_b)) goto L_250066B4; /* 0x250066AE: jne 0x250066b4 */
   8935 L_250066B0:
   8936     MEM32(esi) = edx; /* 0x250066B0: mov dword ptr [esi], edx */
   8937     goto L_250066B7; /* 0x250066B2: jmp 0x250066b7 */
   8938 L_250066B4:
   8939     MEM32(esi + 0x8) = edx; /* 0x250066B4: mov dword ptr [esi + 8], edx */
   8940 L_250066B7:
   8941     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   8942     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   8943     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   8944     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   8945 L_250066C1:
   8946     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   8947     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   8948     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   8949     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   8950     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   8951     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   8952     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   8953     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   8954     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   8955     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   8956     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   8957     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   8958     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   8959     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8961     _flag_k = FK_CMP;
   8962     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   8963 L_250066E7:
   8964     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   8965 L_250066EA:
   8966     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   8967     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   8968     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   8969     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   8970     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8972     _flag_k = FK_CMP;
   8973     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   8974 L_250066F8:
   8975     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   8976     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   8977 L_250066FD:
   8978     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   8979     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   8980     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8982     _flag_k = FK_CMP;
   8983     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   8984 L_25006705:
   8985     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   8986     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   8987 L_2500670A:
   8988     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   8989 L_2500670C:
   8990     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   8991 L_2500670F:
   8992     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   8993 L_25006712:
   8994     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   8995     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   8996     PUSH32(esp, edx); /* 0x25006718: push edx */
   8997     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   8998     RECOMP_FLAGS_IN();
   8999     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9000     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9001     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9002     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9003     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9004     _flag_k = FK_ADD;
   9005     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9006     eax = eax - 1; /* 0x25006727: dec eax */
   9007     _flag_k = FK_DEC;
   9008     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9009     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9010     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9011     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9012     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9013     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9014     esp = ebp; /* 0x25006733: mov esp, ebp */
   9015     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9016     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9017     RECOMP_REGS_OUT();
   9018 }
   9019 
   9020 void sub_250065C6(void) {
   9021     int _fpu_cmp = 0;
   9022     uint32_t _cf = 0;
   9023     int _df = 1;
   9024     uint32_t _flag_k = FK_NONE;
   9025     uint32_t _flag_a = 0, _flag_b = 0;
   9026     uint32_t _itail_tgt = 0;
   9027     RECOMP_REGS_LOCALS
   9028     RECOMP_ENTER(0x250065C6u);
   9029 
   9030 L_250065C6:
   9031     edx = MEM32(ecx + 0x8); /* 0x250065C6: mov edx, dword ptr [ecx + 8] */
   9032     /* cmp MEM8(edx + 0x10), LO8(ebx) */ /* 0x250065C9: cmp byte ptr [edx + 0x10], bl */
   9033     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9034     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9035     _flag_k = FK_NARROW(FK_CMP, 24);
   9036     if (CMP_NE(_flag_a, _flag_b)) goto L_25006617; /* 0x250065CC: jne 0x25006617 */
   9037 L_250065CE:
   9038     edx = MEM32(ecx); /* 0x250065CE: mov edx, dword ptr [ecx] */
   9039     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250065D0: mov byte ptr [edx + 0x10], bl */
   9040     edx = MEM32(ecx); /* 0x250065D3: mov edx, dword ptr [ecx] */
   9041     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x250065D5: mov byte ptr [ecx + 0x10], 0 */
   9042     esi = MEM32(edx + 0x8); /* 0x250065D9: mov esi, dword ptr [edx + 8] */
   9043     MEM32(ecx) = esi; /* 0x250065DC: mov dword ptr [ecx], esi */
   9044     esi = MEM32(edx + 0x8); /* 0x250065DE: mov esi, dword ptr [edx + 8] */
   9045     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250065E1: cmp esi, dword ptr [edi + 8] */
   9046     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9047     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9048     _flag_k = FK_CMP;
   9049     if (CMP_EQ(_flag_a, _flag_b)) goto L_250065E9; /* 0x250065E4: je 0x250065e9 */
   9050 L_250065E6:
   9051     MEM32(esi + 0x4) = ecx; /* 0x250065E6: mov dword ptr [esi + 4], ecx */
   9052 L_250065E9:
   9053     esi = MEM32(ecx + 0x4); /* 0x250065E9: mov esi, dword ptr [ecx + 4] */
   9054     MEM32(edx + 0x4) = esi; /* 0x250065EC: mov dword ptr [edx + 4], esi */
   9055     esi = MEM32(edi + 0x4); /* 0x250065EF: mov esi, dword ptr [edi + 4] */
   9056     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250065F2: cmp ecx, dword ptr [esi + 4] */
   9057     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9059     _flag_k = FK_CMP;
   9060     if (CMP_NE(_flag_a, _flag_b)) goto L_250065FC; /* 0x250065F5: jne 0x250065fc */
   9061 L_250065F7:
   9062     MEM32(esi + 0x4) = edx; /* 0x250065F7: mov dword ptr [esi + 4], edx */
   9063     goto L_2500660B; /* 0x250065FA: jmp 0x2500660b */
   9064 L_250065FC:
   9065     esi = MEM32(ecx + 0x4); /* 0x250065FC: mov esi, dword ptr [ecx + 4] */
   9066     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x250065FF: cmp ecx, dword ptr [esi + 8] */
   9067     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9069     _flag_k = FK_CMP;
   9070     if (CMP_NE(_flag_a, _flag_b)) goto L_25006609; /* 0x25006602: jne 0x25006609 */
   9071 L_25006604:
   9072     MEM32(esi + 0x8) = edx; /* 0x25006604: mov dword ptr [esi + 8], edx */
   9073     goto L_2500660B; /* 0x25006607: jmp 0x2500660b */
   9074 L_25006609:
   9075     MEM32(esi) = edx; /* 0x25006609: mov dword ptr [esi], edx */
   9076 L_2500660B:
   9077     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   9078     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   9079     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   9080     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   9081 L_25006617:
   9082     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   9083     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   9084     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   9085     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   9086     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   9087     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   9088     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   9089     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   9090     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   9091     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   9092     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   9093     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   9094     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   9095     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9096     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9097     _flag_k = FK_CMP;
   9098     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   9099 L_2500663E:
   9100     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   9101 L_25006641:
   9102     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   9103     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   9104     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   9105     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   9106     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9108     _flag_k = FK_CMP;
   9109     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   9110 L_2500664F:
   9111     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   9112     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   9113     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   9114 L_25006659:
   9115     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   9116     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   9117     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   9118     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9119     _flag_k = FK_CMP;
   9120     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   9121 L_25006660:
   9122     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   9123     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   9124     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   9125 L_25006669:
   9126     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   9127     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   9128     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   9129 L_2500670F:
   9130     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   9131     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9132     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9133     PUSH32(esp, edx); /* 0x25006718: push edx */
   9134     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9135     RECOMP_FLAGS_IN();
   9136     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9137     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9138     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9139     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9140     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9141     _flag_k = FK_ADD;
   9142     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9143     eax = eax - 1; /* 0x25006727: dec eax */
   9144     _flag_k = FK_DEC;
   9145     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9146     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9147     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9148     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9149     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9150     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9151     esp = ebp; /* 0x25006733: mov esp, ebp */
   9152     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9153     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9154     RECOMP_REGS_OUT();
   9155 }
   9156 
   9157 void sub_2500660B(void) {
   9158     int _fpu_cmp = 0;
   9159     uint32_t _cf = 0;
   9160     int _df = 1;
   9161     uint32_t _flag_k = FK_NONE;
   9162     uint32_t _flag_a = 0, _flag_b = 0;
   9163     uint32_t _itail_tgt = 0;
   9164     RECOMP_REGS_LOCALS
   9165     RECOMP_ENTER(0x2500660Bu);
   9166 
   9167 L_2500660B:
   9168     MEM32(edx + 0x8) = ecx; /* 0x2500660B: mov dword ptr [edx + 8], ecx */
   9169     MEM32(ecx + 0x4) = edx; /* 0x2500660E: mov dword ptr [ecx + 4], edx */
   9170     ecx = MEM32(eax + 0x4); /* 0x25006611: mov ecx, dword ptr [eax + 4] */
   9171     ecx = MEM32(ecx + 0x8); /* 0x25006614: mov ecx, dword ptr [ecx + 8] */
   9172     edx = MEM32(eax + 0x4); /* 0x25006617: mov edx, dword ptr [eax + 4] */
   9173     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x2500661A: mov dl, byte ptr [edx + 0x10] */
   9174     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2500661D: mov byte ptr [ecx + 0x10], dl */
   9175     edx = MEM32(eax + 0x4); /* 0x25006620: mov edx, dword ptr [eax + 4] */
   9176     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006623: mov byte ptr [edx + 0x10], bl */
   9177     ecx = MEM32(ecx + 0x8); /* 0x25006626: mov ecx, dword ptr [ecx + 8] */
   9178     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006629: mov byte ptr [ecx + 0x10], bl */
   9179     ecx = MEM32(eax + 0x4); /* 0x2500662C: mov ecx, dword ptr [eax + 4] */
   9180     edx = MEM32(ecx + 0x8); /* 0x2500662F: mov edx, dword ptr [ecx + 8] */
   9181     esi = MEM32(edx); /* 0x25006632: mov esi, dword ptr [edx] */
   9182     MEM32(ecx + 0x8) = esi; /* 0x25006634: mov dword ptr [ecx + 8], esi */
   9183     esi = MEM32(edx); /* 0x25006637: mov esi, dword ptr [edx] */
   9184     /* cmp esi, MEM32(edi + 0x8) */ /* 0x25006639: cmp esi, dword ptr [edi + 8] */
   9185     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9187     _flag_k = FK_CMP;
   9188     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006641; /* 0x2500663C: je 0x25006641 */
   9189 L_2500663E:
   9190     MEM32(esi + 0x4) = ecx; /* 0x2500663E: mov dword ptr [esi + 4], ecx */
   9191 L_25006641:
   9192     esi = MEM32(ecx + 0x4); /* 0x25006641: mov esi, dword ptr [ecx + 4] */
   9193     MEM32(edx + 0x4) = esi; /* 0x25006644: mov dword ptr [edx + 4], esi */
   9194     esi = MEM32(edi + 0x4); /* 0x25006647: mov esi, dword ptr [edi + 4] */
   9195     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2500664A: cmp ecx, dword ptr [esi + 4] */
   9196     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9197     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9198     _flag_k = FK_CMP;
   9199     if (CMP_NE(_flag_a, _flag_b)) goto L_25006659; /* 0x2500664D: jne 0x25006659 */
   9200 L_2500664F:
   9201     MEM32(esi + 0x4) = edx; /* 0x2500664F: mov dword ptr [esi + 4], edx */
   9202     MEM32(edx) = ecx; /* 0x25006652: mov dword ptr [edx], ecx */
   9203     goto L_2500670F; /* 0x25006654: jmp 0x2500670f */
   9204 L_25006659:
   9205     esi = MEM32(ecx + 0x4); /* 0x25006659: mov esi, dword ptr [ecx + 4] */
   9206     /* cmp ecx, MEM32(esi) */ /* 0x2500665C: cmp ecx, dword ptr [esi] */
   9207     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   9208     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9209     _flag_k = FK_CMP;
   9210     if (CMP_NE(_flag_a, _flag_b)) goto L_25006669; /* 0x2500665E: jne 0x25006669 */
   9211 L_25006660:
   9212     MEM32(esi) = edx; /* 0x25006660: mov dword ptr [esi], edx */
   9213     MEM32(edx) = ecx; /* 0x25006662: mov dword ptr [edx], ecx */
   9214     goto L_2500670F; /* 0x25006664: jmp 0x2500670f */
   9215 L_25006669:
   9216     MEM32(esi + 0x8) = edx; /* 0x25006669: mov dword ptr [esi + 8], edx */
   9217     MEM32(edx) = ecx; /* 0x2500666C: mov dword ptr [edx], ecx */
   9218     goto L_2500670F; /* 0x2500666E: jmp 0x2500670f */
   9219 L_2500670F:
   9220     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   9221     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9222     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9223     PUSH32(esp, edx); /* 0x25006718: push edx */
   9224     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9225     RECOMP_FLAGS_IN();
   9226     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9227     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9228     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9229     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9230     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9231     _flag_k = FK_ADD;
   9232     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9233     eax = eax - 1; /* 0x25006727: dec eax */
   9234     _flag_k = FK_DEC;
   9235     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9236     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9237     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9238     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9239     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9240     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9241     esp = ebp; /* 0x25006733: mov esp, ebp */
   9242     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9243     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9244     RECOMP_REGS_OUT();
   9245 }
   9246 
   9247 void sub_250066B7(void) {
   9248     int _fpu_cmp = 0;
   9249     uint32_t _cf = 0;
   9250     int _df = 1;
   9251     uint32_t _flag_k = FK_NONE;
   9252     uint32_t _flag_a = 0, _flag_b = 0;
   9253     uint32_t _itail_tgt = 0;
   9254     RECOMP_REGS_LOCALS
   9255     RECOMP_ENTER(0x250066B7u);
   9256 
   9257 L_250066B7:
   9258     MEM32(edx) = ecx; /* 0x250066B7: mov dword ptr [edx], ecx */
   9259     MEM32(ecx + 0x4) = edx; /* 0x250066B9: mov dword ptr [ecx + 4], edx */
   9260     ecx = MEM32(eax + 0x4); /* 0x250066BC: mov ecx, dword ptr [eax + 4] */
   9261     ecx = MEM32(ecx); /* 0x250066BF: mov ecx, dword ptr [ecx] */
   9262     edx = MEM32(eax + 0x4); /* 0x250066C1: mov edx, dword ptr [eax + 4] */
   9263     SET_LO8(edx, MEM8(edx + 0x10)); /* 0x250066C4: mov dl, byte ptr [edx + 0x10] */
   9264     MEM8(ecx + 0x10) = (uint8_t)(LO8(edx)); /* 0x250066C7: mov byte ptr [ecx + 0x10], dl */
   9265     edx = MEM32(eax + 0x4); /* 0x250066CA: mov edx, dword ptr [eax + 4] */
   9266     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066CD: mov byte ptr [edx + 0x10], bl */
   9267     ecx = MEM32(ecx); /* 0x250066D0: mov ecx, dword ptr [ecx] */
   9268     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250066D2: mov byte ptr [ecx + 0x10], bl */
   9269     ecx = MEM32(eax + 0x4); /* 0x250066D5: mov ecx, dword ptr [eax + 4] */
   9270     edx = MEM32(ecx); /* 0x250066D8: mov edx, dword ptr [ecx] */
   9271     esi = MEM32(edx + 0x8); /* 0x250066DA: mov esi, dword ptr [edx + 8] */
   9272     MEM32(ecx) = esi; /* 0x250066DD: mov dword ptr [ecx], esi */
   9273     esi = MEM32(edx + 0x8); /* 0x250066DF: mov esi, dword ptr [edx + 8] */
   9274     /* cmp esi, MEM32(edi + 0x8) */ /* 0x250066E2: cmp esi, dword ptr [edi + 8] */
   9275     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9276     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9277     _flag_k = FK_CMP;
   9278     if (CMP_EQ(_flag_a, _flag_b)) goto L_250066EA; /* 0x250066E5: je 0x250066ea */
   9279 L_250066E7:
   9280     MEM32(esi + 0x4) = ecx; /* 0x250066E7: mov dword ptr [esi + 4], ecx */
   9281 L_250066EA:
   9282     esi = MEM32(ecx + 0x4); /* 0x250066EA: mov esi, dword ptr [ecx + 4] */
   9283     MEM32(edx + 0x4) = esi; /* 0x250066ED: mov dword ptr [edx + 4], esi */
   9284     esi = MEM32(edi + 0x4); /* 0x250066F0: mov esi, dword ptr [edi + 4] */
   9285     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x250066F3: cmp ecx, dword ptr [esi + 4] */
   9286     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9287     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9288     _flag_k = FK_CMP;
   9289     if (CMP_NE(_flag_a, _flag_b)) goto L_250066FD; /* 0x250066F6: jne 0x250066fd */
   9290 L_250066F8:
   9291     MEM32(esi + 0x4) = edx; /* 0x250066F8: mov dword ptr [esi + 4], edx */
   9292     goto L_2500670C; /* 0x250066FB: jmp 0x2500670c */
   9293 L_250066FD:
   9294     esi = MEM32(ecx + 0x4); /* 0x250066FD: mov esi, dword ptr [ecx + 4] */
   9295     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x25006700: cmp ecx, dword ptr [esi + 8] */
   9296     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9298     _flag_k = FK_CMP;
   9299     if (CMP_NE(_flag_a, _flag_b)) goto L_2500670A; /* 0x25006703: jne 0x2500670a */
   9300 L_25006705:
   9301     MEM32(esi + 0x8) = edx; /* 0x25006705: mov dword ptr [esi + 8], edx */
   9302     goto L_2500670C; /* 0x25006708: jmp 0x2500670c */
   9303 L_2500670A:
   9304     MEM32(esi) = edx; /* 0x2500670A: mov dword ptr [esi], edx */
   9305 L_2500670C:
   9306     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   9307     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   9308     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9309     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9310     PUSH32(esp, edx); /* 0x25006718: push edx */
   9311     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9312     RECOMP_FLAGS_IN();
   9313     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9314     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9315     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9316     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9317     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9318     _flag_k = FK_ADD;
   9319     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9320     eax = eax - 1; /* 0x25006727: dec eax */
   9321     _flag_k = FK_DEC;
   9322     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9323     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9324     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9325     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9326     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9327     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9328     esp = ebp; /* 0x25006733: mov esp, ebp */
   9329     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9330     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9331     RECOMP_REGS_OUT();
   9332 }
   9333 
   9334 void sub_2500670C(void) {
   9335     int _fpu_cmp = 0;
   9336     uint32_t _cf = 0;
   9337     int _df = 1;
   9338     uint32_t _flag_k = FK_NONE;
   9339     uint32_t _flag_a = 0, _flag_b = 0;
   9340     uint32_t _itail_tgt = 0;
   9341     RECOMP_REGS_LOCALS
   9342     RECOMP_ENTER(0x2500670Cu);
   9343 
   9344 L_2500670C:
   9345     MEM32(edx + 0x8) = ecx; /* 0x2500670C: mov dword ptr [edx + 8], ecx */
   9346     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   9347     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9348     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9349     PUSH32(esp, edx); /* 0x25006718: push edx */
   9350     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9351     RECOMP_FLAGS_IN();
   9352     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9353     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9354     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9355     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9356     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9357     _flag_k = FK_ADD;
   9358     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9359     eax = eax - 1; /* 0x25006727: dec eax */
   9360     _flag_k = FK_DEC;
   9361     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9362     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9363     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9364     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9365     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9366     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9367     esp = ebp; /* 0x25006733: mov esp, ebp */
   9368     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9369     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9370     RECOMP_REGS_OUT();
   9371 }
   9372 
   9373 void sub_2500670F(void) {
   9374     int _fpu_cmp = 0;
   9375     uint32_t _cf = 0;
   9376     int _df = 1;
   9377     uint32_t _flag_k = FK_NONE;
   9378     uint32_t _flag_a = 0, _flag_b = 0;
   9379     uint32_t _itail_tgt = 0;
   9380     RECOMP_REGS_LOCALS
   9381     RECOMP_ENTER(0x2500670Fu);
   9382 
   9383 L_2500670F:
   9384     MEM32(ecx + 0x4) = edx; /* 0x2500670F: mov dword ptr [ecx + 4], edx */
   9385     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9386     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9387     PUSH32(esp, edx); /* 0x25006718: push edx */
   9388     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9389     RECOMP_FLAGS_IN();
   9390     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9391     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9392     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9393     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9394     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9395     _flag_k = FK_ADD;
   9396     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9397     eax = eax - 1; /* 0x25006727: dec eax */
   9398     _flag_k = FK_DEC;
   9399     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9400     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9401     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9402     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9403     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9404     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9405     esp = ebp; /* 0x25006733: mov esp, ebp */
   9406     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9407     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9408     RECOMP_REGS_OUT();
   9409 }
   9410 
   9411 void sub_25006712(void) {
   9412     int _fpu_cmp = 0;
   9413     uint32_t _cf = 0;
   9414     int _df = 1;
   9415     uint32_t _flag_k = FK_NONE;
   9416     uint32_t _flag_a = 0, _flag_b = 0;
   9417     uint32_t _itail_tgt = 0;
   9418     RECOMP_REGS_LOCALS
   9419     RECOMP_ENTER(0x25006712u);
   9420 
   9421 L_25006712:
   9422     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006712: mov byte ptr [eax + 0x10], bl */
   9423     edx = MEM32(ebp + (-0x4)); /* 0x25006715: mov edx, dword ptr [ebp - 4] */
   9424     PUSH32(esp, edx); /* 0x25006718: push edx */
   9425     RECOMP_ICALL(0x25137EECu); /* 0x25006719: call 0x25137eec */ /* not lifted */
   9426     RECOMP_FLAGS_IN();
   9427     eax = MEM32(edi + 0x10); /* 0x2500671E: mov eax, dword ptr [edi + 0x10] */
   9428     ecx = MEM32(ebp + 0xC); /* 0x25006721: mov ecx, dword ptr [ebp + 0xc] */
   9429     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9430     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9431     esp = esp + 4; /* 0x25006724: add esp, 4 */
   9432     _flag_k = FK_ADD;
   9433     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9434     eax = eax - 1; /* 0x25006727: dec eax */
   9435     _flag_k = FK_DEC;
   9436     MEM32(edi + 0x10) = eax; /* 0x25006728: mov dword ptr [edi + 0x10], eax */
   9437     eax = MEM32(ebp + 0x8); /* 0x2500672B: mov eax, dword ptr [ebp + 8] */
   9438     edi = POP32_VAL(esp); /* 0x2500672E: pop edi */
   9439     esi = POP32_VAL(esp); /* 0x2500672F: pop esi */
   9440     MEM32(eax) = ecx; /* 0x25006730: mov dword ptr [eax], ecx */
   9441     ebx = POP32_VAL(esp); /* 0x25006732: pop ebx */
   9442     esp = ebp; /* 0x25006733: mov esp, ebp */
   9443     ebp = POP32_VAL(esp); /* 0x25006735: pop ebp */
   9444     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006736: ret 8 */
   9445     RECOMP_REGS_OUT();
   9446 }
   9447 
   9448 void sub_25006740(void) {
   9449     int _fpu_cmp = 0;
   9450     uint32_t _cf = 0;
   9451     int _df = 1;
   9452     uint32_t _flag_k = FK_NONE;
   9453     uint32_t _flag_a = 0, _flag_b = 0;
   9454     uint32_t _itail_tgt = 0;
   9455     RECOMP_REGS_LOCALS
   9456     RECOMP_ENTER(0x25006740u);
   9457 
   9458 L_25006740:
   9459     PUSH32(esp, ebp); /* 0x25006740: push ebp */
   9460     ebp = esp; /* 0x25006741: mov ebp, esp */
   9461     PUSH32(esp, ebx); /* 0x25006743: push ebx */
   9462     PUSH32(esp, esi); /* 0x25006744: push esi */
   9463     ebx = ecx; /* 0x25006745: mov ebx, ecx */
   9464     eax = MEM32(ebx + 0x8); /* 0x25006747: mov eax, dword ptr [ebx + 8] */
   9465     PUSH32(esp, edi); /* 0x2500674A: push edi */
   9466     edi = MEM32(ebp + 0x8); /* 0x2500674B: mov edi, dword ptr [ebp + 8] */
   9467     /* cmp edi, eax */ /* 0x2500674E: cmp edi, eax */
   9468     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9469     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9470     _flag_k = FK_CMP;
   9471     esi = edi; /* 0x25006750: mov esi, edi */
   9472     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006773; /* 0x25006752: je 0x25006773 */
   9473 L_25006754:
   9474     eax = MEM32(esi + 0x8); /* 0x25006754: mov eax, dword ptr [esi + 8] */
   9475     PUSH32(esp, eax); /* 0x25006757: push eax */
   9476     ecx = ebx; /* 0x25006758: mov ecx, ebx */
   9477     RECOMP_ICALL(0x25006740u); /* 0x2500675A: call 0x25006740 */ /* not lifted */
   9478     RECOMP_FLAGS_IN();
   9479     esi = MEM32(esi); /* 0x2500675F: mov esi, dword ptr [esi] */
   9480     PUSH32(esp, edi); /* 0x25006761: push edi */
   9481     RECOMP_ICALL(0x25137EECu); /* 0x25006762: call 0x25137eec */ /* not lifted */
   9482     RECOMP_FLAGS_IN();
   9483     eax = MEM32(ebx + 0x8); /* 0x25006767: mov eax, dword ptr [ebx + 8] */
   9484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9485     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9486     esp = esp + 4; /* 0x2500676A: add esp, 4 */
   9487     _flag_k = FK_ADD;
   9488     /* cmp esi, eax */ /* 0x2500676D: cmp esi, eax */
   9489     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9491     _flag_k = FK_CMP;
   9492     edi = esi; /* 0x2500676F: mov edi, esi */
   9493     RECOMP_BACKEDGE();
   9494     if (CMP_NE(_flag_a, _flag_b)) goto L_25006754; /* 0x25006771: jne 0x25006754 */
   9495 L_25006773:
   9496     edi = POP32_VAL(esp); /* 0x25006773: pop edi */
   9497     esi = POP32_VAL(esp); /* 0x25006774: pop esi */
   9498     ebx = POP32_VAL(esp); /* 0x25006775: pop ebx */
   9499     ebp = POP32_VAL(esp); /* 0x25006776: pop ebp */
   9500     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006777: ret 4 */
   9501     RECOMP_REGS_OUT();
   9502 }
   9503 
   9504 void sub_25006780(void) {
   9505     int _fpu_cmp = 0;
   9506     uint32_t _cf = 0;
   9507     int _df = 1;
   9508     uint32_t _flag_k = FK_NONE;
   9509     uint32_t _flag_a = 0, _flag_b = 0;
   9510     uint32_t _itail_tgt = 0;
   9511     RECOMP_REGS_LOCALS
   9512     RECOMP_ENTER(0x25006780u);
   9513 
   9514 L_25006780:
   9515     PUSH32(esp, ebp); /* 0x25006780: push ebp */
   9516     ebp = esp; /* 0x25006781: mov ebp, esp */
   9517     PUSH32(esp, ebx); /* 0x25006783: push ebx */
   9518     PUSH32(esp, esi); /* 0x25006784: push esi */
   9519     ebx = ecx; /* 0x25006785: mov ebx, ecx */
   9520     eax = MEM32(ebx + 0x8); /* 0x25006787: mov eax, dword ptr [ebx + 8] */
   9521     PUSH32(esp, edi); /* 0x2500678A: push edi */
   9522     edi = MEM32(ebp + 0x8); /* 0x2500678B: mov edi, dword ptr [ebp + 8] */
   9523     /* cmp edi, eax */ /* 0x2500678E: cmp edi, eax */
   9524     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9526     _flag_k = FK_CMP;
   9527     esi = edi; /* 0x25006790: mov esi, edi */
   9528     if (CMP_EQ(_flag_a, _flag_b)) goto L_250067B3; /* 0x25006792: je 0x250067b3 */
   9529 L_25006794:
   9530     eax = MEM32(esi + 0x8); /* 0x25006794: mov eax, dword ptr [esi + 8] */
   9531     PUSH32(esp, eax); /* 0x25006797: push eax */
   9532     ecx = ebx; /* 0x25006798: mov ecx, ebx */
   9533     RECOMP_ICALL(0x25006780u); /* 0x2500679A: call 0x25006780 */ /* not lifted */
   9534     RECOMP_FLAGS_IN();
   9535     esi = MEM32(esi); /* 0x2500679F: mov esi, dword ptr [esi] */
   9536     PUSH32(esp, edi); /* 0x250067A1: push edi */
   9537     RECOMP_ICALL(0x25137EECu); /* 0x250067A2: call 0x25137eec */ /* not lifted */
   9538     RECOMP_FLAGS_IN();
   9539     eax = MEM32(ebx + 0x8); /* 0x250067A7: mov eax, dword ptr [ebx + 8] */
   9540     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9541     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9542     esp = esp + 4; /* 0x250067AA: add esp, 4 */
   9543     _flag_k = FK_ADD;
   9544     /* cmp esi, eax */ /* 0x250067AD: cmp esi, eax */
   9545     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9547     _flag_k = FK_CMP;
   9548     edi = esi; /* 0x250067AF: mov edi, esi */
   9549     RECOMP_BACKEDGE();
   9550     if (CMP_NE(_flag_a, _flag_b)) goto L_25006794; /* 0x250067B1: jne 0x25006794 */
   9551 L_250067B3:
   9552     edi = POP32_VAL(esp); /* 0x250067B3: pop edi */
   9553     esi = POP32_VAL(esp); /* 0x250067B4: pop esi */
   9554     ebx = POP32_VAL(esp); /* 0x250067B5: pop ebx */
   9555     ebp = POP32_VAL(esp); /* 0x250067B6: pop ebp */
   9556     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250067B7: ret 4 */
   9557     RECOMP_REGS_OUT();
   9558 }
   9559 
   9560 void sub_250067C0(void) {
   9561     int _fpu_cmp = 0;
   9562     uint32_t _cf = 0;
   9563     int _df = 1;
   9564     uint32_t _flag_k = FK_NONE;
   9565     uint32_t _flag_a = 0, _flag_b = 0;
   9566     uint32_t _itail_tgt = 0;
   9567     RECOMP_REGS_LOCALS
   9568     RECOMP_ENTER(0x250067C0u);
   9569 
   9570 L_250067C0:
   9571     PUSH32(esp, ebp); /* 0x250067C0: push ebp */
   9572     ebp = esp; /* 0x250067C1: mov ebp, esp */
   9573     PUSH32(esp, ebx); /* 0x250067C3: push ebx */
   9574     PUSH32(esp, esi); /* 0x250067C4: push esi */
   9575     ebx = ecx; /* 0x250067C5: mov ebx, ecx */
   9576     eax = MEM32(ebx + 0x8); /* 0x250067C7: mov eax, dword ptr [ebx + 8] */
   9577     PUSH32(esp, edi); /* 0x250067CA: push edi */
   9578     edi = MEM32(ebp + 0x8); /* 0x250067CB: mov edi, dword ptr [ebp + 8] */
   9579     /* cmp edi, eax */ /* 0x250067CE: cmp edi, eax */
   9580     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9581     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9582     _flag_k = FK_CMP;
   9583     esi = edi; /* 0x250067D0: mov esi, edi */
   9584     if (CMP_EQ(_flag_a, _flag_b)) goto L_250067F3; /* 0x250067D2: je 0x250067f3 */
   9585 L_250067D4:
   9586     eax = MEM32(esi + 0x8); /* 0x250067D4: mov eax, dword ptr [esi + 8] */
   9587     PUSH32(esp, eax); /* 0x250067D7: push eax */
   9588     ecx = ebx; /* 0x250067D8: mov ecx, ebx */
   9589     RECOMP_ICALL(0x250067C0u); /* 0x250067DA: call 0x250067c0 */ /* not lifted */
   9590     RECOMP_FLAGS_IN();
   9591     esi = MEM32(esi); /* 0x250067DF: mov esi, dword ptr [esi] */
   9592     PUSH32(esp, edi); /* 0x250067E1: push edi */
   9593     RECOMP_ICALL(0x25137EECu); /* 0x250067E2: call 0x25137eec */ /* not lifted */
   9594     RECOMP_FLAGS_IN();
   9595     eax = MEM32(ebx + 0x8); /* 0x250067E7: mov eax, dword ptr [ebx + 8] */
   9596     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9597     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9598     esp = esp + 4; /* 0x250067EA: add esp, 4 */
   9599     _flag_k = FK_ADD;
   9600     /* cmp esi, eax */ /* 0x250067ED: cmp esi, eax */
   9601     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9602     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9603     _flag_k = FK_CMP;
   9604     edi = esi; /* 0x250067EF: mov edi, esi */
   9605     RECOMP_BACKEDGE();
   9606     if (CMP_NE(_flag_a, _flag_b)) goto L_250067D4; /* 0x250067F1: jne 0x250067d4 */
   9607 L_250067F3:
   9608     edi = POP32_VAL(esp); /* 0x250067F3: pop edi */
   9609     esi = POP32_VAL(esp); /* 0x250067F4: pop esi */
   9610     ebx = POP32_VAL(esp); /* 0x250067F5: pop ebx */
   9611     ebp = POP32_VAL(esp); /* 0x250067F6: pop ebp */
   9612     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250067F7: ret 4 */
   9613     RECOMP_REGS_OUT();
   9614 }
   9615 
   9616 void sub_25006800(void) {
   9617     int _fpu_cmp = 0;
   9618     uint32_t _cf = 0;
   9619     int _df = 1;
   9620     uint32_t _flag_k = FK_NONE;
   9621     uint32_t _flag_a = 0, _flag_b = 0;
   9622     uint32_t _itail_tgt = 0;
   9623     RECOMP_REGS_LOCALS
   9624     RECOMP_ENTER(0x25006800u);
   9625 
   9626 L_25006800:
   9627     PUSH32(esp, ebp); /* 0x25006800: push ebp */
   9628     ebp = esp; /* 0x25006801: mov ebp, esp */
   9629     eax = MEM32(ebp + 0x8); /* 0x25006803: mov eax, dword ptr [ebp + 8] */
   9630     ecx = MEM32(eax); /* 0x25006806: mov ecx, dword ptr [eax] */
   9631     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x25006808: mov dl, byte ptr [ecx + 0x11] */
   9632     /* test LO8(edx), LO8(edx) */ /* 0x2500680B: test dl, dl */
   9633     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9634     _cf = 0;
   9635     _flag_k = FK_NARROW(FK_TEST, 24);
   9636     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500681A; /* 0x2500680D: jne 0x2500681a */
   9637 L_2500680F:
   9638     eax = ecx; /* 0x2500680F: mov eax, ecx */
   9639     ecx = MEM32(eax); /* 0x25006811: mov ecx, dword ptr [eax] */
   9640     SET_LO8(edx, MEM8(ecx + 0x11)); /* 0x25006813: mov dl, byte ptr [ecx + 0x11] */
   9641     /* test LO8(edx), LO8(edx) */ /* 0x25006816: test dl, dl */
   9642     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9643     _cf = 0;
   9644     _flag_k = FK_NARROW(FK_TEST, 24);
   9645     RECOMP_BACKEDGE();
   9646     if (TEST_Z(_flag_a, _flag_b)) goto L_2500680F; /* 0x25006818: je 0x2500680f */
   9647 L_2500681A:
   9648     ebp = POP32_VAL(esp); /* 0x2500681A: pop ebp */
   9649     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2500681B: ret  */
   9650     RECOMP_REGS_OUT();
   9651 }
   9652 
   9653 void sub_25006820(void) {
   9654     int _fpu_cmp = 0;
   9655     uint32_t _cf = 0;
   9656     int _df = 1;
   9657     uint32_t _flag_k = FK_NONE;
   9658     uint32_t _flag_a = 0, _flag_b = 0;
   9659     uint32_t _itail_tgt = 0;
   9660     RECOMP_REGS_LOCALS
   9661     RECOMP_ENTER(0x25006820u);
   9662 
   9663 L_25006820:
   9664     PUSH32(esp, ebp); /* 0x25006820: push ebp */
   9665     ebp = esp; /* 0x25006821: mov ebp, esp */
   9666     PUSH32(esp, ebx); /* 0x25006823: push ebx */
   9667     PUSH32(esp, esi); /* 0x25006824: push esi */
   9668     ebx = ecx; /* 0x25006825: mov ebx, ecx */
   9669     eax = MEM32(ebx + 0x8); /* 0x25006827: mov eax, dword ptr [ebx + 8] */
   9670     PUSH32(esp, edi); /* 0x2500682A: push edi */
   9671     edi = MEM32(ebp + 0x8); /* 0x2500682B: mov edi, dword ptr [ebp + 8] */
   9672     /* cmp edi, eax */ /* 0x2500682E: cmp edi, eax */
   9673     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9674     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9675     _flag_k = FK_CMP;
   9676     esi = edi; /* 0x25006830: mov esi, edi */
   9677     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006853; /* 0x25006832: je 0x25006853 */
   9678 L_25006834:
   9679     eax = MEM32(esi + 0x8); /* 0x25006834: mov eax, dword ptr [esi + 8] */
   9680     PUSH32(esp, eax); /* 0x25006837: push eax */
   9681     ecx = ebx; /* 0x25006838: mov ecx, ebx */
   9682     RECOMP_ICALL(0x25006820u); /* 0x2500683A: call 0x25006820 */ /* not lifted */
   9683     RECOMP_FLAGS_IN();
   9684     esi = MEM32(esi); /* 0x2500683F: mov esi, dword ptr [esi] */
   9685     PUSH32(esp, edi); /* 0x25006841: push edi */
   9686     RECOMP_ICALL(0x25137EECu); /* 0x25006842: call 0x25137eec */ /* not lifted */
   9687     RECOMP_FLAGS_IN();
   9688     eax = MEM32(ebx + 0x8); /* 0x25006847: mov eax, dword ptr [ebx + 8] */
   9689     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9690     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9691     esp = esp + 4; /* 0x2500684A: add esp, 4 */
   9692     _flag_k = FK_ADD;
   9693     /* cmp esi, eax */ /* 0x2500684D: cmp esi, eax */
   9694     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9696     _flag_k = FK_CMP;
   9697     edi = esi; /* 0x2500684F: mov edi, esi */
   9698     RECOMP_BACKEDGE();
   9699     if (CMP_NE(_flag_a, _flag_b)) goto L_25006834; /* 0x25006851: jne 0x25006834 */
   9700 L_25006853:
   9701     edi = POP32_VAL(esp); /* 0x25006853: pop edi */
   9702     esi = POP32_VAL(esp); /* 0x25006854: pop esi */
   9703     ebx = POP32_VAL(esp); /* 0x25006855: pop ebx */
   9704     ebp = POP32_VAL(esp); /* 0x25006856: pop ebp */
   9705     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006857: ret 4 */
   9706     RECOMP_REGS_OUT();
   9707 }
   9708 
   9709 void sub_25006860(void) {
   9710     int _fpu_cmp = 0;
   9711     uint32_t _cf = 0;
   9712     int _df = 1;
   9713     uint32_t _flag_k = FK_NONE;
   9714     uint32_t _flag_a = 0, _flag_b = 0;
   9715     uint32_t _itail_tgt = 0;
   9716     RECOMP_REGS_LOCALS
   9717     RECOMP_ENTER(0x25006860u);
   9718 
   9719 L_25006860:
   9720     PUSH32(esp, ebp); /* 0x25006860: push ebp */
   9721     ebp = esp; /* 0x25006861: mov ebp, esp */
   9722     PUSH32(esp, ecx); /* 0x25006863: push ecx */
   9723     PUSH32(esp, ebx); /* 0x25006864: push ebx */
   9724     ebx = MEM32(ebp + 0x8); /* 0x25006865: mov ebx, dword ptr [ebp + 8] */
   9725     PUSH32(esp, edi); /* 0x25006868: push edi */
   9726     edi = ecx; /* 0x25006869: mov edi, ecx */
   9727     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x2500686B: mov cl, byte ptr [ebx + 0x11] */
   9728     /* test LO8(ecx), LO8(ecx) */ /* 0x2500686E: test cl, cl */
   9729     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   9730     _cf = 0;
   9731     _flag_k = FK_NARROW(FK_TEST, 24);
   9732     eax = MEM32(edi + 0x8); /* 0x25006870: mov eax, dword ptr [edi + 8] */
   9733     MEM32(ebp + (-0x4)) = eax; /* 0x25006873: mov dword ptr [ebp - 4], eax */
   9734     if (TEST_NZ(_flag_a, _flag_b)) goto L_250068DD; /* 0x25006876: jne 0x250068dd */
   9735 L_25006878:
   9736     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x25006878: mov al, byte ptr [ebx + 0x10] */
   9737     PUSH32(esp, esi); /* 0x2500687B: push esi */
   9738     PUSH32(esp, 0x14u); /* 0x2500687C: push 0x14 */
   9739     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2500687E: mov byte ptr [ebp + 0xb], al */
   9740     RECOMP_ICALL(0x251380D0u); /* 0x25006881: call 0x251380d0 */ /* not lifted */
   9741     RECOMP_FLAGS_IN();
   9742     ecx = MEM32(ebp + 0xC); /* 0x25006886: mov ecx, dword ptr [ebp + 0xc] */
   9743     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25006889: mov dl, byte ptr [ebp + 0xb] */
   9744     esi = eax; /* 0x2500688C: mov esi, eax */
   9745     eax = esi + 0xC; /* 0x2500688E: lea eax, [esi + 0xc] */
   9746     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9747     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9748     esp = esp + 4; /* 0x25006891: add esp, 4 */
   9749     _flag_k = FK_ADD;
   9750     /* test eax, eax */ /* 0x25006894: test eax, eax */
   9751     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9752     _cf = 0;
   9753     _flag_k = FK_TEST;
   9754     MEM32(esi + 0x4) = ecx; /* 0x25006896: mov dword ptr [esi + 4], ecx */
   9755     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x25006899: mov byte ptr [esi + 0x10], dl */
   9756     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x2500689C: mov byte ptr [esi + 0x11], 0 */
   9757     if (TEST_Z(_flag_a, _flag_b)) goto L_250068A7; /* 0x250068A0: je 0x250068a7 */
   9758 L_250068A2:
   9759     ecx = MEM32(ebx + 0xC); /* 0x250068A2: mov ecx, dword ptr [ebx + 0xc] */
   9760     MEM32(eax) = ecx; /* 0x250068A5: mov dword ptr [eax], ecx */
   9761 L_250068A7:
   9762     edx = MEM32(edi + 0x8); /* 0x250068A7: mov edx, dword ptr [edi + 8] */
   9763     ecx = MEM32(ebp + (-0x4)); /* 0x250068AA: mov ecx, dword ptr [ebp - 4] */
   9764     MEM32(esi) = edx; /* 0x250068AD: mov dword ptr [esi], edx */
   9765     eax = MEM32(edi + 0x8); /* 0x250068AF: mov eax, dword ptr [edi + 8] */
   9766     MEM32(esi + 0x8) = eax; /* 0x250068B2: mov dword ptr [esi + 8], eax */
   9767     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x250068B5: cmp ecx, dword ptr [edi + 8] */
   9768     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9770     _flag_k = FK_CMP;
   9771     if (CMP_NE(_flag_a, _flag_b)) goto L_250068BD; /* 0x250068B8: jne 0x250068bd */
   9772 L_250068BA:
   9773     MEM32(ebp + (-0x4)) = esi; /* 0x250068BA: mov dword ptr [ebp - 4], esi */
   9774 L_250068BD:
   9775     edx = MEM32(ebx); /* 0x250068BD: mov edx, dword ptr [ebx] */
   9776     PUSH32(esp, esi); /* 0x250068BF: push esi */
   9777     PUSH32(esp, edx); /* 0x250068C0: push edx */
   9778     ecx = edi; /* 0x250068C1: mov ecx, edi */
   9779     RECOMP_ICALL(0x25006860u); /* 0x250068C3: call 0x25006860 */ /* not lifted */
   9780     RECOMP_FLAGS_IN();
   9781     MEM32(esi) = eax; /* 0x250068C8: mov dword ptr [esi], eax */
   9782     eax = MEM32(ebx + 0x8); /* 0x250068CA: mov eax, dword ptr [ebx + 8] */
   9783     PUSH32(esp, esi); /* 0x250068CD: push esi */
   9784     PUSH32(esp, eax); /* 0x250068CE: push eax */
   9785     ecx = edi; /* 0x250068CF: mov ecx, edi */
   9786     RECOMP_ICALL(0x25006860u); /* 0x250068D1: call 0x25006860 */ /* not lifted */
   9787     RECOMP_FLAGS_IN();
   9788     MEM32(esi + 0x8) = eax; /* 0x250068D6: mov dword ptr [esi + 8], eax */
   9789     eax = MEM32(ebp + (-0x4)); /* 0x250068D9: mov eax, dword ptr [ebp - 4] */
   9790     esi = POP32_VAL(esp); /* 0x250068DC: pop esi */
   9791 L_250068DD:
   9792     edi = POP32_VAL(esp); /* 0x250068DD: pop edi */
   9793     ebx = POP32_VAL(esp); /* 0x250068DE: pop ebx */
   9794     esp = ebp; /* 0x250068DF: mov esp, ebp */
   9795     ebp = POP32_VAL(esp); /* 0x250068E1: pop ebp */
   9796     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250068E2: ret 8 */
   9797     RECOMP_REGS_OUT();
   9798 }
   9799 
   9800 void sub_250068F0(void) {
   9801     int _fpu_cmp = 0;
   9802     uint32_t _cf = 0;
   9803     int _df = 1;
   9804     uint32_t _flag_k = FK_NONE;
   9805     uint32_t _flag_a = 0, _flag_b = 0;
   9806     uint32_t _itail_tgt = 0;
   9807     RECOMP_REGS_LOCALS
   9808     RECOMP_ENTER(0x250068F0u);
   9809 
   9810 L_250068F0:
   9811     PUSH32(esp, ebp); /* 0x250068F0: push ebp */
   9812     ebp = esp; /* 0x250068F1: mov ebp, esp */
   9813     PUSH32(esp, ebx); /* 0x250068F3: push ebx */
   9814     PUSH32(esp, esi); /* 0x250068F4: push esi */
   9815     ebx = ecx; /* 0x250068F5: mov ebx, ecx */
   9816     eax = MEM32(ebx + 0x8); /* 0x250068F7: mov eax, dword ptr [ebx + 8] */
   9817     PUSH32(esp, edi); /* 0x250068FA: push edi */
   9818     edi = MEM32(ebp + 0x8); /* 0x250068FB: mov edi, dword ptr [ebp + 8] */
   9819     /* cmp edi, eax */ /* 0x250068FE: cmp edi, eax */
   9820     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9821     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9822     _flag_k = FK_CMP;
   9823     esi = edi; /* 0x25006900: mov esi, edi */
   9824     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006923; /* 0x25006902: je 0x25006923 */
   9825 L_25006904:
   9826     eax = MEM32(esi + 0x8); /* 0x25006904: mov eax, dword ptr [esi + 8] */
   9827     PUSH32(esp, eax); /* 0x25006907: push eax */
   9828     ecx = ebx; /* 0x25006908: mov ecx, ebx */
   9829     RECOMP_ICALL(0x250068F0u); /* 0x2500690A: call 0x250068f0 */ /* not lifted */
   9830     RECOMP_FLAGS_IN();
   9831     esi = MEM32(esi); /* 0x2500690F: mov esi, dword ptr [esi] */
   9832     PUSH32(esp, edi); /* 0x25006911: push edi */
   9833     RECOMP_ICALL(0x25137EECu); /* 0x25006912: call 0x25137eec */ /* not lifted */
   9834     RECOMP_FLAGS_IN();
   9835     eax = MEM32(ebx + 0x8); /* 0x25006917: mov eax, dword ptr [ebx + 8] */
   9836     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9837     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9838     esp = esp + 4; /* 0x2500691A: add esp, 4 */
   9839     _flag_k = FK_ADD;
   9840     /* cmp esi, eax */ /* 0x2500691D: cmp esi, eax */
   9841     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9843     _flag_k = FK_CMP;
   9844     edi = esi; /* 0x2500691F: mov edi, esi */
   9845     RECOMP_BACKEDGE();
   9846     if (CMP_NE(_flag_a, _flag_b)) goto L_25006904; /* 0x25006921: jne 0x25006904 */
   9847 L_25006923:
   9848     edi = POP32_VAL(esp); /* 0x25006923: pop edi */
   9849     esi = POP32_VAL(esp); /* 0x25006924: pop esi */
   9850     ebx = POP32_VAL(esp); /* 0x25006925: pop ebx */
   9851     ebp = POP32_VAL(esp); /* 0x25006926: pop ebp */
   9852     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006927: ret 4 */
   9853     RECOMP_REGS_OUT();
   9854 }
   9855 
   9856 void sub_25006930(void) {
   9857     int _fpu_cmp = 0;
   9858     uint32_t _cf = 0;
   9859     int _df = 1;
   9860     uint32_t _flag_k = FK_NONE;
   9861     uint32_t _flag_a = 0, _flag_b = 0;
   9862     uint32_t _itail_tgt = 0;
   9863     RECOMP_REGS_LOCALS
   9864     RECOMP_ENTER(0x25006930u);
   9865 
   9866 L_25006930:
   9867     PUSH32(esp, ebp); /* 0x25006930: push ebp */
   9868     ebp = esp; /* 0x25006931: mov ebp, esp */
   9869     PUSH32(esp, ecx); /* 0x25006933: push ecx */
   9870     PUSH32(esp, ebx); /* 0x25006934: push ebx */
   9871     PUSH32(esp, esi); /* 0x25006935: push esi */
   9872     PUSH32(esp, edi); /* 0x25006936: push edi */
   9873     PUSH32(esp, 0x14u); /* 0x25006937: push 0x14 */
   9874     esi = ecx; /* 0x25006939: mov esi, ecx */
   9875     RECOMP_ICALL(0x251380D0u); /* 0x2500693B: call 0x251380d0 */ /* not lifted */
   9876     RECOMP_FLAGS_IN();
   9877     edi = MEM32(ebp + 0x10); /* 0x25006940: mov edi, dword ptr [ebp + 0x10] */
   9878     ebx = MEM32(ebp + 0x14); /* 0x25006943: mov ebx, dword ptr [ebp + 0x14] */
   9879     MEM32(eax + 0x4) = edi; /* 0x25006946: mov dword ptr [eax + 4], edi */
   9880     MEM8(eax + 0x10) = (uint8_t)(0); /* 0x25006949: mov byte ptr [eax + 0x10], 0 */
   9881     MEM8(eax + 0x11) = (uint8_t)(0); /* 0x2500694D: mov byte ptr [eax + 0x11], 0 */
   9882     ecx = MEM32(esi + 0x8); /* 0x25006951: mov ecx, dword ptr [esi + 8] */
   9883     MEM32(eax) = ecx; /* 0x25006954: mov dword ptr [eax], ecx */
   9884     edx = MEM32(esi + 0x8); /* 0x25006956: mov edx, dword ptr [esi + 8] */
   9885     MEM32(ebp + (-0x4)) = eax; /* 0x25006959: mov dword ptr [ebp - 4], eax */
   9886     MEM32(eax + 0x8) = edx; /* 0x2500695C: mov dword ptr [eax + 8], edx */
   9887     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   9888     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9889     eax = eax + 0xCu; /* 0x2500695F: add eax, 0xc */
   9890     _flag_k = FK_ADD;
   9891     PUSH32(esp, ebx); /* 0x25006962: push ebx */
   9892     PUSH32(esp, eax); /* 0x25006963: push eax */
   9893     RECOMP_ICALL(0x25085360u); /* 0x25006964: call 0x25085360 */ /* not lifted */
   9894     RECOMP_FLAGS_IN();
   9895     ecx = MEM32(esi + 0x10); /* 0x25006969: mov ecx, dword ptr [esi + 0x10] */
   9896     eax = MEM32(esi + 0x4); /* 0x2500696C: mov eax, dword ptr [esi + 4] */
   9897     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9898     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9899     esp = esp + 0xCu; /* 0x2500696F: add esp, 0xc */
   9900     _flag_k = FK_ADD;
   9901     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   9902     ecx = ecx + 1; /* 0x25006972: inc ecx */
   9903     _flag_k = FK_INC;
   9904     /* cmp edi, eax */ /* 0x25006973: cmp edi, eax */
   9905     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9907     _flag_k = FK_CMP;
   9908     MEM32(esi + 0x10) = ecx; /* 0x25006975: mov dword ptr [esi + 0x10], ecx */
   9909     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500699C; /* 0x25006978: je 0x2500699c */
   9910 L_2500697A:
   9911     eax = MEM32(ebp + 0xC); /* 0x2500697A: mov eax, dword ptr [ebp + 0xc] */
   9912     /* cmp eax, MEM32(esi + 0x8) */ /* 0x2500697D: cmp eax, dword ptr [esi + 8] */
   9913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9915     _flag_k = FK_CMP;
   9916     if (CMP_NE(_flag_a, _flag_b)) goto L_2500699C; /* 0x25006980: jne 0x2500699c */
   9917 L_25006982:
   9918     ecx = MEM32(ebx); /* 0x25006982: mov ecx, dword ptr [ebx] */
   9919     /* cmp ecx, MEM32(edi + 0xC) */ /* 0x25006984: cmp ecx, dword ptr [edi + 0xc] */
   9920     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC));
   9921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9922     _flag_k = FK_CMP;
   9923     if (CMP_B(_flag_a, _flag_b)) goto L_2500699C; /* 0x25006987: jb 0x2500699c */
   9924 L_25006989:
   9925     ecx = MEM32(ebp + (-0x4)); /* 0x25006989: mov ecx, dword ptr [ebp - 4] */
   9926     MEM32(edi + 0x8) = ecx; /* 0x2500698C: mov dword ptr [edi + 8], ecx */
   9927     eax = MEM32(esi + 0x4); /* 0x2500698F: mov eax, dword ptr [esi + 4] */
   9928     /* cmp edi, MEM32(eax + 0x8) */ /* 0x25006992: cmp edi, dword ptr [eax + 8] */
   9929     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   9930     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9931     _flag_k = FK_CMP;
   9932     if (CMP_NE(_flag_a, _flag_b)) goto L_250069BC; /* 0x25006995: jne 0x250069bc */
   9933 L_25006997:
   9934     MEM32(eax + 0x8) = ecx; /* 0x25006997: mov dword ptr [eax + 8], ecx */
   9935     goto L_250069BC; /* 0x2500699A: jmp 0x250069bc */
   9936 L_2500699C:
   9937     ecx = MEM32(ebp + (-0x4)); /* 0x2500699C: mov ecx, dword ptr [ebp - 4] */
   9938     MEM32(edi) = ecx; /* 0x2500699F: mov dword ptr [edi], ecx */
   9939     eax = MEM32(esi + 0x4); /* 0x250069A1: mov eax, dword ptr [esi + 4] */
   9940     /* cmp edi, eax */ /* 0x250069A4: cmp edi, eax */
   9941     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9943     _flag_k = FK_CMP;
   9944     if (CMP_NE(_flag_a, _flag_b)) goto L_250069B3; /* 0x250069A6: jne 0x250069b3 */
   9945 L_250069A8:
   9946     MEM32(eax + 0x4) = ecx; /* 0x250069A8: mov dword ptr [eax + 4], ecx */
   9947     edx = MEM32(esi + 0x4); /* 0x250069AB: mov edx, dword ptr [esi + 4] */
   9948     MEM32(edx + 0x8) = ecx; /* 0x250069AE: mov dword ptr [edx + 8], ecx */
   9949     goto L_250069BC; /* 0x250069B1: jmp 0x250069bc */
   9950 L_250069B3:
   9951     /* cmp edi, MEM32(eax) */ /* 0x250069B3: cmp edi, dword ptr [eax] */
   9952     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   9953     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9954     _flag_k = FK_CMP;
   9955     if (CMP_NE(_flag_a, _flag_b)) goto L_250069BC; /* 0x250069B5: jne 0x250069bc */
   9956 L_250069B7:
   9957     ecx = MEM32(ebp + (-0x4)); /* 0x250069B7: mov ecx, dword ptr [ebp - 4] */
   9958     MEM32(eax) = ecx; /* 0x250069BA: mov dword ptr [eax], ecx */
   9959 L_250069BC:
   9960     edx = MEM32(esi + 0x4); /* 0x250069BC: mov edx, dword ptr [esi + 4] */
   9961     eax = MEM32(ebp + (-0x4)); /* 0x250069BF: mov eax, dword ptr [ebp - 4] */
   9962     /* cmp eax, MEM32(edx + 0x4) */ /* 0x250069C2: cmp eax, dword ptr [edx + 4] */
   9963     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   9964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9965     _flag_k = FK_CMP;
   9966     SET_LO8(ebx, 1); /* 0x250069C5: mov bl, 1 */
   9967     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069C7: je 0x25006b4d */
   9968 L_250069CD:
   9969     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
   9970     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
   9971     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
   9972     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9973     _cf = 0;
   9974     _flag_k = FK_NARROW(FK_TEST, 24);
   9975     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
   9976 L_250069DB:
   9977     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
   9978     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
   9979     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
   9980     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   9981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9982     _flag_k = FK_CMP;
   9983     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
   9984 L_250069E8:
   9985     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
   9986     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
   9987     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
   9988     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9989     _flag_k = FK_NARROW(FK_CMP, 24);
   9990     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
   9991 L_250069F1:
   9992     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
   9993     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
   9994     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
   9995     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
   9996     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
   9997     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
   9998     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
   9999     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  10000 L_25006A0C:
  10001     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  10002     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10004     _flag_k = FK_CMP;
  10005     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  10006 L_25006A11:
  10007     eax = ecx; /* 0x25006A11: mov eax, ecx */
  10008     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  10009     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  10010     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  10011     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  10012     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  10013     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10014     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10015     _flag_k = FK_CMP;
  10016     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  10017 L_25006A22:
  10018     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  10019 L_25006A25:
  10020     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  10021     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  10022     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  10023     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  10024     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10026     _flag_k = FK_CMP;
  10027     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  10028 L_25006A33:
  10029     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  10030     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  10031 L_25006A38:
  10032     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  10033     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  10034     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10035     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10036     _flag_k = FK_CMP;
  10037     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  10038 L_25006A3F:
  10039     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  10040     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  10041 L_25006A43:
  10042     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  10043 L_25006A46:
  10044     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  10045     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  10046 L_25006A4B:
  10047     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  10048     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  10049     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  10050     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  10051     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  10052     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  10053     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  10054     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  10055     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  10056     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  10057     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  10058     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  10059     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10061     _flag_k = FK_CMP;
  10062     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  10063 L_25006A70:
  10064     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  10065 L_25006A73:
  10066     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  10067     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  10068     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  10069     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  10070     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10072     _flag_k = FK_CMP;
  10073     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  10074 L_25006A81:
  10075     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  10076     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  10077     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  10078 L_25006A8C:
  10079     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  10080     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  10081     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10083     _flag_k = FK_CMP;
  10084     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  10085 L_25006A94:
  10086     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  10087     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  10088     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  10089 L_25006A9F:
  10090     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  10091     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  10092     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  10093 L_25006AA9:
  10094     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  10095     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10096     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10097     _flag_k = FK_NARROW(FK_CMP, 24);
  10098     RECOMP_BACKEDGE();
  10099     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  10100 L_25006AB3:
  10101     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  10102     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10104     _flag_k = FK_CMP;
  10105     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  10106 L_25006AB7:
  10107     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  10108     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  10109     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  10110     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  10111     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  10112     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  10113     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10114     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10115     _flag_k = FK_CMP;
  10116     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  10117 L_25006AC8:
  10118     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  10119 L_25006ACB:
  10120     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  10121     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  10122     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  10123     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  10124     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10125     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10126     _flag_k = FK_CMP;
  10127     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  10128 L_25006AD9:
  10129     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  10130     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  10131 L_25006ADE:
  10132     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  10133     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  10134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10136     _flag_k = FK_CMP;
  10137     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  10138 L_25006AE6:
  10139     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  10140     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  10141 L_25006AEB:
  10142     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  10143 L_25006AED:
  10144     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  10145     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  10146 L_25006AF3:
  10147     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  10148     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  10149     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  10150     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  10151     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  10152     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  10153     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  10154     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  10155     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  10156     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  10157     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  10158     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  10159     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10161     _flag_k = FK_CMP;
  10162     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  10163 L_25006B18:
  10164     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  10165 L_25006B1B:
  10166     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  10167     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  10168     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  10169     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  10170     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10172     _flag_k = FK_CMP;
  10173     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  10174 L_25006B29:
  10175     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  10176     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  10177 L_25006B2E:
  10178     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  10179     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  10180     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10182     _flag_k = FK_CMP;
  10183     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  10184 L_25006B35:
  10185     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  10186     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  10187 L_25006B39:
  10188     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  10189 L_25006B3C:
  10190     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  10191 L_25006B3E:
  10192     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  10193 L_25006B41:
  10194     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  10195     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  10196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10197     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10198     _flag_k = FK_CMP;
  10199     RECOMP_BACKEDGE();
  10200     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  10201 L_25006B4D:
  10202     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  10203     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  10204     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  10205     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  10206     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  10207     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  10208     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  10209     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  10210     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  10211     esp = ebp; /* 0x25006B61: mov esp, ebp */
  10212     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  10213     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  10214     RECOMP_REGS_OUT();
  10215 }
  10216 
  10217 void sub_250069CD(void) {
  10218     int _fpu_cmp = 0;
  10219     uint32_t _cf = 0;
  10220     int _df = 1;
  10221     uint32_t _flag_k = FK_NONE;
  10222     uint32_t _flag_a = 0, _flag_b = 0;
  10223     uint32_t _itail_tgt = 0;
  10224     RECOMP_REGS_LOCALS
  10225     RECOMP_ENTER(0x250069CDu);
  10226 
  10227 L_250069CD:
  10228     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  10229     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  10230     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  10231     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10232     _cf = 0;
  10233     _flag_k = FK_NARROW(FK_TEST, 24);
  10234     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  10235 L_250069DB:
  10236     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  10237     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  10238     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  10239     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10241     _flag_k = FK_CMP;
  10242     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  10243 L_250069E8:
  10244     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  10245     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  10246     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10247     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10248     _flag_k = FK_NARROW(FK_CMP, 24);
  10249     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  10250 L_250069F1:
  10251     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  10252     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  10253     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  10254     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  10255     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  10256     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  10257     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  10258     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  10259 L_25006A0C:
  10260     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  10261     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10263     _flag_k = FK_CMP;
  10264     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  10265 L_25006A11:
  10266     eax = ecx; /* 0x25006A11: mov eax, ecx */
  10267     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  10268     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  10269     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  10270     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  10271     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  10272     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10273     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10274     _flag_k = FK_CMP;
  10275     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  10276 L_25006A22:
  10277     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  10278 L_25006A25:
  10279     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  10280     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  10281     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  10282     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  10283     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10284     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10285     _flag_k = FK_CMP;
  10286     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  10287 L_25006A33:
  10288     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  10289     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  10290 L_25006A38:
  10291     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  10292     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  10293     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10295     _flag_k = FK_CMP;
  10296     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  10297 L_25006A3F:
  10298     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  10299     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  10300 L_25006A43:
  10301     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  10302 L_25006A46:
  10303     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  10304     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  10305 L_25006A4B:
  10306     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  10307     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  10308     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  10309     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  10310     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  10311     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  10312     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  10313     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  10314     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  10315     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  10316     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  10317     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  10318     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10320     _flag_k = FK_CMP;
  10321     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  10322 L_25006A70:
  10323     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  10324 L_25006A73:
  10325     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  10326     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  10327     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  10328     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  10329     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10331     _flag_k = FK_CMP;
  10332     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  10333 L_25006A81:
  10334     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  10335     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  10336     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  10337 L_25006A8C:
  10338     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  10339     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  10340     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10342     _flag_k = FK_CMP;
  10343     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  10344 L_25006A94:
  10345     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  10346     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  10347     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  10348 L_25006A9F:
  10349     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  10350     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  10351     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  10352 L_25006AA9:
  10353     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  10354     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10356     _flag_k = FK_NARROW(FK_CMP, 24);
  10357     RECOMP_BACKEDGE();
  10358     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  10359 L_25006AB3:
  10360     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  10361     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10362     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10363     _flag_k = FK_CMP;
  10364     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  10365 L_25006AB7:
  10366     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  10367     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  10368     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  10369     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  10370     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  10371     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  10372     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10374     _flag_k = FK_CMP;
  10375     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  10376 L_25006AC8:
  10377     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  10378 L_25006ACB:
  10379     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  10380     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  10381     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  10382     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  10383     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10385     _flag_k = FK_CMP;
  10386     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  10387 L_25006AD9:
  10388     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  10389     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  10390 L_25006ADE:
  10391     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  10392     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  10393     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10394     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10395     _flag_k = FK_CMP;
  10396     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  10397 L_25006AE6:
  10398     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  10399     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  10400 L_25006AEB:
  10401     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  10402 L_25006AED:
  10403     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  10404     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  10405 L_25006AF3:
  10406     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  10407     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  10408     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  10409     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  10410     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  10411     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  10412     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  10413     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  10414     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  10415     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  10416     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  10417     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  10418     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10420     _flag_k = FK_CMP;
  10421     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  10422 L_25006B18:
  10423     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  10424 L_25006B1B:
  10425     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  10426     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  10427     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  10428     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  10429     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10431     _flag_k = FK_CMP;
  10432     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  10433 L_25006B29:
  10434     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  10435     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  10436 L_25006B2E:
  10437     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  10438     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  10439     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10440     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10441     _flag_k = FK_CMP;
  10442     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  10443 L_25006B35:
  10444     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  10445     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  10446 L_25006B39:
  10447     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  10448 L_25006B3C:
  10449     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  10450 L_25006B3E:
  10451     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  10452 L_25006B41:
  10453     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  10454     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  10455     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10456     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10457     _flag_k = FK_CMP;
  10458     RECOMP_BACKEDGE();
  10459     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  10460 L_25006B4D:
  10461     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  10462     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  10463     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  10464     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  10465     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  10466     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  10467     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  10468     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  10469     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  10470     esp = ebp; /* 0x25006B61: mov esp, ebp */
  10471     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  10472     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  10473     RECOMP_REGS_OUT();
  10474 }
  10475 
  10476 void sub_250069F1(void) {
  10477     int _fpu_cmp = 0;
  10478     uint32_t _cf = 0;
  10479     int _df = 1;
  10480     uint32_t _flag_k = FK_NONE;
  10481     uint32_t _flag_a = 0, _flag_b = 0;
  10482     uint32_t _itail_tgt = 0;
  10483     RECOMP_REGS_LOCALS
  10484     RECOMP_ENTER(0x250069F1u);
  10485 
  10486     goto L_250069F1;
  10487 L_250069CD:
  10488     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  10489     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  10490     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  10491     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10492     _cf = 0;
  10493     _flag_k = FK_NARROW(FK_TEST, 24);
  10494     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  10495 L_250069DB:
  10496     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  10497     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  10498     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  10499     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10501     _flag_k = FK_CMP;
  10502     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  10503 L_250069E8:
  10504     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  10505     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  10506     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10508     _flag_k = FK_NARROW(FK_CMP, 24);
  10509     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  10510 L_250069F1:
  10511     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  10512     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  10513     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  10514     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  10515     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  10516     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  10517     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  10518     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  10519 L_25006A0C:
  10520     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  10521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10523     _flag_k = FK_CMP;
  10524     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  10525 L_25006A11:
  10526     eax = ecx; /* 0x25006A11: mov eax, ecx */
  10527     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  10528     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  10529     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  10530     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  10531     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  10532     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10534     _flag_k = FK_CMP;
  10535     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  10536 L_25006A22:
  10537     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  10538 L_25006A25:
  10539     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  10540     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  10541     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  10542     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  10543     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10544     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10545     _flag_k = FK_CMP;
  10546     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  10547 L_25006A33:
  10548     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  10549     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  10550 L_25006A38:
  10551     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  10552     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  10553     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10554     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10555     _flag_k = FK_CMP;
  10556     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  10557 L_25006A3F:
  10558     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  10559     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  10560 L_25006A43:
  10561     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  10562 L_25006A46:
  10563     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  10564     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  10565 L_25006A4B:
  10566     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  10567     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  10568     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  10569     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  10570     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  10571     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  10572     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  10573     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  10574     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  10575     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  10576     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  10577     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  10578     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10579     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10580     _flag_k = FK_CMP;
  10581     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  10582 L_25006A70:
  10583     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  10584 L_25006A73:
  10585     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  10586     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  10587     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  10588     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  10589     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10590     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10591     _flag_k = FK_CMP;
  10592     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  10593 L_25006A81:
  10594     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  10595     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  10596     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  10597 L_25006A8C:
  10598     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  10599     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  10600     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10601     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10602     _flag_k = FK_CMP;
  10603     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  10604 L_25006A94:
  10605     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  10606     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  10607     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  10608 L_25006A9F:
  10609     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  10610     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  10611     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  10612 L_25006AA9:
  10613     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  10614     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10616     _flag_k = FK_NARROW(FK_CMP, 24);
  10617     RECOMP_BACKEDGE();
  10618     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  10619 L_25006AB3:
  10620     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  10621     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10622     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10623     _flag_k = FK_CMP;
  10624     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  10625 L_25006AB7:
  10626     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  10627     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  10628     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  10629     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  10630     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  10631     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  10632     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10633     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10634     _flag_k = FK_CMP;
  10635     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  10636 L_25006AC8:
  10637     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  10638 L_25006ACB:
  10639     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  10640     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  10641     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  10642     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  10643     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10644     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10645     _flag_k = FK_CMP;
  10646     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  10647 L_25006AD9:
  10648     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  10649     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  10650 L_25006ADE:
  10651     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  10652     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  10653     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10655     _flag_k = FK_CMP;
  10656     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  10657 L_25006AE6:
  10658     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  10659     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  10660 L_25006AEB:
  10661     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  10662 L_25006AED:
  10663     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  10664     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  10665 L_25006AF3:
  10666     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  10667     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  10668     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  10669     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  10670     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  10671     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  10672     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  10673     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  10674     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  10675     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  10676     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  10677     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  10678     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10680     _flag_k = FK_CMP;
  10681     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  10682 L_25006B18:
  10683     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  10684 L_25006B1B:
  10685     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  10686     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  10687     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  10688     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  10689     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10690     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10691     _flag_k = FK_CMP;
  10692     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  10693 L_25006B29:
  10694     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  10695     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  10696 L_25006B2E:
  10697     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  10698     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  10699     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10701     _flag_k = FK_CMP;
  10702     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  10703 L_25006B35:
  10704     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  10705     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  10706 L_25006B39:
  10707     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  10708 L_25006B3C:
  10709     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  10710 L_25006B3E:
  10711     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  10712 L_25006B41:
  10713     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  10714     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  10715     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10717     _flag_k = FK_CMP;
  10718     RECOMP_BACKEDGE();
  10719     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  10720 L_25006B4D:
  10721     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  10722     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  10723     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  10724     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  10725     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  10726     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  10727     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  10728     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  10729     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  10730     esp = ebp; /* 0x25006B61: mov esp, ebp */
  10731     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  10732     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  10733     RECOMP_REGS_OUT();
  10734 }
  10735 
  10736 void sub_25006A46(void) {
  10737     int _fpu_cmp = 0;
  10738     uint32_t _cf = 0;
  10739     int _df = 1;
  10740     uint32_t _flag_k = FK_NONE;
  10741     uint32_t _flag_a = 0, _flag_b = 0;
  10742     uint32_t _itail_tgt = 0;
  10743     RECOMP_REGS_LOCALS
  10744     RECOMP_ENTER(0x25006A46u);
  10745 
  10746     goto L_25006A46;
  10747 L_250069CD:
  10748     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  10749     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  10750     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  10751     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10752     _cf = 0;
  10753     _flag_k = FK_NARROW(FK_TEST, 24);
  10754     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  10755 L_250069DB:
  10756     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  10757     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  10758     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  10759     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10760     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10761     _flag_k = FK_CMP;
  10762     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  10763 L_250069E8:
  10764     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  10765     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  10766     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10767     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10768     _flag_k = FK_NARROW(FK_CMP, 24);
  10769     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  10770 L_250069F1:
  10771     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  10772     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  10773     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  10774     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  10775     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  10776     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  10777     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  10778     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  10779 L_25006A0C:
  10780     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  10781     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10783     _flag_k = FK_CMP;
  10784     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  10785 L_25006A11:
  10786     eax = ecx; /* 0x25006A11: mov eax, ecx */
  10787     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  10788     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  10789     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  10790     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  10791     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  10792     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10793     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10794     _flag_k = FK_CMP;
  10795     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  10796 L_25006A22:
  10797     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  10798 L_25006A25:
  10799     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  10800     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  10801     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  10802     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  10803     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10805     _flag_k = FK_CMP;
  10806     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  10807 L_25006A33:
  10808     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  10809     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  10810 L_25006A38:
  10811     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  10812     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  10813     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10814     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10815     _flag_k = FK_CMP;
  10816     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  10817 L_25006A3F:
  10818     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  10819     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  10820 L_25006A43:
  10821     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  10822 L_25006A46:
  10823     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  10824     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  10825 L_25006A4B:
  10826     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  10827     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  10828     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  10829     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  10830     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  10831     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  10832     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  10833     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  10834     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  10835     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  10836     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  10837     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  10838     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10840     _flag_k = FK_CMP;
  10841     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  10842 L_25006A70:
  10843     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  10844 L_25006A73:
  10845     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  10846     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  10847     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  10848     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  10849     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10851     _flag_k = FK_CMP;
  10852     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  10853 L_25006A81:
  10854     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  10855     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  10856     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  10857 L_25006A8C:
  10858     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  10859     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  10860     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10862     _flag_k = FK_CMP;
  10863     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  10864 L_25006A94:
  10865     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  10866     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  10867     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  10868 L_25006A9F:
  10869     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  10870     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  10871     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  10872 L_25006AA9:
  10873     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  10874     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  10875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10876     _flag_k = FK_NARROW(FK_CMP, 24);
  10877     RECOMP_BACKEDGE();
  10878     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  10879 L_25006AB3:
  10880     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  10881     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10882     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10883     _flag_k = FK_CMP;
  10884     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  10885 L_25006AB7:
  10886     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  10887     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  10888     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  10889     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  10890     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  10891     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  10892     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10894     _flag_k = FK_CMP;
  10895     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  10896 L_25006AC8:
  10897     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  10898 L_25006ACB:
  10899     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  10900     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  10901     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  10902     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  10903     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10905     _flag_k = FK_CMP;
  10906     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  10907 L_25006AD9:
  10908     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  10909     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  10910 L_25006ADE:
  10911     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  10912     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  10913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10915     _flag_k = FK_CMP;
  10916     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  10917 L_25006AE6:
  10918     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  10919     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  10920 L_25006AEB:
  10921     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  10922 L_25006AED:
  10923     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  10924     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  10925 L_25006AF3:
  10926     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  10927     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  10928     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  10929     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  10930     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  10931     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  10932     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  10933     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  10934     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  10935     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  10936     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  10937     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  10938     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10940     _flag_k = FK_CMP;
  10941     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  10942 L_25006B18:
  10943     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  10944 L_25006B1B:
  10945     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  10946     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  10947     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  10948     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  10949     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10951     _flag_k = FK_CMP;
  10952     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  10953 L_25006B29:
  10954     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  10955     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  10956 L_25006B2E:
  10957     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  10958     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  10959     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10961     _flag_k = FK_CMP;
  10962     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  10963 L_25006B35:
  10964     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  10965     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  10966 L_25006B39:
  10967     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  10968 L_25006B3C:
  10969     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  10970 L_25006B3E:
  10971     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  10972 L_25006B41:
  10973     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  10974     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  10975     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10977     _flag_k = FK_CMP;
  10978     RECOMP_BACKEDGE();
  10979     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  10980 L_25006B4D:
  10981     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  10982     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  10983     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  10984     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  10985     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  10986     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  10987     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  10988     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  10989     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  10990     esp = ebp; /* 0x25006B61: mov esp, ebp */
  10991     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  10992     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  10993     RECOMP_REGS_OUT();
  10994 }
  10995 
  10996 void sub_25006A4B(void) {
  10997     int _fpu_cmp = 0;
  10998     uint32_t _cf = 0;
  10999     int _df = 1;
  11000     uint32_t _flag_k = FK_NONE;
  11001     uint32_t _flag_a = 0, _flag_b = 0;
  11002     uint32_t _itail_tgt = 0;
  11003     RECOMP_REGS_LOCALS
  11004     RECOMP_ENTER(0x25006A4Bu);
  11005 
  11006     goto L_25006A4B;
  11007 L_250069CD:
  11008     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  11009     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  11010     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  11011     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11012     _cf = 0;
  11013     _flag_k = FK_NARROW(FK_TEST, 24);
  11014     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  11015 L_250069DB:
  11016     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  11017     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  11018     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  11019     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11021     _flag_k = FK_CMP;
  11022     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  11023 L_250069E8:
  11024     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  11025     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  11026     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11028     _flag_k = FK_NARROW(FK_CMP, 24);
  11029     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  11030 L_250069F1:
  11031     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  11032     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  11033     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  11034     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  11035     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  11036     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  11037     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  11038     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  11039 L_25006A0C:
  11040     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  11041     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11043     _flag_k = FK_CMP;
  11044     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  11045 L_25006A11:
  11046     eax = ecx; /* 0x25006A11: mov eax, ecx */
  11047     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  11048     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  11049     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  11050     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  11051     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  11052     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11053     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11054     _flag_k = FK_CMP;
  11055     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  11056 L_25006A22:
  11057     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  11058 L_25006A25:
  11059     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  11060     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  11061     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  11062     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  11063     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11064     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11065     _flag_k = FK_CMP;
  11066     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  11067 L_25006A33:
  11068     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  11069     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  11070 L_25006A38:
  11071     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  11072     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  11073     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11074     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11075     _flag_k = FK_CMP;
  11076     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  11077 L_25006A3F:
  11078     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  11079     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  11080 L_25006A43:
  11081     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  11082 L_25006A46:
  11083     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  11084     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  11085 L_25006A4B:
  11086     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  11087     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  11088     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  11089     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  11090     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  11091     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  11092     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  11093     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  11094     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  11095     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  11096     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  11097     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  11098     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11099     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11100     _flag_k = FK_CMP;
  11101     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  11102 L_25006A70:
  11103     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  11104 L_25006A73:
  11105     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  11106     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  11107     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  11108     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  11109     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11110     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11111     _flag_k = FK_CMP;
  11112     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  11113 L_25006A81:
  11114     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  11115     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  11116     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  11117 L_25006A8C:
  11118     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  11119     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  11120     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11121     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11122     _flag_k = FK_CMP;
  11123     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  11124 L_25006A94:
  11125     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  11126     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  11127     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  11128 L_25006A9F:
  11129     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  11130     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  11131     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  11132 L_25006AA9:
  11133     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  11134     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11136     _flag_k = FK_NARROW(FK_CMP, 24);
  11137     RECOMP_BACKEDGE();
  11138     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  11139 L_25006AB3:
  11140     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  11141     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11142     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11143     _flag_k = FK_CMP;
  11144     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  11145 L_25006AB7:
  11146     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  11147     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  11148     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  11149     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  11150     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  11151     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  11152     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11154     _flag_k = FK_CMP;
  11155     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  11156 L_25006AC8:
  11157     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  11158 L_25006ACB:
  11159     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  11160     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  11161     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  11162     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  11163     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11164     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11165     _flag_k = FK_CMP;
  11166     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  11167 L_25006AD9:
  11168     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  11169     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  11170 L_25006ADE:
  11171     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  11172     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  11173     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11174     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11175     _flag_k = FK_CMP;
  11176     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  11177 L_25006AE6:
  11178     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  11179     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  11180 L_25006AEB:
  11181     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  11182 L_25006AED:
  11183     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  11184     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  11185 L_25006AF3:
  11186     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  11187     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  11188     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  11189     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  11190     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  11191     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  11192     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  11193     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  11194     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  11195     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  11196     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  11197     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  11198     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11200     _flag_k = FK_CMP;
  11201     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  11202 L_25006B18:
  11203     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  11204 L_25006B1B:
  11205     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  11206     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  11207     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  11208     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  11209     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11211     _flag_k = FK_CMP;
  11212     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  11213 L_25006B29:
  11214     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  11215     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  11216 L_25006B2E:
  11217     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  11218     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  11219     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11221     _flag_k = FK_CMP;
  11222     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  11223 L_25006B35:
  11224     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  11225     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  11226 L_25006B39:
  11227     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  11228 L_25006B3C:
  11229     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  11230 L_25006B3E:
  11231     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  11232 L_25006B41:
  11233     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  11234     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  11235     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11236     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11237     _flag_k = FK_CMP;
  11238     RECOMP_BACKEDGE();
  11239     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  11240 L_25006B4D:
  11241     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  11242     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  11243     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  11244     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  11245     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  11246     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  11247     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  11248     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  11249     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  11250     esp = ebp; /* 0x25006B61: mov esp, ebp */
  11251     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  11252     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  11253     RECOMP_REGS_OUT();
  11254 }
  11255 
  11256 void sub_25006AA9(void) {
  11257     int _fpu_cmp = 0;
  11258     uint32_t _cf = 0;
  11259     int _df = 1;
  11260     uint32_t _flag_k = FK_NONE;
  11261     uint32_t _flag_a = 0, _flag_b = 0;
  11262     uint32_t _itail_tgt = 0;
  11263     RECOMP_REGS_LOCALS
  11264     RECOMP_ENTER(0x25006AA9u);
  11265 
  11266     goto L_25006AA9;
  11267 L_250069CD:
  11268     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  11269     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  11270     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  11271     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11272     _cf = 0;
  11273     _flag_k = FK_NARROW(FK_TEST, 24);
  11274     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  11275 L_250069DB:
  11276     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  11277     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  11278     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  11279     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11281     _flag_k = FK_CMP;
  11282     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  11283 L_250069E8:
  11284     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  11285     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  11286     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11287     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11288     _flag_k = FK_NARROW(FK_CMP, 24);
  11289     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  11290 L_250069F1:
  11291     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  11292     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  11293     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  11294     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  11295     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  11296     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  11297     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  11298     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  11299 L_25006A0C:
  11300     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  11301     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11302     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11303     _flag_k = FK_CMP;
  11304     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  11305 L_25006A11:
  11306     eax = ecx; /* 0x25006A11: mov eax, ecx */
  11307     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  11308     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  11309     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  11310     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  11311     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  11312     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11314     _flag_k = FK_CMP;
  11315     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  11316 L_25006A22:
  11317     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  11318 L_25006A25:
  11319     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  11320     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  11321     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  11322     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  11323     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11324     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11325     _flag_k = FK_CMP;
  11326     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  11327 L_25006A33:
  11328     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  11329     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  11330 L_25006A38:
  11331     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  11332     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  11333     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11335     _flag_k = FK_CMP;
  11336     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  11337 L_25006A3F:
  11338     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  11339     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  11340 L_25006A43:
  11341     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  11342 L_25006A46:
  11343     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  11344     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  11345 L_25006A4B:
  11346     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  11347     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  11348     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  11349     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  11350     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  11351     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  11352     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  11353     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  11354     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  11355     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  11356     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  11357     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  11358     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11360     _flag_k = FK_CMP;
  11361     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  11362 L_25006A70:
  11363     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  11364 L_25006A73:
  11365     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  11366     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  11367     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  11368     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  11369     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11371     _flag_k = FK_CMP;
  11372     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  11373 L_25006A81:
  11374     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  11375     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  11376     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  11377 L_25006A8C:
  11378     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  11379     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  11380     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11382     _flag_k = FK_CMP;
  11383     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  11384 L_25006A94:
  11385     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  11386     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  11387     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  11388 L_25006A9F:
  11389     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  11390     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  11391     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  11392 L_25006AA9:
  11393     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  11394     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11396     _flag_k = FK_NARROW(FK_CMP, 24);
  11397     RECOMP_BACKEDGE();
  11398     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  11399 L_25006AB3:
  11400     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  11401     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11402     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11403     _flag_k = FK_CMP;
  11404     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  11405 L_25006AB7:
  11406     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  11407     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  11408     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  11409     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  11410     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  11411     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  11412     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11413     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11414     _flag_k = FK_CMP;
  11415     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  11416 L_25006AC8:
  11417     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  11418 L_25006ACB:
  11419     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  11420     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  11421     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  11422     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  11423     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11425     _flag_k = FK_CMP;
  11426     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  11427 L_25006AD9:
  11428     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  11429     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  11430 L_25006ADE:
  11431     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  11432     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  11433     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11435     _flag_k = FK_CMP;
  11436     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  11437 L_25006AE6:
  11438     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  11439     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  11440 L_25006AEB:
  11441     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  11442 L_25006AED:
  11443     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  11444     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  11445 L_25006AF3:
  11446     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  11447     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  11448     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  11449     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  11450     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  11451     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  11452     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  11453     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  11454     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  11455     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  11456     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  11457     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  11458     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11459     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11460     _flag_k = FK_CMP;
  11461     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  11462 L_25006B18:
  11463     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  11464 L_25006B1B:
  11465     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  11466     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  11467     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  11468     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  11469     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11471     _flag_k = FK_CMP;
  11472     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  11473 L_25006B29:
  11474     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  11475     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  11476 L_25006B2E:
  11477     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  11478     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  11479     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11480     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11481     _flag_k = FK_CMP;
  11482     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  11483 L_25006B35:
  11484     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  11485     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  11486 L_25006B39:
  11487     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  11488 L_25006B3C:
  11489     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  11490 L_25006B3E:
  11491     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  11492 L_25006B41:
  11493     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  11494     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  11495     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11497     _flag_k = FK_CMP;
  11498     RECOMP_BACKEDGE();
  11499     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  11500 L_25006B4D:
  11501     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  11502     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  11503     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  11504     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  11505     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  11506     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  11507     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  11508     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  11509     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  11510     esp = ebp; /* 0x25006B61: mov esp, ebp */
  11511     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  11512     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  11513     RECOMP_REGS_OUT();
  11514 }
  11515 
  11516 void sub_25006AED(void) {
  11517     int _fpu_cmp = 0;
  11518     uint32_t _cf = 0;
  11519     int _df = 1;
  11520     uint32_t _flag_k = FK_NONE;
  11521     uint32_t _flag_a = 0, _flag_b = 0;
  11522     uint32_t _itail_tgt = 0;
  11523     RECOMP_REGS_LOCALS
  11524     RECOMP_ENTER(0x25006AEDu);
  11525 
  11526     goto L_25006AED;
  11527 L_250069CD:
  11528     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  11529     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  11530     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  11531     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11532     _cf = 0;
  11533     _flag_k = FK_NARROW(FK_TEST, 24);
  11534     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  11535 L_250069DB:
  11536     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  11537     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  11538     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  11539     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11540     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11541     _flag_k = FK_CMP;
  11542     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  11543 L_250069E8:
  11544     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  11545     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  11546     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11547     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11548     _flag_k = FK_NARROW(FK_CMP, 24);
  11549     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  11550 L_250069F1:
  11551     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  11552     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  11553     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  11554     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  11555     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  11556     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  11557     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  11558     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  11559 L_25006A0C:
  11560     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  11561     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11562     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11563     _flag_k = FK_CMP;
  11564     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  11565 L_25006A11:
  11566     eax = ecx; /* 0x25006A11: mov eax, ecx */
  11567     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  11568     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  11569     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  11570     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  11571     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  11572     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11573     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11574     _flag_k = FK_CMP;
  11575     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  11576 L_25006A22:
  11577     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  11578 L_25006A25:
  11579     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  11580     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  11581     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  11582     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  11583     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11584     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11585     _flag_k = FK_CMP;
  11586     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  11587 L_25006A33:
  11588     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  11589     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  11590 L_25006A38:
  11591     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  11592     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  11593     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11594     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11595     _flag_k = FK_CMP;
  11596     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  11597 L_25006A3F:
  11598     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  11599     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  11600 L_25006A43:
  11601     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  11602 L_25006A46:
  11603     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  11604     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  11605 L_25006A4B:
  11606     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  11607     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  11608     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  11609     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  11610     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  11611     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  11612     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  11613     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  11614     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  11615     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  11616     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  11617     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  11618     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11620     _flag_k = FK_CMP;
  11621     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  11622 L_25006A70:
  11623     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  11624 L_25006A73:
  11625     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  11626     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  11627     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  11628     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  11629     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11630     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11631     _flag_k = FK_CMP;
  11632     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  11633 L_25006A81:
  11634     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  11635     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  11636     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  11637 L_25006A8C:
  11638     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  11639     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  11640     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11642     _flag_k = FK_CMP;
  11643     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  11644 L_25006A94:
  11645     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  11646     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  11647     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  11648 L_25006A9F:
  11649     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  11650     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  11651     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  11652 L_25006AA9:
  11653     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  11654     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11656     _flag_k = FK_NARROW(FK_CMP, 24);
  11657     RECOMP_BACKEDGE();
  11658     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  11659 L_25006AB3:
  11660     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  11661     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11662     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11663     _flag_k = FK_CMP;
  11664     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  11665 L_25006AB7:
  11666     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  11667     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  11668     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  11669     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  11670     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  11671     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  11672     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11674     _flag_k = FK_CMP;
  11675     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  11676 L_25006AC8:
  11677     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  11678 L_25006ACB:
  11679     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  11680     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  11681     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  11682     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  11683     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11685     _flag_k = FK_CMP;
  11686     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  11687 L_25006AD9:
  11688     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  11689     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  11690 L_25006ADE:
  11691     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  11692     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  11693     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11695     _flag_k = FK_CMP;
  11696     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  11697 L_25006AE6:
  11698     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  11699     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  11700 L_25006AEB:
  11701     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  11702 L_25006AED:
  11703     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  11704     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  11705 L_25006AF3:
  11706     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  11707     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  11708     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  11709     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  11710     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  11711     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  11712     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  11713     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  11714     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  11715     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  11716     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  11717     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  11718     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11720     _flag_k = FK_CMP;
  11721     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  11722 L_25006B18:
  11723     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  11724 L_25006B1B:
  11725     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  11726     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  11727     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  11728     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  11729     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11731     _flag_k = FK_CMP;
  11732     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  11733 L_25006B29:
  11734     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  11735     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  11736 L_25006B2E:
  11737     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  11738     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  11739     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11740     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11741     _flag_k = FK_CMP;
  11742     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  11743 L_25006B35:
  11744     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  11745     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  11746 L_25006B39:
  11747     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  11748 L_25006B3C:
  11749     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  11750 L_25006B3E:
  11751     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  11752 L_25006B41:
  11753     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  11754     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  11755     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11757     _flag_k = FK_CMP;
  11758     RECOMP_BACKEDGE();
  11759     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  11760 L_25006B4D:
  11761     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  11762     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  11763     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  11764     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  11765     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  11766     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  11767     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  11768     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  11769     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  11770     esp = ebp; /* 0x25006B61: mov esp, ebp */
  11771     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  11772     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  11773     RECOMP_REGS_OUT();
  11774 }
  11775 
  11776 void sub_25006AF3(void) {
  11777     int _fpu_cmp = 0;
  11778     uint32_t _cf = 0;
  11779     int _df = 1;
  11780     uint32_t _flag_k = FK_NONE;
  11781     uint32_t _flag_a = 0, _flag_b = 0;
  11782     uint32_t _itail_tgt = 0;
  11783     RECOMP_REGS_LOCALS
  11784     RECOMP_ENTER(0x25006AF3u);
  11785 
  11786     goto L_25006AF3;
  11787 L_250069CD:
  11788     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  11789     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  11790     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  11791     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11792     _cf = 0;
  11793     _flag_k = FK_NARROW(FK_TEST, 24);
  11794     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  11795 L_250069DB:
  11796     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  11797     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  11798     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  11799     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11800     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11801     _flag_k = FK_CMP;
  11802     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  11803 L_250069E8:
  11804     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  11805     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  11806     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11807     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11808     _flag_k = FK_NARROW(FK_CMP, 24);
  11809     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  11810 L_250069F1:
  11811     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  11812     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  11813     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  11814     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  11815     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  11816     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  11817     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  11818     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  11819 L_25006A0C:
  11820     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  11821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11823     _flag_k = FK_CMP;
  11824     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  11825 L_25006A11:
  11826     eax = ecx; /* 0x25006A11: mov eax, ecx */
  11827     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  11828     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  11829     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  11830     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  11831     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  11832     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11833     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11834     _flag_k = FK_CMP;
  11835     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  11836 L_25006A22:
  11837     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  11838 L_25006A25:
  11839     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  11840     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  11841     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  11842     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  11843     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11844     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11845     _flag_k = FK_CMP;
  11846     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  11847 L_25006A33:
  11848     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  11849     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  11850 L_25006A38:
  11851     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  11852     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  11853     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11855     _flag_k = FK_CMP;
  11856     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  11857 L_25006A3F:
  11858     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  11859     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  11860 L_25006A43:
  11861     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  11862 L_25006A46:
  11863     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  11864     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  11865 L_25006A4B:
  11866     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  11867     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  11868     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  11869     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  11870     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  11871     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  11872     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  11873     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  11874     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  11875     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  11876     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  11877     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  11878     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11880     _flag_k = FK_CMP;
  11881     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  11882 L_25006A70:
  11883     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  11884 L_25006A73:
  11885     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  11886     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  11887     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  11888     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  11889     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11891     _flag_k = FK_CMP;
  11892     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  11893 L_25006A81:
  11894     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  11895     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  11896     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  11897 L_25006A8C:
  11898     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  11899     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  11900     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11901     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11902     _flag_k = FK_CMP;
  11903     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  11904 L_25006A94:
  11905     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  11906     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  11907     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  11908 L_25006A9F:
  11909     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  11910     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  11911     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  11912 L_25006AA9:
  11913     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  11914     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  11915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11916     _flag_k = FK_NARROW(FK_CMP, 24);
  11917     RECOMP_BACKEDGE();
  11918     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  11919 L_25006AB3:
  11920     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  11921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11923     _flag_k = FK_CMP;
  11924     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  11925 L_25006AB7:
  11926     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  11927     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  11928     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  11929     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  11930     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  11931     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  11932     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11934     _flag_k = FK_CMP;
  11935     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  11936 L_25006AC8:
  11937     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  11938 L_25006ACB:
  11939     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  11940     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  11941     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  11942     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  11943     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11944     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11945     _flag_k = FK_CMP;
  11946     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  11947 L_25006AD9:
  11948     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  11949     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  11950 L_25006ADE:
  11951     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  11952     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  11953     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11954     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11955     _flag_k = FK_CMP;
  11956     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  11957 L_25006AE6:
  11958     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  11959     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  11960 L_25006AEB:
  11961     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  11962 L_25006AED:
  11963     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  11964     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  11965 L_25006AF3:
  11966     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  11967     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  11968     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  11969     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  11970     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  11971     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  11972     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  11973     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  11974     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  11975     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  11976     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  11977     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  11978     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11980     _flag_k = FK_CMP;
  11981     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  11982 L_25006B18:
  11983     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  11984 L_25006B1B:
  11985     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  11986     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  11987     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  11988     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  11989     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11991     _flag_k = FK_CMP;
  11992     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  11993 L_25006B29:
  11994     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  11995     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  11996 L_25006B2E:
  11997     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  11998     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  11999     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12000     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12001     _flag_k = FK_CMP;
  12002     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  12003 L_25006B35:
  12004     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  12005     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  12006 L_25006B39:
  12007     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  12008 L_25006B3C:
  12009     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  12010 L_25006B3E:
  12011     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  12012 L_25006B41:
  12013     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  12014     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  12015     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12017     _flag_k = FK_CMP;
  12018     RECOMP_BACKEDGE();
  12019     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  12020 L_25006B4D:
  12021     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  12022     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  12023     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  12024     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  12025     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  12026     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  12027     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  12028     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  12029     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  12030     esp = ebp; /* 0x25006B61: mov esp, ebp */
  12031     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  12032     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  12033     RECOMP_REGS_OUT();
  12034 }
  12035 
  12036 void sub_25006B3C(void) {
  12037     int _fpu_cmp = 0;
  12038     uint32_t _cf = 0;
  12039     int _df = 1;
  12040     uint32_t _flag_k = FK_NONE;
  12041     uint32_t _flag_a = 0, _flag_b = 0;
  12042     uint32_t _itail_tgt = 0;
  12043     RECOMP_REGS_LOCALS
  12044     RECOMP_ENTER(0x25006B3Cu);
  12045 
  12046     goto L_25006B3C;
  12047 L_250069CD:
  12048     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  12049     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  12050     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  12051     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12052     _cf = 0;
  12053     _flag_k = FK_NARROW(FK_TEST, 24);
  12054     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  12055 L_250069DB:
  12056     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  12057     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  12058     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  12059     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12061     _flag_k = FK_CMP;
  12062     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  12063 L_250069E8:
  12064     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  12065     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  12066     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12067     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12068     _flag_k = FK_NARROW(FK_CMP, 24);
  12069     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  12070 L_250069F1:
  12071     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  12072     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  12073     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  12074     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  12075     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  12076     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  12077     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  12078     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  12079 L_25006A0C:
  12080     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  12081     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12083     _flag_k = FK_CMP;
  12084     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  12085 L_25006A11:
  12086     eax = ecx; /* 0x25006A11: mov eax, ecx */
  12087     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  12088     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  12089     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  12090     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  12091     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  12092     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12094     _flag_k = FK_CMP;
  12095     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  12096 L_25006A22:
  12097     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  12098 L_25006A25:
  12099     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  12100     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  12101     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  12102     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  12103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12105     _flag_k = FK_CMP;
  12106     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  12107 L_25006A33:
  12108     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  12109     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  12110 L_25006A38:
  12111     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  12112     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  12113     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12114     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12115     _flag_k = FK_CMP;
  12116     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  12117 L_25006A3F:
  12118     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  12119     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  12120 L_25006A43:
  12121     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  12122 L_25006A46:
  12123     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  12124     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  12125 L_25006A4B:
  12126     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  12127     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  12128     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  12129     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  12130     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  12131     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  12132     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  12133     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  12134     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  12135     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  12136     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  12137     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  12138     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12139     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12140     _flag_k = FK_CMP;
  12141     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  12142 L_25006A70:
  12143     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  12144 L_25006A73:
  12145     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  12146     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  12147     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  12148     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  12149     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12150     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12151     _flag_k = FK_CMP;
  12152     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  12153 L_25006A81:
  12154     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  12155     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  12156     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  12157 L_25006A8C:
  12158     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  12159     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  12160     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12161     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12162     _flag_k = FK_CMP;
  12163     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  12164 L_25006A94:
  12165     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  12166     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  12167     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  12168 L_25006A9F:
  12169     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  12170     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  12171     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  12172 L_25006AA9:
  12173     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  12174     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12176     _flag_k = FK_NARROW(FK_CMP, 24);
  12177     RECOMP_BACKEDGE();
  12178     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  12179 L_25006AB3:
  12180     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  12181     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  12182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12183     _flag_k = FK_CMP;
  12184     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  12185 L_25006AB7:
  12186     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  12187     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  12188     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  12189     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  12190     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  12191     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  12192     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12193     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12194     _flag_k = FK_CMP;
  12195     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  12196 L_25006AC8:
  12197     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  12198 L_25006ACB:
  12199     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  12200     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  12201     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  12202     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  12203     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12205     _flag_k = FK_CMP;
  12206     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  12207 L_25006AD9:
  12208     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  12209     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  12210 L_25006ADE:
  12211     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  12212     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  12213     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  12214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12215     _flag_k = FK_CMP;
  12216     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  12217 L_25006AE6:
  12218     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  12219     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  12220 L_25006AEB:
  12221     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  12222 L_25006AED:
  12223     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  12224     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  12225 L_25006AF3:
  12226     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  12227     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  12228     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  12229     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  12230     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  12231     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  12232     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  12233     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  12234     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  12235     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  12236     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  12237     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  12238     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12240     _flag_k = FK_CMP;
  12241     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  12242 L_25006B18:
  12243     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  12244 L_25006B1B:
  12245     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  12246     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  12247     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  12248     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  12249     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12250     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12251     _flag_k = FK_CMP;
  12252     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  12253 L_25006B29:
  12254     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  12255     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  12256 L_25006B2E:
  12257     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  12258     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  12259     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12260     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12261     _flag_k = FK_CMP;
  12262     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  12263 L_25006B35:
  12264     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  12265     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  12266 L_25006B39:
  12267     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  12268 L_25006B3C:
  12269     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  12270 L_25006B3E:
  12271     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  12272 L_25006B41:
  12273     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  12274     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  12275     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12276     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12277     _flag_k = FK_CMP;
  12278     RECOMP_BACKEDGE();
  12279     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  12280 L_25006B4D:
  12281     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  12282     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  12283     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  12284     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  12285     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  12286     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  12287     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  12288     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  12289     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  12290     esp = ebp; /* 0x25006B61: mov esp, ebp */
  12291     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  12292     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  12293     RECOMP_REGS_OUT();
  12294 }
  12295 
  12296 void sub_25006B3E(void) {
  12297     int _fpu_cmp = 0;
  12298     uint32_t _cf = 0;
  12299     int _df = 1;
  12300     uint32_t _flag_k = FK_NONE;
  12301     uint32_t _flag_a = 0, _flag_b = 0;
  12302     uint32_t _itail_tgt = 0;
  12303     RECOMP_REGS_LOCALS
  12304     RECOMP_ENTER(0x25006B3Eu);
  12305 
  12306     goto L_25006B3E;
  12307 L_250069CD:
  12308     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  12309     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  12310     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  12311     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12312     _cf = 0;
  12313     _flag_k = FK_NARROW(FK_TEST, 24);
  12314     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  12315 L_250069DB:
  12316     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  12317     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  12318     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  12319     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12321     _flag_k = FK_CMP;
  12322     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  12323 L_250069E8:
  12324     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  12325     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  12326     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12328     _flag_k = FK_NARROW(FK_CMP, 24);
  12329     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  12330 L_250069F1:
  12331     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  12332     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  12333     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  12334     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  12335     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  12336     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  12337     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  12338     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  12339 L_25006A0C:
  12340     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  12341     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12343     _flag_k = FK_CMP;
  12344     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  12345 L_25006A11:
  12346     eax = ecx; /* 0x25006A11: mov eax, ecx */
  12347     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  12348     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  12349     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  12350     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  12351     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  12352     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12354     _flag_k = FK_CMP;
  12355     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  12356 L_25006A22:
  12357     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  12358 L_25006A25:
  12359     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  12360     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  12361     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  12362     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  12363     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12364     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12365     _flag_k = FK_CMP;
  12366     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  12367 L_25006A33:
  12368     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  12369     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  12370 L_25006A38:
  12371     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  12372     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  12373     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12375     _flag_k = FK_CMP;
  12376     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  12377 L_25006A3F:
  12378     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  12379     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  12380 L_25006A43:
  12381     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  12382 L_25006A46:
  12383     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  12384     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  12385 L_25006A4B:
  12386     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  12387     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  12388     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  12389     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  12390     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  12391     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  12392     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  12393     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  12394     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  12395     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  12396     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  12397     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  12398     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12400     _flag_k = FK_CMP;
  12401     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  12402 L_25006A70:
  12403     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  12404 L_25006A73:
  12405     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  12406     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  12407     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  12408     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  12409     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12410     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12411     _flag_k = FK_CMP;
  12412     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  12413 L_25006A81:
  12414     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  12415     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  12416     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  12417 L_25006A8C:
  12418     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  12419     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  12420     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12421     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12422     _flag_k = FK_CMP;
  12423     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  12424 L_25006A94:
  12425     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  12426     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  12427     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  12428 L_25006A9F:
  12429     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  12430     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  12431     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  12432 L_25006AA9:
  12433     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  12434     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12435     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12436     _flag_k = FK_NARROW(FK_CMP, 24);
  12437     RECOMP_BACKEDGE();
  12438     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  12439 L_25006AB3:
  12440     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  12441     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  12442     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12443     _flag_k = FK_CMP;
  12444     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  12445 L_25006AB7:
  12446     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  12447     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  12448     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  12449     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  12450     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  12451     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  12452     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12454     _flag_k = FK_CMP;
  12455     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  12456 L_25006AC8:
  12457     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  12458 L_25006ACB:
  12459     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  12460     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  12461     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  12462     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  12463     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12465     _flag_k = FK_CMP;
  12466     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  12467 L_25006AD9:
  12468     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  12469     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  12470 L_25006ADE:
  12471     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  12472     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  12473     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  12474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12475     _flag_k = FK_CMP;
  12476     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  12477 L_25006AE6:
  12478     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  12479     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  12480 L_25006AEB:
  12481     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  12482 L_25006AED:
  12483     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  12484     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  12485 L_25006AF3:
  12486     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  12487     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  12488     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  12489     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  12490     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  12491     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  12492     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  12493     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  12494     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  12495     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  12496     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  12497     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  12498     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12500     _flag_k = FK_CMP;
  12501     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  12502 L_25006B18:
  12503     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  12504 L_25006B1B:
  12505     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  12506     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  12507     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  12508     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  12509     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12511     _flag_k = FK_CMP;
  12512     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  12513 L_25006B29:
  12514     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  12515     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  12516 L_25006B2E:
  12517     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  12518     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  12519     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12521     _flag_k = FK_CMP;
  12522     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  12523 L_25006B35:
  12524     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  12525     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  12526 L_25006B39:
  12527     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  12528 L_25006B3C:
  12529     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  12530 L_25006B3E:
  12531     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  12532 L_25006B41:
  12533     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  12534     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  12535     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12537     _flag_k = FK_CMP;
  12538     RECOMP_BACKEDGE();
  12539     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  12540 L_25006B4D:
  12541     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  12542     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  12543     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  12544     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  12545     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  12546     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  12547     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  12548     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  12549     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  12550     esp = ebp; /* 0x25006B61: mov esp, ebp */
  12551     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  12552     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  12553     RECOMP_REGS_OUT();
  12554 }
  12555 
  12556 void sub_25006B41(void) {
  12557     int _fpu_cmp = 0;
  12558     uint32_t _cf = 0;
  12559     int _df = 1;
  12560     uint32_t _flag_k = FK_NONE;
  12561     uint32_t _flag_a = 0, _flag_b = 0;
  12562     uint32_t _itail_tgt = 0;
  12563     RECOMP_REGS_LOCALS
  12564     RECOMP_ENTER(0x25006B41u);
  12565 
  12566     goto L_25006B41;
  12567 L_250069CD:
  12568     ecx = MEM32(eax + 0x4); /* 0x250069CD: mov ecx, dword ptr [eax + 4] */
  12569     SET_LO8(edx, MEM8(ecx + 0x10)); /* 0x250069D0: mov dl, byte ptr [ecx + 0x10] */
  12570     /* test LO8(edx), LO8(edx) */ /* 0x250069D3: test dl, dl */
  12571     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12572     _cf = 0;
  12573     _flag_k = FK_NARROW(FK_TEST, 24);
  12574     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006B4D; /* 0x250069D5: jne 0x25006b4d */
  12575 L_250069DB:
  12576     edi = MEM32(ecx + 0x4); /* 0x250069DB: mov edi, dword ptr [ecx + 4] */
  12577     edx = MEM32(edi); /* 0x250069DE: mov edx, dword ptr [edi] */
  12578     /* cmp ecx, edx */ /* 0x250069E0: cmp ecx, edx */
  12579     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12580     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12581     _flag_k = FK_CMP;
  12582     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AA9; /* 0x250069E2: jne 0x25006aa9 */
  12583 L_250069E8:
  12584     edx = MEM32(edi + 0x8); /* 0x250069E8: mov edx, dword ptr [edi + 8] */
  12585     /* cmp MEM8(edx + 0x10), 0 */ /* 0x250069EB: cmp byte ptr [edx + 0x10], 0 */
  12586     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12588     _flag_k = FK_NARROW(FK_CMP, 24);
  12589     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A0C; /* 0x250069EF: jne 0x25006a0c */
  12590 L_250069F1:
  12591     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F1: mov byte ptr [ecx + 0x10], bl */
  12592     MEM8(edx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x250069F4: mov byte ptr [edx + 0x10], bl */
  12593     ecx = MEM32(eax + 0x4); /* 0x250069F7: mov ecx, dword ptr [eax + 4] */
  12594     edx = MEM32(ecx + 0x4); /* 0x250069FA: mov edx, dword ptr [ecx + 4] */
  12595     MEM8(edx + 0x10) = (uint8_t)(0); /* 0x250069FD: mov byte ptr [edx + 0x10], 0 */
  12596     eax = MEM32(eax + 0x4); /* 0x25006A01: mov eax, dword ptr [eax + 4] */
  12597     eax = MEM32(eax + 0x4); /* 0x25006A04: mov eax, dword ptr [eax + 4] */
  12598     goto L_25006B41; /* 0x25006A07: jmp 0x25006b41 */
  12599 L_25006A0C:
  12600     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x25006A0C: cmp eax, dword ptr [ecx + 8] */
  12601     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12602     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12603     _flag_k = FK_CMP;
  12604     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A4B; /* 0x25006A0F: jne 0x25006a4b */
  12605 L_25006A11:
  12606     eax = ecx; /* 0x25006A11: mov eax, ecx */
  12607     ecx = MEM32(eax + 0x8); /* 0x25006A13: mov ecx, dword ptr [eax + 8] */
  12608     edx = MEM32(ecx); /* 0x25006A16: mov edx, dword ptr [ecx] */
  12609     MEM32(eax + 0x8) = edx; /* 0x25006A18: mov dword ptr [eax + 8], edx */
  12610     edx = MEM32(ecx); /* 0x25006A1B: mov edx, dword ptr [ecx] */
  12611     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006A1D: cmp edx, dword ptr [esi + 8] */
  12612     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12613     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12614     _flag_k = FK_CMP;
  12615     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A25; /* 0x25006A20: je 0x25006a25 */
  12616 L_25006A22:
  12617     MEM32(edx + 0x4) = eax; /* 0x25006A22: mov dword ptr [edx + 4], eax */
  12618 L_25006A25:
  12619     edx = MEM32(eax + 0x4); /* 0x25006A25: mov edx, dword ptr [eax + 4] */
  12620     MEM32(ecx + 0x4) = edx; /* 0x25006A28: mov dword ptr [ecx + 4], edx */
  12621     edx = MEM32(esi + 0x4); /* 0x25006A2B: mov edx, dword ptr [esi + 4] */
  12622     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006A2E: cmp eax, dword ptr [edx + 4] */
  12623     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12625     _flag_k = FK_CMP;
  12626     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A38; /* 0x25006A31: jne 0x25006a38 */
  12627 L_25006A33:
  12628     MEM32(edx + 0x4) = ecx; /* 0x25006A33: mov dword ptr [edx + 4], ecx */
  12629     goto L_25006A46; /* 0x25006A36: jmp 0x25006a46 */
  12630 L_25006A38:
  12631     edx = MEM32(eax + 0x4); /* 0x25006A38: mov edx, dword ptr [eax + 4] */
  12632     /* cmp eax, MEM32(edx) */ /* 0x25006A3B: cmp eax, dword ptr [edx] */
  12633     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12635     _flag_k = FK_CMP;
  12636     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A43; /* 0x25006A3D: jne 0x25006a43 */
  12637 L_25006A3F:
  12638     MEM32(edx) = ecx; /* 0x25006A3F: mov dword ptr [edx], ecx */
  12639     goto L_25006A46; /* 0x25006A41: jmp 0x25006a46 */
  12640 L_25006A43:
  12641     MEM32(edx + 0x8) = ecx; /* 0x25006A43: mov dword ptr [edx + 8], ecx */
  12642 L_25006A46:
  12643     MEM32(ecx) = eax; /* 0x25006A46: mov dword ptr [ecx], eax */
  12644     MEM32(eax + 0x4) = ecx; /* 0x25006A48: mov dword ptr [eax + 4], ecx */
  12645 L_25006A4B:
  12646     ecx = MEM32(eax + 0x4); /* 0x25006A4B: mov ecx, dword ptr [eax + 4] */
  12647     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006A4E: mov byte ptr [ecx + 0x10], bl */
  12648     edx = MEM32(eax + 0x4); /* 0x25006A51: mov edx, dword ptr [eax + 4] */
  12649     ecx = MEM32(edx + 0x4); /* 0x25006A54: mov ecx, dword ptr [edx + 4] */
  12650     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006A57: mov byte ptr [ecx + 0x10], 0 */
  12651     edx = MEM32(eax + 0x4); /* 0x25006A5B: mov edx, dword ptr [eax + 4] */
  12652     ecx = MEM32(edx + 0x4); /* 0x25006A5E: mov ecx, dword ptr [edx + 4] */
  12653     edx = MEM32(ecx); /* 0x25006A61: mov edx, dword ptr [ecx] */
  12654     edi = MEM32(edx + 0x8); /* 0x25006A63: mov edi, dword ptr [edx + 8] */
  12655     MEM32(ecx) = edi; /* 0x25006A66: mov dword ptr [ecx], edi */
  12656     edi = MEM32(edx + 0x8); /* 0x25006A68: mov edi, dword ptr [edx + 8] */
  12657     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006A6B: cmp edi, dword ptr [esi + 8] */
  12658     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12659     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12660     _flag_k = FK_CMP;
  12661     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006A73; /* 0x25006A6E: je 0x25006a73 */
  12662 L_25006A70:
  12663     MEM32(edi + 0x4) = ecx; /* 0x25006A70: mov dword ptr [edi + 4], ecx */
  12664 L_25006A73:
  12665     edi = MEM32(ecx + 0x4); /* 0x25006A73: mov edi, dword ptr [ecx + 4] */
  12666     MEM32(edx + 0x4) = edi; /* 0x25006A76: mov dword ptr [edx + 4], edi */
  12667     edi = MEM32(esi + 0x4); /* 0x25006A79: mov edi, dword ptr [esi + 4] */
  12668     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006A7C: cmp ecx, dword ptr [edi + 4] */
  12669     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12671     _flag_k = FK_CMP;
  12672     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A8C; /* 0x25006A7F: jne 0x25006a8c */
  12673 L_25006A81:
  12674     MEM32(edi + 0x4) = edx; /* 0x25006A81: mov dword ptr [edi + 4], edx */
  12675     MEM32(edx + 0x8) = ecx; /* 0x25006A84: mov dword ptr [edx + 8], ecx */
  12676     goto L_25006B3E; /* 0x25006A87: jmp 0x25006b3e */
  12677 L_25006A8C:
  12678     edi = MEM32(ecx + 0x4); /* 0x25006A8C: mov edi, dword ptr [ecx + 4] */
  12679     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006A8F: cmp ecx, dword ptr [edi + 8] */
  12680     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12682     _flag_k = FK_CMP;
  12683     if (CMP_NE(_flag_a, _flag_b)) goto L_25006A9F; /* 0x25006A92: jne 0x25006a9f */
  12684 L_25006A94:
  12685     MEM32(edi + 0x8) = edx; /* 0x25006A94: mov dword ptr [edi + 8], edx */
  12686     MEM32(edx + 0x8) = ecx; /* 0x25006A97: mov dword ptr [edx + 8], ecx */
  12687     goto L_25006B3E; /* 0x25006A9A: jmp 0x25006b3e */
  12688 L_25006A9F:
  12689     MEM32(edi) = edx; /* 0x25006A9F: mov dword ptr [edi], edx */
  12690     MEM32(edx + 0x8) = ecx; /* 0x25006AA1: mov dword ptr [edx + 8], ecx */
  12691     goto L_25006B3E; /* 0x25006AA4: jmp 0x25006b3e */
  12692 L_25006AA9:
  12693     /* cmp MEM8(edx + 0x10), 0 */ /* 0x25006AA9: cmp byte ptr [edx + 0x10], 0 */
  12694     _flag_a = (uint32_t)(MEM8(edx + 0x10)) << 24; _flag_b = (uint32_t)(0) << 24;
  12695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12696     _flag_k = FK_NARROW(FK_CMP, 24);
  12697     RECOMP_BACKEDGE();
  12698     if (CMP_EQ(_flag_a, _flag_b)) goto L_250069F1; /* 0x25006AAD: je 0x250069f1 */
  12699 L_25006AB3:
  12700     /* cmp eax, MEM32(ecx) */ /* 0x25006AB3: cmp eax, dword ptr [ecx] */
  12701     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  12702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12703     _flag_k = FK_CMP;
  12704     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AF3; /* 0x25006AB5: jne 0x25006af3 */
  12705 L_25006AB7:
  12706     eax = ecx; /* 0x25006AB7: mov eax, ecx */
  12707     ecx = MEM32(eax); /* 0x25006AB9: mov ecx, dword ptr [eax] */
  12708     edx = MEM32(ecx + 0x8); /* 0x25006ABB: mov edx, dword ptr [ecx + 8] */
  12709     MEM32(eax) = edx; /* 0x25006ABE: mov dword ptr [eax], edx */
  12710     edx = MEM32(ecx + 0x8); /* 0x25006AC0: mov edx, dword ptr [ecx + 8] */
  12711     /* cmp edx, MEM32(esi + 0x8) */ /* 0x25006AC3: cmp edx, dword ptr [esi + 8] */
  12712     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12714     _flag_k = FK_CMP;
  12715     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006ACB; /* 0x25006AC6: je 0x25006acb */
  12716 L_25006AC8:
  12717     MEM32(edx + 0x4) = eax; /* 0x25006AC8: mov dword ptr [edx + 4], eax */
  12718 L_25006ACB:
  12719     edx = MEM32(eax + 0x4); /* 0x25006ACB: mov edx, dword ptr [eax + 4] */
  12720     MEM32(ecx + 0x4) = edx; /* 0x25006ACE: mov dword ptr [ecx + 4], edx */
  12721     edx = MEM32(esi + 0x4); /* 0x25006AD1: mov edx, dword ptr [esi + 4] */
  12722     /* cmp eax, MEM32(edx + 0x4) */ /* 0x25006AD4: cmp eax, dword ptr [edx + 4] */
  12723     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12725     _flag_k = FK_CMP;
  12726     if (CMP_NE(_flag_a, _flag_b)) goto L_25006ADE; /* 0x25006AD7: jne 0x25006ade */
  12727 L_25006AD9:
  12728     MEM32(edx + 0x4) = ecx; /* 0x25006AD9: mov dword ptr [edx + 4], ecx */
  12729     goto L_25006AED; /* 0x25006ADC: jmp 0x25006aed */
  12730 L_25006ADE:
  12731     edx = MEM32(eax + 0x4); /* 0x25006ADE: mov edx, dword ptr [eax + 4] */
  12732     /* cmp eax, MEM32(edx + 0x8) */ /* 0x25006AE1: cmp eax, dword ptr [edx + 8] */
  12733     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  12734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12735     _flag_k = FK_CMP;
  12736     if (CMP_NE(_flag_a, _flag_b)) goto L_25006AEB; /* 0x25006AE4: jne 0x25006aeb */
  12737 L_25006AE6:
  12738     MEM32(edx + 0x8) = ecx; /* 0x25006AE6: mov dword ptr [edx + 8], ecx */
  12739     goto L_25006AED; /* 0x25006AE9: jmp 0x25006aed */
  12740 L_25006AEB:
  12741     MEM32(edx) = ecx; /* 0x25006AEB: mov dword ptr [edx], ecx */
  12742 L_25006AED:
  12743     MEM32(ecx + 0x8) = eax; /* 0x25006AED: mov dword ptr [ecx + 8], eax */
  12744     MEM32(eax + 0x4) = ecx; /* 0x25006AF0: mov dword ptr [eax + 4], ecx */
  12745 L_25006AF3:
  12746     ecx = MEM32(eax + 0x4); /* 0x25006AF3: mov ecx, dword ptr [eax + 4] */
  12747     MEM8(ecx + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006AF6: mov byte ptr [ecx + 0x10], bl */
  12748     edx = MEM32(eax + 0x4); /* 0x25006AF9: mov edx, dword ptr [eax + 4] */
  12749     ecx = MEM32(edx + 0x4); /* 0x25006AFC: mov ecx, dword ptr [edx + 4] */
  12750     MEM8(ecx + 0x10) = (uint8_t)(0); /* 0x25006AFF: mov byte ptr [ecx + 0x10], 0 */
  12751     edx = MEM32(eax + 0x4); /* 0x25006B03: mov edx, dword ptr [eax + 4] */
  12752     ecx = MEM32(edx + 0x4); /* 0x25006B06: mov ecx, dword ptr [edx + 4] */
  12753     edx = MEM32(ecx + 0x8); /* 0x25006B09: mov edx, dword ptr [ecx + 8] */
  12754     edi = MEM32(edx); /* 0x25006B0C: mov edi, dword ptr [edx] */
  12755     MEM32(ecx + 0x8) = edi; /* 0x25006B0E: mov dword ptr [ecx + 8], edi */
  12756     edi = MEM32(edx); /* 0x25006B11: mov edi, dword ptr [edx] */
  12757     /* cmp edi, MEM32(esi + 0x8) */ /* 0x25006B13: cmp edi, dword ptr [esi + 8] */
  12758     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12759     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12760     _flag_k = FK_CMP;
  12761     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006B1B; /* 0x25006B16: je 0x25006b1b */
  12762 L_25006B18:
  12763     MEM32(edi + 0x4) = ecx; /* 0x25006B18: mov dword ptr [edi + 4], ecx */
  12764 L_25006B1B:
  12765     edi = MEM32(ecx + 0x4); /* 0x25006B1B: mov edi, dword ptr [ecx + 4] */
  12766     MEM32(edx + 0x4) = edi; /* 0x25006B1E: mov dword ptr [edx + 4], edi */
  12767     edi = MEM32(esi + 0x4); /* 0x25006B21: mov edi, dword ptr [esi + 4] */
  12768     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x25006B24: cmp ecx, dword ptr [edi + 4] */
  12769     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12771     _flag_k = FK_CMP;
  12772     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B2E; /* 0x25006B27: jne 0x25006b2e */
  12773 L_25006B29:
  12774     MEM32(edi + 0x4) = edx; /* 0x25006B29: mov dword ptr [edi + 4], edx */
  12775     goto L_25006B3C; /* 0x25006B2C: jmp 0x25006b3c */
  12776 L_25006B2E:
  12777     edi = MEM32(ecx + 0x4); /* 0x25006B2E: mov edi, dword ptr [ecx + 4] */
  12778     /* cmp ecx, MEM32(edi) */ /* 0x25006B31: cmp ecx, dword ptr [edi] */
  12779     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12781     _flag_k = FK_CMP;
  12782     if (CMP_NE(_flag_a, _flag_b)) goto L_25006B39; /* 0x25006B33: jne 0x25006b39 */
  12783 L_25006B35:
  12784     MEM32(edi) = edx; /* 0x25006B35: mov dword ptr [edi], edx */
  12785     goto L_25006B3C; /* 0x25006B37: jmp 0x25006b3c */
  12786 L_25006B39:
  12787     MEM32(edi + 0x8) = edx; /* 0x25006B39: mov dword ptr [edi + 8], edx */
  12788 L_25006B3C:
  12789     MEM32(edx) = ecx; /* 0x25006B3C: mov dword ptr [edx], ecx */
  12790 L_25006B3E:
  12791     MEM32(ecx + 0x4) = edx; /* 0x25006B3E: mov dword ptr [ecx + 4], edx */
  12792 L_25006B41:
  12793     ecx = MEM32(esi + 0x4); /* 0x25006B41: mov ecx, dword ptr [esi + 4] */
  12794     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x25006B44: cmp eax, dword ptr [ecx + 4] */
  12795     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12797     _flag_k = FK_CMP;
  12798     RECOMP_BACKEDGE();
  12799     if (CMP_NE(_flag_a, _flag_b)) goto L_250069CD; /* 0x25006B47: jne 0x250069cd */
  12800 L_25006B4D:
  12801     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  12802     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  12803     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  12804     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  12805     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  12806     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  12807     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  12808     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  12809     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  12810     esp = ebp; /* 0x25006B61: mov esp, ebp */
  12811     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  12812     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  12813     RECOMP_REGS_OUT();
  12814 }
  12815 
  12816 void sub_25006B4D(void) {
  12817     int _fpu_cmp = 0;
  12818     uint32_t _cf = 0;
  12819     int _df = 1;
  12820     uint32_t _flag_k = FK_NONE;
  12821     uint32_t _flag_a = 0, _flag_b = 0;
  12822     uint32_t _itail_tgt = 0;
  12823     RECOMP_REGS_LOCALS
  12824     RECOMP_ENTER(0x25006B4Du);
  12825 
  12826 L_25006B4D:
  12827     edx = MEM32(esi + 0x4); /* 0x25006B4D: mov edx, dword ptr [esi + 4] */
  12828     eax = MEM32(edx + 0x4); /* 0x25006B50: mov eax, dword ptr [edx + 4] */
  12829     ecx = MEM32(ebp + (-0x4)); /* 0x25006B53: mov ecx, dword ptr [ebp - 4] */
  12830     MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x25006B56: mov byte ptr [eax + 0x10], bl */
  12831     eax = MEM32(ebp + 0x8); /* 0x25006B59: mov eax, dword ptr [ebp + 8] */
  12832     edi = POP32_VAL(esp); /* 0x25006B5C: pop edi */
  12833     esi = POP32_VAL(esp); /* 0x25006B5D: pop esi */
  12834     MEM32(eax) = ecx; /* 0x25006B5E: mov dword ptr [eax], ecx */
  12835     ebx = POP32_VAL(esp); /* 0x25006B60: pop ebx */
  12836     esp = ebp; /* 0x25006B61: mov esp, ebp */
  12837     ebp = POP32_VAL(esp); /* 0x25006B63: pop ebp */
  12838     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x25006B64: ret 0x10 */
  12839     RECOMP_REGS_OUT();
  12840 }
  12841 
  12842 void sub_25006B70(void) {
  12843     int _fpu_cmp = 0;
  12844     uint32_t _cf = 0;
  12845     int _df = 1;
  12846     uint32_t _flag_k = FK_NONE;
  12847     uint32_t _flag_a = 0, _flag_b = 0;
  12848     uint32_t _itail_tgt = 0;
  12849     RECOMP_REGS_LOCALS
  12850     RECOMP_ENTER(0x25006B70u);
  12851 
  12852 L_25006B70:
  12853     PUSH32(esp, ebp); /* 0x25006B70: push ebp */
  12854     ebp = esp; /* 0x25006B71: mov ebp, esp */
  12855     PUSH32(esp, ecx); /* 0x25006B73: push ecx */
  12856     PUSH32(esp, ebx); /* 0x25006B74: push ebx */
  12857     ebx = MEM32(ebp + 0x8); /* 0x25006B75: mov ebx, dword ptr [ebp + 8] */
  12858     PUSH32(esp, edi); /* 0x25006B78: push edi */
  12859     edi = ecx; /* 0x25006B79: mov edi, ecx */
  12860     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x25006B7B: mov cl, byte ptr [ebx + 0x11] */
  12861     /* test LO8(ecx), LO8(ecx) */ /* 0x25006B7E: test cl, cl */
  12862     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  12863     _cf = 0;
  12864     _flag_k = FK_NARROW(FK_TEST, 24);
  12865     eax = MEM32(edi + 0x8); /* 0x25006B80: mov eax, dword ptr [edi + 8] */
  12866     MEM32(ebp + (-0x4)) = eax; /* 0x25006B83: mov dword ptr [ebp - 4], eax */
  12867     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006BED; /* 0x25006B86: jne 0x25006bed */
  12868 L_25006B88:
  12869     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x25006B88: mov al, byte ptr [ebx + 0x10] */
  12870     PUSH32(esp, esi); /* 0x25006B8B: push esi */
  12871     PUSH32(esp, 0x14u); /* 0x25006B8C: push 0x14 */
  12872     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x25006B8E: mov byte ptr [ebp + 0xb], al */
  12873     RECOMP_ICALL(0x251380D0u); /* 0x25006B91: call 0x251380d0 */ /* not lifted */
  12874     RECOMP_FLAGS_IN();
  12875     ecx = MEM32(ebp + 0xC); /* 0x25006B96: mov ecx, dword ptr [ebp + 0xc] */
  12876     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25006B99: mov dl, byte ptr [ebp + 0xb] */
  12877     esi = eax; /* 0x25006B9C: mov esi, eax */
  12878     eax = esi + 0xC; /* 0x25006B9E: lea eax, [esi + 0xc] */
  12879     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12880     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12881     esp = esp + 4; /* 0x25006BA1: add esp, 4 */
  12882     _flag_k = FK_ADD;
  12883     /* test eax, eax */ /* 0x25006BA4: test eax, eax */
  12884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  12885     _cf = 0;
  12886     _flag_k = FK_TEST;
  12887     MEM32(esi + 0x4) = ecx; /* 0x25006BA6: mov dword ptr [esi + 4], ecx */
  12888     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x25006BA9: mov byte ptr [esi + 0x10], dl */
  12889     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x25006BAC: mov byte ptr [esi + 0x11], 0 */
  12890     if (TEST_Z(_flag_a, _flag_b)) goto L_25006BB7; /* 0x25006BB0: je 0x25006bb7 */
  12891 L_25006BB2:
  12892     ecx = MEM32(ebx + 0xC); /* 0x25006BB2: mov ecx, dword ptr [ebx + 0xc] */
  12893     MEM32(eax) = ecx; /* 0x25006BB5: mov dword ptr [eax], ecx */
  12894 L_25006BB7:
  12895     edx = MEM32(edi + 0x8); /* 0x25006BB7: mov edx, dword ptr [edi + 8] */
  12896     ecx = MEM32(ebp + (-0x4)); /* 0x25006BBA: mov ecx, dword ptr [ebp - 4] */
  12897     MEM32(esi) = edx; /* 0x25006BBD: mov dword ptr [esi], edx */
  12898     eax = MEM32(edi + 0x8); /* 0x25006BBF: mov eax, dword ptr [edi + 8] */
  12899     MEM32(esi + 0x8) = eax; /* 0x25006BC2: mov dword ptr [esi + 8], eax */
  12900     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25006BC5: cmp ecx, dword ptr [edi + 8] */
  12901     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12902     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12903     _flag_k = FK_CMP;
  12904     if (CMP_NE(_flag_a, _flag_b)) goto L_25006BCD; /* 0x25006BC8: jne 0x25006bcd */
  12905 L_25006BCA:
  12906     MEM32(ebp + (-0x4)) = esi; /* 0x25006BCA: mov dword ptr [ebp - 4], esi */
  12907 L_25006BCD:
  12908     edx = MEM32(ebx); /* 0x25006BCD: mov edx, dword ptr [ebx] */
  12909     PUSH32(esp, esi); /* 0x25006BCF: push esi */
  12910     PUSH32(esp, edx); /* 0x25006BD0: push edx */
  12911     ecx = edi; /* 0x25006BD1: mov ecx, edi */
  12912     RECOMP_ICALL(0x25006B70u); /* 0x25006BD3: call 0x25006b70 */ /* not lifted */
  12913     RECOMP_FLAGS_IN();
  12914     MEM32(esi) = eax; /* 0x25006BD8: mov dword ptr [esi], eax */
  12915     eax = MEM32(ebx + 0x8); /* 0x25006BDA: mov eax, dword ptr [ebx + 8] */
  12916     PUSH32(esp, esi); /* 0x25006BDD: push esi */
  12917     PUSH32(esp, eax); /* 0x25006BDE: push eax */
  12918     ecx = edi; /* 0x25006BDF: mov ecx, edi */
  12919     RECOMP_ICALL(0x25006B70u); /* 0x25006BE1: call 0x25006b70 */ /* not lifted */
  12920     RECOMP_FLAGS_IN();
  12921     MEM32(esi + 0x8) = eax; /* 0x25006BE6: mov dword ptr [esi + 8], eax */
  12922     eax = MEM32(ebp + (-0x4)); /* 0x25006BE9: mov eax, dword ptr [ebp - 4] */
  12923     esi = POP32_VAL(esp); /* 0x25006BEC: pop esi */
  12924 L_25006BED:
  12925     edi = POP32_VAL(esp); /* 0x25006BED: pop edi */
  12926     ebx = POP32_VAL(esp); /* 0x25006BEE: pop ebx */
  12927     esp = ebp; /* 0x25006BEF: mov esp, ebp */
  12928     ebp = POP32_VAL(esp); /* 0x25006BF1: pop ebp */
  12929     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25006BF2: ret 8 */
  12930     RECOMP_REGS_OUT();
  12931 }
  12932 
  12933 void sub_25006C00(void) {
  12934     int _fpu_cmp = 0;
  12935     uint32_t _cf = 0;
  12936     int _df = 1;
  12937     uint32_t _flag_k = FK_NONE;
  12938     uint32_t _flag_a = 0, _flag_b = 0;
  12939     uint32_t _itail_tgt = 0;
  12940     RECOMP_REGS_LOCALS
  12941     RECOMP_ENTER(0x25006C00u);
  12942 
  12943 L_25006C00:
  12944     PUSH32(esp, ebp); /* 0x25006C00: push ebp */
  12945     ebp = esp; /* 0x25006C01: mov ebp, esp */
  12946     PUSH32(esp, ebx); /* 0x25006C03: push ebx */
  12947     PUSH32(esp, esi); /* 0x25006C04: push esi */
  12948     ebx = ecx; /* 0x25006C05: mov ebx, ecx */
  12949     eax = MEM32(ebx + 0x8); /* 0x25006C07: mov eax, dword ptr [ebx + 8] */
  12950     PUSH32(esp, edi); /* 0x25006C0A: push edi */
  12951     edi = MEM32(ebp + 0x8); /* 0x25006C0B: mov edi, dword ptr [ebp + 8] */
  12952     /* cmp edi, eax */ /* 0x25006C0E: cmp edi, eax */
  12953     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  12954     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12955     _flag_k = FK_CMP;
  12956     esi = edi; /* 0x25006C10: mov esi, edi */
  12957     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006C33; /* 0x25006C12: je 0x25006c33 */
  12958 L_25006C14:
  12959     eax = MEM32(esi + 0x8); /* 0x25006C14: mov eax, dword ptr [esi + 8] */
  12960     PUSH32(esp, eax); /* 0x25006C17: push eax */
  12961     ecx = ebx; /* 0x25006C18: mov ecx, ebx */
  12962     RECOMP_ICALL(0x25006C00u); /* 0x25006C1A: call 0x25006c00 */ /* not lifted */
  12963     RECOMP_FLAGS_IN();
  12964     esi = MEM32(esi); /* 0x25006C1F: mov esi, dword ptr [esi] */
  12965     PUSH32(esp, edi); /* 0x25006C21: push edi */
  12966     RECOMP_ICALL(0x25137EECu); /* 0x25006C22: call 0x25137eec */ /* not lifted */
  12967     RECOMP_FLAGS_IN();
  12968     eax = MEM32(ebx + 0x8); /* 0x25006C27: mov eax, dword ptr [ebx + 8] */
  12969     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12970     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12971     esp = esp + 4; /* 0x25006C2A: add esp, 4 */
  12972     _flag_k = FK_ADD;
  12973     /* cmp esi, eax */ /* 0x25006C2D: cmp esi, eax */
  12974     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  12975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12976     _flag_k = FK_CMP;
  12977     edi = esi; /* 0x25006C2F: mov edi, esi */
  12978     RECOMP_BACKEDGE();
  12979     if (CMP_NE(_flag_a, _flag_b)) goto L_25006C14; /* 0x25006C31: jne 0x25006c14 */
  12980 L_25006C33:
  12981     edi = POP32_VAL(esp); /* 0x25006C33: pop edi */
  12982     esi = POP32_VAL(esp); /* 0x25006C34: pop esi */
  12983     ebx = POP32_VAL(esp); /* 0x25006C35: pop ebx */
  12984     ebp = POP32_VAL(esp); /* 0x25006C36: pop ebp */
  12985     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006C37: ret 4 */
  12986     RECOMP_REGS_OUT();
  12987 }
  12988 
  12989 void sub_25006C40(void) {
  12990     int _fpu_cmp = 0;
  12991     uint32_t _cf = 0;
  12992     int _df = 1;
  12993     uint32_t _flag_k = FK_NONE;
  12994     uint32_t _flag_a = 0, _flag_b = 0;
  12995     uint32_t _itail_tgt = 0;
  12996     RECOMP_REGS_LOCALS
  12997     RECOMP_ENTER(0x25006C40u);
  12998 
  12999 L_25006C40:
  13000     eax = MEM32(ecx); /* 0x25006C40: mov eax, dword ptr [ecx] */
  13001     SET_LO8(edx, MEM8(eax + 0x10)); /* 0x25006C42: mov dl, byte ptr [eax + 0x10] */
  13002     /* test LO8(edx), LO8(edx) */ /* 0x25006C45: test dl, dl */
  13003     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13004     _cf = 0;
  13005     _flag_k = FK_NARROW(FK_TEST, 24);
  13006     PUSH32(esp, ebx); /* 0x25006C47: push ebx */
  13007     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006C59; /* 0x25006C48: jne 0x25006c59 */
  13008 L_25006C4A:
  13009     edx = MEM32(eax + 0x4); /* 0x25006C4A: mov edx, dword ptr [eax + 4] */
  13010     /* cmp MEM32(edx + 0x4), eax */ /* 0x25006C4D: cmp dword ptr [edx + 4], eax */
  13011     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax);
  13012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13013     _flag_k = FK_CMP;
  13014     if (CMP_NE(_flag_a, _flag_b)) goto L_25006C59; /* 0x25006C50: jne 0x25006c59 */
  13015 L_25006C52:
  13016     eax = MEM32(eax + 0x8); /* 0x25006C52: mov eax, dword ptr [eax + 8] */
  13017     MEM32(ecx) = eax; /* 0x25006C55: mov dword ptr [ecx], eax */
  13018     ebx = POP32_VAL(esp); /* 0x25006C57: pop ebx */
  13019     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25006C58: ret  */
  13020 L_25006C59:
  13021     edx = MEM32(eax); /* 0x25006C59: mov edx, dword ptr [eax] */
  13022     SET_LO8(ebx, MEM8(edx + 0x11)); /* 0x25006C5B: mov bl, byte ptr [edx + 0x11] */
  13023     /* test LO8(ebx), LO8(ebx) */ /* 0x25006C5E: test bl, bl */
  13024     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13025     _cf = 0;
  13026     _flag_k = FK_NARROW(FK_TEST, 24);
  13027     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006C7C; /* 0x25006C60: jne 0x25006c7c */
  13028 L_25006C62:
  13029     eax = MEM32(edx + 0x8); /* 0x25006C62: mov eax, dword ptr [edx + 8] */
  13030     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x25006C65: mov bl, byte ptr [eax + 0x11] */
  13031     /* test LO8(ebx), LO8(ebx) */ /* 0x25006C68: test bl, bl */
  13032     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13033     _cf = 0;
  13034     _flag_k = FK_NARROW(FK_TEST, 24);
  13035     if (TEST_NZ(_flag_a, _flag_b)) goto L_25006C78; /* 0x25006C6A: jne 0x25006c78 */
  13036 L_25006C6C:
  13037     edx = eax; /* 0x25006C6C: mov edx, eax */
  13038     eax = MEM32(edx + 0x8); /* 0x25006C6E: mov eax, dword ptr [edx + 8] */
  13039     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x25006C71: mov bl, byte ptr [eax + 0x11] */
  13040     /* test LO8(ebx), LO8(ebx) */ /* 0x25006C74: test bl, bl */
  13041     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13042     _cf = 0;
  13043     _flag_k = FK_NARROW(FK_TEST, 24);
  13044     RECOMP_BACKEDGE();
  13045     if (TEST_Z(_flag_a, _flag_b)) goto L_25006C6C; /* 0x25006C76: je 0x25006c6c */
  13046 L_25006C78:
  13047     MEM32(ecx) = edx; /* 0x25006C78: mov dword ptr [ecx], edx */
  13048     ebx = POP32_VAL(esp); /* 0x25006C7A: pop ebx */
  13049     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25006C7B: ret  */
  13050 L_25006C7C:
  13051     eax = MEM32(eax + 0x4); /* 0x25006C7C: mov eax, dword ptr [eax + 4] */
  13052     edx = MEM32(ecx); /* 0x25006C7F: mov edx, dword ptr [ecx] */
  13053     /* cmp edx, MEM32(eax) */ /* 0x25006C81: cmp edx, dword ptr [eax] */
  13054     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
  13055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13056     _flag_k = FK_CMP;
  13057     if (CMP_NE(_flag_a, _flag_b)) goto L_25006C90; /* 0x25006C83: jne 0x25006c90 */
  13058 L_25006C85:
  13059     MEM32(ecx) = eax; /* 0x25006C85: mov dword ptr [ecx], eax */
  13060     eax = MEM32(eax + 0x4); /* 0x25006C87: mov eax, dword ptr [eax + 4] */
  13061     edx = MEM32(ecx); /* 0x25006C8A: mov edx, dword ptr [ecx] */
  13062     /* cmp edx, MEM32(eax) */ /* 0x25006C8C: cmp edx, dword ptr [eax] */
  13063     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
  13064     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13065     _flag_k = FK_CMP;
  13066     RECOMP_BACKEDGE();
  13067     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006C85; /* 0x25006C8E: je 0x25006c85 */
  13068 L_25006C90:
  13069     MEM32(ecx) = eax; /* 0x25006C90: mov dword ptr [ecx], eax */
  13070     ebx = POP32_VAL(esp); /* 0x25006C92: pop ebx */
  13071     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25006C93: ret  */
  13072     RECOMP_REGS_OUT();
  13073 }
  13074 
  13075 void sub_25006CA0(void) {
  13076     int _fpu_cmp = 0;
  13077     uint32_t _cf = 0;
  13078     int _df = 1;
  13079     uint32_t _flag_k = FK_NONE;
  13080     uint32_t _flag_a = 0, _flag_b = 0;
  13081     uint32_t _itail_tgt = 0;
  13082     RECOMP_REGS_LOCALS
  13083     RECOMP_ENTER(0x25006CA0u);
  13084 
  13085 L_25006CA0:
  13086     PUSH32(esp, ebp); /* 0x25006CA0: push ebp */
  13087     ebp = esp; /* 0x25006CA1: mov ebp, esp */
  13088     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
  13089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13090     esp = esp - 0x14u; /* 0x25006CA3: sub esp, 0x14 */
  13091     _flag_k = FK_CMP;
  13092     PUSH32(esp, ebx); /* 0x25006CA6: push ebx */
  13093     PUSH32(esp, esi); /* 0x25006CA7: push esi */
  13094     PUSH32(esp, edi); /* 0x25006CA8: push edi */
  13095     edi = MEM32(ebp + 0x8); /* 0x25006CA9: mov edi, dword ptr [ebp + 8] */
  13096     /* test edi, edi */ /* 0x25006CAC: test edi, edi */
  13097     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  13098     _cf = 0;
  13099     _flag_k = FK_TEST;
  13100     eax = MEM32(edi + 0x4); /* 0x25006CAE: mov eax, dword ptr [edi + 4] */
  13101     ebx = ecx; /* 0x25006CB1: mov ebx, ecx */
  13102     MEM32(ebx + 0x4) = eax; /* 0x25006CB3: mov dword ptr [ebx + 4], eax */
  13103     if (TEST_Z(_flag_a, _flag_b)) goto L_25006CBD; /* 0x25006CB6: je 0x25006cbd */
  13104 L_25006CB8:
  13105     eax = edi + 0x8; /* 0x25006CB8: lea eax, [edi + 8] */
  13106     goto L_25006CBF; /* 0x25006CBB: jmp 0x25006cbf */
  13107 L_25006CBD:
  13108     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  13109     eax = 0; /* 0x25006CBD: xor eax, eax */
  13110     _cf = 0;
  13111     _flag_k = FK_TEST;
  13112 L_25006CBF:
  13113     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  13114     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13115     eax = eax + 4; /* 0x25006CBF: add eax, 4 */
  13116     _flag_k = FK_ADD;
  13117     esi = ebx + 0xC; /* 0x25006CC2: lea esi, [ebx + 0xc] */
  13118     /* cmp esi, eax */ /* 0x25006CC5: cmp esi, eax */
  13119     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  13120     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13121     _flag_k = FK_CMP;
  13122     MEM32(ebp + (-0x8)) = eax; /* 0x25006CC7: mov dword ptr [ebp - 8], eax */
  13123     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006CEF; /* 0x25006CCA: je 0x25006cef */
  13124 L_25006CCC:
  13125     eax = MEM32(esi + 0x4); /* 0x25006CCC: mov eax, dword ptr [esi + 4] */
  13126     ecx = MEM32(eax); /* 0x25006CCF: mov ecx, dword ptr [eax] */
  13127     PUSH32(esp, eax); /* 0x25006CD1: push eax */
  13128     PUSH32(esp, ecx); /* 0x25006CD2: push ecx */
  13129     ecx = ebp + (-0xC); /* 0x25006CD3: lea ecx, [ebp - 0xc] */
  13130     PUSH32(esp, ecx); /* 0x25006CD6: push ecx */
  13131     ecx = esi; /* 0x25006CD7: mov ecx, esi */
  13132     RECOMP_ICALL(0x25006FC0u); /* 0x25006CD9: call 0x25006fc0 */ /* not lifted */
  13133     RECOMP_FLAGS_IN();
  13134     eax = MEM32(ebp + (-0x8)); /* 0x25006CDE: mov eax, dword ptr [ebp - 8] */
  13135     SET_LO8(edx, MEM8(eax + 0x1)); /* 0x25006CE1: mov dl, byte ptr [eax + 1] */
  13136     PUSH32(esp, eax); /* 0x25006CE4: push eax */
  13137     ecx = esi; /* 0x25006CE5: mov ecx, esi */
  13138     MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x25006CE7: mov byte ptr [esi + 1], dl */
  13139     RECOMP_ICALL(0x25007070u); /* 0x25006CEA: call 0x25007070 */ /* not lifted */
  13140     RECOMP_FLAGS_IN();
  13141 L_25006CEF:
  13142     /* test edi, edi */ /* 0x25006CEF: test edi, edi */
  13143     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  13144     _cf = 0;
  13145     _flag_k = FK_TEST;
  13146     if (TEST_Z(_flag_a, _flag_b)) goto L_25006CF8; /* 0x25006CF1: je 0x25006cf8 */
  13147 L_25006CF3:
  13148     eax = edi + 0x20; /* 0x25006CF3: lea eax, [edi + 0x20] */
  13149     goto L_25006CFA; /* 0x25006CF6: jmp 0x25006cfa */
  13150 L_25006CF8:
  13151     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  13152     eax = 0; /* 0x25006CF8: xor eax, eax */
  13153     _cf = 0;
  13154     _flag_k = FK_TEST;
  13155 L_25006CFA:
  13156     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  13157     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13158     eax = eax + 4; /* 0x25006CFA: add eax, 4 */
  13159     _flag_k = FK_ADD;
  13160     esi = ebx + 0x24; /* 0x25006CFD: lea esi, [ebx + 0x24] */
  13161     /* cmp esi, eax */ /* 0x25006D00: cmp esi, eax */
  13162     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  13163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13164     _flag_k = FK_CMP;
  13165     MEM32(ebp + (-0x8)) = eax; /* 0x25006D02: mov dword ptr [ebp - 8], eax */
  13166     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006D2A; /* 0x25006D05: je 0x25006d2a */
  13167 L_25006D07:
  13168     eax = MEM32(esi + 0x4); /* 0x25006D07: mov eax, dword ptr [esi + 4] */
  13169     ecx = MEM32(eax); /* 0x25006D0A: mov ecx, dword ptr [eax] */
  13170     PUSH32(esp, eax); /* 0x25006D0C: push eax */
  13171     PUSH32(esp, ecx); /* 0x25006D0D: push ecx */
  13172     eax = ebp + (-0xC); /* 0x25006D0E: lea eax, [ebp - 0xc] */
  13173     PUSH32(esp, eax); /* 0x25006D11: push eax */
  13174     ecx = esi; /* 0x25006D12: mov ecx, esi */
  13175     RECOMP_ICALL(0x25007170u); /* 0x25006D14: call 0x25007170 */ /* not lifted */
  13176     RECOMP_FLAGS_IN();
  13177     eax = MEM32(ebp + (-0x8)); /* 0x25006D19: mov eax, dword ptr [ebp - 8] */
  13178     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x25006D1C: mov cl, byte ptr [eax + 1] */
  13179     MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x25006D1F: mov byte ptr [esi + 1], cl */
  13180     PUSH32(esp, eax); /* 0x25006D22: push eax */
  13181     ecx = esi; /* 0x25006D23: mov ecx, esi */
  13182     RECOMP_ICALL(0x25007220u); /* 0x25006D25: call 0x25007220 */ /* not lifted */
  13183     RECOMP_FLAGS_IN();
  13184 L_25006D2A:
  13185     /* test edi, edi */ /* 0x25006D2A: test edi, edi */
  13186     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  13187     _cf = 0;
  13188     _flag_k = FK_TEST;
  13189     if (TEST_Z(_flag_a, _flag_b)) goto L_25006D33; /* 0x25006D2C: je 0x25006d33 */
  13190 L_25006D2E:
  13191     eax = edi + 0x38; /* 0x25006D2E: lea eax, [edi + 0x38] */
  13192     goto L_25006D35; /* 0x25006D31: jmp 0x25006d35 */
  13193 L_25006D33:
  13194     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  13195     eax = 0; /* 0x25006D33: xor eax, eax */
  13196     _cf = 0;
  13197     _flag_k = FK_TEST;
  13198 L_25006D35:
  13199     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  13200     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13201     eax = eax + 4; /* 0x25006D35: add eax, 4 */
  13202     _flag_k = FK_ADD;
  13203     esi = ebx + 0x3C; /* 0x25006D38: lea esi, [ebx + 0x3c] */
  13204     /* cmp esi, eax */ /* 0x25006D3B: cmp esi, eax */
  13205     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  13206     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13207     _flag_k = FK_CMP;
  13208     MEM32(ebp + (-0xC)) = eax; /* 0x25006D3D: mov dword ptr [ebp - 0xc], eax */
  13209     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006DE1; /* 0x25006D40: je 0x25006de1 */
  13210 L_25006D46:
  13211     eax = MEM32(esi + 0x4); /* 0x25006D46: mov eax, dword ptr [esi + 4] */
  13212     ecx = MEM32(esi + 0x10); /* 0x25006D49: mov ecx, dword ptr [esi + 0x10] */
  13213     /* test ecx, ecx */ /* 0x25006D4C: test ecx, ecx */
  13214     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  13215     _cf = 0;
  13216     _flag_k = FK_TEST;
  13217     MEM32(ebp + (-0x4)) = eax; /* 0x25006D4E: mov dword ptr [ebp - 4], eax */
  13218     eax = MEM32(eax); /* 0x25006D51: mov eax, dword ptr [eax] */
  13219     MEM32(ebp + (-0x8)) = eax; /* 0x25006D53: mov dword ptr [ebp - 8], eax */
  13220     if (TEST_Z(_flag_a, _flag_b)) goto L_25006DA7; /* 0x25006D56: je 0x25006da7 */
  13221 L_25006D58:
  13222     edx = ebp + (-0x10); /* 0x25006D58: lea edx, [ebp - 0x10] */
  13223     PUSH32(esp, edx); /* 0x25006D5B: push edx */
  13224     ecx = esi; /* 0x25006D5C: mov ecx, esi */
  13225     RECOMP_ICALL(0x25085270u); /* 0x25006D5E: call 0x25085270 */ /* not lifted */
  13226     RECOMP_FLAGS_IN();
  13227     ecx = eax; /* 0x25006D63: mov ecx, eax */
  13228     eax = MEM32(ebp + (-0x8)); /* 0x25006D65: mov eax, dword ptr [ebp - 8] */
  13229     /* cmp eax, MEM32(ecx) */ /* 0x25006D68: cmp eax, dword ptr [ecx] */
  13230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13232     _flag_k = FK_CMP;
  13233     if (CMP_NE(_flag_a, _flag_b)) goto L_25006DA7; /* 0x25006D6A: jne 0x25006da7 */
  13234 L_25006D6C:
  13235     ecx = MEM32(esi + 0x4); /* 0x25006D6C: mov ecx, dword ptr [esi + 4] */
  13236     /* cmp MEM32(ebp + (-0x4)), ecx */ /* 0x25006D6F: cmp dword ptr [ebp - 4], ecx */
  13237     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(ecx);
  13238     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13239     _flag_k = FK_CMP;
  13240     if (CMP_NE(_flag_a, _flag_b)) goto L_25006DA7; /* 0x25006D72: jne 0x25006da7 */
  13241 L_25006D74:
  13242     edx = MEM32(ecx + 0x4); /* 0x25006D74: mov edx, dword ptr [ecx + 4] */
  13243     PUSH32(esp, edx); /* 0x25006D77: push edx */
  13244     ecx = esi; /* 0x25006D78: mov ecx, esi */
  13245     RECOMP_ICALL(0x250067C0u); /* 0x25006D7A: call 0x250067c0 */ /* not lifted */
  13246     RECOMP_FLAGS_IN();
  13247     eax = MEM32(esi + 0x4); /* 0x25006D7F: mov eax, dword ptr [esi + 4] */
  13248     ecx = MEM32(esi + 0x8); /* 0x25006D82: mov ecx, dword ptr [esi + 8] */
  13249     MEM32(eax + 0x4) = ecx; /* 0x25006D85: mov dword ptr [eax + 4], ecx */
  13250     eax = MEM32(esi + 0x4); /* 0x25006D88: mov eax, dword ptr [esi + 4] */
  13251     MEM32(esi + 0x10) = 0; /* 0x25006D8B: mov dword ptr [esi + 0x10], 0 */
  13252     MEM32(eax) = eax; /* 0x25006D92: mov dword ptr [eax], eax */
  13253     eax = MEM32(esi + 0x4); /* 0x25006D94: mov eax, dword ptr [esi + 4] */
  13254     edx = ebp + (-0x10); /* 0x25006D97: lea edx, [ebp - 0x10] */
  13255     PUSH32(esp, edx); /* 0x25006D9A: push edx */
  13256     ecx = esi; /* 0x25006D9B: mov ecx, esi */
  13257     MEM32(eax + 0x8) = eax; /* 0x25006D9D: mov dword ptr [eax + 8], eax */
  13258     RECOMP_ICALL(0x25085270u); /* 0x25006DA0: call 0x25085270 */ /* not lifted */
  13259     RECOMP_FLAGS_IN();
  13260     goto L_25006DD0; /* 0x25006DA5: jmp 0x25006dd0 */
  13261 L_25006DA7:
  13262     /* cmp eax, MEM32(ebp + (-0x4)) */ /* 0x25006DA7: cmp eax, dword ptr [ebp - 4] */
  13263     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x4)));
  13264     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13265     _flag_k = FK_CMP;
  13266     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006DD0; /* 0x25006DAA: je 0x25006dd0 */
  13267 L_25006DAC:
  13268     PUSH32(esp, 0); /* 0x25006DAC: push 0 */
  13269     eax = ebp + (-0x10); /* 0x25006DAE: lea eax, [ebp - 0x10] */
  13270     PUSH32(esp, eax); /* 0x25006DB1: push eax */
  13271     ecx = ebp + (-0x8); /* 0x25006DB2: lea ecx, [ebp - 8] */
  13272     RECOMP_ICALL(0x250076D0u); /* 0x25006DB5: call 0x250076d0 */ /* not lifted */
  13273     RECOMP_FLAGS_IN();
  13274     ecx = MEM32(eax); /* 0x25006DBA: mov ecx, dword ptr [eax] */
  13275     PUSH32(esp, ecx); /* 0x25006DBC: push ecx */
  13276     edx = ebp + (-0x14); /* 0x25006DBD: lea edx, [ebp - 0x14] */
  13277     PUSH32(esp, edx); /* 0x25006DC0: push edx */
  13278     ecx = esi; /* 0x25006DC1: mov ecx, esi */
  13279     RECOMP_ICALL(0x25006380u); /* 0x25006DC3: call 0x25006380 */ /* not lifted */
  13280     RECOMP_FLAGS_IN();
  13281     eax = MEM32(ebp + (-0x4)); /* 0x25006DC8: mov eax, dword ptr [ebp - 4] */
  13282     /* cmp MEM32(ebp + (-0x8)), eax */ /* 0x25006DCB: cmp dword ptr [ebp - 8], eax */
  13283     _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(eax);
  13284     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13285     _flag_k = FK_CMP;
  13286     RECOMP_BACKEDGE();
  13287     if (CMP_NE(_flag_a, _flag_b)) goto L_25006DAC; /* 0x25006DCE: jne 0x25006dac */
  13288 L_25006DD0:
  13289     eax = MEM32(ebp + (-0xC)); /* 0x25006DD0: mov eax, dword ptr [ebp - 0xc] */
  13290     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x25006DD3: mov cl, byte ptr [eax + 1] */
  13291     MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x25006DD6: mov byte ptr [esi + 1], cl */
  13292     PUSH32(esp, eax); /* 0x25006DD9: push eax */
  13293     ecx = esi; /* 0x25006DDA: mov ecx, esi */
  13294     RECOMP_ICALL(0x25007320u); /* 0x25006DDC: call 0x25007320 */ /* not lifted */
  13295     RECOMP_FLAGS_IN();
  13296 L_25006DE1:
  13297     /* test edi, edi */ /* 0x25006DE1: test edi, edi */
  13298     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  13299     _cf = 0;
  13300     _flag_k = FK_TEST;
  13301     if (TEST_Z(_flag_a, _flag_b)) goto L_25006DEA; /* 0x25006DE3: je 0x25006dea */
  13302 L_25006DE5:
  13303     eax = edi + 0x50; /* 0x25006DE5: lea eax, [edi + 0x50] */
  13304     goto L_25006DEC; /* 0x25006DE8: jmp 0x25006dec */
  13305 L_25006DEA:
  13306     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  13307     eax = 0; /* 0x25006DEA: xor eax, eax */
  13308     _cf = 0;
  13309     _flag_k = FK_TEST;
  13310 L_25006DEC:
  13311     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  13312     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13313     eax = eax + 4; /* 0x25006DEC: add eax, 4 */
  13314     _flag_k = FK_ADD;
  13315     esi = ebx + 0x54; /* 0x25006DEF: lea esi, [ebx + 0x54] */
  13316     /* cmp esi, eax */ /* 0x25006DF2: cmp esi, eax */
  13317     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
  13318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13319     _flag_k = FK_CMP;
  13320     MEM32(ebp + (-0xC)) = eax; /* 0x25006DF4: mov dword ptr [ebp - 0xc], eax */
  13321     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006E98; /* 0x25006DF7: je 0x25006e98 */
  13322 L_25006DFD:
  13323     eax = MEM32(esi + 0x4); /* 0x25006DFD: mov eax, dword ptr [esi + 4] */
  13324     ecx = MEM32(esi + 0x10); /* 0x25006E00: mov ecx, dword ptr [esi + 0x10] */
  13325     /* test ecx, ecx */ /* 0x25006E03: test ecx, ecx */
  13326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  13327     _cf = 0;
  13328     _flag_k = FK_TEST;
  13329     MEM32(ebp + (-0x8)) = eax; /* 0x25006E05: mov dword ptr [ebp - 8], eax */
  13330     eax = MEM32(eax); /* 0x25006E08: mov eax, dword ptr [eax] */
  13331     MEM32(ebp + (-0x4)) = eax; /* 0x25006E0A: mov dword ptr [ebp - 4], eax */
  13332     if (TEST_Z(_flag_a, _flag_b)) goto L_25006E5E; /* 0x25006E0D: je 0x25006e5e */
  13333 L_25006E0F:
  13334     edx = ebp + (-0x14); /* 0x25006E0F: lea edx, [ebp - 0x14] */
  13335     PUSH32(esp, edx); /* 0x25006E12: push edx */
  13336     ecx = esi; /* 0x25006E13: mov ecx, esi */
  13337     RECOMP_ICALL(0x25085270u); /* 0x25006E15: call 0x25085270 */ /* not lifted */
  13338     RECOMP_FLAGS_IN();
  13339     ecx = eax; /* 0x25006E1A: mov ecx, eax */
  13340     eax = MEM32(ebp + (-0x4)); /* 0x25006E1C: mov eax, dword ptr [ebp - 4] */
  13341     /* cmp eax, MEM32(ecx) */ /* 0x25006E1F: cmp eax, dword ptr [ecx] */
  13342     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13344     _flag_k = FK_CMP;
  13345     if (CMP_NE(_flag_a, _flag_b)) goto L_25006E5E; /* 0x25006E21: jne 0x25006e5e */
  13346 L_25006E23:
  13347     ecx = MEM32(esi + 0x4); /* 0x25006E23: mov ecx, dword ptr [esi + 4] */
  13348     /* cmp MEM32(ebp + (-0x8)), ecx */ /* 0x25006E26: cmp dword ptr [ebp - 8], ecx */
  13349     _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(ecx);
  13350     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13351     _flag_k = FK_CMP;
  13352     if (CMP_NE(_flag_a, _flag_b)) goto L_25006E5E; /* 0x25006E29: jne 0x25006e5e */
  13353 L_25006E2B:
  13354     edx = MEM32(ecx + 0x4); /* 0x25006E2B: mov edx, dword ptr [ecx + 4] */
  13355     PUSH32(esp, edx); /* 0x25006E2E: push edx */
  13356     ecx = esi; /* 0x25006E2F: mov ecx, esi */
  13357     RECOMP_ICALL(0x25006820u); /* 0x25006E31: call 0x25006820 */ /* not lifted */
  13358     RECOMP_FLAGS_IN();
  13359     eax = MEM32(esi + 0x4); /* 0x25006E36: mov eax, dword ptr [esi + 4] */
  13360     ecx = MEM32(esi + 0x8); /* 0x25006E39: mov ecx, dword ptr [esi + 8] */
  13361     MEM32(eax + 0x4) = ecx; /* 0x25006E3C: mov dword ptr [eax + 4], ecx */
  13362     eax = MEM32(esi + 0x4); /* 0x25006E3F: mov eax, dword ptr [esi + 4] */
  13363     MEM32(esi + 0x10) = 0; /* 0x25006E42: mov dword ptr [esi + 0x10], 0 */
  13364     MEM32(eax) = eax; /* 0x25006E49: mov dword ptr [eax], eax */
  13365     eax = MEM32(esi + 0x4); /* 0x25006E4B: mov eax, dword ptr [esi + 4] */
  13366     edx = ebp + (-0x14); /* 0x25006E4E: lea edx, [ebp - 0x14] */
  13367     PUSH32(esp, edx); /* 0x25006E51: push edx */
  13368     ecx = esi; /* 0x25006E52: mov ecx, esi */
  13369     MEM32(eax + 0x8) = eax; /* 0x25006E54: mov dword ptr [eax + 8], eax */
  13370     RECOMP_ICALL(0x25085270u); /* 0x25006E57: call 0x25085270 */ /* not lifted */
  13371     RECOMP_FLAGS_IN();
  13372     goto L_25006E87; /* 0x25006E5C: jmp 0x25006e87 */
  13373 L_25006E5E:
  13374     /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x25006E5E: cmp eax, dword ptr [ebp - 8] */
  13375     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8)));
  13376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13377     _flag_k = FK_CMP;
  13378     if (CMP_EQ(_flag_a, _flag_b)) goto L_25006E87; /* 0x25006E61: je 0x25006e87 */
  13379 L_25006E63:
  13380     PUSH32(esp, 0); /* 0x25006E63: push 0 */
  13381     eax = ebp + (-0x14); /* 0x25006E65: lea eax, [ebp - 0x14] */
  13382     PUSH32(esp, eax); /* 0x25006E68: push eax */
  13383     ecx = ebp + (-0x4); /* 0x25006E69: lea ecx, [ebp - 4] */
  13384     RECOMP_ICALL(0x250076D0u); /* 0x25006E6C: call 0x250076d0 */ /* not lifted */
  13385     RECOMP_FLAGS_IN();
  13386     ecx = MEM32(eax); /* 0x25006E71: mov ecx, dword ptr [eax] */
  13387     PUSH32(esp, ecx); /* 0x25006E73: push ecx */
  13388     edx = ebp + (-0x10); /* 0x25006E74: lea edx, [ebp - 0x10] */
  13389     PUSH32(esp, edx); /* 0x25006E77: push edx */
  13390     ecx = esi; /* 0x25006E78: mov ecx, esi */
  13391     RECOMP_ICALL(0x25006380u); /* 0x25006E7A: call 0x25006380 */ /* not lifted */
  13392     RECOMP_FLAGS_IN();
  13393     eax = MEM32(ebp + (-0x8)); /* 0x25006E7F: mov eax, dword ptr [ebp - 8] */
  13394     /* cmp MEM32(ebp + (-0x4)), eax */ /* 0x25006E82: cmp dword ptr [ebp - 4], eax */
  13395     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(eax);
  13396     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13397     _flag_k = FK_CMP;
  13398     RECOMP_BACKEDGE();
  13399     if (CMP_NE(_flag_a, _flag_b)) goto L_25006E63; /* 0x25006E85: jne 0x25006e63 */
  13400 L_25006E87:
  13401     eax = MEM32(ebp + (-0xC)); /* 0x25006E87: mov eax, dword ptr [ebp - 0xc] */
  13402     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x25006E8A: mov cl, byte ptr [eax + 1] */
  13403     MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x25006E8D: mov byte ptr [esi + 1], cl */
  13404     PUSH32(esp, eax); /* 0x25006E90: push eax */
  13405     ecx = esi; /* 0x25006E91: mov ecx, esi */
  13406     RECOMP_ICALL(0x25007420u); /* 0x25006E93: call 0x25007420 */ /* not lifted */
  13407     RECOMP_FLAGS_IN();
  13408 L_25006E98:
  13409     SET_LO8(edx, MEM8(edi + 0x68)); /* 0x25006E98: mov dl, byte ptr [edi + 0x68] */
  13410     MEM8(ebx + 0x68) = (uint8_t)(LO8(edx)); /* 0x25006E9B: mov byte ptr [ebx + 0x68], dl */
  13411     SET_LO8(eax, MEM8(edi + 0x69)); /* 0x25006E9E: mov al, byte ptr [edi + 0x69] */
  13412     MEM8(ebx + 0x69) = (uint8_t)(LO8(eax)); /* 0x25006EA1: mov byte ptr [ebx + 0x69], al */
  13413     SET_LO8(ecx, MEM8(edi + 0x6A)); /* 0x25006EA4: mov cl, byte ptr [edi + 0x6a] */
  13414     MEM8(ebx + 0x6A) = (uint8_t)(LO8(ecx)); /* 0x25006EA7: mov byte ptr [ebx + 0x6a], cl */
  13415     SET_LO8(edx, MEM8(edi + 0x6B)); /* 0x25006EAA: mov dl, byte ptr [edi + 0x6b] */
  13416     MEM8(ebx + 0x6B) = (uint8_t)(LO8(edx)); /* 0x25006EAD: mov byte ptr [ebx + 0x6b], dl */
  13417     eax = MEM32(edi + 0x6C); /* 0x25006EB0: mov eax, dword ptr [edi + 0x6c] */
  13418     MEM32(ebx + 0x6C) = eax; /* 0x25006EB3: mov dword ptr [ebx + 0x6c], eax */
  13419     ecx = MEM32(edi + 0x70); /* 0x25006EB6: mov ecx, dword ptr [edi + 0x70] */
  13420     MEM32(ebx + 0x70) = ecx; /* 0x25006EB9: mov dword ptr [ebx + 0x70], ecx */
  13421     edx = MEM32(edi + 0x74); /* 0x25006EBC: mov edx, dword ptr [edi + 0x74] */
  13422     MEM32(ebx + 0x74) = edx; /* 0x25006EBF: mov dword ptr [ebx + 0x74], edx */
  13423     eax = edi + 0x78; /* 0x25006EC2: lea eax, [edi + 0x78] */
  13424     edx = MEM32(eax); /* 0x25006EC5: mov edx, dword ptr [eax] */
  13425     ecx = ebx + 0x78; /* 0x25006EC7: lea ecx, [ebx + 0x78] */
  13426     MEM32(ecx) = edx; /* 0x25006ECA: mov dword ptr [ecx], edx */
  13427     edx = MEM32(eax + 0x4); /* 0x25006ECC: mov edx, dword ptr [eax + 4] */
  13428     MEM32(ecx + 0x4) = edx; /* 0x25006ECF: mov dword ptr [ecx + 4], edx */
  13429     eax = MEM32(eax + 0x8); /* 0x25006ED2: mov eax, dword ptr [eax + 8] */
  13430     MEM32(ecx + 0x8) = eax; /* 0x25006ED5: mov dword ptr [ecx + 8], eax */
  13431     ecx = edi + 0x84; /* 0x25006ED8: lea ecx, [edi + 0x84] */
  13432     eax = MEM32(ecx); /* 0x25006EDE: mov eax, dword ptr [ecx] */
  13433     edx = ebx + 0x84; /* 0x25006EE0: lea edx, [ebx + 0x84] */
  13434     MEM32(edx) = eax; /* 0x25006EE6: mov dword ptr [edx], eax */
  13435     eax = MEM32(ecx + 0x4); /* 0x25006EE8: mov eax, dword ptr [ecx + 4] */
  13436     MEM32(edx + 0x4) = eax; /* 0x25006EEB: mov dword ptr [edx + 4], eax */
  13437     eax = MEM32(ecx + 0x8); /* 0x25006EEE: mov eax, dword ptr [ecx + 8] */
  13438     MEM32(edx + 0x8) = eax; /* 0x25006EF1: mov dword ptr [edx + 8], eax */
  13439     ecx = MEM32(ecx + 0xC); /* 0x25006EF4: mov ecx, dword ptr [ecx + 0xc] */
  13440     eax = MEM32(ebp + 0x8); /* 0x25006EF7: mov eax, dword ptr [ebp + 8] */
  13441     MEM32(edx + 0xC) = ecx; /* 0x25006EFA: mov dword ptr [edx + 0xc], ecx */
  13442     edx = MEM32(edi + 0x94); /* 0x25006EFD: mov edx, dword ptr [edi + 0x94] */
  13443     MEM32(ebx + 0x94) = edx; /* 0x25006F03: mov dword ptr [ebx + 0x94], edx */
  13444     esi = edi + 0x98; /* 0x25006F09: lea esi, [edi + 0x98] */
  13445     edi = ebx + 0x98; /* 0x25006F0F: lea edi, [ebx + 0x98] */
  13446     ecx = 0x10u; /* 0x25006F15: mov ecx, 0x10 */
  13447     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25006F1A: 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; }
  13448     esi = eax + 0xD8; /* 0x25006F1C: lea esi, [eax + 0xd8] */
  13449     edi = ebx + 0xD8; /* 0x25006F22: lea edi, [ebx + 0xd8] */
  13450     ecx = 0x10u; /* 0x25006F28: mov ecx, 0x10 */
  13451     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25006F2D: 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; }
  13452     ecx = MEM32(eax + 0x118); /* 0x25006F2F: mov ecx, dword ptr [eax + 0x118] */
  13453     MEM32(ebx + 0x118) = ecx; /* 0x25006F35: mov dword ptr [ebx + 0x118], ecx */
  13454     edx = MEM32(eax + 0x11C); /* 0x25006F3B: mov edx, dword ptr [eax + 0x11c] */
  13455     MEM32(ebx + 0x11C) = edx; /* 0x25006F41: mov dword ptr [ebx + 0x11c], edx */
  13456     SET_LO8(ecx, MEM8(eax + 0x120)); /* 0x25006F47: mov cl, byte ptr [eax + 0x120] */
  13457     MEM8(ebx + 0x120) = (uint8_t)(LO8(ecx)); /* 0x25006F4D: mov byte ptr [ebx + 0x120], cl */
  13458     edx = MEM32(eax + 0x124); /* 0x25006F53: mov edx, dword ptr [eax + 0x124] */
  13459     MEM32(ebx + 0x124) = edx; /* 0x25006F59: mov dword ptr [ebx + 0x124], edx */
  13460     ecx = MEM32(eax + 0x128); /* 0x25006F5F: mov ecx, dword ptr [eax + 0x128] */
  13461     MEM32(ebx + 0x128) = ecx; /* 0x25006F65: mov dword ptr [ebx + 0x128], ecx */
  13462     edx = MEM32(eax + 0x12C); /* 0x25006F6B: mov edx, dword ptr [eax + 0x12c] */
  13463     MEM32(ebx + 0x12C) = edx; /* 0x25006F71: mov dword ptr [ebx + 0x12c], edx */
  13464     SET_LO8(ecx, MEM8(eax + 0x130)); /* 0x25006F77: mov cl, byte ptr [eax + 0x130] */
  13465     MEM8(ebx + 0x130) = (uint8_t)(LO8(ecx)); /* 0x25006F7D: mov byte ptr [ebx + 0x130], cl */
  13466     SET_LO8(edx, MEM8(eax + 0x131)); /* 0x25006F83: mov dl, byte ptr [eax + 0x131] */
  13467     MEM8(ebx + 0x131) = (uint8_t)(LO8(edx)); /* 0x25006F89: mov byte ptr [ebx + 0x131], dl */
  13468     SET_LO8(ecx, MEM8(eax + 0x132)); /* 0x25006F8F: mov cl, byte ptr [eax + 0x132] */
  13469     MEM8(ebx + 0x132) = (uint8_t)(LO8(ecx)); /* 0x25006F95: mov byte ptr [ebx + 0x132], cl */
  13470     edx = MEM32(eax + 0x134); /* 0x25006F9B: mov edx, dword ptr [eax + 0x134] */
  13471     edi = POP32_VAL(esp); /* 0x25006FA1: pop edi */
  13472     esi = POP32_VAL(esp); /* 0x25006FA2: pop esi */
  13473     MEM32(ebx + 0x134) = edx; /* 0x25006FA3: mov dword ptr [ebx + 0x134], edx */
  13474     eax = ebx; /* 0x25006FA9: mov eax, ebx */
  13475     ebx = POP32_VAL(esp); /* 0x25006FAB: pop ebx */
  13476     esp = ebp; /* 0x25006FAC: mov esp, ebp */
  13477     ebp = POP32_VAL(esp); /* 0x25006FAE: pop ebp */
  13478     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25006FAF: ret 4 */
  13479     RECOMP_REGS_OUT();
  13480 }
  13481 
  13482 void sub_25006FC0(void) {
  13483     int _fpu_cmp = 0;
  13484     uint32_t _cf = 0;
  13485     int _df = 1;
  13486     uint32_t _flag_k = FK_NONE;
  13487     uint32_t _flag_a = 0, _flag_b = 0;
  13488     uint32_t _itail_tgt = 0;
  13489     RECOMP_REGS_LOCALS
  13490     RECOMP_ENTER(0x25006FC0u);
  13491 
  13492 L_25006FC0:
  13493     PUSH32(esp, ebp); /* 0x25006FC0: push ebp */
  13494     ebp = esp; /* 0x25006FC1: mov ebp, esp */
  13495     PUSH32(esp, ebx); /* 0x25006FC3: push ebx */
  13496     ebx = MEM32(ebp + 0x10); /* 0x25006FC4: mov ebx, dword ptr [ebp + 0x10] */
  13497     PUSH32(esp, esi); /* 0x25006FC7: push esi */
  13498     esi = ecx; /* 0x25006FC8: mov esi, ecx */
  13499     eax = MEM32(esi + 0x10); /* 0x25006FCA: mov eax, dword ptr [esi + 0x10] */
  13500     /* test eax, eax */ /* 0x25006FCD: test eax, eax */
  13501     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  13502     _cf = 0;
  13503     _flag_k = FK_TEST;
  13504     ecx = MEM32(ebp + 0xC); /* 0x25006FCF: mov ecx, dword ptr [ebp + 0xc] */
  13505     PUSH32(esp, edi); /* 0x25006FD2: push edi */
  13506     if (TEST_Z(_flag_a, _flag_b)) goto L_25007035; /* 0x25006FD3: je 0x25007035 */
  13507 L_25006FD5:
  13508     eax = MEM32(esi + 0x4); /* 0x25006FD5: mov eax, dword ptr [esi + 4] */
  13509     /* cmp ecx, MEM32(eax) */ /* 0x25006FD8: cmp ecx, dword ptr [eax] */
  13510     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
  13511     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13512     _flag_k = FK_CMP;
  13513     if (CMP_NE(_flag_a, _flag_b)) goto L_25007035; /* 0x25006FDA: jne 0x25007035 */
  13514 L_25006FDC:
  13515     /* cmp ebx, eax */ /* 0x25006FDC: cmp ebx, eax */
  13516     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
  13517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13518     _flag_k = FK_CMP;
  13519     if (CMP_NE(_flag_a, _flag_b)) goto L_25007035; /* 0x25006FDE: jne 0x25007035 */
  13520 L_25006FE0:
  13521     ebx = MEM32(eax + 0x4); /* 0x25006FE0: mov ebx, dword ptr [eax + 4] */
  13522     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25006FE3: cmp ebx, dword ptr [esi + 8] */
  13523     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13524     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13525     _flag_k = FK_CMP;
  13526     edi = ebx; /* 0x25006FE6: mov edi, ebx */
  13527     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007009; /* 0x25006FE8: je 0x25007009 */
  13528 L_25006FEA:
  13529     eax = MEM32(edi + 0x8); /* 0x25006FEA: mov eax, dword ptr [edi + 8] */
  13530     PUSH32(esp, eax); /* 0x25006FED: push eax */
  13531     ecx = esi; /* 0x25006FEE: mov ecx, esi */
  13532     RECOMP_ICALL(0x25006740u); /* 0x25006FF0: call 0x25006740 */ /* not lifted */
  13533     RECOMP_FLAGS_IN();
  13534     edi = MEM32(edi); /* 0x25006FF5: mov edi, dword ptr [edi] */
  13535     PUSH32(esp, ebx); /* 0x25006FF7: push ebx */
  13536     RECOMP_ICALL(0x25137EECu); /* 0x25006FF8: call 0x25137eec */ /* not lifted */
  13537     RECOMP_FLAGS_IN();
  13538     eax = MEM32(esi + 0x8); /* 0x25006FFD: mov eax, dword ptr [esi + 8] */
  13539     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  13540     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13541     esp = esp + 4; /* 0x25007000: add esp, 4 */
  13542     _flag_k = FK_ADD;
  13543     /* cmp edi, eax */ /* 0x25007003: cmp edi, eax */
  13544     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  13545     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13546     _flag_k = FK_CMP;
  13547     ebx = edi; /* 0x25007005: mov ebx, edi */
  13548     RECOMP_BACKEDGE();
  13549     if (CMP_NE(_flag_a, _flag_b)) goto L_25006FEA; /* 0x25007007: jne 0x25006fea */
  13550 L_25007009:
  13551     ecx = MEM32(esi + 0x4); /* 0x25007009: mov ecx, dword ptr [esi + 4] */
  13552     edx = MEM32(esi + 0x8); /* 0x2500700C: mov edx, dword ptr [esi + 8] */
  13553     MEM32(ecx + 0x4) = edx; /* 0x2500700F: mov dword ptr [ecx + 4], edx */
  13554     eax = MEM32(esi + 0x4); /* 0x25007012: mov eax, dword ptr [esi + 4] */
  13555     MEM32(esi + 0x10) = 0; /* 0x25007015: mov dword ptr [esi + 0x10], 0 */
  13556     MEM32(eax) = eax; /* 0x2500701C: mov dword ptr [eax], eax */
  13557     eax = MEM32(esi + 0x4); /* 0x2500701E: mov eax, dword ptr [esi + 4] */
  13558     MEM32(eax + 0x8) = eax; /* 0x25007021: mov dword ptr [eax + 8], eax */
  13559     eax = MEM32(esi + 0x4); /* 0x25007024: mov eax, dword ptr [esi + 4] */
  13560     ecx = MEM32(eax); /* 0x25007027: mov ecx, dword ptr [eax] */
  13561     eax = MEM32(ebp + 0x8); /* 0x25007029: mov eax, dword ptr [ebp + 8] */
  13562     edi = POP32_VAL(esp); /* 0x2500702C: pop edi */
  13563     esi = POP32_VAL(esp); /* 0x2500702D: pop esi */
  13564     MEM32(eax) = ecx; /* 0x2500702E: mov dword ptr [eax], ecx */
  13565     ebx = POP32_VAL(esp); /* 0x25007030: pop ebx */
  13566     ebp = POP32_VAL(esp); /* 0x25007031: pop ebp */
  13567     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x25007032: ret 0xc */
  13568 L_25007035:
  13569     /* cmp ecx, ebx */ /* 0x25007035: cmp ecx, ebx */
  13570     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
  13571     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13572     _flag_k = FK_CMP;
  13573     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007056; /* 0x25007037: je 0x25007056 */
  13574 L_25007039:
  13575     edi = ecx; /* 0x25007039: mov edi, ecx */
  13576     ecx = ebp + 0xC; /* 0x2500703B: lea ecx, [ebp + 0xc] */
  13577     RECOMP_ICALL(0x250077F0u); /* 0x2500703E: call 0x250077f0 */ /* not lifted */
  13578     RECOMP_FLAGS_IN();
  13579     PUSH32(esp, edi); /* 0x25007043: push edi */
  13580     ecx = ebp + 0x10; /* 0x25007044: lea ecx, [ebp + 0x10] */
  13581     PUSH32(esp, ecx); /* 0x25007047: push ecx */
  13582     ecx = esi; /* 0x25007048: mov ecx, esi */
  13583     RECOMP_ICALL(0x25006380u); /* 0x2500704A: call 0x25006380 */ /* not lifted */
  13584     RECOMP_FLAGS_IN();
  13585     ecx = MEM32(ebp + 0xC); /* 0x2500704F: mov ecx, dword ptr [ebp + 0xc] */
  13586     /* cmp ecx, ebx */ /* 0x25007052: cmp ecx, ebx */
  13587     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
  13588     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13589     _flag_k = FK_CMP;
  13590     RECOMP_BACKEDGE();
  13591     if (CMP_NE(_flag_a, _flag_b)) goto L_25007039; /* 0x25007054: jne 0x25007039 */
  13592 L_25007056:
  13593     eax = MEM32(ebp + 0x8); /* 0x25007056: mov eax, dword ptr [ebp + 8] */
  13594     edi = POP32_VAL(esp); /* 0x25007059: pop edi */
  13595     esi = POP32_VAL(esp); /* 0x2500705A: pop esi */
  13596     MEM32(eax) = ecx; /* 0x2500705B: mov dword ptr [eax], ecx */
  13597     ebx = POP32_VAL(esp); /* 0x2500705D: pop ebx */
  13598     ebp = POP32_VAL(esp); /* 0x2500705E: pop ebp */
  13599     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500705F: ret 0xc */
  13600     RECOMP_REGS_OUT();
  13601 }
  13602 
  13603 void sub_25007070(void) {
  13604     int _fpu_cmp = 0;
  13605     uint32_t _cf = 0;
  13606     int _df = 1;
  13607     uint32_t _flag_k = FK_NONE;
  13608     uint32_t _flag_a = 0, _flag_b = 0;
  13609     uint32_t _itail_tgt = 0;
  13610     RECOMP_REGS_LOCALS
  13611     RECOMP_ENTER(0x25007070u);
  13612 
  13613 L_25007070:
  13614     PUSH32(esp, ebp); /* 0x25007070: push ebp */
  13615     ebp = esp; /* 0x25007071: mov ebp, esp */
  13616     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  13617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13618     esp = esp - 0xCu; /* 0x25007073: sub esp, 0xc */
  13619     _flag_k = FK_CMP;
  13620     PUSH32(esp, ebx); /* 0x25007076: push ebx */
  13621     PUSH32(esp, esi); /* 0x25007077: push esi */
  13622     esi = ecx; /* 0x25007078: mov esi, ecx */
  13623     eax = MEM32(esi + 0x4); /* 0x2500707A: mov eax, dword ptr [esi + 4] */
  13624     ecx = MEM32(ebp + 0x8); /* 0x2500707D: mov ecx, dword ptr [ebp + 8] */
  13625     edx = MEM32(ecx + 0x4); /* 0x25007080: mov edx, dword ptr [ecx + 4] */
  13626     ebx = MEM32(edx + 0x4); /* 0x25007083: mov ebx, dword ptr [edx + 4] */
  13627     MEM32(ebp + (-0xC)) = eax; /* 0x25007086: mov dword ptr [ebp - 0xc], eax */
  13628     eax = MEM32(esi + 0x8); /* 0x25007089: mov eax, dword ptr [esi + 8] */
  13629     MEM32(ebp + (-0x8)) = eax; /* 0x2500708C: mov dword ptr [ebp - 8], eax */
  13630     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x2500708F: mov al, byte ptr [ebx + 0x11] */
  13631     /* test LO8(eax), LO8(eax) */ /* 0x25007092: test al, al */
  13632     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13633     _cf = 0;
  13634     _flag_k = FK_NARROW(FK_TEST, 24);
  13635     if (TEST_NZ(_flag_a, _flag_b)) goto L_250070FB; /* 0x25007094: jne 0x250070fb */
  13636 L_25007096:
  13637     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x25007096: mov cl, byte ptr [ebx + 0x10] */
  13638     PUSH32(esp, edi); /* 0x25007099: push edi */
  13639     PUSH32(esp, 0x14u); /* 0x2500709A: push 0x14 */
  13640     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2500709C: mov byte ptr [ebp - 1], cl */
  13641     RECOMP_ICALL(0x251380D0u); /* 0x2500709F: call 0x251380d0 */ /* not lifted */
  13642     RECOMP_FLAGS_IN();
  13643     edx = MEM32(ebp + (-0xC)); /* 0x250070A4: mov edx, dword ptr [ebp - 0xc] */
  13644     edi = eax; /* 0x250070A7: mov edi, eax */
  13645     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250070A9: mov al, byte ptr [ebp - 1] */
  13646     ecx = ebx + 0xC; /* 0x250070AC: lea ecx, [ebx + 0xc] */
  13647     MEM32(edi + 0x4) = edx; /* 0x250070AF: mov dword ptr [edi + 4], edx */
  13648     PUSH32(esp, ecx); /* 0x250070B2: push ecx */
  13649     edx = edi + 0xC; /* 0x250070B3: lea edx, [edi + 0xc] */
  13650     PUSH32(esp, edx); /* 0x250070B6: push edx */
  13651     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x250070B7: mov byte ptr [edi + 0x10], al */
  13652     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x250070BA: mov byte ptr [edi + 0x11], 0 */
  13653     RECOMP_ICALL(0x25085360u); /* 0x250070BE: call 0x25085360 */ /* not lifted */
  13654     RECOMP_FLAGS_IN();
  13655     eax = MEM32(esi + 0x8); /* 0x250070C3: mov eax, dword ptr [esi + 8] */
  13656     edx = MEM32(ebp + (-0x8)); /* 0x250070C6: mov edx, dword ptr [ebp - 8] */
  13657     MEM32(edi) = eax; /* 0x250070C9: mov dword ptr [edi], eax */
  13658     ecx = MEM32(esi + 0x8); /* 0x250070CB: mov ecx, dword ptr [esi + 8] */
  13659     MEM32(edi + 0x8) = ecx; /* 0x250070CE: mov dword ptr [edi + 8], ecx */
  13660     eax = MEM32(esi + 0x8); /* 0x250070D1: mov eax, dword ptr [esi + 8] */
  13661     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  13662     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13663     esp = esp + 0xCu; /* 0x250070D4: add esp, 0xc */
  13664     _flag_k = FK_ADD;
  13665     /* cmp edx, eax */ /* 0x250070D7: cmp edx, eax */
  13666     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  13667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13668     _flag_k = FK_CMP;
  13669     if (CMP_NE(_flag_a, _flag_b)) goto L_250070DE; /* 0x250070D9: jne 0x250070de */
  13670 L_250070DB:
  13671     MEM32(ebp + (-0x8)) = edi; /* 0x250070DB: mov dword ptr [ebp - 8], edi */
  13672 L_250070DE:
  13673     eax = MEM32(ebx); /* 0x250070DE: mov eax, dword ptr [ebx] */
  13674     PUSH32(esp, edi); /* 0x250070E0: push edi */
  13675     PUSH32(esp, eax); /* 0x250070E1: push eax */
  13676     ecx = esi; /* 0x250070E2: mov ecx, esi */
  13677     RECOMP_ICALL(0x25007520u); /* 0x250070E4: call 0x25007520 */ /* not lifted */
  13678     RECOMP_FLAGS_IN();
  13679     MEM32(edi) = eax; /* 0x250070E9: mov dword ptr [edi], eax */
  13680     ecx = MEM32(ebx + 0x8); /* 0x250070EB: mov ecx, dword ptr [ebx + 8] */
  13681     PUSH32(esp, edi); /* 0x250070EE: push edi */
  13682     PUSH32(esp, ecx); /* 0x250070EF: push ecx */
  13683     ecx = esi; /* 0x250070F0: mov ecx, esi */
  13684     RECOMP_ICALL(0x25007520u); /* 0x250070F2: call 0x25007520 */ /* not lifted */
  13685     RECOMP_FLAGS_IN();
  13686     MEM32(edi + 0x8) = eax; /* 0x250070F7: mov dword ptr [edi + 8], eax */
  13687     edi = POP32_VAL(esp); /* 0x250070FA: pop edi */
  13688 L_250070FB:
  13689     edx = MEM32(esi + 0x4); /* 0x250070FB: mov edx, dword ptr [esi + 4] */
  13690     eax = MEM32(ebp + (-0x8)); /* 0x250070FE: mov eax, dword ptr [ebp - 8] */
  13691     ecx = MEM32(ebp + 0x8); /* 0x25007101: mov ecx, dword ptr [ebp + 8] */
  13692     MEM32(edx + 0x4) = eax; /* 0x25007104: mov dword ptr [edx + 4], eax */
  13693     edx = MEM32(ecx + 0x10); /* 0x25007107: mov edx, dword ptr [ecx + 0x10] */
  13694     ecx = MEM32(esi + 0x8); /* 0x2500710A: mov ecx, dword ptr [esi + 8] */
  13695     MEM32(esi + 0x10) = edx; /* 0x2500710D: mov dword ptr [esi + 0x10], edx */
  13696     edx = MEM32(esi + 0x4); /* 0x25007110: mov edx, dword ptr [esi + 4] */
  13697     eax = MEM32(edx + 0x4); /* 0x25007113: mov eax, dword ptr [edx + 4] */
  13698     /* cmp eax, ecx */ /* 0x25007116: cmp eax, ecx */
  13699     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13701     _flag_k = FK_CMP;
  13702     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007157; /* 0x25007118: je 0x25007157 */
  13703 L_2500711A:
  13704     ecx = MEM32(eax); /* 0x2500711A: mov ecx, dword ptr [eax] */
  13705     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x2500711C: mov bl, byte ptr [ecx + 0x11] */
  13706     /* test LO8(ebx), LO8(ebx) */ /* 0x2500711F: test bl, bl */
  13707     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13708     _cf = 0;
  13709     _flag_k = FK_NARROW(FK_TEST, 24);
  13710     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500712E; /* 0x25007121: jne 0x2500712e */
  13711 L_25007123:
  13712     eax = ecx; /* 0x25007123: mov eax, ecx */
  13713     ecx = MEM32(eax); /* 0x25007125: mov ecx, dword ptr [eax] */
  13714     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x25007127: mov bl, byte ptr [ecx + 0x11] */
  13715     /* test LO8(ebx), LO8(ebx) */ /* 0x2500712A: test bl, bl */
  13716     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13717     _cf = 0;
  13718     _flag_k = FK_NARROW(FK_TEST, 24);
  13719     RECOMP_BACKEDGE();
  13720     if (TEST_Z(_flag_a, _flag_b)) goto L_25007123; /* 0x2500712C: je 0x25007123 */
  13721 L_2500712E:
  13722     MEM32(edx) = eax; /* 0x2500712E: mov dword ptr [edx], eax */
  13723     esi = MEM32(esi + 0x4); /* 0x25007130: mov esi, dword ptr [esi + 4] */
  13724     ecx = MEM32(esi + 0x4); /* 0x25007133: mov ecx, dword ptr [esi + 4] */
  13725     eax = MEM32(ecx + 0x8); /* 0x25007136: mov eax, dword ptr [ecx + 8] */
  13726     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x25007139: mov dl, byte ptr [eax + 0x11] */
  13727     /* test LO8(edx), LO8(edx) */ /* 0x2500713C: test dl, dl */
  13728     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13729     _cf = 0;
  13730     _flag_k = FK_NARROW(FK_TEST, 24);
  13731     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500714C; /* 0x2500713E: jne 0x2500714c */
  13732 L_25007140:
  13733     ecx = eax; /* 0x25007140: mov ecx, eax */
  13734     eax = MEM32(ecx + 0x8); /* 0x25007142: mov eax, dword ptr [ecx + 8] */
  13735     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x25007145: mov dl, byte ptr [eax + 0x11] */
  13736     /* test LO8(edx), LO8(edx) */ /* 0x25007148: test dl, dl */
  13737     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13738     _cf = 0;
  13739     _flag_k = FK_NARROW(FK_TEST, 24);
  13740     RECOMP_BACKEDGE();
  13741     if (TEST_Z(_flag_a, _flag_b)) goto L_25007140; /* 0x2500714A: je 0x25007140 */
  13742 L_2500714C:
  13743     MEM32(esi + 0x8) = ecx; /* 0x2500714C: mov dword ptr [esi + 8], ecx */
  13744     esi = POP32_VAL(esp); /* 0x2500714F: pop esi */
  13745     ebx = POP32_VAL(esp); /* 0x25007150: pop ebx */
  13746     esp = ebp; /* 0x25007151: mov esp, ebp */
  13747     ebp = POP32_VAL(esp); /* 0x25007153: pop ebp */
  13748     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007154: ret 4 */
  13749 L_25007157:
  13750     MEM32(edx) = edx; /* 0x25007157: mov dword ptr [edx], edx */
  13751     esi = MEM32(esi + 0x4); /* 0x25007159: mov esi, dword ptr [esi + 4] */
  13752     MEM32(esi + 0x8) = esi; /* 0x2500715C: mov dword ptr [esi + 8], esi */
  13753     esi = POP32_VAL(esp); /* 0x2500715F: pop esi */
  13754     ebx = POP32_VAL(esp); /* 0x25007160: pop ebx */
  13755     esp = ebp; /* 0x25007161: mov esp, ebp */
  13756     ebp = POP32_VAL(esp); /* 0x25007163: pop ebp */
  13757     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007164: ret 4 */
  13758     RECOMP_REGS_OUT();
  13759 }
  13760 
  13761 void sub_25007170(void) {
  13762     int _fpu_cmp = 0;
  13763     uint32_t _cf = 0;
  13764     int _df = 1;
  13765     uint32_t _flag_k = FK_NONE;
  13766     uint32_t _flag_a = 0, _flag_b = 0;
  13767     uint32_t _itail_tgt = 0;
  13768     RECOMP_REGS_LOCALS
  13769     RECOMP_ENTER(0x25007170u);
  13770 
  13771 L_25007170:
  13772     PUSH32(esp, ebp); /* 0x25007170: push ebp */
  13773     ebp = esp; /* 0x25007171: mov ebp, esp */
  13774     PUSH32(esp, ebx); /* 0x25007173: push ebx */
  13775     ebx = MEM32(ebp + 0x10); /* 0x25007174: mov ebx, dword ptr [ebp + 0x10] */
  13776     PUSH32(esp, esi); /* 0x25007177: push esi */
  13777     esi = ecx; /* 0x25007178: mov esi, ecx */
  13778     eax = MEM32(esi + 0x10); /* 0x2500717A: mov eax, dword ptr [esi + 0x10] */
  13779     /* test eax, eax */ /* 0x2500717D: test eax, eax */
  13780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  13781     _cf = 0;
  13782     _flag_k = FK_TEST;
  13783     ecx = MEM32(ebp + 0xC); /* 0x2500717F: mov ecx, dword ptr [ebp + 0xc] */
  13784     PUSH32(esp, edi); /* 0x25007182: push edi */
  13785     if (TEST_Z(_flag_a, _flag_b)) goto L_250071E5; /* 0x25007183: je 0x250071e5 */
  13786 L_25007185:
  13787     eax = MEM32(esi + 0x4); /* 0x25007185: mov eax, dword ptr [esi + 4] */
  13788     /* cmp ecx, MEM32(eax) */ /* 0x25007188: cmp ecx, dword ptr [eax] */
  13789     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
  13790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13791     _flag_k = FK_CMP;
  13792     if (CMP_NE(_flag_a, _flag_b)) goto L_250071E5; /* 0x2500718A: jne 0x250071e5 */
  13793 L_2500718C:
  13794     /* cmp ebx, eax */ /* 0x2500718C: cmp ebx, eax */
  13795     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
  13796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13797     _flag_k = FK_CMP;
  13798     if (CMP_NE(_flag_a, _flag_b)) goto L_250071E5; /* 0x2500718E: jne 0x250071e5 */
  13799 L_25007190:
  13800     ebx = MEM32(eax + 0x4); /* 0x25007190: mov ebx, dword ptr [eax + 4] */
  13801     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x25007193: cmp ebx, dword ptr [esi + 8] */
  13802     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13804     _flag_k = FK_CMP;
  13805     edi = ebx; /* 0x25007196: mov edi, ebx */
  13806     if (CMP_EQ(_flag_a, _flag_b)) goto L_250071B9; /* 0x25007198: je 0x250071b9 */
  13807 L_2500719A:
  13808     eax = MEM32(edi + 0x8); /* 0x2500719A: mov eax, dword ptr [edi + 8] */
  13809     PUSH32(esp, eax); /* 0x2500719D: push eax */
  13810     ecx = esi; /* 0x2500719E: mov ecx, esi */
  13811     RECOMP_ICALL(0x25006780u); /* 0x250071A0: call 0x25006780 */ /* not lifted */
  13812     RECOMP_FLAGS_IN();
  13813     edi = MEM32(edi); /* 0x250071A5: mov edi, dword ptr [edi] */
  13814     PUSH32(esp, ebx); /* 0x250071A7: push ebx */
  13815     RECOMP_ICALL(0x25137EECu); /* 0x250071A8: call 0x25137eec */ /* not lifted */
  13816     RECOMP_FLAGS_IN();
  13817     eax = MEM32(esi + 0x8); /* 0x250071AD: mov eax, dword ptr [esi + 8] */
  13818     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  13819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13820     esp = esp + 4; /* 0x250071B0: add esp, 4 */
  13821     _flag_k = FK_ADD;
  13822     /* cmp edi, eax */ /* 0x250071B3: cmp edi, eax */
  13823     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  13824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13825     _flag_k = FK_CMP;
  13826     ebx = edi; /* 0x250071B5: mov ebx, edi */
  13827     RECOMP_BACKEDGE();
  13828     if (CMP_NE(_flag_a, _flag_b)) goto L_2500719A; /* 0x250071B7: jne 0x2500719a */
  13829 L_250071B9:
  13830     ecx = MEM32(esi + 0x4); /* 0x250071B9: mov ecx, dword ptr [esi + 4] */
  13831     edx = MEM32(esi + 0x8); /* 0x250071BC: mov edx, dword ptr [esi + 8] */
  13832     MEM32(ecx + 0x4) = edx; /* 0x250071BF: mov dword ptr [ecx + 4], edx */
  13833     eax = MEM32(esi + 0x4); /* 0x250071C2: mov eax, dword ptr [esi + 4] */
  13834     MEM32(esi + 0x10) = 0; /* 0x250071C5: mov dword ptr [esi + 0x10], 0 */
  13835     MEM32(eax) = eax; /* 0x250071CC: mov dword ptr [eax], eax */
  13836     eax = MEM32(esi + 0x4); /* 0x250071CE: mov eax, dword ptr [esi + 4] */
  13837     MEM32(eax + 0x8) = eax; /* 0x250071D1: mov dword ptr [eax + 8], eax */
  13838     eax = MEM32(esi + 0x4); /* 0x250071D4: mov eax, dword ptr [esi + 4] */
  13839     ecx = MEM32(eax); /* 0x250071D7: mov ecx, dword ptr [eax] */
  13840     eax = MEM32(ebp + 0x8); /* 0x250071D9: mov eax, dword ptr [ebp + 8] */
  13841     edi = POP32_VAL(esp); /* 0x250071DC: pop edi */
  13842     esi = POP32_VAL(esp); /* 0x250071DD: pop esi */
  13843     MEM32(eax) = ecx; /* 0x250071DE: mov dword ptr [eax], ecx */
  13844     ebx = POP32_VAL(esp); /* 0x250071E0: pop ebx */
  13845     ebp = POP32_VAL(esp); /* 0x250071E1: pop ebp */
  13846     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250071E2: ret 0xc */
  13847 L_250071E5:
  13848     /* cmp ecx, ebx */ /* 0x250071E5: cmp ecx, ebx */
  13849     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
  13850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13851     _flag_k = FK_CMP;
  13852     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007206; /* 0x250071E7: je 0x25007206 */
  13853 L_250071E9:
  13854     edi = ecx; /* 0x250071E9: mov edi, ecx */
  13855     ecx = ebp + 0xC; /* 0x250071EB: lea ecx, [ebp + 0xc] */
  13856     RECOMP_ICALL(0x250077F0u); /* 0x250071EE: call 0x250077f0 */ /* not lifted */
  13857     RECOMP_FLAGS_IN();
  13858     PUSH32(esp, edi); /* 0x250071F3: push edi */
  13859     ecx = ebp + 0x10; /* 0x250071F4: lea ecx, [ebp + 0x10] */
  13860     PUSH32(esp, ecx); /* 0x250071F7: push ecx */
  13861     ecx = esi; /* 0x250071F8: mov ecx, esi */
  13862     RECOMP_ICALL(0x25006380u); /* 0x250071FA: call 0x25006380 */ /* not lifted */
  13863     RECOMP_FLAGS_IN();
  13864     ecx = MEM32(ebp + 0xC); /* 0x250071FF: mov ecx, dword ptr [ebp + 0xc] */
  13865     /* cmp ecx, ebx */ /* 0x25007202: cmp ecx, ebx */
  13866     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
  13867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13868     _flag_k = FK_CMP;
  13869     RECOMP_BACKEDGE();
  13870     if (CMP_NE(_flag_a, _flag_b)) goto L_250071E9; /* 0x25007204: jne 0x250071e9 */
  13871 L_25007206:
  13872     eax = MEM32(ebp + 0x8); /* 0x25007206: mov eax, dword ptr [ebp + 8] */
  13873     edi = POP32_VAL(esp); /* 0x25007209: pop edi */
  13874     esi = POP32_VAL(esp); /* 0x2500720A: pop esi */
  13875     MEM32(eax) = ecx; /* 0x2500720B: mov dword ptr [eax], ecx */
  13876     ebx = POP32_VAL(esp); /* 0x2500720D: pop ebx */
  13877     ebp = POP32_VAL(esp); /* 0x2500720E: pop ebp */
  13878     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500720F: ret 0xc */
  13879     RECOMP_REGS_OUT();
  13880 }
  13881 
  13882 void sub_25007220(void) {
  13883     int _fpu_cmp = 0;
  13884     uint32_t _cf = 0;
  13885     int _df = 1;
  13886     uint32_t _flag_k = FK_NONE;
  13887     uint32_t _flag_a = 0, _flag_b = 0;
  13888     uint32_t _itail_tgt = 0;
  13889     RECOMP_REGS_LOCALS
  13890     RECOMP_ENTER(0x25007220u);
  13891 
  13892 L_25007220:
  13893     PUSH32(esp, ebp); /* 0x25007220: push ebp */
  13894     ebp = esp; /* 0x25007221: mov ebp, esp */
  13895     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  13896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13897     esp = esp - 0xCu; /* 0x25007223: sub esp, 0xc */
  13898     _flag_k = FK_CMP;
  13899     PUSH32(esp, ebx); /* 0x25007226: push ebx */
  13900     PUSH32(esp, esi); /* 0x25007227: push esi */
  13901     esi = ecx; /* 0x25007228: mov esi, ecx */
  13902     eax = MEM32(esi + 0x4); /* 0x2500722A: mov eax, dword ptr [esi + 4] */
  13903     ecx = MEM32(ebp + 0x8); /* 0x2500722D: mov ecx, dword ptr [ebp + 8] */
  13904     edx = MEM32(ecx + 0x4); /* 0x25007230: mov edx, dword ptr [ecx + 4] */
  13905     ebx = MEM32(edx + 0x4); /* 0x25007233: mov ebx, dword ptr [edx + 4] */
  13906     MEM32(ebp + (-0xC)) = eax; /* 0x25007236: mov dword ptr [ebp - 0xc], eax */
  13907     eax = MEM32(esi + 0x8); /* 0x25007239: mov eax, dword ptr [esi + 8] */
  13908     MEM32(ebp + (-0x8)) = eax; /* 0x2500723C: mov dword ptr [ebp - 8], eax */
  13909     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x2500723F: mov al, byte ptr [ebx + 0x11] */
  13910     /* test LO8(eax), LO8(eax) */ /* 0x25007242: test al, al */
  13911     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13912     _cf = 0;
  13913     _flag_k = FK_NARROW(FK_TEST, 24);
  13914     if (TEST_NZ(_flag_a, _flag_b)) goto L_250072AB; /* 0x25007244: jne 0x250072ab */
  13915 L_25007246:
  13916     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x25007246: mov cl, byte ptr [ebx + 0x10] */
  13917     PUSH32(esp, edi); /* 0x25007249: push edi */
  13918     PUSH32(esp, 0x14u); /* 0x2500724A: push 0x14 */
  13919     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2500724C: mov byte ptr [ebp - 1], cl */
  13920     RECOMP_ICALL(0x251380D0u); /* 0x2500724F: call 0x251380d0 */ /* not lifted */
  13921     RECOMP_FLAGS_IN();
  13922     edx = MEM32(ebp + (-0xC)); /* 0x25007254: mov edx, dword ptr [ebp - 0xc] */
  13923     edi = eax; /* 0x25007257: mov edi, eax */
  13924     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x25007259: mov al, byte ptr [ebp - 1] */
  13925     ecx = ebx + 0xC; /* 0x2500725C: lea ecx, [ebx + 0xc] */
  13926     MEM32(edi + 0x4) = edx; /* 0x2500725F: mov dword ptr [edi + 4], edx */
  13927     PUSH32(esp, ecx); /* 0x25007262: push ecx */
  13928     edx = edi + 0xC; /* 0x25007263: lea edx, [edi + 0xc] */
  13929     PUSH32(esp, edx); /* 0x25007266: push edx */
  13930     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x25007267: mov byte ptr [edi + 0x10], al */
  13931     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x2500726A: mov byte ptr [edi + 0x11], 0 */
  13932     RECOMP_ICALL(0x25085360u); /* 0x2500726E: call 0x25085360 */ /* not lifted */
  13933     RECOMP_FLAGS_IN();
  13934     eax = MEM32(esi + 0x8); /* 0x25007273: mov eax, dword ptr [esi + 8] */
  13935     edx = MEM32(ebp + (-0x8)); /* 0x25007276: mov edx, dword ptr [ebp - 8] */
  13936     MEM32(edi) = eax; /* 0x25007279: mov dword ptr [edi], eax */
  13937     ecx = MEM32(esi + 0x8); /* 0x2500727B: mov ecx, dword ptr [esi + 8] */
  13938     MEM32(edi + 0x8) = ecx; /* 0x2500727E: mov dword ptr [edi + 8], ecx */
  13939     eax = MEM32(esi + 0x8); /* 0x25007281: mov eax, dword ptr [esi + 8] */
  13940     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  13941     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13942     esp = esp + 0xCu; /* 0x25007284: add esp, 0xc */
  13943     _flag_k = FK_ADD;
  13944     /* cmp edx, eax */ /* 0x25007287: cmp edx, eax */
  13945     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  13946     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13947     _flag_k = FK_CMP;
  13948     if (CMP_NE(_flag_a, _flag_b)) goto L_2500728E; /* 0x25007289: jne 0x2500728e */
  13949 L_2500728B:
  13950     MEM32(ebp + (-0x8)) = edi; /* 0x2500728B: mov dword ptr [ebp - 8], edi */
  13951 L_2500728E:
  13952     eax = MEM32(ebx); /* 0x2500728E: mov eax, dword ptr [ebx] */
  13953     PUSH32(esp, edi); /* 0x25007290: push edi */
  13954     PUSH32(esp, eax); /* 0x25007291: push eax */
  13955     ecx = esi; /* 0x25007292: mov ecx, esi */
  13956     RECOMP_ICALL(0x250075B0u); /* 0x25007294: call 0x250075b0 */ /* not lifted */
  13957     RECOMP_FLAGS_IN();
  13958     MEM32(edi) = eax; /* 0x25007299: mov dword ptr [edi], eax */
  13959     ecx = MEM32(ebx + 0x8); /* 0x2500729B: mov ecx, dword ptr [ebx + 8] */
  13960     PUSH32(esp, edi); /* 0x2500729E: push edi */
  13961     PUSH32(esp, ecx); /* 0x2500729F: push ecx */
  13962     ecx = esi; /* 0x250072A0: mov ecx, esi */
  13963     RECOMP_ICALL(0x250075B0u); /* 0x250072A2: call 0x250075b0 */ /* not lifted */
  13964     RECOMP_FLAGS_IN();
  13965     MEM32(edi + 0x8) = eax; /* 0x250072A7: mov dword ptr [edi + 8], eax */
  13966     edi = POP32_VAL(esp); /* 0x250072AA: pop edi */
  13967 L_250072AB:
  13968     edx = MEM32(esi + 0x4); /* 0x250072AB: mov edx, dword ptr [esi + 4] */
  13969     eax = MEM32(ebp + (-0x8)); /* 0x250072AE: mov eax, dword ptr [ebp - 8] */
  13970     ecx = MEM32(ebp + 0x8); /* 0x250072B1: mov ecx, dword ptr [ebp + 8] */
  13971     MEM32(edx + 0x4) = eax; /* 0x250072B4: mov dword ptr [edx + 4], eax */
  13972     edx = MEM32(ecx + 0x10); /* 0x250072B7: mov edx, dword ptr [ecx + 0x10] */
  13973     ecx = MEM32(esi + 0x8); /* 0x250072BA: mov ecx, dword ptr [esi + 8] */
  13974     MEM32(esi + 0x10) = edx; /* 0x250072BD: mov dword ptr [esi + 0x10], edx */
  13975     edx = MEM32(esi + 0x4); /* 0x250072C0: mov edx, dword ptr [esi + 4] */
  13976     eax = MEM32(edx + 0x4); /* 0x250072C3: mov eax, dword ptr [edx + 4] */
  13977     /* cmp eax, ecx */ /* 0x250072C6: cmp eax, ecx */
  13978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13980     _flag_k = FK_CMP;
  13981     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007307; /* 0x250072C8: je 0x25007307 */
  13982 L_250072CA:
  13983     ecx = MEM32(eax); /* 0x250072CA: mov ecx, dword ptr [eax] */
  13984     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250072CC: mov bl, byte ptr [ecx + 0x11] */
  13985     /* test LO8(ebx), LO8(ebx) */ /* 0x250072CF: test bl, bl */
  13986     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13987     _cf = 0;
  13988     _flag_k = FK_NARROW(FK_TEST, 24);
  13989     if (TEST_NZ(_flag_a, _flag_b)) goto L_250072DE; /* 0x250072D1: jne 0x250072de */
  13990 L_250072D3:
  13991     eax = ecx; /* 0x250072D3: mov eax, ecx */
  13992     ecx = MEM32(eax); /* 0x250072D5: mov ecx, dword ptr [eax] */
  13993     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250072D7: mov bl, byte ptr [ecx + 0x11] */
  13994     /* test LO8(ebx), LO8(ebx) */ /* 0x250072DA: test bl, bl */
  13995     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  13996     _cf = 0;
  13997     _flag_k = FK_NARROW(FK_TEST, 24);
  13998     RECOMP_BACKEDGE();
  13999     if (TEST_Z(_flag_a, _flag_b)) goto L_250072D3; /* 0x250072DC: je 0x250072d3 */
  14000 L_250072DE:
  14001     MEM32(edx) = eax; /* 0x250072DE: mov dword ptr [edx], eax */
  14002     esi = MEM32(esi + 0x4); /* 0x250072E0: mov esi, dword ptr [esi + 4] */
  14003     ecx = MEM32(esi + 0x4); /* 0x250072E3: mov ecx, dword ptr [esi + 4] */
  14004     eax = MEM32(ecx + 0x8); /* 0x250072E6: mov eax, dword ptr [ecx + 8] */
  14005     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250072E9: mov dl, byte ptr [eax + 0x11] */
  14006     /* test LO8(edx), LO8(edx) */ /* 0x250072EC: test dl, dl */
  14007     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14008     _cf = 0;
  14009     _flag_k = FK_NARROW(FK_TEST, 24);
  14010     if (TEST_NZ(_flag_a, _flag_b)) goto L_250072FC; /* 0x250072EE: jne 0x250072fc */
  14011 L_250072F0:
  14012     ecx = eax; /* 0x250072F0: mov ecx, eax */
  14013     eax = MEM32(ecx + 0x8); /* 0x250072F2: mov eax, dword ptr [ecx + 8] */
  14014     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250072F5: mov dl, byte ptr [eax + 0x11] */
  14015     /* test LO8(edx), LO8(edx) */ /* 0x250072F8: test dl, dl */
  14016     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14017     _cf = 0;
  14018     _flag_k = FK_NARROW(FK_TEST, 24);
  14019     RECOMP_BACKEDGE();
  14020     if (TEST_Z(_flag_a, _flag_b)) goto L_250072F0; /* 0x250072FA: je 0x250072f0 */
  14021 L_250072FC:
  14022     MEM32(esi + 0x8) = ecx; /* 0x250072FC: mov dword ptr [esi + 8], ecx */
  14023     esi = POP32_VAL(esp); /* 0x250072FF: pop esi */
  14024     ebx = POP32_VAL(esp); /* 0x25007300: pop ebx */
  14025     esp = ebp; /* 0x25007301: mov esp, ebp */
  14026     ebp = POP32_VAL(esp); /* 0x25007303: pop ebp */
  14027     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007304: ret 4 */
  14028 L_25007307:
  14029     MEM32(edx) = edx; /* 0x25007307: mov dword ptr [edx], edx */
  14030     esi = MEM32(esi + 0x4); /* 0x25007309: mov esi, dword ptr [esi + 4] */
  14031     MEM32(esi + 0x8) = esi; /* 0x2500730C: mov dword ptr [esi + 8], esi */
  14032     esi = POP32_VAL(esp); /* 0x2500730F: pop esi */
  14033     ebx = POP32_VAL(esp); /* 0x25007310: pop ebx */
  14034     esp = ebp; /* 0x25007311: mov esp, ebp */
  14035     ebp = POP32_VAL(esp); /* 0x25007313: pop ebp */
  14036     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007314: ret 4 */
  14037     RECOMP_REGS_OUT();
  14038 }
  14039 
  14040 void sub_25007320(void) {
  14041     int _fpu_cmp = 0;
  14042     uint32_t _cf = 0;
  14043     int _df = 1;
  14044     uint32_t _flag_k = FK_NONE;
  14045     uint32_t _flag_a = 0, _flag_b = 0;
  14046     uint32_t _itail_tgt = 0;
  14047     RECOMP_REGS_LOCALS
  14048     RECOMP_ENTER(0x25007320u);
  14049 
  14050 L_25007320:
  14051     PUSH32(esp, ebp); /* 0x25007320: push ebp */
  14052     ebp = esp; /* 0x25007321: mov ebp, esp */
  14053     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  14054     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14055     esp = esp - 0xCu; /* 0x25007323: sub esp, 0xc */
  14056     _flag_k = FK_CMP;
  14057     PUSH32(esp, ebx); /* 0x25007326: push ebx */
  14058     PUSH32(esp, esi); /* 0x25007327: push esi */
  14059     esi = ecx; /* 0x25007328: mov esi, ecx */
  14060     eax = MEM32(esi + 0x4); /* 0x2500732A: mov eax, dword ptr [esi + 4] */
  14061     ecx = MEM32(ebp + 0x8); /* 0x2500732D: mov ecx, dword ptr [ebp + 8] */
  14062     edx = MEM32(ecx + 0x4); /* 0x25007330: mov edx, dword ptr [ecx + 4] */
  14063     ebx = MEM32(edx + 0x4); /* 0x25007333: mov ebx, dword ptr [edx + 4] */
  14064     MEM32(ebp + (-0xC)) = eax; /* 0x25007336: mov dword ptr [ebp - 0xc], eax */
  14065     eax = MEM32(esi + 0x8); /* 0x25007339: mov eax, dword ptr [esi + 8] */
  14066     MEM32(ebp + (-0x8)) = eax; /* 0x2500733C: mov dword ptr [ebp - 8], eax */
  14067     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x2500733F: mov al, byte ptr [ebx + 0x11] */
  14068     /* test LO8(eax), LO8(eax) */ /* 0x25007342: test al, al */
  14069     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14070     _cf = 0;
  14071     _flag_k = FK_NARROW(FK_TEST, 24);
  14072     if (TEST_NZ(_flag_a, _flag_b)) goto L_250073AB; /* 0x25007344: jne 0x250073ab */
  14073 L_25007346:
  14074     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x25007346: mov cl, byte ptr [ebx + 0x10] */
  14075     PUSH32(esp, edi); /* 0x25007349: push edi */
  14076     PUSH32(esp, 0x14u); /* 0x2500734A: push 0x14 */
  14077     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2500734C: mov byte ptr [ebp - 1], cl */
  14078     RECOMP_ICALL(0x251380D0u); /* 0x2500734F: call 0x251380d0 */ /* not lifted */
  14079     RECOMP_FLAGS_IN();
  14080     edx = MEM32(ebp + (-0xC)); /* 0x25007354: mov edx, dword ptr [ebp - 0xc] */
  14081     edi = eax; /* 0x25007357: mov edi, eax */
  14082     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x25007359: mov al, byte ptr [ebp - 1] */
  14083     ecx = ebx + 0xC; /* 0x2500735C: lea ecx, [ebx + 0xc] */
  14084     MEM32(edi + 0x4) = edx; /* 0x2500735F: mov dword ptr [edi + 4], edx */
  14085     PUSH32(esp, ecx); /* 0x25007362: push ecx */
  14086     edx = edi + 0xC; /* 0x25007363: lea edx, [edi + 0xc] */
  14087     PUSH32(esp, edx); /* 0x25007366: push edx */
  14088     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x25007367: mov byte ptr [edi + 0x10], al */
  14089     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x2500736A: mov byte ptr [edi + 0x11], 0 */
  14090     RECOMP_ICALL(0x25085360u); /* 0x2500736E: call 0x25085360 */ /* not lifted */
  14091     RECOMP_FLAGS_IN();
  14092     eax = MEM32(esi + 0x8); /* 0x25007373: mov eax, dword ptr [esi + 8] */
  14093     edx = MEM32(ebp + (-0x8)); /* 0x25007376: mov edx, dword ptr [ebp - 8] */
  14094     MEM32(edi) = eax; /* 0x25007379: mov dword ptr [edi], eax */
  14095     ecx = MEM32(esi + 0x8); /* 0x2500737B: mov ecx, dword ptr [esi + 8] */
  14096     MEM32(edi + 0x8) = ecx; /* 0x2500737E: mov dword ptr [edi + 8], ecx */
  14097     eax = MEM32(esi + 0x8); /* 0x25007381: mov eax, dword ptr [esi + 8] */
  14098     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  14099     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14100     esp = esp + 0xCu; /* 0x25007384: add esp, 0xc */
  14101     _flag_k = FK_ADD;
  14102     /* cmp edx, eax */ /* 0x25007387: cmp edx, eax */
  14103     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  14104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14105     _flag_k = FK_CMP;
  14106     if (CMP_NE(_flag_a, _flag_b)) goto L_2500738E; /* 0x25007389: jne 0x2500738e */
  14107 L_2500738B:
  14108     MEM32(ebp + (-0x8)) = edi; /* 0x2500738B: mov dword ptr [ebp - 8], edi */
  14109 L_2500738E:
  14110     eax = MEM32(ebx); /* 0x2500738E: mov eax, dword ptr [ebx] */
  14111     PUSH32(esp, edi); /* 0x25007390: push edi */
  14112     PUSH32(esp, eax); /* 0x25007391: push eax */
  14113     ecx = esi; /* 0x25007392: mov ecx, esi */
  14114     RECOMP_ICALL(0x25007640u); /* 0x25007394: call 0x25007640 */ /* not lifted */
  14115     RECOMP_FLAGS_IN();
  14116     MEM32(edi) = eax; /* 0x25007399: mov dword ptr [edi], eax */
  14117     ecx = MEM32(ebx + 0x8); /* 0x2500739B: mov ecx, dword ptr [ebx + 8] */
  14118     PUSH32(esp, edi); /* 0x2500739E: push edi */
  14119     PUSH32(esp, ecx); /* 0x2500739F: push ecx */
  14120     ecx = esi; /* 0x250073A0: mov ecx, esi */
  14121     RECOMP_ICALL(0x25007640u); /* 0x250073A2: call 0x25007640 */ /* not lifted */
  14122     RECOMP_FLAGS_IN();
  14123     MEM32(edi + 0x8) = eax; /* 0x250073A7: mov dword ptr [edi + 8], eax */
  14124     edi = POP32_VAL(esp); /* 0x250073AA: pop edi */
  14125 L_250073AB:
  14126     edx = MEM32(esi + 0x4); /* 0x250073AB: mov edx, dword ptr [esi + 4] */
  14127     eax = MEM32(ebp + (-0x8)); /* 0x250073AE: mov eax, dword ptr [ebp - 8] */
  14128     ecx = MEM32(ebp + 0x8); /* 0x250073B1: mov ecx, dword ptr [ebp + 8] */
  14129     MEM32(edx + 0x4) = eax; /* 0x250073B4: mov dword ptr [edx + 4], eax */
  14130     edx = MEM32(ecx + 0x10); /* 0x250073B7: mov edx, dword ptr [ecx + 0x10] */
  14131     ecx = MEM32(esi + 0x8); /* 0x250073BA: mov ecx, dword ptr [esi + 8] */
  14132     MEM32(esi + 0x10) = edx; /* 0x250073BD: mov dword ptr [esi + 0x10], edx */
  14133     edx = MEM32(esi + 0x4); /* 0x250073C0: mov edx, dword ptr [esi + 4] */
  14134     eax = MEM32(edx + 0x4); /* 0x250073C3: mov eax, dword ptr [edx + 4] */
  14135     /* cmp eax, ecx */ /* 0x250073C6: cmp eax, ecx */
  14136     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14138     _flag_k = FK_CMP;
  14139     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007407; /* 0x250073C8: je 0x25007407 */
  14140 L_250073CA:
  14141     ecx = MEM32(eax); /* 0x250073CA: mov ecx, dword ptr [eax] */
  14142     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250073CC: mov bl, byte ptr [ecx + 0x11] */
  14143     /* test LO8(ebx), LO8(ebx) */ /* 0x250073CF: test bl, bl */
  14144     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14145     _cf = 0;
  14146     _flag_k = FK_NARROW(FK_TEST, 24);
  14147     if (TEST_NZ(_flag_a, _flag_b)) goto L_250073DE; /* 0x250073D1: jne 0x250073de */
  14148 L_250073D3:
  14149     eax = ecx; /* 0x250073D3: mov eax, ecx */
  14150     ecx = MEM32(eax); /* 0x250073D5: mov ecx, dword ptr [eax] */
  14151     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250073D7: mov bl, byte ptr [ecx + 0x11] */
  14152     /* test LO8(ebx), LO8(ebx) */ /* 0x250073DA: test bl, bl */
  14153     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14154     _cf = 0;
  14155     _flag_k = FK_NARROW(FK_TEST, 24);
  14156     RECOMP_BACKEDGE();
  14157     if (TEST_Z(_flag_a, _flag_b)) goto L_250073D3; /* 0x250073DC: je 0x250073d3 */
  14158 L_250073DE:
  14159     MEM32(edx) = eax; /* 0x250073DE: mov dword ptr [edx], eax */
  14160     esi = MEM32(esi + 0x4); /* 0x250073E0: mov esi, dword ptr [esi + 4] */
  14161     ecx = MEM32(esi + 0x4); /* 0x250073E3: mov ecx, dword ptr [esi + 4] */
  14162     eax = MEM32(ecx + 0x8); /* 0x250073E6: mov eax, dword ptr [ecx + 8] */
  14163     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250073E9: mov dl, byte ptr [eax + 0x11] */
  14164     /* test LO8(edx), LO8(edx) */ /* 0x250073EC: test dl, dl */
  14165     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14166     _cf = 0;
  14167     _flag_k = FK_NARROW(FK_TEST, 24);
  14168     if (TEST_NZ(_flag_a, _flag_b)) goto L_250073FC; /* 0x250073EE: jne 0x250073fc */
  14169 L_250073F0:
  14170     ecx = eax; /* 0x250073F0: mov ecx, eax */
  14171     eax = MEM32(ecx + 0x8); /* 0x250073F2: mov eax, dword ptr [ecx + 8] */
  14172     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250073F5: mov dl, byte ptr [eax + 0x11] */
  14173     /* test LO8(edx), LO8(edx) */ /* 0x250073F8: test dl, dl */
  14174     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14175     _cf = 0;
  14176     _flag_k = FK_NARROW(FK_TEST, 24);
  14177     RECOMP_BACKEDGE();
  14178     if (TEST_Z(_flag_a, _flag_b)) goto L_250073F0; /* 0x250073FA: je 0x250073f0 */
  14179 L_250073FC:
  14180     MEM32(esi + 0x8) = ecx; /* 0x250073FC: mov dword ptr [esi + 8], ecx */
  14181     esi = POP32_VAL(esp); /* 0x250073FF: pop esi */
  14182     ebx = POP32_VAL(esp); /* 0x25007400: pop ebx */
  14183     esp = ebp; /* 0x25007401: mov esp, ebp */
  14184     ebp = POP32_VAL(esp); /* 0x25007403: pop ebp */
  14185     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007404: ret 4 */
  14186 L_25007407:
  14187     MEM32(edx) = edx; /* 0x25007407: mov dword ptr [edx], edx */
  14188     esi = MEM32(esi + 0x4); /* 0x25007409: mov esi, dword ptr [esi + 4] */
  14189     MEM32(esi + 0x8) = esi; /* 0x2500740C: mov dword ptr [esi + 8], esi */
  14190     esi = POP32_VAL(esp); /* 0x2500740F: pop esi */
  14191     ebx = POP32_VAL(esp); /* 0x25007410: pop ebx */
  14192     esp = ebp; /* 0x25007411: mov esp, ebp */
  14193     ebp = POP32_VAL(esp); /* 0x25007413: pop ebp */
  14194     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007414: ret 4 */
  14195     RECOMP_REGS_OUT();
  14196 }
  14197 
  14198 void sub_25007420(void) {
  14199     int _fpu_cmp = 0;
  14200     uint32_t _cf = 0;
  14201     int _df = 1;
  14202     uint32_t _flag_k = FK_NONE;
  14203     uint32_t _flag_a = 0, _flag_b = 0;
  14204     uint32_t _itail_tgt = 0;
  14205     RECOMP_REGS_LOCALS
  14206     RECOMP_ENTER(0x25007420u);
  14207 
  14208 L_25007420:
  14209     PUSH32(esp, ebp); /* 0x25007420: push ebp */
  14210     ebp = esp; /* 0x25007421: mov ebp, esp */
  14211     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  14212     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14213     esp = esp - 0xCu; /* 0x25007423: sub esp, 0xc */
  14214     _flag_k = FK_CMP;
  14215     PUSH32(esp, ebx); /* 0x25007426: push ebx */
  14216     PUSH32(esp, esi); /* 0x25007427: push esi */
  14217     esi = ecx; /* 0x25007428: mov esi, ecx */
  14218     eax = MEM32(esi + 0x4); /* 0x2500742A: mov eax, dword ptr [esi + 4] */
  14219     ecx = MEM32(ebp + 0x8); /* 0x2500742D: mov ecx, dword ptr [ebp + 8] */
  14220     edx = MEM32(ecx + 0x4); /* 0x25007430: mov edx, dword ptr [ecx + 4] */
  14221     ebx = MEM32(edx + 0x4); /* 0x25007433: mov ebx, dword ptr [edx + 4] */
  14222     MEM32(ebp + (-0xC)) = eax; /* 0x25007436: mov dword ptr [ebp - 0xc], eax */
  14223     eax = MEM32(esi + 0x8); /* 0x25007439: mov eax, dword ptr [esi + 8] */
  14224     MEM32(ebp + (-0x8)) = eax; /* 0x2500743C: mov dword ptr [ebp - 8], eax */
  14225     SET_LO8(eax, MEM8(ebx + 0x11)); /* 0x2500743F: mov al, byte ptr [ebx + 0x11] */
  14226     /* test LO8(eax), LO8(eax) */ /* 0x25007442: test al, al */
  14227     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14228     _cf = 0;
  14229     _flag_k = FK_NARROW(FK_TEST, 24);
  14230     if (TEST_NZ(_flag_a, _flag_b)) goto L_250074AB; /* 0x25007444: jne 0x250074ab */
  14231 L_25007446:
  14232     SET_LO8(ecx, MEM8(ebx + 0x10)); /* 0x25007446: mov cl, byte ptr [ebx + 0x10] */
  14233     PUSH32(esp, edi); /* 0x25007449: push edi */
  14234     PUSH32(esp, 0x14u); /* 0x2500744A: push 0x14 */
  14235     MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2500744C: mov byte ptr [ebp - 1], cl */
  14236     RECOMP_ICALL(0x251380D0u); /* 0x2500744F: call 0x251380d0 */ /* not lifted */
  14237     RECOMP_FLAGS_IN();
  14238     edx = MEM32(ebp + (-0xC)); /* 0x25007454: mov edx, dword ptr [ebp - 0xc] */
  14239     edi = eax; /* 0x25007457: mov edi, eax */
  14240     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x25007459: mov al, byte ptr [ebp - 1] */
  14241     ecx = ebx + 0xC; /* 0x2500745C: lea ecx, [ebx + 0xc] */
  14242     MEM32(edi + 0x4) = edx; /* 0x2500745F: mov dword ptr [edi + 4], edx */
  14243     PUSH32(esp, ecx); /* 0x25007462: push ecx */
  14244     edx = edi + 0xC; /* 0x25007463: lea edx, [edi + 0xc] */
  14245     PUSH32(esp, edx); /* 0x25007466: push edx */
  14246     MEM8(edi + 0x10) = (uint8_t)(LO8(eax)); /* 0x25007467: mov byte ptr [edi + 0x10], al */
  14247     MEM8(edi + 0x11) = (uint8_t)(0); /* 0x2500746A: mov byte ptr [edi + 0x11], 0 */
  14248     RECOMP_ICALL(0x25085360u); /* 0x2500746E: call 0x25085360 */ /* not lifted */
  14249     RECOMP_FLAGS_IN();
  14250     eax = MEM32(esi + 0x8); /* 0x25007473: mov eax, dword ptr [esi + 8] */
  14251     edx = MEM32(ebp + (-0x8)); /* 0x25007476: mov edx, dword ptr [ebp - 8] */
  14252     MEM32(edi) = eax; /* 0x25007479: mov dword ptr [edi], eax */
  14253     ecx = MEM32(esi + 0x8); /* 0x2500747B: mov ecx, dword ptr [esi + 8] */
  14254     MEM32(edi + 0x8) = ecx; /* 0x2500747E: mov dword ptr [edi + 8], ecx */
  14255     eax = MEM32(esi + 0x8); /* 0x25007481: mov eax, dword ptr [esi + 8] */
  14256     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  14257     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14258     esp = esp + 0xCu; /* 0x25007484: add esp, 0xc */
  14259     _flag_k = FK_ADD;
  14260     /* cmp edx, eax */ /* 0x25007487: cmp edx, eax */
  14261     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  14262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14263     _flag_k = FK_CMP;
  14264     if (CMP_NE(_flag_a, _flag_b)) goto L_2500748E; /* 0x25007489: jne 0x2500748e */
  14265 L_2500748B:
  14266     MEM32(ebp + (-0x8)) = edi; /* 0x2500748B: mov dword ptr [ebp - 8], edi */
  14267 L_2500748E:
  14268     eax = MEM32(ebx); /* 0x2500748E: mov eax, dword ptr [ebx] */
  14269     PUSH32(esp, edi); /* 0x25007490: push edi */
  14270     PUSH32(esp, eax); /* 0x25007491: push eax */
  14271     ecx = esi; /* 0x25007492: mov ecx, esi */
  14272     RECOMP_ICALL(0x25007730u); /* 0x25007494: call 0x25007730 */ /* not lifted */
  14273     RECOMP_FLAGS_IN();
  14274     MEM32(edi) = eax; /* 0x25007499: mov dword ptr [edi], eax */
  14275     ecx = MEM32(ebx + 0x8); /* 0x2500749B: mov ecx, dword ptr [ebx + 8] */
  14276     PUSH32(esp, edi); /* 0x2500749E: push edi */
  14277     PUSH32(esp, ecx); /* 0x2500749F: push ecx */
  14278     ecx = esi; /* 0x250074A0: mov ecx, esi */
  14279     RECOMP_ICALL(0x25007730u); /* 0x250074A2: call 0x25007730 */ /* not lifted */
  14280     RECOMP_FLAGS_IN();
  14281     MEM32(edi + 0x8) = eax; /* 0x250074A7: mov dword ptr [edi + 8], eax */
  14282     edi = POP32_VAL(esp); /* 0x250074AA: pop edi */
  14283 L_250074AB:
  14284     edx = MEM32(esi + 0x4); /* 0x250074AB: mov edx, dword ptr [esi + 4] */
  14285     eax = MEM32(ebp + (-0x8)); /* 0x250074AE: mov eax, dword ptr [ebp - 8] */
  14286     ecx = MEM32(ebp + 0x8); /* 0x250074B1: mov ecx, dword ptr [ebp + 8] */
  14287     MEM32(edx + 0x4) = eax; /* 0x250074B4: mov dword ptr [edx + 4], eax */
  14288     edx = MEM32(ecx + 0x10); /* 0x250074B7: mov edx, dword ptr [ecx + 0x10] */
  14289     ecx = MEM32(esi + 0x8); /* 0x250074BA: mov ecx, dword ptr [esi + 8] */
  14290     MEM32(esi + 0x10) = edx; /* 0x250074BD: mov dword ptr [esi + 0x10], edx */
  14291     edx = MEM32(esi + 0x4); /* 0x250074C0: mov edx, dword ptr [esi + 4] */
  14292     eax = MEM32(edx + 0x4); /* 0x250074C3: mov eax, dword ptr [edx + 4] */
  14293     /* cmp eax, ecx */ /* 0x250074C6: cmp eax, ecx */
  14294     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14295     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14296     _flag_k = FK_CMP;
  14297     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007507; /* 0x250074C8: je 0x25007507 */
  14298 L_250074CA:
  14299     ecx = MEM32(eax); /* 0x250074CA: mov ecx, dword ptr [eax] */
  14300     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250074CC: mov bl, byte ptr [ecx + 0x11] */
  14301     /* test LO8(ebx), LO8(ebx) */ /* 0x250074CF: test bl, bl */
  14302     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14303     _cf = 0;
  14304     _flag_k = FK_NARROW(FK_TEST, 24);
  14305     if (TEST_NZ(_flag_a, _flag_b)) goto L_250074DE; /* 0x250074D1: jne 0x250074de */
  14306 L_250074D3:
  14307     eax = ecx; /* 0x250074D3: mov eax, ecx */
  14308     ecx = MEM32(eax); /* 0x250074D5: mov ecx, dword ptr [eax] */
  14309     SET_LO8(ebx, MEM8(ecx + 0x11)); /* 0x250074D7: mov bl, byte ptr [ecx + 0x11] */
  14310     /* test LO8(ebx), LO8(ebx) */ /* 0x250074DA: test bl, bl */
  14311     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14312     _cf = 0;
  14313     _flag_k = FK_NARROW(FK_TEST, 24);
  14314     RECOMP_BACKEDGE();
  14315     if (TEST_Z(_flag_a, _flag_b)) goto L_250074D3; /* 0x250074DC: je 0x250074d3 */
  14316 L_250074DE:
  14317     MEM32(edx) = eax; /* 0x250074DE: mov dword ptr [edx], eax */
  14318     esi = MEM32(esi + 0x4); /* 0x250074E0: mov esi, dword ptr [esi + 4] */
  14319     ecx = MEM32(esi + 0x4); /* 0x250074E3: mov ecx, dword ptr [esi + 4] */
  14320     eax = MEM32(ecx + 0x8); /* 0x250074E6: mov eax, dword ptr [ecx + 8] */
  14321     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250074E9: mov dl, byte ptr [eax + 0x11] */
  14322     /* test LO8(edx), LO8(edx) */ /* 0x250074EC: test dl, dl */
  14323     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14324     _cf = 0;
  14325     _flag_k = FK_NARROW(FK_TEST, 24);
  14326     if (TEST_NZ(_flag_a, _flag_b)) goto L_250074FC; /* 0x250074EE: jne 0x250074fc */
  14327 L_250074F0:
  14328     ecx = eax; /* 0x250074F0: mov ecx, eax */
  14329     eax = MEM32(ecx + 0x8); /* 0x250074F2: mov eax, dword ptr [ecx + 8] */
  14330     SET_LO8(edx, MEM8(eax + 0x11)); /* 0x250074F5: mov dl, byte ptr [eax + 0x11] */
  14331     /* test LO8(edx), LO8(edx) */ /* 0x250074F8: test dl, dl */
  14332     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14333     _cf = 0;
  14334     _flag_k = FK_NARROW(FK_TEST, 24);
  14335     RECOMP_BACKEDGE();
  14336     if (TEST_Z(_flag_a, _flag_b)) goto L_250074F0; /* 0x250074FA: je 0x250074f0 */
  14337 L_250074FC:
  14338     MEM32(esi + 0x8) = ecx; /* 0x250074FC: mov dword ptr [esi + 8], ecx */
  14339     esi = POP32_VAL(esp); /* 0x250074FF: pop esi */
  14340     ebx = POP32_VAL(esp); /* 0x25007500: pop ebx */
  14341     esp = ebp; /* 0x25007501: mov esp, ebp */
  14342     ebp = POP32_VAL(esp); /* 0x25007503: pop ebp */
  14343     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007504: ret 4 */
  14344 L_25007507:
  14345     MEM32(edx) = edx; /* 0x25007507: mov dword ptr [edx], edx */
  14346     esi = MEM32(esi + 0x4); /* 0x25007509: mov esi, dword ptr [esi + 4] */
  14347     MEM32(esi + 0x8) = esi; /* 0x2500750C: mov dword ptr [esi + 8], esi */
  14348     esi = POP32_VAL(esp); /* 0x2500750F: pop esi */
  14349     ebx = POP32_VAL(esp); /* 0x25007510: pop ebx */
  14350     esp = ebp; /* 0x25007511: mov esp, ebp */
  14351     ebp = POP32_VAL(esp); /* 0x25007513: pop ebp */
  14352     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007514: ret 4 */
  14353     RECOMP_REGS_OUT();
  14354 }
  14355 
  14356 void sub_25007520(void) {
  14357     int _fpu_cmp = 0;
  14358     uint32_t _cf = 0;
  14359     int _df = 1;
  14360     uint32_t _flag_k = FK_NONE;
  14361     uint32_t _flag_a = 0, _flag_b = 0;
  14362     uint32_t _itail_tgt = 0;
  14363     RECOMP_REGS_LOCALS
  14364     RECOMP_ENTER(0x25007520u);
  14365 
  14366 L_25007520:
  14367     PUSH32(esp, ebp); /* 0x25007520: push ebp */
  14368     ebp = esp; /* 0x25007521: mov ebp, esp */
  14369     PUSH32(esp, ecx); /* 0x25007523: push ecx */
  14370     PUSH32(esp, ebx); /* 0x25007524: push ebx */
  14371     ebx = MEM32(ebp + 0x8); /* 0x25007525: mov ebx, dword ptr [ebp + 8] */
  14372     PUSH32(esp, edi); /* 0x25007528: push edi */
  14373     edi = ecx; /* 0x25007529: mov edi, ecx */
  14374     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x2500752B: mov cl, byte ptr [ebx + 0x11] */
  14375     /* test LO8(ecx), LO8(ecx) */ /* 0x2500752E: test cl, cl */
  14376     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  14377     _cf = 0;
  14378     _flag_k = FK_NARROW(FK_TEST, 24);
  14379     eax = MEM32(edi + 0x8); /* 0x25007530: mov eax, dword ptr [edi + 8] */
  14380     MEM32(ebp + (-0x4)) = eax; /* 0x25007533: mov dword ptr [ebp - 4], eax */
  14381     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500759D; /* 0x25007536: jne 0x2500759d */
  14382 L_25007538:
  14383     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x25007538: mov al, byte ptr [ebx + 0x10] */
  14384     PUSH32(esp, esi); /* 0x2500753B: push esi */
  14385     PUSH32(esp, 0x14u); /* 0x2500753C: push 0x14 */
  14386     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2500753E: mov byte ptr [ebp + 0xb], al */
  14387     RECOMP_ICALL(0x251380D0u); /* 0x25007541: call 0x251380d0 */ /* not lifted */
  14388     RECOMP_FLAGS_IN();
  14389     ecx = MEM32(ebp + 0xC); /* 0x25007546: mov ecx, dword ptr [ebp + 0xc] */
  14390     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25007549: mov dl, byte ptr [ebp + 0xb] */
  14391     esi = eax; /* 0x2500754C: mov esi, eax */
  14392     eax = esi + 0xC; /* 0x2500754E: lea eax, [esi + 0xc] */
  14393     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  14394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14395     esp = esp + 4; /* 0x25007551: add esp, 4 */
  14396     _flag_k = FK_ADD;
  14397     /* test eax, eax */ /* 0x25007554: test eax, eax */
  14398     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14399     _cf = 0;
  14400     _flag_k = FK_TEST;
  14401     MEM32(esi + 0x4) = ecx; /* 0x25007556: mov dword ptr [esi + 4], ecx */
  14402     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x25007559: mov byte ptr [esi + 0x10], dl */
  14403     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x2500755C: mov byte ptr [esi + 0x11], 0 */
  14404     if (TEST_Z(_flag_a, _flag_b)) goto L_25007567; /* 0x25007560: je 0x25007567 */
  14405 L_25007562:
  14406     ecx = MEM32(ebx + 0xC); /* 0x25007562: mov ecx, dword ptr [ebx + 0xc] */
  14407     MEM32(eax) = ecx; /* 0x25007565: mov dword ptr [eax], ecx */
  14408 L_25007567:
  14409     edx = MEM32(edi + 0x8); /* 0x25007567: mov edx, dword ptr [edi + 8] */
  14410     ecx = MEM32(ebp + (-0x4)); /* 0x2500756A: mov ecx, dword ptr [ebp - 4] */
  14411     MEM32(esi) = edx; /* 0x2500756D: mov dword ptr [esi], edx */
  14412     eax = MEM32(edi + 0x8); /* 0x2500756F: mov eax, dword ptr [edi + 8] */
  14413     MEM32(esi + 0x8) = eax; /* 0x25007572: mov dword ptr [esi + 8], eax */
  14414     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25007575: cmp ecx, dword ptr [edi + 8] */
  14415     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14417     _flag_k = FK_CMP;
  14418     if (CMP_NE(_flag_a, _flag_b)) goto L_2500757D; /* 0x25007578: jne 0x2500757d */
  14419 L_2500757A:
  14420     MEM32(ebp + (-0x4)) = esi; /* 0x2500757A: mov dword ptr [ebp - 4], esi */
  14421 L_2500757D:
  14422     edx = MEM32(ebx); /* 0x2500757D: mov edx, dword ptr [ebx] */
  14423     PUSH32(esp, esi); /* 0x2500757F: push esi */
  14424     PUSH32(esp, edx); /* 0x25007580: push edx */
  14425     ecx = edi; /* 0x25007581: mov ecx, edi */
  14426     RECOMP_ICALL(0x25007520u); /* 0x25007583: call 0x25007520 */ /* not lifted */
  14427     RECOMP_FLAGS_IN();
  14428     MEM32(esi) = eax; /* 0x25007588: mov dword ptr [esi], eax */
  14429     eax = MEM32(ebx + 0x8); /* 0x2500758A: mov eax, dword ptr [ebx + 8] */
  14430     PUSH32(esp, esi); /* 0x2500758D: push esi */
  14431     PUSH32(esp, eax); /* 0x2500758E: push eax */
  14432     ecx = edi; /* 0x2500758F: mov ecx, edi */
  14433     RECOMP_ICALL(0x25007520u); /* 0x25007591: call 0x25007520 */ /* not lifted */
  14434     RECOMP_FLAGS_IN();
  14435     MEM32(esi + 0x8) = eax; /* 0x25007596: mov dword ptr [esi + 8], eax */
  14436     eax = MEM32(ebp + (-0x4)); /* 0x25007599: mov eax, dword ptr [ebp - 4] */
  14437     esi = POP32_VAL(esp); /* 0x2500759C: pop esi */
  14438 L_2500759D:
  14439     edi = POP32_VAL(esp); /* 0x2500759D: pop edi */
  14440     ebx = POP32_VAL(esp); /* 0x2500759E: pop ebx */
  14441     esp = ebp; /* 0x2500759F: mov esp, ebp */
  14442     ebp = POP32_VAL(esp); /* 0x250075A1: pop ebp */
  14443     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250075A2: ret 8 */
  14444     RECOMP_REGS_OUT();
  14445 }
  14446 
  14447 void sub_250075B0(void) {
  14448     int _fpu_cmp = 0;
  14449     uint32_t _cf = 0;
  14450     int _df = 1;
  14451     uint32_t _flag_k = FK_NONE;
  14452     uint32_t _flag_a = 0, _flag_b = 0;
  14453     uint32_t _itail_tgt = 0;
  14454     RECOMP_REGS_LOCALS
  14455     RECOMP_ENTER(0x250075B0u);
  14456 
  14457 L_250075B0:
  14458     PUSH32(esp, ebp); /* 0x250075B0: push ebp */
  14459     ebp = esp; /* 0x250075B1: mov ebp, esp */
  14460     PUSH32(esp, ecx); /* 0x250075B3: push ecx */
  14461     PUSH32(esp, ebx); /* 0x250075B4: push ebx */
  14462     ebx = MEM32(ebp + 0x8); /* 0x250075B5: mov ebx, dword ptr [ebp + 8] */
  14463     PUSH32(esp, edi); /* 0x250075B8: push edi */
  14464     edi = ecx; /* 0x250075B9: mov edi, ecx */
  14465     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x250075BB: mov cl, byte ptr [ebx + 0x11] */
  14466     /* test LO8(ecx), LO8(ecx) */ /* 0x250075BE: test cl, cl */
  14467     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  14468     _cf = 0;
  14469     _flag_k = FK_NARROW(FK_TEST, 24);
  14470     eax = MEM32(edi + 0x8); /* 0x250075C0: mov eax, dword ptr [edi + 8] */
  14471     MEM32(ebp + (-0x4)) = eax; /* 0x250075C3: mov dword ptr [ebp - 4], eax */
  14472     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500762D; /* 0x250075C6: jne 0x2500762d */
  14473 L_250075C8:
  14474     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x250075C8: mov al, byte ptr [ebx + 0x10] */
  14475     PUSH32(esp, esi); /* 0x250075CB: push esi */
  14476     PUSH32(esp, 0x14u); /* 0x250075CC: push 0x14 */
  14477     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x250075CE: mov byte ptr [ebp + 0xb], al */
  14478     RECOMP_ICALL(0x251380D0u); /* 0x250075D1: call 0x251380d0 */ /* not lifted */
  14479     RECOMP_FLAGS_IN();
  14480     ecx = MEM32(ebp + 0xC); /* 0x250075D6: mov ecx, dword ptr [ebp + 0xc] */
  14481     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x250075D9: mov dl, byte ptr [ebp + 0xb] */
  14482     esi = eax; /* 0x250075DC: mov esi, eax */
  14483     eax = esi + 0xC; /* 0x250075DE: lea eax, [esi + 0xc] */
  14484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  14485     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14486     esp = esp + 4; /* 0x250075E1: add esp, 4 */
  14487     _flag_k = FK_ADD;
  14488     /* test eax, eax */ /* 0x250075E4: test eax, eax */
  14489     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14490     _cf = 0;
  14491     _flag_k = FK_TEST;
  14492     MEM32(esi + 0x4) = ecx; /* 0x250075E6: mov dword ptr [esi + 4], ecx */
  14493     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x250075E9: mov byte ptr [esi + 0x10], dl */
  14494     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x250075EC: mov byte ptr [esi + 0x11], 0 */
  14495     if (TEST_Z(_flag_a, _flag_b)) goto L_250075F7; /* 0x250075F0: je 0x250075f7 */
  14496 L_250075F2:
  14497     ecx = MEM32(ebx + 0xC); /* 0x250075F2: mov ecx, dword ptr [ebx + 0xc] */
  14498     MEM32(eax) = ecx; /* 0x250075F5: mov dword ptr [eax], ecx */
  14499 L_250075F7:
  14500     edx = MEM32(edi + 0x8); /* 0x250075F7: mov edx, dword ptr [edi + 8] */
  14501     ecx = MEM32(ebp + (-0x4)); /* 0x250075FA: mov ecx, dword ptr [ebp - 4] */
  14502     MEM32(esi) = edx; /* 0x250075FD: mov dword ptr [esi], edx */
  14503     eax = MEM32(edi + 0x8); /* 0x250075FF: mov eax, dword ptr [edi + 8] */
  14504     MEM32(esi + 0x8) = eax; /* 0x25007602: mov dword ptr [esi + 8], eax */
  14505     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25007605: cmp ecx, dword ptr [edi + 8] */
  14506     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14508     _flag_k = FK_CMP;
  14509     if (CMP_NE(_flag_a, _flag_b)) goto L_2500760D; /* 0x25007608: jne 0x2500760d */
  14510 L_2500760A:
  14511     MEM32(ebp + (-0x4)) = esi; /* 0x2500760A: mov dword ptr [ebp - 4], esi */
  14512 L_2500760D:
  14513     edx = MEM32(ebx); /* 0x2500760D: mov edx, dword ptr [ebx] */
  14514     PUSH32(esp, esi); /* 0x2500760F: push esi */
  14515     PUSH32(esp, edx); /* 0x25007610: push edx */
  14516     ecx = edi; /* 0x25007611: mov ecx, edi */
  14517     RECOMP_ICALL(0x250075B0u); /* 0x25007613: call 0x250075b0 */ /* not lifted */
  14518     RECOMP_FLAGS_IN();
  14519     MEM32(esi) = eax; /* 0x25007618: mov dword ptr [esi], eax */
  14520     eax = MEM32(ebx + 0x8); /* 0x2500761A: mov eax, dword ptr [ebx + 8] */
  14521     PUSH32(esp, esi); /* 0x2500761D: push esi */
  14522     PUSH32(esp, eax); /* 0x2500761E: push eax */
  14523     ecx = edi; /* 0x2500761F: mov ecx, edi */
  14524     RECOMP_ICALL(0x250075B0u); /* 0x25007621: call 0x250075b0 */ /* not lifted */
  14525     RECOMP_FLAGS_IN();
  14526     MEM32(esi + 0x8) = eax; /* 0x25007626: mov dword ptr [esi + 8], eax */
  14527     eax = MEM32(ebp + (-0x4)); /* 0x25007629: mov eax, dword ptr [ebp - 4] */
  14528     esi = POP32_VAL(esp); /* 0x2500762C: pop esi */
  14529 L_2500762D:
  14530     edi = POP32_VAL(esp); /* 0x2500762D: pop edi */
  14531     ebx = POP32_VAL(esp); /* 0x2500762E: pop ebx */
  14532     esp = ebp; /* 0x2500762F: mov esp, ebp */
  14533     ebp = POP32_VAL(esp); /* 0x25007631: pop ebp */
  14534     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25007632: ret 8 */
  14535     RECOMP_REGS_OUT();
  14536 }
  14537 
  14538 void sub_25007640(void) {
  14539     int _fpu_cmp = 0;
  14540     uint32_t _cf = 0;
  14541     int _df = 1;
  14542     uint32_t _flag_k = FK_NONE;
  14543     uint32_t _flag_a = 0, _flag_b = 0;
  14544     uint32_t _itail_tgt = 0;
  14545     RECOMP_REGS_LOCALS
  14546     RECOMP_ENTER(0x25007640u);
  14547 
  14548 L_25007640:
  14549     PUSH32(esp, ebp); /* 0x25007640: push ebp */
  14550     ebp = esp; /* 0x25007641: mov ebp, esp */
  14551     PUSH32(esp, ecx); /* 0x25007643: push ecx */
  14552     PUSH32(esp, ebx); /* 0x25007644: push ebx */
  14553     ebx = MEM32(ebp + 0x8); /* 0x25007645: mov ebx, dword ptr [ebp + 8] */
  14554     PUSH32(esp, edi); /* 0x25007648: push edi */
  14555     edi = ecx; /* 0x25007649: mov edi, ecx */
  14556     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x2500764B: mov cl, byte ptr [ebx + 0x11] */
  14557     /* test LO8(ecx), LO8(ecx) */ /* 0x2500764E: test cl, cl */
  14558     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  14559     _cf = 0;
  14560     _flag_k = FK_NARROW(FK_TEST, 24);
  14561     eax = MEM32(edi + 0x8); /* 0x25007650: mov eax, dword ptr [edi + 8] */
  14562     MEM32(ebp + (-0x4)) = eax; /* 0x25007653: mov dword ptr [ebp - 4], eax */
  14563     if (TEST_NZ(_flag_a, _flag_b)) goto L_250076BD; /* 0x25007656: jne 0x250076bd */
  14564 L_25007658:
  14565     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x25007658: mov al, byte ptr [ebx + 0x10] */
  14566     PUSH32(esp, esi); /* 0x2500765B: push esi */
  14567     PUSH32(esp, 0x14u); /* 0x2500765C: push 0x14 */
  14568     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2500765E: mov byte ptr [ebp + 0xb], al */
  14569     RECOMP_ICALL(0x251380D0u); /* 0x25007661: call 0x251380d0 */ /* not lifted */
  14570     RECOMP_FLAGS_IN();
  14571     ecx = MEM32(ebp + 0xC); /* 0x25007666: mov ecx, dword ptr [ebp + 0xc] */
  14572     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25007669: mov dl, byte ptr [ebp + 0xb] */
  14573     esi = eax; /* 0x2500766C: mov esi, eax */
  14574     eax = esi + 0xC; /* 0x2500766E: lea eax, [esi + 0xc] */
  14575     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  14576     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14577     esp = esp + 4; /* 0x25007671: add esp, 4 */
  14578     _flag_k = FK_ADD;
  14579     /* test eax, eax */ /* 0x25007674: test eax, eax */
  14580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14581     _cf = 0;
  14582     _flag_k = FK_TEST;
  14583     MEM32(esi + 0x4) = ecx; /* 0x25007676: mov dword ptr [esi + 4], ecx */
  14584     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x25007679: mov byte ptr [esi + 0x10], dl */
  14585     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x2500767C: mov byte ptr [esi + 0x11], 0 */
  14586     if (TEST_Z(_flag_a, _flag_b)) goto L_25007687; /* 0x25007680: je 0x25007687 */
  14587 L_25007682:
  14588     ecx = MEM32(ebx + 0xC); /* 0x25007682: mov ecx, dword ptr [ebx + 0xc] */
  14589     MEM32(eax) = ecx; /* 0x25007685: mov dword ptr [eax], ecx */
  14590 L_25007687:
  14591     edx = MEM32(edi + 0x8); /* 0x25007687: mov edx, dword ptr [edi + 8] */
  14592     ecx = MEM32(ebp + (-0x4)); /* 0x2500768A: mov ecx, dword ptr [ebp - 4] */
  14593     MEM32(esi) = edx; /* 0x2500768D: mov dword ptr [esi], edx */
  14594     eax = MEM32(edi + 0x8); /* 0x2500768F: mov eax, dword ptr [edi + 8] */
  14595     MEM32(esi + 0x8) = eax; /* 0x25007692: mov dword ptr [esi + 8], eax */
  14596     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25007695: cmp ecx, dword ptr [edi + 8] */
  14597     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14599     _flag_k = FK_CMP;
  14600     if (CMP_NE(_flag_a, _flag_b)) goto L_2500769D; /* 0x25007698: jne 0x2500769d */
  14601 L_2500769A:
  14602     MEM32(ebp + (-0x4)) = esi; /* 0x2500769A: mov dword ptr [ebp - 4], esi */
  14603 L_2500769D:
  14604     edx = MEM32(ebx); /* 0x2500769D: mov edx, dword ptr [ebx] */
  14605     PUSH32(esp, esi); /* 0x2500769F: push esi */
  14606     PUSH32(esp, edx); /* 0x250076A0: push edx */
  14607     ecx = edi; /* 0x250076A1: mov ecx, edi */
  14608     RECOMP_ICALL(0x25007640u); /* 0x250076A3: call 0x25007640 */ /* not lifted */
  14609     RECOMP_FLAGS_IN();
  14610     MEM32(esi) = eax; /* 0x250076A8: mov dword ptr [esi], eax */
  14611     eax = MEM32(ebx + 0x8); /* 0x250076AA: mov eax, dword ptr [ebx + 8] */
  14612     PUSH32(esp, esi); /* 0x250076AD: push esi */
  14613     PUSH32(esp, eax); /* 0x250076AE: push eax */
  14614     ecx = edi; /* 0x250076AF: mov ecx, edi */
  14615     RECOMP_ICALL(0x25007640u); /* 0x250076B1: call 0x25007640 */ /* not lifted */
  14616     RECOMP_FLAGS_IN();
  14617     MEM32(esi + 0x8) = eax; /* 0x250076B6: mov dword ptr [esi + 8], eax */
  14618     eax = MEM32(ebp + (-0x4)); /* 0x250076B9: mov eax, dword ptr [ebp - 4] */
  14619     esi = POP32_VAL(esp); /* 0x250076BC: pop esi */
  14620 L_250076BD:
  14621     edi = POP32_VAL(esp); /* 0x250076BD: pop edi */
  14622     ebx = POP32_VAL(esp); /* 0x250076BE: pop ebx */
  14623     esp = ebp; /* 0x250076BF: mov esp, ebp */
  14624     ebp = POP32_VAL(esp); /* 0x250076C1: pop ebp */
  14625     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250076C2: ret 8 */
  14626     RECOMP_REGS_OUT();
  14627 }
  14628 
  14629 void sub_250076D0(void) {
  14630     int _fpu_cmp = 0;
  14631     uint32_t _cf = 0;
  14632     int _df = 1;
  14633     uint32_t _flag_k = FK_NONE;
  14634     uint32_t _flag_a = 0, _flag_b = 0;
  14635     uint32_t _itail_tgt = 0;
  14636     RECOMP_REGS_LOCALS
  14637     RECOMP_ENTER(0x250076D0u);
  14638 
  14639 L_250076D0:
  14640     PUSH32(esp, ebp); /* 0x250076D0: push ebp */
  14641     ebp = esp; /* 0x250076D1: mov ebp, esp */
  14642     PUSH32(esp, ebx); /* 0x250076D3: push ebx */
  14643     PUSH32(esp, esi); /* 0x250076D4: push esi */
  14644     esi = MEM32(ecx); /* 0x250076D5: mov esi, dword ptr [ecx] */
  14645     edx = MEM32(esi + 0x8); /* 0x250076D7: mov edx, dword ptr [esi + 8] */
  14646     SET_LO8(eax, MEM8(edx + 0x11)); /* 0x250076DA: mov al, byte ptr [edx + 0x11] */
  14647     /* test LO8(eax), LO8(eax) */ /* 0x250076DD: test al, al */
  14648     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14649     _cf = 0;
  14650     _flag_k = FK_NARROW(FK_TEST, 24);
  14651     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007702; /* 0x250076DF: jne 0x25007702 */
  14652 L_250076E1:
  14653     eax = MEM32(edx); /* 0x250076E1: mov eax, dword ptr [edx] */
  14654     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x250076E3: mov bl, byte ptr [eax + 0x11] */
  14655     /* test LO8(ebx), LO8(ebx) */ /* 0x250076E6: test bl, bl */
  14656     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14657     _cf = 0;
  14658     _flag_k = FK_NARROW(FK_TEST, 24);
  14659     if (TEST_NZ(_flag_a, _flag_b)) goto L_250076F5; /* 0x250076E8: jne 0x250076f5 */
  14660 L_250076EA:
  14661     edx = eax; /* 0x250076EA: mov edx, eax */
  14662     eax = MEM32(edx); /* 0x250076EC: mov eax, dword ptr [edx] */
  14663     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x250076EE: mov bl, byte ptr [eax + 0x11] */
  14664     /* test LO8(ebx), LO8(ebx) */ /* 0x250076F1: test bl, bl */
  14665     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14666     _cf = 0;
  14667     _flag_k = FK_NARROW(FK_TEST, 24);
  14668     RECOMP_BACKEDGE();
  14669     if (TEST_Z(_flag_a, _flag_b)) goto L_250076EA; /* 0x250076F3: je 0x250076ea */
  14670 L_250076F5:
  14671     eax = MEM32(ebp + 0x8); /* 0x250076F5: mov eax, dword ptr [ebp + 8] */
  14672     MEM32(ecx) = edx; /* 0x250076F8: mov dword ptr [ecx], edx */
  14673     MEM32(eax) = esi; /* 0x250076FA: mov dword ptr [eax], esi */
  14674     esi = POP32_VAL(esp); /* 0x250076FC: pop esi */
  14675     ebx = POP32_VAL(esp); /* 0x250076FD: pop ebx */
  14676     ebp = POP32_VAL(esp); /* 0x250076FE: pop ebp */
  14677     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250076FF: ret 8 */
  14678 L_25007702:
  14679     eax = MEM32(esi + 0x4); /* 0x25007702: mov eax, dword ptr [esi + 4] */
  14680     edx = MEM32(ecx); /* 0x25007705: mov edx, dword ptr [ecx] */
  14681     /* cmp edx, MEM32(eax + 0x8) */ /* 0x25007707: cmp edx, dword ptr [eax + 8] */
  14682     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  14683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14684     _flag_k = FK_CMP;
  14685     if (CMP_NE(_flag_a, _flag_b)) goto L_25007718; /* 0x2500770A: jne 0x25007718 */
  14686 L_2500770C:
  14687     MEM32(ecx) = eax; /* 0x2500770C: mov dword ptr [ecx], eax */
  14688     eax = MEM32(eax + 0x4); /* 0x2500770E: mov eax, dword ptr [eax + 4] */
  14689     edx = MEM32(ecx); /* 0x25007711: mov edx, dword ptr [ecx] */
  14690     /* cmp edx, MEM32(eax + 0x8) */ /* 0x25007713: cmp edx, dword ptr [eax + 8] */
  14691     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  14692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14693     _flag_k = FK_CMP;
  14694     RECOMP_BACKEDGE();
  14695     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500770C; /* 0x25007716: je 0x2500770c */
  14696 L_25007718:
  14697     edx = MEM32(ecx); /* 0x25007718: mov edx, dword ptr [ecx] */
  14698     /* cmp MEM32(edx + 0x8), eax */ /* 0x2500771A: cmp dword ptr [edx + 8], eax */
  14699     _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax);
  14700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14701     _flag_k = FK_CMP;
  14702     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007721; /* 0x2500771D: je 0x25007721 */
  14703 L_2500771F:
  14704     MEM32(ecx) = eax; /* 0x2500771F: mov dword ptr [ecx], eax */
  14705 L_25007721:
  14706     eax = MEM32(ebp + 0x8); /* 0x25007721: mov eax, dword ptr [ebp + 8] */
  14707     MEM32(eax) = esi; /* 0x25007724: mov dword ptr [eax], esi */
  14708     esi = POP32_VAL(esp); /* 0x25007726: pop esi */
  14709     ebx = POP32_VAL(esp); /* 0x25007727: pop ebx */
  14710     ebp = POP32_VAL(esp); /* 0x25007728: pop ebp */
  14711     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x25007729: ret 8 */
  14712     RECOMP_REGS_OUT();
  14713 }
  14714 
  14715 void sub_25007730(void) {
  14716     int _fpu_cmp = 0;
  14717     uint32_t _cf = 0;
  14718     int _df = 1;
  14719     uint32_t _flag_k = FK_NONE;
  14720     uint32_t _flag_a = 0, _flag_b = 0;
  14721     uint32_t _itail_tgt = 0;
  14722     RECOMP_REGS_LOCALS
  14723     RECOMP_ENTER(0x25007730u);
  14724 
  14725 L_25007730:
  14726     PUSH32(esp, ebp); /* 0x25007730: push ebp */
  14727     ebp = esp; /* 0x25007731: mov ebp, esp */
  14728     PUSH32(esp, ecx); /* 0x25007733: push ecx */
  14729     PUSH32(esp, ebx); /* 0x25007734: push ebx */
  14730     ebx = MEM32(ebp + 0x8); /* 0x25007735: mov ebx, dword ptr [ebp + 8] */
  14731     PUSH32(esp, edi); /* 0x25007738: push edi */
  14732     edi = ecx; /* 0x25007739: mov edi, ecx */
  14733     SET_LO8(ecx, MEM8(ebx + 0x11)); /* 0x2500773B: mov cl, byte ptr [ebx + 0x11] */
  14734     /* test LO8(ecx), LO8(ecx) */ /* 0x2500773E: test cl, cl */
  14735     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  14736     _cf = 0;
  14737     _flag_k = FK_NARROW(FK_TEST, 24);
  14738     eax = MEM32(edi + 0x8); /* 0x25007740: mov eax, dword ptr [edi + 8] */
  14739     MEM32(ebp + (-0x4)) = eax; /* 0x25007743: mov dword ptr [ebp - 4], eax */
  14740     if (TEST_NZ(_flag_a, _flag_b)) goto L_250077AD; /* 0x25007746: jne 0x250077ad */
  14741 L_25007748:
  14742     SET_LO8(eax, MEM8(ebx + 0x10)); /* 0x25007748: mov al, byte ptr [ebx + 0x10] */
  14743     PUSH32(esp, esi); /* 0x2500774B: push esi */
  14744     PUSH32(esp, 0x14u); /* 0x2500774C: push 0x14 */
  14745     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2500774E: mov byte ptr [ebp + 0xb], al */
  14746     RECOMP_ICALL(0x251380D0u); /* 0x25007751: call 0x251380d0 */ /* not lifted */
  14747     RECOMP_FLAGS_IN();
  14748     ecx = MEM32(ebp + 0xC); /* 0x25007756: mov ecx, dword ptr [ebp + 0xc] */
  14749     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x25007759: mov dl, byte ptr [ebp + 0xb] */
  14750     esi = eax; /* 0x2500775C: mov esi, eax */
  14751     eax = esi + 0xC; /* 0x2500775E: lea eax, [esi + 0xc] */
  14752     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  14753     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14754     esp = esp + 4; /* 0x25007761: add esp, 4 */
  14755     _flag_k = FK_ADD;
  14756     /* test eax, eax */ /* 0x25007764: test eax, eax */
  14757     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14758     _cf = 0;
  14759     _flag_k = FK_TEST;
  14760     MEM32(esi + 0x4) = ecx; /* 0x25007766: mov dword ptr [esi + 4], ecx */
  14761     MEM8(esi + 0x10) = (uint8_t)(LO8(edx)); /* 0x25007769: mov byte ptr [esi + 0x10], dl */
  14762     MEM8(esi + 0x11) = (uint8_t)(0); /* 0x2500776C: mov byte ptr [esi + 0x11], 0 */
  14763     if (TEST_Z(_flag_a, _flag_b)) goto L_25007777; /* 0x25007770: je 0x25007777 */
  14764 L_25007772:
  14765     ecx = MEM32(ebx + 0xC); /* 0x25007772: mov ecx, dword ptr [ebx + 0xc] */
  14766     MEM32(eax) = ecx; /* 0x25007775: mov dword ptr [eax], ecx */
  14767 L_25007777:
  14768     edx = MEM32(edi + 0x8); /* 0x25007777: mov edx, dword ptr [edi + 8] */
  14769     ecx = MEM32(ebp + (-0x4)); /* 0x2500777A: mov ecx, dword ptr [ebp - 4] */
  14770     MEM32(esi) = edx; /* 0x2500777D: mov dword ptr [esi], edx */
  14771     eax = MEM32(edi + 0x8); /* 0x2500777F: mov eax, dword ptr [edi + 8] */
  14772     MEM32(esi + 0x8) = eax; /* 0x25007782: mov dword ptr [esi + 8], eax */
  14773     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x25007785: cmp ecx, dword ptr [edi + 8] */
  14774     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14776     _flag_k = FK_CMP;
  14777     if (CMP_NE(_flag_a, _flag_b)) goto L_2500778D; /* 0x25007788: jne 0x2500778d */
  14778 L_2500778A:
  14779     MEM32(ebp + (-0x4)) = esi; /* 0x2500778A: mov dword ptr [ebp - 4], esi */
  14780 L_2500778D:
  14781     edx = MEM32(ebx); /* 0x2500778D: mov edx, dword ptr [ebx] */
  14782     PUSH32(esp, esi); /* 0x2500778F: push esi */
  14783     PUSH32(esp, edx); /* 0x25007790: push edx */
  14784     ecx = edi; /* 0x25007791: mov ecx, edi */
  14785     RECOMP_ICALL(0x25007730u); /* 0x25007793: call 0x25007730 */ /* not lifted */
  14786     RECOMP_FLAGS_IN();
  14787     MEM32(esi) = eax; /* 0x25007798: mov dword ptr [esi], eax */
  14788     eax = MEM32(ebx + 0x8); /* 0x2500779A: mov eax, dword ptr [ebx + 8] */
  14789     PUSH32(esp, esi); /* 0x2500779D: push esi */
  14790     PUSH32(esp, eax); /* 0x2500779E: push eax */
  14791     ecx = edi; /* 0x2500779F: mov ecx, edi */
  14792     RECOMP_ICALL(0x25007730u); /* 0x250077A1: call 0x25007730 */ /* not lifted */
  14793     RECOMP_FLAGS_IN();
  14794     MEM32(esi + 0x8) = eax; /* 0x250077A6: mov dword ptr [esi + 8], eax */
  14795     eax = MEM32(ebp + (-0x4)); /* 0x250077A9: mov eax, dword ptr [ebp - 4] */
  14796     esi = POP32_VAL(esp); /* 0x250077AC: pop esi */
  14797 L_250077AD:
  14798     edi = POP32_VAL(esp); /* 0x250077AD: pop edi */
  14799     ebx = POP32_VAL(esp); /* 0x250077AE: pop ebx */
  14800     esp = ebp; /* 0x250077AF: mov esp, ebp */
  14801     ebp = POP32_VAL(esp); /* 0x250077B1: pop ebp */
  14802     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250077B2: ret 8 */
  14803     RECOMP_REGS_OUT();
  14804 }
  14805 
  14806 void sub_250077C0(void) {
  14807     int _fpu_cmp = 0;
  14808     uint32_t _cf = 0;
  14809     int _df = 1;
  14810     uint32_t _flag_k = FK_NONE;
  14811     uint32_t _flag_a = 0, _flag_b = 0;
  14812     uint32_t _itail_tgt = 0;
  14813     RECOMP_REGS_LOCALS
  14814     RECOMP_ENTER(0x250077C0u);
  14815 
  14816 L_250077C0:
  14817     PUSH32(esp, ebp); /* 0x250077C0: push ebp */
  14818     ebp = esp; /* 0x250077C1: mov ebp, esp */
  14819     eax = MEM32(ecx + 0x4); /* 0x250077C3: mov eax, dword ptr [ecx + 4] */
  14820     edx = MEM32(eax + 0x4); /* 0x250077C6: mov edx, dword ptr [eax + 4] */
  14821     ecx = MEM32(ecx + 0x8); /* 0x250077C9: mov ecx, dword ptr [ecx + 8] */
  14822     /* cmp edx, ecx */ /* 0x250077CC: cmp edx, ecx */
  14823     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  14824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14825     _flag_k = FK_CMP;
  14826     if (CMP_EQ(_flag_a, _flag_b)) goto L_250077E9; /* 0x250077CE: je 0x250077e9 */
  14827 L_250077D0:
  14828     PUSH32(esp, esi); /* 0x250077D0: push esi */
  14829     esi = MEM32(ebp + 0x8); /* 0x250077D1: mov esi, dword ptr [ebp + 8] */
  14830     esi = MEM32(esi); /* 0x250077D4: mov esi, dword ptr [esi] */
  14831 L_250077D6:
  14832     /* cmp esi, MEM32(edx + 0xC) */ /* 0x250077D6: cmp esi, dword ptr [edx + 0xc] */
  14833     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx + 0xC));
  14834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14835     _flag_k = FK_CMP;
  14836     if (CMP_AE(_flag_a, _flag_b)) goto L_250077E1; /* 0x250077D9: jae 0x250077e1 */
  14837 L_250077DB:
  14838     eax = edx; /* 0x250077DB: mov eax, edx */
  14839     edx = MEM32(edx); /* 0x250077DD: mov edx, dword ptr [edx] */
  14840     goto L_250077E4; /* 0x250077DF: jmp 0x250077e4 */
  14841 L_250077E1:
  14842     edx = MEM32(edx + 0x8); /* 0x250077E1: mov edx, dword ptr [edx + 8] */
  14843 L_250077E4:
  14844     /* cmp edx, ecx */ /* 0x250077E4: cmp edx, ecx */
  14845     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  14846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14847     _flag_k = FK_CMP;
  14848     RECOMP_BACKEDGE();
  14849     if (CMP_NE(_flag_a, _flag_b)) goto L_250077D6; /* 0x250077E6: jne 0x250077d6 */
  14850 L_250077E8:
  14851     esi = POP32_VAL(esp); /* 0x250077E8: pop esi */
  14852 L_250077E9:
  14853     ebp = POP32_VAL(esp); /* 0x250077E9: pop ebp */
  14854     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250077EA: ret 4 */
  14855     RECOMP_REGS_OUT();
  14856 }
  14857 
  14858 void sub_250077F0(void) {
  14859     int _fpu_cmp = 0;
  14860     uint32_t _cf = 0;
  14861     int _df = 1;
  14862     uint32_t _flag_k = FK_NONE;
  14863     uint32_t _flag_a = 0, _flag_b = 0;
  14864     uint32_t _itail_tgt = 0;
  14865     RECOMP_REGS_LOCALS
  14866     RECOMP_ENTER(0x250077F0u);
  14867 
  14868 L_250077F0:
  14869     eax = MEM32(ecx); /* 0x250077F0: mov eax, dword ptr [ecx] */
  14870     edx = MEM32(eax + 0x8); /* 0x250077F2: mov edx, dword ptr [eax + 8] */
  14871     PUSH32(esp, ebx); /* 0x250077F5: push ebx */
  14872     SET_LO8(ebx, MEM8(edx + 0x11)); /* 0x250077F6: mov bl, byte ptr [edx + 0x11] */
  14873     /* test LO8(ebx), LO8(ebx) */ /* 0x250077F9: test bl, bl */
  14874     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14875     _cf = 0;
  14876     _flag_k = FK_NARROW(FK_TEST, 24);
  14877     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007815; /* 0x250077FB: jne 0x25007815 */
  14878 L_250077FD:
  14879     eax = MEM32(edx); /* 0x250077FD: mov eax, dword ptr [edx] */
  14880     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x250077FF: mov bl, byte ptr [eax + 0x11] */
  14881     /* test LO8(ebx), LO8(ebx) */ /* 0x25007802: test bl, bl */
  14882     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14883     _cf = 0;
  14884     _flag_k = FK_NARROW(FK_TEST, 24);
  14885     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007811; /* 0x25007804: jne 0x25007811 */
  14886 L_25007806:
  14887     edx = eax; /* 0x25007806: mov edx, eax */
  14888     eax = MEM32(edx); /* 0x25007808: mov eax, dword ptr [edx] */
  14889     SET_LO8(ebx, MEM8(eax + 0x11)); /* 0x2500780A: mov bl, byte ptr [eax + 0x11] */
  14890     /* test LO8(ebx), LO8(ebx) */ /* 0x2500780D: test bl, bl */
  14891     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  14892     _cf = 0;
  14893     _flag_k = FK_NARROW(FK_TEST, 24);
  14894     RECOMP_BACKEDGE();
  14895     if (TEST_Z(_flag_a, _flag_b)) goto L_25007806; /* 0x2500780F: je 0x25007806 */
  14896 L_25007811:
  14897     MEM32(ecx) = edx; /* 0x25007811: mov dword ptr [ecx], edx */
  14898     ebx = POP32_VAL(esp); /* 0x25007813: pop ebx */
  14899     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25007814: ret  */
  14900 L_25007815:
  14901     eax = MEM32(eax + 0x4); /* 0x25007815: mov eax, dword ptr [eax + 4] */
  14902     edx = MEM32(ecx); /* 0x25007818: mov edx, dword ptr [ecx] */
  14903     /* cmp edx, MEM32(eax + 0x8) */ /* 0x2500781A: cmp edx, dword ptr [eax + 8] */
  14904     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  14905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14906     _flag_k = FK_CMP;
  14907     if (CMP_NE(_flag_a, _flag_b)) goto L_2500782B; /* 0x2500781D: jne 0x2500782b */
  14908 L_2500781F:
  14909     MEM32(ecx) = eax; /* 0x2500781F: mov dword ptr [ecx], eax */
  14910     eax = MEM32(eax + 0x4); /* 0x25007821: mov eax, dword ptr [eax + 4] */
  14911     edx = MEM32(ecx); /* 0x25007824: mov edx, dword ptr [ecx] */
  14912     /* cmp edx, MEM32(eax + 0x8) */ /* 0x25007826: cmp edx, dword ptr [eax + 8] */
  14913     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  14914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14915     _flag_k = FK_CMP;
  14916     RECOMP_BACKEDGE();
  14917     if (CMP_EQ(_flag_a, _flag_b)) goto L_2500781F; /* 0x25007829: je 0x2500781f */
  14918 L_2500782B:
  14919     edx = MEM32(ecx); /* 0x2500782B: mov edx, dword ptr [ecx] */
  14920     /* cmp MEM32(edx + 0x8), eax */ /* 0x2500782D: cmp dword ptr [edx + 8], eax */
  14921     _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax);
  14922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14923     _flag_k = FK_CMP;
  14924     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007834; /* 0x25007830: je 0x25007834 */
  14925 L_25007832:
  14926     MEM32(ecx) = eax; /* 0x25007832: mov dword ptr [ecx], eax */
  14927 L_25007834:
  14928     ebx = POP32_VAL(esp); /* 0x25007834: pop ebx */
  14929     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25007835: ret  */
  14930     RECOMP_REGS_OUT();
  14931 }
  14932 
  14933 void sub_25007840(void) {
  14934     int _fpu_cmp = 0;
  14935     uint32_t _cf = 0;
  14936     int _df = 1;
  14937     uint32_t _flag_k = FK_NONE;
  14938     uint32_t _flag_a = 0, _flag_b = 0;
  14939     uint32_t _itail_tgt = 0;
  14940     RECOMP_REGS_LOCALS
  14941     RECOMP_ENTER(0x25007840u);
  14942 
  14943     goto L_25007840;
  14944 L_25004740:
  14945     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  14946     ebp = esp; /* 0x25004741: mov ebp, esp */
  14947     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  14948     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  14949     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  14950     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  14951     _cf = 0;
  14952     _flag_k = FK_NARROW(FK_TEST, 24);
  14953     PUSH32(esp, esi); /* 0x2500474A: push esi */
  14954     esi = ecx; /* 0x2500474B: mov esi, ecx */
  14955     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  14956 L_2500474F:
  14957     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  14958     PUSH32(esp, edi); /* 0x25004752: push edi */
  14959     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  14960     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  14961     PUSH32(esp, eax); /* 0x2500475B: push eax */
  14962     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  14963     PUSH32(esp, esi); /* 0x25004761: push esi */
  14964     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  14965     RECOMP_FLAGS_IN();
  14966     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  14967     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  14968     _cf = 0;
  14969     _flag_k = FK_NARROW(FK_TEST, 24);
  14970     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  14971 L_2500476C:
  14972     PUSH32(esp, edi); /* 0x2500476C: push edi */
  14973     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  14974     RECOMP_FLAGS_IN();
  14975     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  14976     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14977     esp = esp + 4; /* 0x25004772: add esp, 4 */
  14978     _flag_k = FK_ADD;
  14979 L_25004775:
  14980     eax = edi; /* 0x25004775: mov eax, edi */
  14981     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  14982     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  14983     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  14984     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  14985     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  14986 L_2500477E:
  14987     ecx = esi; /* 0x2500477E: mov ecx, esi */
  14988     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  14989     RECOMP_FLAGS_IN();
  14990     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  14991     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  14992     _cf = 0;
  14993     _flag_k = FK_NARROW(FK_TEST, 24);
  14994     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  14995 L_2500478A:
  14996     PUSH32(esp, esi); /* 0x2500478A: push esi */
  14997     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  14998     RECOMP_FLAGS_IN();
  14999     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15000     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15001     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15002     _flag_k = FK_ADD;
  15003 L_25004793:
  15004     eax = esi; /* 0x25004793: mov eax, esi */
  15005     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15006     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15007     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15008     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15009 L_25007840:
  15010     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  15011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15012     ecx = ecx - 8; /* 0x25007840: sub ecx, 8 */
  15013     _flag_k = FK_CMP;
  15014     RECOMP_BACKEDGE();
  15015     goto L_25004740; /* 0x25007843: jmp 0x25004740 */
  15016     { RECOMP_REGS_OUT(); return; } /* end of function */
  15017     RECOMP_REGS_OUT();
  15018 }
  15019 
  15020 void sub_25007850(void) {
  15021     int _fpu_cmp = 0;
  15022     uint32_t _cf = 0;
  15023     int _df = 1;
  15024     uint32_t _flag_k = FK_NONE;
  15025     uint32_t _flag_a = 0, _flag_b = 0;
  15026     uint32_t _itail_tgt = 0;
  15027     RECOMP_REGS_LOCALS
  15028     RECOMP_ENTER(0x25007850u);
  15029 
  15030     goto L_25007850;
  15031 L_25004740:
  15032     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  15033     ebp = esp; /* 0x25004741: mov ebp, esp */
  15034     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  15035     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  15036     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  15037     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15038     _cf = 0;
  15039     _flag_k = FK_NARROW(FK_TEST, 24);
  15040     PUSH32(esp, esi); /* 0x2500474A: push esi */
  15041     esi = ecx; /* 0x2500474B: mov esi, ecx */
  15042     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  15043 L_2500474F:
  15044     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  15045     PUSH32(esp, edi); /* 0x25004752: push edi */
  15046     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  15047     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  15048     PUSH32(esp, eax); /* 0x2500475B: push eax */
  15049     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  15050     PUSH32(esp, esi); /* 0x25004761: push esi */
  15051     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  15052     RECOMP_FLAGS_IN();
  15053     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  15054     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15055     _cf = 0;
  15056     _flag_k = FK_NARROW(FK_TEST, 24);
  15057     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  15058 L_2500476C:
  15059     PUSH32(esp, edi); /* 0x2500476C: push edi */
  15060     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  15061     RECOMP_FLAGS_IN();
  15062     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15063     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15064     esp = esp + 4; /* 0x25004772: add esp, 4 */
  15065     _flag_k = FK_ADD;
  15066 L_25004775:
  15067     eax = edi; /* 0x25004775: mov eax, edi */
  15068     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  15069     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  15070     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  15071     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  15072     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  15073 L_2500477E:
  15074     ecx = esi; /* 0x2500477E: mov ecx, esi */
  15075     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  15076     RECOMP_FLAGS_IN();
  15077     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  15078     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15079     _cf = 0;
  15080     _flag_k = FK_NARROW(FK_TEST, 24);
  15081     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  15082 L_2500478A:
  15083     PUSH32(esp, esi); /* 0x2500478A: push esi */
  15084     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  15085     RECOMP_FLAGS_IN();
  15086     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15087     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15088     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15089     _flag_k = FK_ADD;
  15090 L_25004793:
  15091     eax = esi; /* 0x25004793: mov eax, esi */
  15092     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15093     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15094     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15095     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15096 L_25007850:
  15097     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
  15098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15099     ecx = ecx - 0x20u; /* 0x25007850: sub ecx, 0x20 */
  15100     _flag_k = FK_CMP;
  15101     RECOMP_BACKEDGE();
  15102     goto L_25004740; /* 0x25007853: jmp 0x25004740 */
  15103     { RECOMP_REGS_OUT(); return; } /* end of function */
  15104     RECOMP_REGS_OUT();
  15105 }
  15106 
  15107 void sub_25007860(void) {
  15108     int _fpu_cmp = 0;
  15109     uint32_t _cf = 0;
  15110     int _df = 1;
  15111     uint32_t _flag_k = FK_NONE;
  15112     uint32_t _flag_a = 0, _flag_b = 0;
  15113     uint32_t _itail_tgt = 0;
  15114     RECOMP_REGS_LOCALS
  15115     RECOMP_ENTER(0x25007860u);
  15116 
  15117     goto L_25007860;
  15118 L_25004740:
  15119     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  15120     ebp = esp; /* 0x25004741: mov ebp, esp */
  15121     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  15122     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  15123     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  15124     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15125     _cf = 0;
  15126     _flag_k = FK_NARROW(FK_TEST, 24);
  15127     PUSH32(esp, esi); /* 0x2500474A: push esi */
  15128     esi = ecx; /* 0x2500474B: mov esi, ecx */
  15129     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  15130 L_2500474F:
  15131     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  15132     PUSH32(esp, edi); /* 0x25004752: push edi */
  15133     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  15134     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  15135     PUSH32(esp, eax); /* 0x2500475B: push eax */
  15136     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  15137     PUSH32(esp, esi); /* 0x25004761: push esi */
  15138     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  15139     RECOMP_FLAGS_IN();
  15140     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  15141     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15142     _cf = 0;
  15143     _flag_k = FK_NARROW(FK_TEST, 24);
  15144     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  15145 L_2500476C:
  15146     PUSH32(esp, edi); /* 0x2500476C: push edi */
  15147     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  15148     RECOMP_FLAGS_IN();
  15149     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15150     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15151     esp = esp + 4; /* 0x25004772: add esp, 4 */
  15152     _flag_k = FK_ADD;
  15153 L_25004775:
  15154     eax = edi; /* 0x25004775: mov eax, edi */
  15155     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  15156     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  15157     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  15158     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  15159     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  15160 L_2500477E:
  15161     ecx = esi; /* 0x2500477E: mov ecx, esi */
  15162     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  15163     RECOMP_FLAGS_IN();
  15164     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  15165     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15166     _cf = 0;
  15167     _flag_k = FK_NARROW(FK_TEST, 24);
  15168     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  15169 L_2500478A:
  15170     PUSH32(esp, esi); /* 0x2500478A: push esi */
  15171     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  15172     RECOMP_FLAGS_IN();
  15173     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15174     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15175     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15176     _flag_k = FK_ADD;
  15177 L_25004793:
  15178     eax = esi; /* 0x25004793: mov eax, esi */
  15179     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15180     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15181     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15182     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15183 L_25007860:
  15184     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
  15185     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15186     ecx = ecx - 0x38u; /* 0x25007860: sub ecx, 0x38 */
  15187     _flag_k = FK_CMP;
  15188     RECOMP_BACKEDGE();
  15189     goto L_25004740; /* 0x25007863: jmp 0x25004740 */
  15190     { RECOMP_REGS_OUT(); return; } /* end of function */
  15191     RECOMP_REGS_OUT();
  15192 }
  15193 
  15194 void sub_25007870(void) {
  15195     int _fpu_cmp = 0;
  15196     uint32_t _cf = 0;
  15197     int _df = 1;
  15198     uint32_t _flag_k = FK_NONE;
  15199     uint32_t _flag_a = 0, _flag_b = 0;
  15200     uint32_t _itail_tgt = 0;
  15201     RECOMP_REGS_LOCALS
  15202     RECOMP_ENTER(0x25007870u);
  15203 
  15204     goto L_25007870;
  15205 L_25004740:
  15206     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  15207     ebp = esp; /* 0x25004741: mov ebp, esp */
  15208     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  15209     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  15210     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  15211     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15212     _cf = 0;
  15213     _flag_k = FK_NARROW(FK_TEST, 24);
  15214     PUSH32(esp, esi); /* 0x2500474A: push esi */
  15215     esi = ecx; /* 0x2500474B: mov esi, ecx */
  15216     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  15217 L_2500474F:
  15218     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  15219     PUSH32(esp, edi); /* 0x25004752: push edi */
  15220     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  15221     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  15222     PUSH32(esp, eax); /* 0x2500475B: push eax */
  15223     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  15224     PUSH32(esp, esi); /* 0x25004761: push esi */
  15225     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  15226     RECOMP_FLAGS_IN();
  15227     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  15228     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15229     _cf = 0;
  15230     _flag_k = FK_NARROW(FK_TEST, 24);
  15231     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  15232 L_2500476C:
  15233     PUSH32(esp, edi); /* 0x2500476C: push edi */
  15234     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  15235     RECOMP_FLAGS_IN();
  15236     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15237     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15238     esp = esp + 4; /* 0x25004772: add esp, 4 */
  15239     _flag_k = FK_ADD;
  15240 L_25004775:
  15241     eax = edi; /* 0x25004775: mov eax, edi */
  15242     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  15243     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  15244     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  15245     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  15246     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  15247 L_2500477E:
  15248     ecx = esi; /* 0x2500477E: mov ecx, esi */
  15249     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  15250     RECOMP_FLAGS_IN();
  15251     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  15252     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15253     _cf = 0;
  15254     _flag_k = FK_NARROW(FK_TEST, 24);
  15255     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  15256 L_2500478A:
  15257     PUSH32(esp, esi); /* 0x2500478A: push esi */
  15258     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  15259     RECOMP_FLAGS_IN();
  15260     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15261     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15262     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15263     _flag_k = FK_ADD;
  15264 L_25004793:
  15265     eax = esi; /* 0x25004793: mov eax, esi */
  15266     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15267     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15268     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15269     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15270 L_25007870:
  15271     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
  15272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15273     ecx = ecx - 0x50u; /* 0x25007870: sub ecx, 0x50 */
  15274     _flag_k = FK_CMP;
  15275     RECOMP_BACKEDGE();
  15276     goto L_25004740; /* 0x25007873: jmp 0x25004740 */
  15277     { RECOMP_REGS_OUT(); return; } /* end of function */
  15278     RECOMP_REGS_OUT();
  15279 }
  15280 
  15281 void sub_25007880(void) {
  15282     int _fpu_cmp = 0;
  15283     uint32_t _cf = 0;
  15284     int _df = 1;
  15285     uint32_t _flag_k = FK_NONE;
  15286     uint32_t _flag_a = 0, _flag_b = 0;
  15287     uint32_t _itail_tgt = 0;
  15288     RECOMP_REGS_LOCALS
  15289     RECOMP_ENTER(0x25007880u);
  15290 
  15291     goto L_25007880;
  15292 L_25004740:
  15293     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  15294     ebp = esp; /* 0x25004741: mov ebp, esp */
  15295     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  15296     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  15297     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  15298     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15299     _cf = 0;
  15300     _flag_k = FK_NARROW(FK_TEST, 24);
  15301     PUSH32(esp, esi); /* 0x2500474A: push esi */
  15302     esi = ecx; /* 0x2500474B: mov esi, ecx */
  15303     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  15304 L_2500474F:
  15305     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  15306     PUSH32(esp, edi); /* 0x25004752: push edi */
  15307     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  15308     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  15309     PUSH32(esp, eax); /* 0x2500475B: push eax */
  15310     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  15311     PUSH32(esp, esi); /* 0x25004761: push esi */
  15312     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  15313     RECOMP_FLAGS_IN();
  15314     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  15315     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15316     _cf = 0;
  15317     _flag_k = FK_NARROW(FK_TEST, 24);
  15318     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  15319 L_2500476C:
  15320     PUSH32(esp, edi); /* 0x2500476C: push edi */
  15321     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  15322     RECOMP_FLAGS_IN();
  15323     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15324     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15325     esp = esp + 4; /* 0x25004772: add esp, 4 */
  15326     _flag_k = FK_ADD;
  15327 L_25004775:
  15328     eax = edi; /* 0x25004775: mov eax, edi */
  15329     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  15330     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  15331     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  15332     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  15333     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  15334 L_2500477E:
  15335     ecx = esi; /* 0x2500477E: mov ecx, esi */
  15336     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  15337     RECOMP_FLAGS_IN();
  15338     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  15339     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15340     _cf = 0;
  15341     _flag_k = FK_NARROW(FK_TEST, 24);
  15342     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  15343 L_2500478A:
  15344     PUSH32(esp, esi); /* 0x2500478A: push esi */
  15345     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  15346     RECOMP_FLAGS_IN();
  15347     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15348     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15349     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15350     _flag_k = FK_ADD;
  15351 L_25004793:
  15352     eax = esi; /* 0x25004793: mov eax, esi */
  15353     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15354     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15355     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15356     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15357 L_25007880:
  15358     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
  15359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15360     ecx = ecx - 0x138u; /* 0x25007880: sub ecx, 0x138 */
  15361     _flag_k = FK_CMP;
  15362     RECOMP_BACKEDGE();
  15363     goto L_25004740; /* 0x25007886: jmp 0x25004740 */
  15364     { RECOMP_REGS_OUT(); return; } /* end of function */
  15365     RECOMP_REGS_OUT();
  15366 }
  15367 
  15368 void sub_25007890(void) {
  15369     int _fpu_cmp = 0;
  15370     uint32_t _cf = 0;
  15371     int _df = 1;
  15372     uint32_t _flag_k = FK_NONE;
  15373     uint32_t _flag_a = 0, _flag_b = 0;
  15374     uint32_t _itail_tgt = 0;
  15375     RECOMP_REGS_LOCALS
  15376     RECOMP_ENTER(0x25007890u);
  15377 
  15378     goto L_25007890;
  15379 L_25004740:
  15380     PUSH32(esp, ebp); /* 0x25004740: push ebp */
  15381     ebp = esp; /* 0x25004741: mov ebp, esp */
  15382     PUSH32(esp, ebx); /* 0x25004743: push ebx */
  15383     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25004744: mov bl, byte ptr [ebp + 8] */
  15384     /* test LO8(ebx), 2 */ /* 0x25004747: test bl, 2 */
  15385     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15386     _cf = 0;
  15387     _flag_k = FK_NARROW(FK_TEST, 24);
  15388     PUSH32(esp, esi); /* 0x2500474A: push esi */
  15389     esi = ecx; /* 0x2500474B: mov esi, ecx */
  15390     if (TEST_Z(_flag_a, _flag_b)) goto L_2500477E; /* 0x2500474D: je 0x2500477e */
  15391 L_2500474F:
  15392     eax = MEM32(esi + (-0x4)); /* 0x2500474F: mov eax, dword ptr [esi - 4] */
  15393     PUSH32(esp, edi); /* 0x25004752: push edi */
  15394     PUSH32(esp, 0x25004D90u); /* 0x25004753: push 0x25004d90 */
  15395     edi = esi + (-0x4); /* 0x25004758: lea edi, [esi - 4] */
  15396     PUSH32(esp, eax); /* 0x2500475B: push eax */
  15397     PUSH32(esp, 0x318u); /* 0x2500475C: push 0x318 */
  15398     PUSH32(esp, esi); /* 0x25004761: push esi */
  15399     RECOMP_ICALL(0x25137F92u); /* 0x25004762: call 0x25137f92 */ /* not lifted */
  15400     RECOMP_FLAGS_IN();
  15401     /* test LO8(ebx), 1 */ /* 0x25004767: test bl, 1 */
  15402     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15403     _cf = 0;
  15404     _flag_k = FK_NARROW(FK_TEST, 24);
  15405     if (TEST_Z(_flag_a, _flag_b)) goto L_25004775; /* 0x2500476A: je 0x25004775 */
  15406 L_2500476C:
  15407     PUSH32(esp, edi); /* 0x2500476C: push edi */
  15408     RECOMP_ICALL(0x25137EECu); /* 0x2500476D: call 0x25137eec */ /* not lifted */
  15409     RECOMP_FLAGS_IN();
  15410     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15412     esp = esp + 4; /* 0x25004772: add esp, 4 */
  15413     _flag_k = FK_ADD;
  15414 L_25004775:
  15415     eax = edi; /* 0x25004775: mov eax, edi */
  15416     edi = POP32_VAL(esp); /* 0x25004777: pop edi */
  15417     esi = POP32_VAL(esp); /* 0x25004778: pop esi */
  15418     ebx = POP32_VAL(esp); /* 0x25004779: pop ebx */
  15419     ebp = POP32_VAL(esp); /* 0x2500477A: pop ebp */
  15420     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500477B: ret 4 */
  15421 L_2500477E:
  15422     ecx = esi; /* 0x2500477E: mov ecx, esi */
  15423     RECOMP_ICALL(0x25004D90u); /* 0x25004780: call 0x25004d90 */ /* not lifted */
  15424     RECOMP_FLAGS_IN();
  15425     /* test LO8(ebx), 1 */ /* 0x25004785: test bl, 1 */
  15426     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15427     _cf = 0;
  15428     _flag_k = FK_NARROW(FK_TEST, 24);
  15429     if (TEST_Z(_flag_a, _flag_b)) goto L_25004793; /* 0x25004788: je 0x25004793 */
  15430 L_2500478A:
  15431     PUSH32(esp, esi); /* 0x2500478A: push esi */
  15432     RECOMP_ICALL(0x25137EECu); /* 0x2500478B: call 0x25137eec */ /* not lifted */
  15433     RECOMP_FLAGS_IN();
  15434     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15435     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15436     esp = esp + 4; /* 0x25004790: add esp, 4 */
  15437     _flag_k = FK_ADD;
  15438 L_25004793:
  15439     eax = esi; /* 0x25004793: mov eax, esi */
  15440     esi = POP32_VAL(esp); /* 0x25004795: pop esi */
  15441     ebx = POP32_VAL(esp); /* 0x25004796: pop ebx */
  15442     ebp = POP32_VAL(esp); /* 0x25004797: pop ebp */
  15443     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25004798: ret 4 */
  15444 L_25007890:
  15445     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
  15446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15447     ecx = ecx - 0x150u; /* 0x25007890: sub ecx, 0x150 */
  15448     _flag_k = FK_CMP;
  15449     RECOMP_BACKEDGE();
  15450     goto L_25004740; /* 0x25007896: jmp 0x25004740 */
  15451     { RECOMP_REGS_OUT(); return; } /* end of function */
  15452     RECOMP_REGS_OUT();
  15453 }
  15454 
  15455 void sub_250078A0(void) {
  15456     int _fpu_cmp = 0;
  15457     uint32_t _cf = 0;
  15458     int _df = 1;
  15459     uint32_t _flag_k = FK_NONE;
  15460     uint32_t _flag_a = 0, _flag_b = 0;
  15461     uint32_t _itail_tgt = 0;
  15462     RECOMP_REGS_LOCALS
  15463     RECOMP_ENTER(0x250078A0u);
  15464 
  15465 L_250078A0:
  15466     PUSH32(esp, ebp); /* 0x250078A0: push ebp */
  15467     ebp = esp; /* 0x250078A1: mov ebp, esp */
  15468     eax = MEM32(ebp + 0x8); /* 0x250078A3: mov eax, dword ptr [ebp + 8] */
  15469     fp_push(*(float*)&MEM32(ecx + 0x238)); /* 0x250078A6: fld dword ptr [ecx + 0x238] */
  15470     _st[0] += (double)*(float*)ADDR(eax); /* 0x250078AC: fadd dword ptr [eax] */
  15471     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x238) = _v; } /* 0x250078AE: fstp dword ptr [ecx + 0x238] */
  15472     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x250078B4: fld dword ptr [eax + 4] */
  15473     _st[0] += (double)*(float*)ADDR(ecx + 0x23C); /* 0x250078B7: fadd dword ptr [ecx + 0x23c] */
  15474     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x23C) = _v; } /* 0x250078BD: fstp dword ptr [ecx + 0x23c] */
  15475     fp_push(*(float*)&MEM32(eax + 0x8)); /* 0x250078C3: fld dword ptr [eax + 8] */
  15476     _st[0] += (double)*(float*)ADDR(ecx + 0x240); /* 0x250078C6: fadd dword ptr [ecx + 0x240] */
  15477     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x240) = _v; } /* 0x250078CC: fstp dword ptr [ecx + 0x240] */
  15478     ebp = POP32_VAL(esp); /* 0x250078D2: pop ebp */
  15479     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250078D3: ret 4 */
  15480     RECOMP_REGS_OUT();
  15481 }
  15482 
  15483 void sub_250078E0(void) {
  15484     int _fpu_cmp = 0;
  15485     uint32_t _cf = 0;
  15486     int _df = 1;
  15487     uint32_t _flag_k = FK_NONE;
  15488     uint32_t _flag_a = 0, _flag_b = 0;
  15489     uint32_t _itail_tgt = 0;
  15490     RECOMP_REGS_LOCALS
  15491     RECOMP_ENTER(0x250078E0u);
  15492 
  15493 L_250078E0:
  15494     PUSH32(esp, ebp); /* 0x250078E0: push ebp */
  15495     ebp = esp; /* 0x250078E1: mov ebp, esp */
  15496     PUSH32(esp, 0xFFFFFFFFu); /* 0x250078E3: push -1 */
  15497     PUSH32(esp, 0x251453C2u); /* 0x250078E5: push 0x251453c2 */
  15498     eax = MEM32(FS_BASE + (0)); /* 0x250078EA: mov eax, dword ptr fs:[0] */
  15499     PUSH32(esp, eax); /* 0x250078F0: push eax */
  15500     MEM32(FS_BASE + (0)) = esp; /* 0x250078F1: mov dword ptr fs:[0], esp */
  15501     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  15502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15503     esp = esp - 8; /* 0x250078F8: sub esp, 8 */
  15504     _flag_k = FK_CMP;
  15505     PUSH32(esp, ebx); /* 0x250078FB: push ebx */
  15506     ebx = MEM32(ebp + 0x8); /* 0x250078FC: mov ebx, dword ptr [ebp + 8] */
  15507     PUSH32(esp, esi); /* 0x250078FF: push esi */
  15508     PUSH32(esp, edi); /* 0x25007900: push edi */
  15509     esi = ecx; /* 0x25007901: mov esi, ecx */
  15510     PUSH32(esp, ebx); /* 0x25007903: push ebx */
  15511     MEM32(ebp + (-0x10)) = esi; /* 0x25007904: mov dword ptr [ebp - 0x10], esi */
  15512     RECOMP_ICALL(0x250DAB70u); /* 0x25007907: call 0x250dab70 */ /* not lifted */
  15513     RECOMP_FLAGS_IN();
  15514     SET_LO8(eax, MEM8(ebx + 0x1D4)); /* 0x2500790C: mov al, byte ptr [ebx + 0x1d4] */
  15515     MEM8(esi + 0x1D4) = (uint8_t)(LO8(eax)); /* 0x25007912: mov byte ptr [esi + 0x1d4], al */
  15516     ecx = ebx + 0x1D8; /* 0x25007918: lea ecx, [ebx + 0x1d8] */
  15517     eax = MEM32(ecx); /* 0x2500791E: mov eax, dword ptr [ecx] */
  15518     edx = esi + 0x1D8; /* 0x25007920: lea edx, [esi + 0x1d8] */
  15519     MEM32(edx) = eax; /* 0x25007926: mov dword ptr [edx], eax */
  15520     eax = MEM32(ecx + 0x4); /* 0x25007928: mov eax, dword ptr [ecx + 4] */
  15521     MEM32(edx + 0x4) = eax; /* 0x2500792B: mov dword ptr [edx + 4], eax */
  15522     ecx = MEM32(ecx + 0x8); /* 0x2500792E: mov ecx, dword ptr [ecx + 8] */
  15523     MEM32(edx + 0x8) = ecx; /* 0x25007931: mov dword ptr [edx + 8], ecx */
  15524     edx = MEM32(ebx + 0x1E4); /* 0x25007934: mov edx, dword ptr [ebx + 0x1e4] */
  15525     MEM32(esi + 0x1E4) = edx; /* 0x2500793A: mov dword ptr [esi + 0x1e4], edx */
  15526     eax = MEM32(ebx + 0x1E8); /* 0x25007940: mov eax, dword ptr [ebx + 0x1e8] */
  15527     MEM32(esi + 0x1E8) = eax; /* 0x25007946: mov dword ptr [esi + 0x1e8], eax */
  15528     ecx = MEM32(ebx + 0x1EC); /* 0x2500794C: mov ecx, dword ptr [ebx + 0x1ec] */
  15529     MEM32(esi + 0x1EC) = ecx; /* 0x25007952: mov dword ptr [esi + 0x1ec], ecx */
  15530     edx = MEM32(ebx + 0x1F0); /* 0x25007958: mov edx, dword ptr [ebx + 0x1f0] */
  15531     MEM32(esi + 0x1F0) = edx; /* 0x2500795E: mov dword ptr [esi + 0x1f0], edx */
  15532     eax = MEM32(ebx + 0x1F4); /* 0x25007964: mov eax, dword ptr [ebx + 0x1f4] */
  15533     MEM32(esi + 0x1F4) = eax; /* 0x2500796A: mov dword ptr [esi + 0x1f4], eax */
  15534     ecx = MEM32(ebx + 0x1F8); /* 0x25007970: mov ecx, dword ptr [ebx + 0x1f8] */
  15535     MEM32(esi + 0x1F8) = ecx; /* 0x25007976: mov dword ptr [esi + 0x1f8], ecx */
  15536     edx = MEM32(ebx + 0x1FC); /* 0x2500797C: mov edx, dword ptr [ebx + 0x1fc] */
  15537     MEM32(esi + 0x1FC) = edx; /* 0x25007982: mov dword ptr [esi + 0x1fc], edx */
  15538     eax = MEM32(ebx + 0x200); /* 0x25007988: mov eax, dword ptr [ebx + 0x200] */
  15539     MEM32(esi + 0x200) = eax; /* 0x2500798E: mov dword ptr [esi + 0x200], eax */
  15540     ecx = MEM32(ebx + 0x204); /* 0x25007994: mov ecx, dword ptr [ebx + 0x204] */
  15541     MEM32(esi + 0x204) = ecx; /* 0x2500799A: mov dword ptr [esi + 0x204], ecx */
  15542     edx = MEM32(ebx + 0x208); /* 0x250079A0: mov edx, dword ptr [ebx + 0x208] */
  15543     MEM32(esi + 0x208) = edx; /* 0x250079A6: mov dword ptr [esi + 0x208], edx */
  15544     eax = MEM32(ebx + 0x20C); /* 0x250079AC: mov eax, dword ptr [ebx + 0x20c] */
  15545     MEM32(esi + 0x20C) = eax; /* 0x250079B2: mov dword ptr [esi + 0x20c], eax */
  15546     ecx = MEM32(ebx + 0x210); /* 0x250079B8: mov ecx, dword ptr [ebx + 0x210] */
  15547     MEM32(esi + 0x210) = ecx; /* 0x250079BE: mov dword ptr [esi + 0x210], ecx */
  15548     edx = MEM32(ebx + 0x214); /* 0x250079C4: mov edx, dword ptr [ebx + 0x214] */
  15549     MEM32(esi + 0x214) = edx; /* 0x250079CA: mov dword ptr [esi + 0x214], edx */
  15550     SET_LO8(eax, MEM8(ebx + 0x218)); /* 0x250079D0: mov al, byte ptr [ebx + 0x218] */
  15551     MEM8(esi + 0x218) = (uint8_t)(LO8(eax)); /* 0x250079D6: mov byte ptr [esi + 0x218], al */
  15552     SET_LO8(ecx, MEM8(ebx + 0x21C)); /* 0x250079DC: mov cl, byte ptr [ebx + 0x21c] */
  15553     MEM8(esi + 0x21C) = (uint8_t)(LO8(ecx)); /* 0x250079E2: mov byte ptr [esi + 0x21c], cl */
  15554     ecx = MEM32(ebx + 0x220); /* 0x250079E8: mov ecx, dword ptr [ebx + 0x220] */
  15555     /* test ecx, ecx */ /* 0x250079EE: test ecx, ecx */
  15556     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  15557     _cf = 0;
  15558     _flag_k = FK_TEST;
  15559     MEM32(ebp + (-0x4)) = 0; /* 0x250079F0: mov dword ptr [ebp - 4], 0 */
  15560     if (TEST_NZ(_flag_a, _flag_b)) goto L_250079FD; /* 0x250079F7: jne 0x250079fd */
  15561 L_250079F9:
  15562     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15563     eax = 0; /* 0x250079F9: xor eax, eax */
  15564     _cf = 0;
  15565     _flag_k = FK_TEST;
  15566     goto L_25007A08; /* 0x250079FB: jmp 0x25007a08 */
  15567 L_250079FD:
  15568     eax = MEM32(ebx + 0x224); /* 0x250079FD: mov eax, dword ptr [ebx + 0x224] */
  15569     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15570     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15571     eax = eax - ecx; /* 0x25007A03: sub eax, ecx */
  15572     _flag_k = FK_CMP;
  15573     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25007A05: sar eax, 2 */
  15574     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15575     eax = (uint32_t)((int32_t)eax >> 2u);
  15576 L_25007A08:
  15577     /* test eax, eax */ /* 0x25007A08: test eax, eax */
  15578     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15579     _cf = 0;
  15580     _flag_k = FK_TEST;
  15581     if (TEST_NS(_flag_a, _flag_b)) goto L_25007A0E; /* 0x25007A0A: jge 0x25007a0e */
  15582 L_25007A0C:
  15583     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15584     eax = 0; /* 0x25007A0C: xor eax, eax */
  15585     _cf = 0;
  15586     _flag_k = FK_TEST;
  15587 L_25007A0E:
  15588     edx = eax * 4; /* 0x25007A0E: lea edx, [eax*4] */
  15589     PUSH32(esp, edx); /* 0x25007A15: push edx */
  15590     RECOMP_ICALL(0x251380D0u); /* 0x25007A16: call 0x251380d0 */ /* not lifted */
  15591     RECOMP_FLAGS_IN();
  15592     MEM32(esi + 0x220) = eax; /* 0x25007A1B: mov dword ptr [esi + 0x220], eax */
  15593     edx = MEM32(ebx + 0x224); /* 0x25007A21: mov edx, dword ptr [ebx + 0x224] */
  15594     ecx = MEM32(ebx + 0x220); /* 0x25007A27: mov ecx, dword ptr [ebx + 0x220] */
  15595     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15596     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15597     esp = esp + 4; /* 0x25007A2D: add esp, 4 */
  15598     _flag_k = FK_ADD;
  15599     /* cmp ecx, edx */ /* 0x25007A30: cmp ecx, edx */
  15600     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15601     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15602     _flag_k = FK_CMP;
  15603     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007A46; /* 0x25007A32: je 0x25007a46 */
  15604 L_25007A34:
  15605     /* test eax, eax */ /* 0x25007A34: test eax, eax */
  15606     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15607     _cf = 0;
  15608     _flag_k = FK_TEST;
  15609     if (TEST_Z(_flag_a, _flag_b)) goto L_25007A3C; /* 0x25007A36: je 0x25007a3c */
  15610 L_25007A38:
  15611     edi = MEM32(ecx); /* 0x25007A38: mov edi, dword ptr [ecx] */
  15612     MEM32(eax) = edi; /* 0x25007A3A: mov dword ptr [eax], edi */
  15613 L_25007A3C:
  15614     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
  15615     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15616     ecx = ecx + 4; /* 0x25007A3C: add ecx, 4 */
  15617     _flag_k = FK_ADD;
  15618     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  15619     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15620     eax = eax + 4; /* 0x25007A3F: add eax, 4 */
  15621     _flag_k = FK_ADD;
  15622     /* cmp ecx, edx */ /* 0x25007A42: cmp ecx, edx */
  15623     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15625     _flag_k = FK_CMP;
  15626     RECOMP_BACKEDGE();
  15627     if (CMP_NE(_flag_a, _flag_b)) goto L_25007A34; /* 0x25007A44: jne 0x25007a34 */
  15628 L_25007A46:
  15629     MEM32(esi + 0x224) = eax; /* 0x25007A46: mov dword ptr [esi + 0x224], eax */
  15630     MEM32(esi + 0x228) = eax; /* 0x25007A4C: mov dword ptr [esi + 0x228], eax */
  15631     eax = MEM32(ebx + 0x22C); /* 0x25007A52: mov eax, dword ptr [ebx + 0x22c] */
  15632     MEM32(esi + 0x22C) = eax; /* 0x25007A58: mov dword ptr [esi + 0x22c], eax */
  15633     ecx = MEM32(ebx + 0x230); /* 0x25007A5E: mov ecx, dword ptr [ebx + 0x230] */
  15634     MEM32(esi + 0x230) = ecx; /* 0x25007A64: mov dword ptr [esi + 0x230], ecx */
  15635     edx = MEM32(ebx + 0x234); /* 0x25007A6A: mov edx, dword ptr [ebx + 0x234] */
  15636     MEM32(esi + 0x234) = edx; /* 0x25007A70: mov dword ptr [esi + 0x234], edx */
  15637     eax = ebx + 0x238; /* 0x25007A76: lea eax, [ebx + 0x238] */
  15638     edx = MEM32(eax); /* 0x25007A7C: mov edx, dword ptr [eax] */
  15639     ecx = esi + 0x238; /* 0x25007A7E: lea ecx, [esi + 0x238] */
  15640     MEM32(ecx) = edx; /* 0x25007A84: mov dword ptr [ecx], edx */
  15641     edx = MEM32(eax + 0x4); /* 0x25007A86: mov edx, dword ptr [eax + 4] */
  15642     MEM32(ecx + 0x4) = edx; /* 0x25007A89: mov dword ptr [ecx + 4], edx */
  15643     eax = MEM32(eax + 0x8); /* 0x25007A8C: mov eax, dword ptr [eax + 8] */
  15644     MEM32(ecx + 0x8) = eax; /* 0x25007A8F: mov dword ptr [ecx + 8], eax */
  15645     ecx = MEM32(ebx + 0x244); /* 0x25007A92: mov ecx, dword ptr [ebx + 0x244] */
  15646     MEM32(esi + 0x244) = ecx; /* 0x25007A98: mov dword ptr [esi + 0x244], ecx */
  15647     SET_LO8(edx, MEM8(ebx + 0x248)); /* 0x25007A9E: mov dl, byte ptr [ebx + 0x248] */
  15648     MEM8(esi + 0x248) = (uint8_t)(LO8(edx)); /* 0x25007AA4: mov byte ptr [esi + 0x248], dl */
  15649     ecx = MEM32(ebx + 0x24C); /* 0x25007AAA: mov ecx, dword ptr [ebx + 0x24c] */
  15650     /* test ecx, ecx */ /* 0x25007AB0: test ecx, ecx */
  15651     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  15652     _cf = 0;
  15653     _flag_k = FK_TEST;
  15654     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25007AB2: mov byte ptr [ebp - 4], 1 */
  15655     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007ABC; /* 0x25007AB6: jne 0x25007abc */
  15656 L_25007AB8:
  15657     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15658     eax = 0; /* 0x25007AB8: xor eax, eax */
  15659     _cf = 0;
  15660     _flag_k = FK_TEST;
  15661     goto L_25007AC7; /* 0x25007ABA: jmp 0x25007ac7 */
  15662 L_25007ABC:
  15663     eax = MEM32(ebx + 0x250); /* 0x25007ABC: mov eax, dword ptr [ebx + 0x250] */
  15664     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15665     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15666     eax = eax - ecx; /* 0x25007AC2: sub eax, ecx */
  15667     _flag_k = FK_CMP;
  15668     if (6u) _cf = (((eax) >> 5) & 1u); /* 0x25007AC4: sar eax, 6 */
  15669     if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15670     eax = (uint32_t)((int32_t)eax >> 6u);
  15671 L_25007AC7:
  15672     /* test eax, eax */ /* 0x25007AC7: test eax, eax */
  15673     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15674     _cf = 0;
  15675     _flag_k = FK_TEST;
  15676     if (TEST_NS(_flag_a, _flag_b)) goto L_25007ACD; /* 0x25007AC9: jge 0x25007acd */
  15677 L_25007ACB:
  15678     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15679     eax = 0; /* 0x25007ACB: xor eax, eax */
  15680     _cf = 0;
  15681     _flag_k = FK_TEST;
  15682 L_25007ACD:
  15683     if (6u) _cf = (((eax) >> 26) & 1u); /* 0x25007ACD: shl eax, 6 */
  15684     if (6u) { _flag_a = recomp_flags_pack((eax << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15685     eax = eax << 6u; /* 0x25007ACD: shl eax, 6 */
  15686     PUSH32(esp, eax); /* 0x25007AD0: push eax */
  15687     RECOMP_ICALL(0x251380D0u); /* 0x25007AD1: call 0x251380d0 */ /* not lifted */
  15688     RECOMP_FLAGS_IN();
  15689     MEM32(esi + 0x24C) = eax; /* 0x25007AD6: mov dword ptr [esi + 0x24c], eax */
  15690     ecx = MEM32(ebx + 0x250); /* 0x25007ADC: mov ecx, dword ptr [ebx + 0x250] */
  15691     edx = MEM32(ebx + 0x24C); /* 0x25007AE2: mov edx, dword ptr [ebx + 0x24c] */
  15692     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15693     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15694     esp = esp + 4; /* 0x25007AE8: add esp, 4 */
  15695     _flag_k = FK_ADD;
  15696     /* cmp edx, ecx */ /* 0x25007AEB: cmp edx, ecx */
  15697     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  15698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15699     _flag_k = FK_CMP;
  15700     MEM32(ebp + 0x8) = ecx; /* 0x25007AED: mov dword ptr [ebp + 8], ecx */
  15701     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007B11; /* 0x25007AF0: je 0x25007b11 */
  15702 L_25007AF2:
  15703     /* test eax, eax */ /* 0x25007AF2: test eax, eax */
  15704     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15705     _cf = 0;
  15706     _flag_k = FK_TEST;
  15707     if (TEST_Z(_flag_a, _flag_b)) goto L_25007B07; /* 0x25007AF4: je 0x25007b07 */
  15708 L_25007AF6:
  15709     ecx = 0x10u; /* 0x25007AF6: mov ecx, 0x10 */
  15710     esi = edx; /* 0x25007AFB: mov esi, edx */
  15711     edi = eax; /* 0x25007AFD: mov edi, eax */
  15712     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25007AFF: 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; }
  15713     esi = MEM32(ebp + (-0x10)); /* 0x25007B01: mov esi, dword ptr [ebp - 0x10] */
  15714     ecx = MEM32(ebp + 0x8); /* 0x25007B04: mov ecx, dword ptr [ebp + 8] */
  15715 L_25007B07:
  15716     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x40u);
  15717     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15718     edx = edx + 0x40u; /* 0x25007B07: add edx, 0x40 */
  15719     _flag_k = FK_ADD;
  15720     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  15721     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15722     eax = eax + 0x40u; /* 0x25007B0A: add eax, 0x40 */
  15723     _flag_k = FK_ADD;
  15724     /* cmp edx, ecx */ /* 0x25007B0D: cmp edx, ecx */
  15725     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  15726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15727     _flag_k = FK_CMP;
  15728     RECOMP_BACKEDGE();
  15729     if (CMP_NE(_flag_a, _flag_b)) goto L_25007AF2; /* 0x25007B0F: jne 0x25007af2 */
  15730 L_25007B11:
  15731     MEM32(esi + 0x250) = eax; /* 0x25007B11: mov dword ptr [esi + 0x250], eax */
  15732     MEM32(esi + 0x254) = eax; /* 0x25007B17: mov dword ptr [esi + 0x254], eax */
  15733     SET_LO8(eax, MEM8(ebx + 0x258)); /* 0x25007B1D: mov al, byte ptr [ebx + 0x258] */
  15734     MEM8(esi + 0x258) = (uint8_t)(LO8(eax)); /* 0x25007B23: mov byte ptr [esi + 0x258], al */
  15735     eax = MEM32(ebx + 0x25C); /* 0x25007B29: mov eax, dword ptr [ebx + 0x25c] */
  15736     /* test eax, eax */ /* 0x25007B2F: test eax, eax */
  15737     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15738     _cf = 0;
  15739     _flag_k = FK_TEST;
  15740     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25007B31: mov byte ptr [ebp - 4], 2 */
  15741     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007B3B; /* 0x25007B35: jne 0x25007b3b */
  15742 L_25007B37:
  15743     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15744     edx = 0; /* 0x25007B37: xor edx, edx */
  15745     _cf = 0;
  15746     _flag_k = FK_TEST;
  15747     goto L_25007B53; /* 0x25007B39: jmp 0x25007b53 */
  15748 L_25007B3B:
  15749     ecx = MEM32(ebx + 0x260); /* 0x25007B3B: mov ecx, dword ptr [ebx + 0x260] */
  15750     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  15751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15752     ecx = ecx - eax; /* 0x25007B41: sub ecx, eax */
  15753     _flag_k = FK_CMP;
  15754     eax = 0x2AAAAAABu; /* 0x25007B43: mov eax, 0x2aaaaaab */
  15755     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25007B48: imul ecx */
  15756       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  15757       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  15758     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25007B4A: sar edx, 1 */
  15759     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15760     edx = (uint32_t)((int32_t)edx >> 1u);
  15761     ecx = edx; /* 0x25007B4C: mov ecx, edx */
  15762     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x25007B4E: shr ecx, 0x1f */
  15763     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15764     ecx = ecx >> 31u; /* 0x25007B4E: shr ecx, 0x1f */
  15765     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  15766     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15767     edx = edx + ecx; /* 0x25007B51: add edx, ecx */
  15768     _flag_k = FK_ADD;
  15769 L_25007B53:
  15770     /* test edx, edx */ /* 0x25007B53: test edx, edx */
  15771     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  15772     _cf = 0;
  15773     _flag_k = FK_TEST;
  15774     eax = edx; /* 0x25007B55: mov eax, edx */
  15775     if (TEST_NS(_flag_a, _flag_b)) goto L_25007B5B; /* 0x25007B57: jge 0x25007b5b */
  15776 L_25007B59:
  15777     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15778     eax = 0; /* 0x25007B59: xor eax, eax */
  15779     _cf = 0;
  15780     _flag_k = FK_TEST;
  15781 L_25007B5B:
  15782     edx = eax + eax * 2; /* 0x25007B5B: lea edx, [eax + eax*2] */
  15783     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25007B5E: shl edx, 2 */
  15784     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15785     edx = edx << 2u; /* 0x25007B5E: shl edx, 2 */
  15786     PUSH32(esp, edx); /* 0x25007B61: push edx */
  15787     RECOMP_ICALL(0x251380D0u); /* 0x25007B62: call 0x251380d0 */ /* not lifted */
  15788     RECOMP_FLAGS_IN();
  15789     MEM32(esi + 0x25C) = eax; /* 0x25007B67: mov dword ptr [esi + 0x25c], eax */
  15790     edx = MEM32(ebx + 0x260); /* 0x25007B6D: mov edx, dword ptr [ebx + 0x260] */
  15791     ecx = MEM32(ebx + 0x25C); /* 0x25007B73: mov ecx, dword ptr [ebx + 0x25c] */
  15792     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15794     esp = esp + 4; /* 0x25007B79: add esp, 4 */
  15795     _flag_k = FK_ADD;
  15796     /* cmp ecx, edx */ /* 0x25007B7C: cmp ecx, edx */
  15797     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15799     _flag_k = FK_CMP;
  15800     MEM32(ebp + (-0x14)) = edx; /* 0x25007B7E: mov dword ptr [ebp - 0x14], edx */
  15801     MEM32(ebp + 0x8) = ecx; /* 0x25007B81: mov dword ptr [ebp + 8], ecx */
  15802     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007BAF; /* 0x25007B84: je 0x25007baf */
  15803 L_25007B86:
  15804     /* test eax, eax */ /* 0x25007B86: test eax, eax */
  15805     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15806     _cf = 0;
  15807     _flag_k = FK_TEST;
  15808     if (TEST_Z(_flag_a, _flag_b)) goto L_25007BA2; /* 0x25007B88: je 0x25007ba2 */
  15809 L_25007B8A:
  15810     edi = MEM32(ecx); /* 0x25007B8A: mov edi, dword ptr [ecx] */
  15811     edx = eax; /* 0x25007B8C: mov edx, eax */
  15812     MEM32(edx) = edi; /* 0x25007B8E: mov dword ptr [edx], edi */
  15813     edi = MEM32(ecx + 0x4); /* 0x25007B90: mov edi, dword ptr [ecx + 4] */
  15814     MEM32(edx + 0x4) = edi; /* 0x25007B93: mov dword ptr [edx + 4], edi */
  15815     ecx = MEM32(ecx + 0x8); /* 0x25007B96: mov ecx, dword ptr [ecx + 8] */
  15816     MEM32(edx + 0x8) = ecx; /* 0x25007B99: mov dword ptr [edx + 8], ecx */
  15817     ecx = MEM32(ebp + 0x8); /* 0x25007B9C: mov ecx, dword ptr [ebp + 8] */
  15818     edx = MEM32(ebp + (-0x14)); /* 0x25007B9F: mov edx, dword ptr [ebp - 0x14] */
  15819 L_25007BA2:
  15820     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  15821     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15822     ecx = ecx + 0xCu; /* 0x25007BA2: add ecx, 0xc */
  15823     _flag_k = FK_ADD;
  15824     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  15825     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15826     eax = eax + 0xCu; /* 0x25007BA5: add eax, 0xc */
  15827     _flag_k = FK_ADD;
  15828     /* cmp ecx, edx */ /* 0x25007BA8: cmp ecx, edx */
  15829     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15831     _flag_k = FK_CMP;
  15832     MEM32(ebp + 0x8) = ecx; /* 0x25007BAA: mov dword ptr [ebp + 8], ecx */
  15833     RECOMP_BACKEDGE();
  15834     if (CMP_NE(_flag_a, _flag_b)) goto L_25007B86; /* 0x25007BAD: jne 0x25007b86 */
  15835 L_25007BAF:
  15836     MEM32(esi + 0x260) = eax; /* 0x25007BAF: mov dword ptr [esi + 0x260], eax */
  15837     MEM32(esi + 0x264) = eax; /* 0x25007BB5: mov dword ptr [esi + 0x264], eax */
  15838     edx = ebx + 0x268; /* 0x25007BBB: lea edx, [ebx + 0x268] */
  15839     PUSH32(esp, edx); /* 0x25007BC1: push edx */
  15840     ecx = esi + 0x268; /* 0x25007BC2: lea ecx, [esi + 0x268] */
  15841     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25007BC8: mov byte ptr [ebp - 4], 3 */
  15842     RECOMP_ICALL(0x250E4510u); /* 0x25007BCC: call 0x250e4510 */ /* not lifted */
  15843     RECOMP_FLAGS_IN();
  15844     eax = MEM32(ebx + 0x290); /* 0x25007BD1: mov eax, dword ptr [ebx + 0x290] */
  15845     MEM32(esi + 0x290) = eax; /* 0x25007BD7: mov dword ptr [esi + 0x290], eax */
  15846     ecx = MEM32(ebx + 0x294); /* 0x25007BDD: mov ecx, dword ptr [ebx + 0x294] */
  15847     MEM32(esi + 0x294) = ecx; /* 0x25007BE3: mov dword ptr [esi + 0x294], ecx */
  15848     edx = MEM32(ebx + 0x298); /* 0x25007BE9: mov edx, dword ptr [ebx + 0x298] */
  15849     MEM32(esi + 0x298) = edx; /* 0x25007BEF: mov dword ptr [esi + 0x298], edx */
  15850     eax = ebx + 0x29C; /* 0x25007BF5: lea eax, [ebx + 0x29c] */
  15851     edx = MEM32(eax); /* 0x25007BFB: mov edx, dword ptr [eax] */
  15852     ecx = esi + 0x29C; /* 0x25007BFD: lea ecx, [esi + 0x29c] */
  15853     MEM32(ecx) = edx; /* 0x25007C03: mov dword ptr [ecx], edx */
  15854     edx = MEM32(eax + 0x4); /* 0x25007C05: mov edx, dword ptr [eax + 4] */
  15855     MEM32(ecx + 0x4) = edx; /* 0x25007C08: mov dword ptr [ecx + 4], edx */
  15856     edx = MEM32(eax + 0x8); /* 0x25007C0B: mov edx, dword ptr [eax + 8] */
  15857     MEM32(ecx + 0x8) = edx; /* 0x25007C0E: mov dword ptr [ecx + 8], edx */
  15858     eax = MEM32(eax + 0xC); /* 0x25007C11: mov eax, dword ptr [eax + 0xc] */
  15859     MEM32(ecx + 0xC) = eax; /* 0x25007C14: mov dword ptr [ecx + 0xc], eax */
  15860     ecx = MEM32(ebx + 0x2AC); /* 0x25007C17: mov ecx, dword ptr [ebx + 0x2ac] */
  15861     MEM32(esi + 0x2AC) = ecx; /* 0x25007C1D: mov dword ptr [esi + 0x2ac], ecx */
  15862     edx = MEM32(ebx + 0x2B0); /* 0x25007C23: mov edx, dword ptr [ebx + 0x2b0] */
  15863     MEM32(esi + 0x2B0) = edx; /* 0x25007C29: mov dword ptr [esi + 0x2b0], edx */
  15864     eax = MEM32(ebx + 0x2B4); /* 0x25007C2F: mov eax, dword ptr [ebx + 0x2b4] */
  15865     MEM32(esi + 0x2B4) = eax; /* 0x25007C35: mov dword ptr [esi + 0x2b4], eax */
  15866     ecx = MEM32(ebx + 0x2B8); /* 0x25007C3B: mov ecx, dword ptr [ebx + 0x2b8] */
  15867     MEM32(esi + 0x2B8) = ecx; /* 0x25007C41: mov dword ptr [esi + 0x2b8], ecx */
  15868     ecx = MEM32(ebp + (-0xC)); /* 0x25007C47: mov ecx, dword ptr [ebp - 0xc] */
  15869     edi = POP32_VAL(esp); /* 0x25007C4A: pop edi */
  15870     MEM32(esi) = 0x2515180Cu; /* 0x25007C4B: mov dword ptr [esi], 0x2515180c */
  15871     MEM32(esi + 0x8) = 0x251517FCu; /* 0x25007C51: mov dword ptr [esi + 8], 0x251517fc */
  15872     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25007C58: mov dword ptr [esi + 0x20], 0x251517ec */
  15873     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25007C5F: mov dword ptr [esi + 0x38], 0x251517dc */
  15874     MEM32(esi + 0x50) = 0x251517CCu; /* 0x25007C66: mov dword ptr [esi + 0x50], 0x251517cc */
  15875     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25007C6D: mov dword ptr [esi + 0x138], 0x251517bc */
  15876     MEM32(esi + 0x150) = 0x251517ACu; /* 0x25007C77: mov dword ptr [esi + 0x150], 0x251517ac */
  15877     eax = esi; /* 0x25007C81: mov eax, esi */
  15878     esi = POP32_VAL(esp); /* 0x25007C83: pop esi */
  15879     ebx = POP32_VAL(esp); /* 0x25007C84: pop ebx */
  15880     MEM32(FS_BASE + (0)) = ecx; /* 0x25007C85: mov dword ptr fs:[0], ecx */
  15881     esp = ebp; /* 0x25007C8C: mov esp, ebp */
  15882     ebp = POP32_VAL(esp); /* 0x25007C8E: pop ebp */
  15883     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007C8F: ret 4 */
  15884     RECOMP_REGS_OUT();
  15885 }
  15886 
  15887 void sub_250079BE(void) {
  15888     int _fpu_cmp = 0;
  15889     uint32_t _cf = 0;
  15890     int _df = 1;
  15891     uint32_t _flag_k = FK_NONE;
  15892     uint32_t _flag_a = 0, _flag_b = 0;
  15893     uint32_t _itail_tgt = 0;
  15894     RECOMP_REGS_LOCALS
  15895     RECOMP_ENTER(0x250079BEu);
  15896 
  15897 L_250079BE:
  15898     MEM32(esi + 0x210) = ecx; /* 0x250079BE: mov dword ptr [esi + 0x210], ecx */
  15899     edx = MEM32(ebx + 0x214); /* 0x250079C4: mov edx, dword ptr [ebx + 0x214] */
  15900     MEM32(esi + 0x214) = edx; /* 0x250079CA: mov dword ptr [esi + 0x214], edx */
  15901     SET_LO8(eax, MEM8(ebx + 0x218)); /* 0x250079D0: mov al, byte ptr [ebx + 0x218] */
  15902     MEM8(esi + 0x218) = (uint8_t)(LO8(eax)); /* 0x250079D6: mov byte ptr [esi + 0x218], al */
  15903     SET_LO8(ecx, MEM8(ebx + 0x21C)); /* 0x250079DC: mov cl, byte ptr [ebx + 0x21c] */
  15904     MEM8(esi + 0x21C) = (uint8_t)(LO8(ecx)); /* 0x250079E2: mov byte ptr [esi + 0x21c], cl */
  15905     ecx = MEM32(ebx + 0x220); /* 0x250079E8: mov ecx, dword ptr [ebx + 0x220] */
  15906     /* test ecx, ecx */ /* 0x250079EE: test ecx, ecx */
  15907     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  15908     _cf = 0;
  15909     _flag_k = FK_TEST;
  15910     MEM32(ebp + (-0x4)) = 0; /* 0x250079F0: mov dword ptr [ebp - 4], 0 */
  15911     if (TEST_NZ(_flag_a, _flag_b)) goto L_250079FD; /* 0x250079F7: jne 0x250079fd */
  15912 L_250079F9:
  15913     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15914     eax = 0; /* 0x250079F9: xor eax, eax */
  15915     _cf = 0;
  15916     _flag_k = FK_TEST;
  15917     goto L_25007A08; /* 0x250079FB: jmp 0x25007a08 */
  15918 L_250079FD:
  15919     eax = MEM32(ebx + 0x224); /* 0x250079FD: mov eax, dword ptr [ebx + 0x224] */
  15920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15922     eax = eax - ecx; /* 0x25007A03: sub eax, ecx */
  15923     _flag_k = FK_CMP;
  15924     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25007A05: sar eax, 2 */
  15925     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15926     eax = (uint32_t)((int32_t)eax >> 2u);
  15927 L_25007A08:
  15928     /* test eax, eax */ /* 0x25007A08: test eax, eax */
  15929     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15930     _cf = 0;
  15931     _flag_k = FK_TEST;
  15932     if (TEST_NS(_flag_a, _flag_b)) goto L_25007A0E; /* 0x25007A0A: jge 0x25007a0e */
  15933 L_25007A0C:
  15934     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  15935     eax = 0; /* 0x25007A0C: xor eax, eax */
  15936     _cf = 0;
  15937     _flag_k = FK_TEST;
  15938 L_25007A0E:
  15939     edx = eax * 4; /* 0x25007A0E: lea edx, [eax*4] */
  15940     PUSH32(esp, edx); /* 0x25007A15: push edx */
  15941     RECOMP_ICALL(0x251380D0u); /* 0x25007A16: call 0x251380d0 */ /* not lifted */
  15942     RECOMP_FLAGS_IN();
  15943     MEM32(esi + 0x220) = eax; /* 0x25007A1B: mov dword ptr [esi + 0x220], eax */
  15944     edx = MEM32(ebx + 0x224); /* 0x25007A21: mov edx, dword ptr [ebx + 0x224] */
  15945     ecx = MEM32(ebx + 0x220); /* 0x25007A27: mov ecx, dword ptr [ebx + 0x220] */
  15946     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15947     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15948     esp = esp + 4; /* 0x25007A2D: add esp, 4 */
  15949     _flag_k = FK_ADD;
  15950     /* cmp ecx, edx */ /* 0x25007A30: cmp ecx, edx */
  15951     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15952     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15953     _flag_k = FK_CMP;
  15954     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007A46; /* 0x25007A32: je 0x25007a46 */
  15955 L_25007A34:
  15956     /* test eax, eax */ /* 0x25007A34: test eax, eax */
  15957     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15958     _cf = 0;
  15959     _flag_k = FK_TEST;
  15960     if (TEST_Z(_flag_a, _flag_b)) goto L_25007A3C; /* 0x25007A36: je 0x25007a3c */
  15961 L_25007A38:
  15962     edi = MEM32(ecx); /* 0x25007A38: mov edi, dword ptr [ecx] */
  15963     MEM32(eax) = edi; /* 0x25007A3A: mov dword ptr [eax], edi */
  15964 L_25007A3C:
  15965     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
  15966     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15967     ecx = ecx + 4; /* 0x25007A3C: add ecx, 4 */
  15968     _flag_k = FK_ADD;
  15969     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  15970     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15971     eax = eax + 4; /* 0x25007A3F: add eax, 4 */
  15972     _flag_k = FK_ADD;
  15973     /* cmp ecx, edx */ /* 0x25007A42: cmp ecx, edx */
  15974     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15976     _flag_k = FK_CMP;
  15977     RECOMP_BACKEDGE();
  15978     if (CMP_NE(_flag_a, _flag_b)) goto L_25007A34; /* 0x25007A44: jne 0x25007a34 */
  15979 L_25007A46:
  15980     MEM32(esi + 0x224) = eax; /* 0x25007A46: mov dword ptr [esi + 0x224], eax */
  15981     MEM32(esi + 0x228) = eax; /* 0x25007A4C: mov dword ptr [esi + 0x228], eax */
  15982     eax = MEM32(ebx + 0x22C); /* 0x25007A52: mov eax, dword ptr [ebx + 0x22c] */
  15983     MEM32(esi + 0x22C) = eax; /* 0x25007A58: mov dword ptr [esi + 0x22c], eax */
  15984     ecx = MEM32(ebx + 0x230); /* 0x25007A5E: mov ecx, dword ptr [ebx + 0x230] */
  15985     MEM32(esi + 0x230) = ecx; /* 0x25007A64: mov dword ptr [esi + 0x230], ecx */
  15986     edx = MEM32(ebx + 0x234); /* 0x25007A6A: mov edx, dword ptr [ebx + 0x234] */
  15987     MEM32(esi + 0x234) = edx; /* 0x25007A70: mov dword ptr [esi + 0x234], edx */
  15988     eax = ebx + 0x238; /* 0x25007A76: lea eax, [ebx + 0x238] */
  15989     edx = MEM32(eax); /* 0x25007A7C: mov edx, dword ptr [eax] */
  15990     ecx = esi + 0x238; /* 0x25007A7E: lea ecx, [esi + 0x238] */
  15991     MEM32(ecx) = edx; /* 0x25007A84: mov dword ptr [ecx], edx */
  15992     edx = MEM32(eax + 0x4); /* 0x25007A86: mov edx, dword ptr [eax + 4] */
  15993     MEM32(ecx + 0x4) = edx; /* 0x25007A89: mov dword ptr [ecx + 4], edx */
  15994     eax = MEM32(eax + 0x8); /* 0x25007A8C: mov eax, dword ptr [eax + 8] */
  15995     MEM32(ecx + 0x8) = eax; /* 0x25007A8F: mov dword ptr [ecx + 8], eax */
  15996     ecx = MEM32(ebx + 0x244); /* 0x25007A92: mov ecx, dword ptr [ebx + 0x244] */
  15997     MEM32(esi + 0x244) = ecx; /* 0x25007A98: mov dword ptr [esi + 0x244], ecx */
  15998     SET_LO8(edx, MEM8(ebx + 0x248)); /* 0x25007A9E: mov dl, byte ptr [ebx + 0x248] */
  15999     MEM8(esi + 0x248) = (uint8_t)(LO8(edx)); /* 0x25007AA4: mov byte ptr [esi + 0x248], dl */
  16000     ecx = MEM32(ebx + 0x24C); /* 0x25007AAA: mov ecx, dword ptr [ebx + 0x24c] */
  16001     /* test ecx, ecx */ /* 0x25007AB0: test ecx, ecx */
  16002     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  16003     _cf = 0;
  16004     _flag_k = FK_TEST;
  16005     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25007AB2: mov byte ptr [ebp - 4], 1 */
  16006     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007ABC; /* 0x25007AB6: jne 0x25007abc */
  16007 L_25007AB8:
  16008     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16009     eax = 0; /* 0x25007AB8: xor eax, eax */
  16010     _cf = 0;
  16011     _flag_k = FK_TEST;
  16012     goto L_25007AC7; /* 0x25007ABA: jmp 0x25007ac7 */
  16013 L_25007ABC:
  16014     eax = MEM32(ebx + 0x250); /* 0x25007ABC: mov eax, dword ptr [ebx + 0x250] */
  16015     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  16016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16017     eax = eax - ecx; /* 0x25007AC2: sub eax, ecx */
  16018     _flag_k = FK_CMP;
  16019     if (6u) _cf = (((eax) >> 5) & 1u); /* 0x25007AC4: sar eax, 6 */
  16020     if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16021     eax = (uint32_t)((int32_t)eax >> 6u);
  16022 L_25007AC7:
  16023     /* test eax, eax */ /* 0x25007AC7: test eax, eax */
  16024     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16025     _cf = 0;
  16026     _flag_k = FK_TEST;
  16027     if (TEST_NS(_flag_a, _flag_b)) goto L_25007ACD; /* 0x25007AC9: jge 0x25007acd */
  16028 L_25007ACB:
  16029     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16030     eax = 0; /* 0x25007ACB: xor eax, eax */
  16031     _cf = 0;
  16032     _flag_k = FK_TEST;
  16033 L_25007ACD:
  16034     if (6u) _cf = (((eax) >> 26) & 1u); /* 0x25007ACD: shl eax, 6 */
  16035     if (6u) { _flag_a = recomp_flags_pack((eax << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16036     eax = eax << 6u; /* 0x25007ACD: shl eax, 6 */
  16037     PUSH32(esp, eax); /* 0x25007AD0: push eax */
  16038     RECOMP_ICALL(0x251380D0u); /* 0x25007AD1: call 0x251380d0 */ /* not lifted */
  16039     RECOMP_FLAGS_IN();
  16040     MEM32(esi + 0x24C) = eax; /* 0x25007AD6: mov dword ptr [esi + 0x24c], eax */
  16041     ecx = MEM32(ebx + 0x250); /* 0x25007ADC: mov ecx, dword ptr [ebx + 0x250] */
  16042     edx = MEM32(ebx + 0x24C); /* 0x25007AE2: mov edx, dword ptr [ebx + 0x24c] */
  16043     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16044     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16045     esp = esp + 4; /* 0x25007AE8: add esp, 4 */
  16046     _flag_k = FK_ADD;
  16047     /* cmp edx, ecx */ /* 0x25007AEB: cmp edx, ecx */
  16048     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16050     _flag_k = FK_CMP;
  16051     MEM32(ebp + 0x8) = ecx; /* 0x25007AED: mov dword ptr [ebp + 8], ecx */
  16052     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007B11; /* 0x25007AF0: je 0x25007b11 */
  16053 L_25007AF2:
  16054     /* test eax, eax */ /* 0x25007AF2: test eax, eax */
  16055     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16056     _cf = 0;
  16057     _flag_k = FK_TEST;
  16058     if (TEST_Z(_flag_a, _flag_b)) goto L_25007B07; /* 0x25007AF4: je 0x25007b07 */
  16059 L_25007AF6:
  16060     ecx = 0x10u; /* 0x25007AF6: mov ecx, 0x10 */
  16061     esi = edx; /* 0x25007AFB: mov esi, edx */
  16062     edi = eax; /* 0x25007AFD: mov edi, eax */
  16063     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25007AFF: 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; }
  16064     esi = MEM32(ebp + (-0x10)); /* 0x25007B01: mov esi, dword ptr [ebp - 0x10] */
  16065     ecx = MEM32(ebp + 0x8); /* 0x25007B04: mov ecx, dword ptr [ebp + 8] */
  16066 L_25007B07:
  16067     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x40u);
  16068     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16069     edx = edx + 0x40u; /* 0x25007B07: add edx, 0x40 */
  16070     _flag_k = FK_ADD;
  16071     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  16072     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16073     eax = eax + 0x40u; /* 0x25007B0A: add eax, 0x40 */
  16074     _flag_k = FK_ADD;
  16075     /* cmp edx, ecx */ /* 0x25007B0D: cmp edx, ecx */
  16076     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16078     _flag_k = FK_CMP;
  16079     RECOMP_BACKEDGE();
  16080     if (CMP_NE(_flag_a, _flag_b)) goto L_25007AF2; /* 0x25007B0F: jne 0x25007af2 */
  16081 L_25007B11:
  16082     MEM32(esi + 0x250) = eax; /* 0x25007B11: mov dword ptr [esi + 0x250], eax */
  16083     MEM32(esi + 0x254) = eax; /* 0x25007B17: mov dword ptr [esi + 0x254], eax */
  16084     SET_LO8(eax, MEM8(ebx + 0x258)); /* 0x25007B1D: mov al, byte ptr [ebx + 0x258] */
  16085     MEM8(esi + 0x258) = (uint8_t)(LO8(eax)); /* 0x25007B23: mov byte ptr [esi + 0x258], al */
  16086     eax = MEM32(ebx + 0x25C); /* 0x25007B29: mov eax, dword ptr [ebx + 0x25c] */
  16087     /* test eax, eax */ /* 0x25007B2F: test eax, eax */
  16088     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16089     _cf = 0;
  16090     _flag_k = FK_TEST;
  16091     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25007B31: mov byte ptr [ebp - 4], 2 */
  16092     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007B3B; /* 0x25007B35: jne 0x25007b3b */
  16093 L_25007B37:
  16094     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16095     edx = 0; /* 0x25007B37: xor edx, edx */
  16096     _cf = 0;
  16097     _flag_k = FK_TEST;
  16098     goto L_25007B53; /* 0x25007B39: jmp 0x25007b53 */
  16099 L_25007B3B:
  16100     ecx = MEM32(ebx + 0x260); /* 0x25007B3B: mov ecx, dword ptr [ebx + 0x260] */
  16101     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  16102     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16103     ecx = ecx - eax; /* 0x25007B41: sub ecx, eax */
  16104     _flag_k = FK_CMP;
  16105     eax = 0x2AAAAAABu; /* 0x25007B43: mov eax, 0x2aaaaaab */
  16106     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25007B48: imul ecx */
  16107       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  16108       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  16109     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25007B4A: sar edx, 1 */
  16110     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16111     edx = (uint32_t)((int32_t)edx >> 1u);
  16112     ecx = edx; /* 0x25007B4C: mov ecx, edx */
  16113     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x25007B4E: shr ecx, 0x1f */
  16114     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16115     ecx = ecx >> 31u; /* 0x25007B4E: shr ecx, 0x1f */
  16116     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16117     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16118     edx = edx + ecx; /* 0x25007B51: add edx, ecx */
  16119     _flag_k = FK_ADD;
  16120 L_25007B53:
  16121     /* test edx, edx */ /* 0x25007B53: test edx, edx */
  16122     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  16123     _cf = 0;
  16124     _flag_k = FK_TEST;
  16125     eax = edx; /* 0x25007B55: mov eax, edx */
  16126     if (TEST_NS(_flag_a, _flag_b)) goto L_25007B5B; /* 0x25007B57: jge 0x25007b5b */
  16127 L_25007B59:
  16128     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16129     eax = 0; /* 0x25007B59: xor eax, eax */
  16130     _cf = 0;
  16131     _flag_k = FK_TEST;
  16132 L_25007B5B:
  16133     edx = eax + eax * 2; /* 0x25007B5B: lea edx, [eax + eax*2] */
  16134     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25007B5E: shl edx, 2 */
  16135     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16136     edx = edx << 2u; /* 0x25007B5E: shl edx, 2 */
  16137     PUSH32(esp, edx); /* 0x25007B61: push edx */
  16138     RECOMP_ICALL(0x251380D0u); /* 0x25007B62: call 0x251380d0 */ /* not lifted */
  16139     RECOMP_FLAGS_IN();
  16140     MEM32(esi + 0x25C) = eax; /* 0x25007B67: mov dword ptr [esi + 0x25c], eax */
  16141     edx = MEM32(ebx + 0x260); /* 0x25007B6D: mov edx, dword ptr [ebx + 0x260] */
  16142     ecx = MEM32(ebx + 0x25C); /* 0x25007B73: mov ecx, dword ptr [ebx + 0x25c] */
  16143     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16144     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16145     esp = esp + 4; /* 0x25007B79: add esp, 4 */
  16146     _flag_k = FK_ADD;
  16147     /* cmp ecx, edx */ /* 0x25007B7C: cmp ecx, edx */
  16148     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16150     _flag_k = FK_CMP;
  16151     MEM32(ebp + (-0x14)) = edx; /* 0x25007B7E: mov dword ptr [ebp - 0x14], edx */
  16152     MEM32(ebp + 0x8) = ecx; /* 0x25007B81: mov dword ptr [ebp + 8], ecx */
  16153     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007BAF; /* 0x25007B84: je 0x25007baf */
  16154 L_25007B86:
  16155     /* test eax, eax */ /* 0x25007B86: test eax, eax */
  16156     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16157     _cf = 0;
  16158     _flag_k = FK_TEST;
  16159     if (TEST_Z(_flag_a, _flag_b)) goto L_25007BA2; /* 0x25007B88: je 0x25007ba2 */
  16160 L_25007B8A:
  16161     edi = MEM32(ecx); /* 0x25007B8A: mov edi, dword ptr [ecx] */
  16162     edx = eax; /* 0x25007B8C: mov edx, eax */
  16163     MEM32(edx) = edi; /* 0x25007B8E: mov dword ptr [edx], edi */
  16164     edi = MEM32(ecx + 0x4); /* 0x25007B90: mov edi, dword ptr [ecx + 4] */
  16165     MEM32(edx + 0x4) = edi; /* 0x25007B93: mov dword ptr [edx + 4], edi */
  16166     ecx = MEM32(ecx + 0x8); /* 0x25007B96: mov ecx, dword ptr [ecx + 8] */
  16167     MEM32(edx + 0x8) = ecx; /* 0x25007B99: mov dword ptr [edx + 8], ecx */
  16168     ecx = MEM32(ebp + 0x8); /* 0x25007B9C: mov ecx, dword ptr [ebp + 8] */
  16169     edx = MEM32(ebp + (-0x14)); /* 0x25007B9F: mov edx, dword ptr [ebp - 0x14] */
  16170 L_25007BA2:
  16171     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  16172     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16173     ecx = ecx + 0xCu; /* 0x25007BA2: add ecx, 0xc */
  16174     _flag_k = FK_ADD;
  16175     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  16176     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16177     eax = eax + 0xCu; /* 0x25007BA5: add eax, 0xc */
  16178     _flag_k = FK_ADD;
  16179     /* cmp ecx, edx */ /* 0x25007BA8: cmp ecx, edx */
  16180     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16182     _flag_k = FK_CMP;
  16183     MEM32(ebp + 0x8) = ecx; /* 0x25007BAA: mov dword ptr [ebp + 8], ecx */
  16184     RECOMP_BACKEDGE();
  16185     if (CMP_NE(_flag_a, _flag_b)) goto L_25007B86; /* 0x25007BAD: jne 0x25007b86 */
  16186 L_25007BAF:
  16187     MEM32(esi + 0x260) = eax; /* 0x25007BAF: mov dword ptr [esi + 0x260], eax */
  16188     MEM32(esi + 0x264) = eax; /* 0x25007BB5: mov dword ptr [esi + 0x264], eax */
  16189     edx = ebx + 0x268; /* 0x25007BBB: lea edx, [ebx + 0x268] */
  16190     PUSH32(esp, edx); /* 0x25007BC1: push edx */
  16191     ecx = esi + 0x268; /* 0x25007BC2: lea ecx, [esi + 0x268] */
  16192     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25007BC8: mov byte ptr [ebp - 4], 3 */
  16193     RECOMP_ICALL(0x250E4510u); /* 0x25007BCC: call 0x250e4510 */ /* not lifted */
  16194     RECOMP_FLAGS_IN();
  16195     eax = MEM32(ebx + 0x290); /* 0x25007BD1: mov eax, dword ptr [ebx + 0x290] */
  16196     MEM32(esi + 0x290) = eax; /* 0x25007BD7: mov dword ptr [esi + 0x290], eax */
  16197     ecx = MEM32(ebx + 0x294); /* 0x25007BDD: mov ecx, dword ptr [ebx + 0x294] */
  16198     MEM32(esi + 0x294) = ecx; /* 0x25007BE3: mov dword ptr [esi + 0x294], ecx */
  16199     edx = MEM32(ebx + 0x298); /* 0x25007BE9: mov edx, dword ptr [ebx + 0x298] */
  16200     MEM32(esi + 0x298) = edx; /* 0x25007BEF: mov dword ptr [esi + 0x298], edx */
  16201     eax = ebx + 0x29C; /* 0x25007BF5: lea eax, [ebx + 0x29c] */
  16202     edx = MEM32(eax); /* 0x25007BFB: mov edx, dword ptr [eax] */
  16203     ecx = esi + 0x29C; /* 0x25007BFD: lea ecx, [esi + 0x29c] */
  16204     MEM32(ecx) = edx; /* 0x25007C03: mov dword ptr [ecx], edx */
  16205     edx = MEM32(eax + 0x4); /* 0x25007C05: mov edx, dword ptr [eax + 4] */
  16206     MEM32(ecx + 0x4) = edx; /* 0x25007C08: mov dword ptr [ecx + 4], edx */
  16207     edx = MEM32(eax + 0x8); /* 0x25007C0B: mov edx, dword ptr [eax + 8] */
  16208     MEM32(ecx + 0x8) = edx; /* 0x25007C0E: mov dword ptr [ecx + 8], edx */
  16209     eax = MEM32(eax + 0xC); /* 0x25007C11: mov eax, dword ptr [eax + 0xc] */
  16210     MEM32(ecx + 0xC) = eax; /* 0x25007C14: mov dword ptr [ecx + 0xc], eax */
  16211     ecx = MEM32(ebx + 0x2AC); /* 0x25007C17: mov ecx, dword ptr [ebx + 0x2ac] */
  16212     MEM32(esi + 0x2AC) = ecx; /* 0x25007C1D: mov dword ptr [esi + 0x2ac], ecx */
  16213     edx = MEM32(ebx + 0x2B0); /* 0x25007C23: mov edx, dword ptr [ebx + 0x2b0] */
  16214     MEM32(esi + 0x2B0) = edx; /* 0x25007C29: mov dword ptr [esi + 0x2b0], edx */
  16215     eax = MEM32(ebx + 0x2B4); /* 0x25007C2F: mov eax, dword ptr [ebx + 0x2b4] */
  16216     MEM32(esi + 0x2B4) = eax; /* 0x25007C35: mov dword ptr [esi + 0x2b4], eax */
  16217     ecx = MEM32(ebx + 0x2B8); /* 0x25007C3B: mov ecx, dword ptr [ebx + 0x2b8] */
  16218     MEM32(esi + 0x2B8) = ecx; /* 0x25007C41: mov dword ptr [esi + 0x2b8], ecx */
  16219     ecx = MEM32(ebp + (-0xC)); /* 0x25007C47: mov ecx, dword ptr [ebp - 0xc] */
  16220     edi = POP32_VAL(esp); /* 0x25007C4A: pop edi */
  16221     MEM32(esi) = 0x2515180Cu; /* 0x25007C4B: mov dword ptr [esi], 0x2515180c */
  16222     MEM32(esi + 0x8) = 0x251517FCu; /* 0x25007C51: mov dword ptr [esi + 8], 0x251517fc */
  16223     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25007C58: mov dword ptr [esi + 0x20], 0x251517ec */
  16224     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25007C5F: mov dword ptr [esi + 0x38], 0x251517dc */
  16225     MEM32(esi + 0x50) = 0x251517CCu; /* 0x25007C66: mov dword ptr [esi + 0x50], 0x251517cc */
  16226     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25007C6D: mov dword ptr [esi + 0x138], 0x251517bc */
  16227     MEM32(esi + 0x150) = 0x251517ACu; /* 0x25007C77: mov dword ptr [esi + 0x150], 0x251517ac */
  16228     eax = esi; /* 0x25007C81: mov eax, esi */
  16229     esi = POP32_VAL(esp); /* 0x25007C83: pop esi */
  16230     ebx = POP32_VAL(esp); /* 0x25007C84: pop ebx */
  16231     MEM32(FS_BASE + (0)) = ecx; /* 0x25007C85: mov dword ptr fs:[0], ecx */
  16232     esp = ebp; /* 0x25007C8C: mov esp, ebp */
  16233     ebp = POP32_VAL(esp); /* 0x25007C8E: pop ebp */
  16234     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007C8F: ret 4 */
  16235     RECOMP_REGS_OUT();
  16236 }
  16237 
  16238 void sub_25007A08(void) {
  16239     int _fpu_cmp = 0;
  16240     uint32_t _cf = 0;
  16241     int _df = 1;
  16242     uint32_t _flag_k = FK_NONE;
  16243     uint32_t _flag_a = 0, _flag_b = 0;
  16244     uint32_t _itail_tgt = 0;
  16245     RECOMP_REGS_LOCALS
  16246     RECOMP_ENTER(0x25007A08u);
  16247 
  16248 L_25007A08:
  16249     /* test eax, eax */ /* 0x25007A08: test eax, eax */
  16250     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16251     _cf = 0;
  16252     _flag_k = FK_TEST;
  16253     if (TEST_NS(_flag_a, _flag_b)) goto L_25007A0E; /* 0x25007A0A: jge 0x25007a0e */
  16254 L_25007A0C:
  16255     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16256     eax = 0; /* 0x25007A0C: xor eax, eax */
  16257     _cf = 0;
  16258     _flag_k = FK_TEST;
  16259 L_25007A0E:
  16260     edx = eax * 4; /* 0x25007A0E: lea edx, [eax*4] */
  16261     PUSH32(esp, edx); /* 0x25007A15: push edx */
  16262     RECOMP_ICALL(0x251380D0u); /* 0x25007A16: call 0x251380d0 */ /* not lifted */
  16263     RECOMP_FLAGS_IN();
  16264     MEM32(esi + 0x220) = eax; /* 0x25007A1B: mov dword ptr [esi + 0x220], eax */
  16265     edx = MEM32(ebx + 0x224); /* 0x25007A21: mov edx, dword ptr [ebx + 0x224] */
  16266     ecx = MEM32(ebx + 0x220); /* 0x25007A27: mov ecx, dword ptr [ebx + 0x220] */
  16267     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16268     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16269     esp = esp + 4; /* 0x25007A2D: add esp, 4 */
  16270     _flag_k = FK_ADD;
  16271     /* cmp ecx, edx */ /* 0x25007A30: cmp ecx, edx */
  16272     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16273     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16274     _flag_k = FK_CMP;
  16275     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007A46; /* 0x25007A32: je 0x25007a46 */
  16276 L_25007A34:
  16277     /* test eax, eax */ /* 0x25007A34: test eax, eax */
  16278     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16279     _cf = 0;
  16280     _flag_k = FK_TEST;
  16281     if (TEST_Z(_flag_a, _flag_b)) goto L_25007A3C; /* 0x25007A36: je 0x25007a3c */
  16282 L_25007A38:
  16283     edi = MEM32(ecx); /* 0x25007A38: mov edi, dword ptr [ecx] */
  16284     MEM32(eax) = edi; /* 0x25007A3A: mov dword ptr [eax], edi */
  16285 L_25007A3C:
  16286     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
  16287     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16288     ecx = ecx + 4; /* 0x25007A3C: add ecx, 4 */
  16289     _flag_k = FK_ADD;
  16290     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16292     eax = eax + 4; /* 0x25007A3F: add eax, 4 */
  16293     _flag_k = FK_ADD;
  16294     /* cmp ecx, edx */ /* 0x25007A42: cmp ecx, edx */
  16295     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16297     _flag_k = FK_CMP;
  16298     RECOMP_BACKEDGE();
  16299     if (CMP_NE(_flag_a, _flag_b)) goto L_25007A34; /* 0x25007A44: jne 0x25007a34 */
  16300 L_25007A46:
  16301     MEM32(esi + 0x224) = eax; /* 0x25007A46: mov dword ptr [esi + 0x224], eax */
  16302     MEM32(esi + 0x228) = eax; /* 0x25007A4C: mov dword ptr [esi + 0x228], eax */
  16303     eax = MEM32(ebx + 0x22C); /* 0x25007A52: mov eax, dword ptr [ebx + 0x22c] */
  16304     MEM32(esi + 0x22C) = eax; /* 0x25007A58: mov dword ptr [esi + 0x22c], eax */
  16305     ecx = MEM32(ebx + 0x230); /* 0x25007A5E: mov ecx, dword ptr [ebx + 0x230] */
  16306     MEM32(esi + 0x230) = ecx; /* 0x25007A64: mov dword ptr [esi + 0x230], ecx */
  16307     edx = MEM32(ebx + 0x234); /* 0x25007A6A: mov edx, dword ptr [ebx + 0x234] */
  16308     MEM32(esi + 0x234) = edx; /* 0x25007A70: mov dword ptr [esi + 0x234], edx */
  16309     eax = ebx + 0x238; /* 0x25007A76: lea eax, [ebx + 0x238] */
  16310     edx = MEM32(eax); /* 0x25007A7C: mov edx, dword ptr [eax] */
  16311     ecx = esi + 0x238; /* 0x25007A7E: lea ecx, [esi + 0x238] */
  16312     MEM32(ecx) = edx; /* 0x25007A84: mov dword ptr [ecx], edx */
  16313     edx = MEM32(eax + 0x4); /* 0x25007A86: mov edx, dword ptr [eax + 4] */
  16314     MEM32(ecx + 0x4) = edx; /* 0x25007A89: mov dword ptr [ecx + 4], edx */
  16315     eax = MEM32(eax + 0x8); /* 0x25007A8C: mov eax, dword ptr [eax + 8] */
  16316     MEM32(ecx + 0x8) = eax; /* 0x25007A8F: mov dword ptr [ecx + 8], eax */
  16317     ecx = MEM32(ebx + 0x244); /* 0x25007A92: mov ecx, dword ptr [ebx + 0x244] */
  16318     MEM32(esi + 0x244) = ecx; /* 0x25007A98: mov dword ptr [esi + 0x244], ecx */
  16319     SET_LO8(edx, MEM8(ebx + 0x248)); /* 0x25007A9E: mov dl, byte ptr [ebx + 0x248] */
  16320     MEM8(esi + 0x248) = (uint8_t)(LO8(edx)); /* 0x25007AA4: mov byte ptr [esi + 0x248], dl */
  16321     ecx = MEM32(ebx + 0x24C); /* 0x25007AAA: mov ecx, dword ptr [ebx + 0x24c] */
  16322     /* test ecx, ecx */ /* 0x25007AB0: test ecx, ecx */
  16323     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  16324     _cf = 0;
  16325     _flag_k = FK_TEST;
  16326     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25007AB2: mov byte ptr [ebp - 4], 1 */
  16327     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007ABC; /* 0x25007AB6: jne 0x25007abc */
  16328 L_25007AB8:
  16329     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16330     eax = 0; /* 0x25007AB8: xor eax, eax */
  16331     _cf = 0;
  16332     _flag_k = FK_TEST;
  16333     goto L_25007AC7; /* 0x25007ABA: jmp 0x25007ac7 */
  16334 L_25007ABC:
  16335     eax = MEM32(ebx + 0x250); /* 0x25007ABC: mov eax, dword ptr [ebx + 0x250] */
  16336     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  16337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16338     eax = eax - ecx; /* 0x25007AC2: sub eax, ecx */
  16339     _flag_k = FK_CMP;
  16340     if (6u) _cf = (((eax) >> 5) & 1u); /* 0x25007AC4: sar eax, 6 */
  16341     if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16342     eax = (uint32_t)((int32_t)eax >> 6u);
  16343 L_25007AC7:
  16344     /* test eax, eax */ /* 0x25007AC7: test eax, eax */
  16345     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16346     _cf = 0;
  16347     _flag_k = FK_TEST;
  16348     if (TEST_NS(_flag_a, _flag_b)) goto L_25007ACD; /* 0x25007AC9: jge 0x25007acd */
  16349 L_25007ACB:
  16350     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16351     eax = 0; /* 0x25007ACB: xor eax, eax */
  16352     _cf = 0;
  16353     _flag_k = FK_TEST;
  16354 L_25007ACD:
  16355     if (6u) _cf = (((eax) >> 26) & 1u); /* 0x25007ACD: shl eax, 6 */
  16356     if (6u) { _flag_a = recomp_flags_pack((eax << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16357     eax = eax << 6u; /* 0x25007ACD: shl eax, 6 */
  16358     PUSH32(esp, eax); /* 0x25007AD0: push eax */
  16359     RECOMP_ICALL(0x251380D0u); /* 0x25007AD1: call 0x251380d0 */ /* not lifted */
  16360     RECOMP_FLAGS_IN();
  16361     MEM32(esi + 0x24C) = eax; /* 0x25007AD6: mov dword ptr [esi + 0x24c], eax */
  16362     ecx = MEM32(ebx + 0x250); /* 0x25007ADC: mov ecx, dword ptr [ebx + 0x250] */
  16363     edx = MEM32(ebx + 0x24C); /* 0x25007AE2: mov edx, dword ptr [ebx + 0x24c] */
  16364     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16365     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16366     esp = esp + 4; /* 0x25007AE8: add esp, 4 */
  16367     _flag_k = FK_ADD;
  16368     /* cmp edx, ecx */ /* 0x25007AEB: cmp edx, ecx */
  16369     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16371     _flag_k = FK_CMP;
  16372     MEM32(ebp + 0x8) = ecx; /* 0x25007AED: mov dword ptr [ebp + 8], ecx */
  16373     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007B11; /* 0x25007AF0: je 0x25007b11 */
  16374 L_25007AF2:
  16375     /* test eax, eax */ /* 0x25007AF2: test eax, eax */
  16376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16377     _cf = 0;
  16378     _flag_k = FK_TEST;
  16379     if (TEST_Z(_flag_a, _flag_b)) goto L_25007B07; /* 0x25007AF4: je 0x25007b07 */
  16380 L_25007AF6:
  16381     ecx = 0x10u; /* 0x25007AF6: mov ecx, 0x10 */
  16382     esi = edx; /* 0x25007AFB: mov esi, edx */
  16383     edi = eax; /* 0x25007AFD: mov edi, eax */
  16384     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25007AFF: 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; }
  16385     esi = MEM32(ebp + (-0x10)); /* 0x25007B01: mov esi, dword ptr [ebp - 0x10] */
  16386     ecx = MEM32(ebp + 0x8); /* 0x25007B04: mov ecx, dword ptr [ebp + 8] */
  16387 L_25007B07:
  16388     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x40u);
  16389     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16390     edx = edx + 0x40u; /* 0x25007B07: add edx, 0x40 */
  16391     _flag_k = FK_ADD;
  16392     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  16393     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16394     eax = eax + 0x40u; /* 0x25007B0A: add eax, 0x40 */
  16395     _flag_k = FK_ADD;
  16396     /* cmp edx, ecx */ /* 0x25007B0D: cmp edx, ecx */
  16397     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16399     _flag_k = FK_CMP;
  16400     RECOMP_BACKEDGE();
  16401     if (CMP_NE(_flag_a, _flag_b)) goto L_25007AF2; /* 0x25007B0F: jne 0x25007af2 */
  16402 L_25007B11:
  16403     MEM32(esi + 0x250) = eax; /* 0x25007B11: mov dword ptr [esi + 0x250], eax */
  16404     MEM32(esi + 0x254) = eax; /* 0x25007B17: mov dword ptr [esi + 0x254], eax */
  16405     SET_LO8(eax, MEM8(ebx + 0x258)); /* 0x25007B1D: mov al, byte ptr [ebx + 0x258] */
  16406     MEM8(esi + 0x258) = (uint8_t)(LO8(eax)); /* 0x25007B23: mov byte ptr [esi + 0x258], al */
  16407     eax = MEM32(ebx + 0x25C); /* 0x25007B29: mov eax, dword ptr [ebx + 0x25c] */
  16408     /* test eax, eax */ /* 0x25007B2F: test eax, eax */
  16409     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16410     _cf = 0;
  16411     _flag_k = FK_TEST;
  16412     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25007B31: mov byte ptr [ebp - 4], 2 */
  16413     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007B3B; /* 0x25007B35: jne 0x25007b3b */
  16414 L_25007B37:
  16415     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16416     edx = 0; /* 0x25007B37: xor edx, edx */
  16417     _cf = 0;
  16418     _flag_k = FK_TEST;
  16419     goto L_25007B53; /* 0x25007B39: jmp 0x25007b53 */
  16420 L_25007B3B:
  16421     ecx = MEM32(ebx + 0x260); /* 0x25007B3B: mov ecx, dword ptr [ebx + 0x260] */
  16422     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  16423     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16424     ecx = ecx - eax; /* 0x25007B41: sub ecx, eax */
  16425     _flag_k = FK_CMP;
  16426     eax = 0x2AAAAAABu; /* 0x25007B43: mov eax, 0x2aaaaaab */
  16427     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25007B48: imul ecx */
  16428       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  16429       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  16430     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25007B4A: sar edx, 1 */
  16431     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16432     edx = (uint32_t)((int32_t)edx >> 1u);
  16433     ecx = edx; /* 0x25007B4C: mov ecx, edx */
  16434     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x25007B4E: shr ecx, 0x1f */
  16435     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16436     ecx = ecx >> 31u; /* 0x25007B4E: shr ecx, 0x1f */
  16437     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16438     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16439     edx = edx + ecx; /* 0x25007B51: add edx, ecx */
  16440     _flag_k = FK_ADD;
  16441 L_25007B53:
  16442     /* test edx, edx */ /* 0x25007B53: test edx, edx */
  16443     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  16444     _cf = 0;
  16445     _flag_k = FK_TEST;
  16446     eax = edx; /* 0x25007B55: mov eax, edx */
  16447     if (TEST_NS(_flag_a, _flag_b)) goto L_25007B5B; /* 0x25007B57: jge 0x25007b5b */
  16448 L_25007B59:
  16449     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16450     eax = 0; /* 0x25007B59: xor eax, eax */
  16451     _cf = 0;
  16452     _flag_k = FK_TEST;
  16453 L_25007B5B:
  16454     edx = eax + eax * 2; /* 0x25007B5B: lea edx, [eax + eax*2] */
  16455     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25007B5E: shl edx, 2 */
  16456     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16457     edx = edx << 2u; /* 0x25007B5E: shl edx, 2 */
  16458     PUSH32(esp, edx); /* 0x25007B61: push edx */
  16459     RECOMP_ICALL(0x251380D0u); /* 0x25007B62: call 0x251380d0 */ /* not lifted */
  16460     RECOMP_FLAGS_IN();
  16461     MEM32(esi + 0x25C) = eax; /* 0x25007B67: mov dword ptr [esi + 0x25c], eax */
  16462     edx = MEM32(ebx + 0x260); /* 0x25007B6D: mov edx, dword ptr [ebx + 0x260] */
  16463     ecx = MEM32(ebx + 0x25C); /* 0x25007B73: mov ecx, dword ptr [ebx + 0x25c] */
  16464     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16466     esp = esp + 4; /* 0x25007B79: add esp, 4 */
  16467     _flag_k = FK_ADD;
  16468     /* cmp ecx, edx */ /* 0x25007B7C: cmp ecx, edx */
  16469     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16471     _flag_k = FK_CMP;
  16472     MEM32(ebp + (-0x14)) = edx; /* 0x25007B7E: mov dword ptr [ebp - 0x14], edx */
  16473     MEM32(ebp + 0x8) = ecx; /* 0x25007B81: mov dword ptr [ebp + 8], ecx */
  16474     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007BAF; /* 0x25007B84: je 0x25007baf */
  16475 L_25007B86:
  16476     /* test eax, eax */ /* 0x25007B86: test eax, eax */
  16477     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16478     _cf = 0;
  16479     _flag_k = FK_TEST;
  16480     if (TEST_Z(_flag_a, _flag_b)) goto L_25007BA2; /* 0x25007B88: je 0x25007ba2 */
  16481 L_25007B8A:
  16482     edi = MEM32(ecx); /* 0x25007B8A: mov edi, dword ptr [ecx] */
  16483     edx = eax; /* 0x25007B8C: mov edx, eax */
  16484     MEM32(edx) = edi; /* 0x25007B8E: mov dword ptr [edx], edi */
  16485     edi = MEM32(ecx + 0x4); /* 0x25007B90: mov edi, dword ptr [ecx + 4] */
  16486     MEM32(edx + 0x4) = edi; /* 0x25007B93: mov dword ptr [edx + 4], edi */
  16487     ecx = MEM32(ecx + 0x8); /* 0x25007B96: mov ecx, dword ptr [ecx + 8] */
  16488     MEM32(edx + 0x8) = ecx; /* 0x25007B99: mov dword ptr [edx + 8], ecx */
  16489     ecx = MEM32(ebp + 0x8); /* 0x25007B9C: mov ecx, dword ptr [ebp + 8] */
  16490     edx = MEM32(ebp + (-0x14)); /* 0x25007B9F: mov edx, dword ptr [ebp - 0x14] */
  16491 L_25007BA2:
  16492     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  16493     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16494     ecx = ecx + 0xCu; /* 0x25007BA2: add ecx, 0xc */
  16495     _flag_k = FK_ADD;
  16496     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  16497     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16498     eax = eax + 0xCu; /* 0x25007BA5: add eax, 0xc */
  16499     _flag_k = FK_ADD;
  16500     /* cmp ecx, edx */ /* 0x25007BA8: cmp ecx, edx */
  16501     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16503     _flag_k = FK_CMP;
  16504     MEM32(ebp + 0x8) = ecx; /* 0x25007BAA: mov dword ptr [ebp + 8], ecx */
  16505     RECOMP_BACKEDGE();
  16506     if (CMP_NE(_flag_a, _flag_b)) goto L_25007B86; /* 0x25007BAD: jne 0x25007b86 */
  16507 L_25007BAF:
  16508     MEM32(esi + 0x260) = eax; /* 0x25007BAF: mov dword ptr [esi + 0x260], eax */
  16509     MEM32(esi + 0x264) = eax; /* 0x25007BB5: mov dword ptr [esi + 0x264], eax */
  16510     edx = ebx + 0x268; /* 0x25007BBB: lea edx, [ebx + 0x268] */
  16511     PUSH32(esp, edx); /* 0x25007BC1: push edx */
  16512     ecx = esi + 0x268; /* 0x25007BC2: lea ecx, [esi + 0x268] */
  16513     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25007BC8: mov byte ptr [ebp - 4], 3 */
  16514     RECOMP_ICALL(0x250E4510u); /* 0x25007BCC: call 0x250e4510 */ /* not lifted */
  16515     RECOMP_FLAGS_IN();
  16516     eax = MEM32(ebx + 0x290); /* 0x25007BD1: mov eax, dword ptr [ebx + 0x290] */
  16517     MEM32(esi + 0x290) = eax; /* 0x25007BD7: mov dword ptr [esi + 0x290], eax */
  16518     ecx = MEM32(ebx + 0x294); /* 0x25007BDD: mov ecx, dword ptr [ebx + 0x294] */
  16519     MEM32(esi + 0x294) = ecx; /* 0x25007BE3: mov dword ptr [esi + 0x294], ecx */
  16520     edx = MEM32(ebx + 0x298); /* 0x25007BE9: mov edx, dword ptr [ebx + 0x298] */
  16521     MEM32(esi + 0x298) = edx; /* 0x25007BEF: mov dword ptr [esi + 0x298], edx */
  16522     eax = ebx + 0x29C; /* 0x25007BF5: lea eax, [ebx + 0x29c] */
  16523     edx = MEM32(eax); /* 0x25007BFB: mov edx, dword ptr [eax] */
  16524     ecx = esi + 0x29C; /* 0x25007BFD: lea ecx, [esi + 0x29c] */
  16525     MEM32(ecx) = edx; /* 0x25007C03: mov dword ptr [ecx], edx */
  16526     edx = MEM32(eax + 0x4); /* 0x25007C05: mov edx, dword ptr [eax + 4] */
  16527     MEM32(ecx + 0x4) = edx; /* 0x25007C08: mov dword ptr [ecx + 4], edx */
  16528     edx = MEM32(eax + 0x8); /* 0x25007C0B: mov edx, dword ptr [eax + 8] */
  16529     MEM32(ecx + 0x8) = edx; /* 0x25007C0E: mov dword ptr [ecx + 8], edx */
  16530     eax = MEM32(eax + 0xC); /* 0x25007C11: mov eax, dword ptr [eax + 0xc] */
  16531     MEM32(ecx + 0xC) = eax; /* 0x25007C14: mov dword ptr [ecx + 0xc], eax */
  16532     ecx = MEM32(ebx + 0x2AC); /* 0x25007C17: mov ecx, dword ptr [ebx + 0x2ac] */
  16533     MEM32(esi + 0x2AC) = ecx; /* 0x25007C1D: mov dword ptr [esi + 0x2ac], ecx */
  16534     edx = MEM32(ebx + 0x2B0); /* 0x25007C23: mov edx, dword ptr [ebx + 0x2b0] */
  16535     MEM32(esi + 0x2B0) = edx; /* 0x25007C29: mov dword ptr [esi + 0x2b0], edx */
  16536     eax = MEM32(ebx + 0x2B4); /* 0x25007C2F: mov eax, dword ptr [ebx + 0x2b4] */
  16537     MEM32(esi + 0x2B4) = eax; /* 0x25007C35: mov dword ptr [esi + 0x2b4], eax */
  16538     ecx = MEM32(ebx + 0x2B8); /* 0x25007C3B: mov ecx, dword ptr [ebx + 0x2b8] */
  16539     MEM32(esi + 0x2B8) = ecx; /* 0x25007C41: mov dword ptr [esi + 0x2b8], ecx */
  16540     ecx = MEM32(ebp + (-0xC)); /* 0x25007C47: mov ecx, dword ptr [ebp - 0xc] */
  16541     edi = POP32_VAL(esp); /* 0x25007C4A: pop edi */
  16542     MEM32(esi) = 0x2515180Cu; /* 0x25007C4B: mov dword ptr [esi], 0x2515180c */
  16543     MEM32(esi + 0x8) = 0x251517FCu; /* 0x25007C51: mov dword ptr [esi + 8], 0x251517fc */
  16544     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25007C58: mov dword ptr [esi + 0x20], 0x251517ec */
  16545     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25007C5F: mov dword ptr [esi + 0x38], 0x251517dc */
  16546     MEM32(esi + 0x50) = 0x251517CCu; /* 0x25007C66: mov dword ptr [esi + 0x50], 0x251517cc */
  16547     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25007C6D: mov dword ptr [esi + 0x138], 0x251517bc */
  16548     MEM32(esi + 0x150) = 0x251517ACu; /* 0x25007C77: mov dword ptr [esi + 0x150], 0x251517ac */
  16549     eax = esi; /* 0x25007C81: mov eax, esi */
  16550     esi = POP32_VAL(esp); /* 0x25007C83: pop esi */
  16551     ebx = POP32_VAL(esp); /* 0x25007C84: pop ebx */
  16552     MEM32(FS_BASE + (0)) = ecx; /* 0x25007C85: mov dword ptr fs:[0], ecx */
  16553     esp = ebp; /* 0x25007C8C: mov esp, ebp */
  16554     ebp = POP32_VAL(esp); /* 0x25007C8E: pop ebp */
  16555     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007C8F: ret 4 */
  16556     RECOMP_REGS_OUT();
  16557 }
  16558 
  16559 void sub_25007AC7(void) {
  16560     int _fpu_cmp = 0;
  16561     uint32_t _cf = 0;
  16562     int _df = 1;
  16563     uint32_t _flag_k = FK_NONE;
  16564     uint32_t _flag_a = 0, _flag_b = 0;
  16565     uint32_t _itail_tgt = 0;
  16566     RECOMP_REGS_LOCALS
  16567     RECOMP_ENTER(0x25007AC7u);
  16568 
  16569 L_25007AC7:
  16570     /* test eax, eax */ /* 0x25007AC7: test eax, eax */
  16571     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16572     _cf = 0;
  16573     _flag_k = FK_TEST;
  16574     if (TEST_NS(_flag_a, _flag_b)) goto L_25007ACD; /* 0x25007AC9: jge 0x25007acd */
  16575 L_25007ACB:
  16576     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16577     eax = 0; /* 0x25007ACB: xor eax, eax */
  16578     _cf = 0;
  16579     _flag_k = FK_TEST;
  16580 L_25007ACD:
  16581     if (6u) _cf = (((eax) >> 26) & 1u); /* 0x25007ACD: shl eax, 6 */
  16582     if (6u) { _flag_a = recomp_flags_pack((eax << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16583     eax = eax << 6u; /* 0x25007ACD: shl eax, 6 */
  16584     PUSH32(esp, eax); /* 0x25007AD0: push eax */
  16585     RECOMP_ICALL(0x251380D0u); /* 0x25007AD1: call 0x251380d0 */ /* not lifted */
  16586     RECOMP_FLAGS_IN();
  16587     MEM32(esi + 0x24C) = eax; /* 0x25007AD6: mov dword ptr [esi + 0x24c], eax */
  16588     ecx = MEM32(ebx + 0x250); /* 0x25007ADC: mov ecx, dword ptr [ebx + 0x250] */
  16589     edx = MEM32(ebx + 0x24C); /* 0x25007AE2: mov edx, dword ptr [ebx + 0x24c] */
  16590     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16591     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16592     esp = esp + 4; /* 0x25007AE8: add esp, 4 */
  16593     _flag_k = FK_ADD;
  16594     /* cmp edx, ecx */ /* 0x25007AEB: cmp edx, ecx */
  16595     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16597     _flag_k = FK_CMP;
  16598     MEM32(ebp + 0x8) = ecx; /* 0x25007AED: mov dword ptr [ebp + 8], ecx */
  16599     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007B11; /* 0x25007AF0: je 0x25007b11 */
  16600 L_25007AF2:
  16601     /* test eax, eax */ /* 0x25007AF2: test eax, eax */
  16602     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16603     _cf = 0;
  16604     _flag_k = FK_TEST;
  16605     if (TEST_Z(_flag_a, _flag_b)) goto L_25007B07; /* 0x25007AF4: je 0x25007b07 */
  16606 L_25007AF6:
  16607     ecx = 0x10u; /* 0x25007AF6: mov ecx, 0x10 */
  16608     esi = edx; /* 0x25007AFB: mov esi, edx */
  16609     edi = eax; /* 0x25007AFD: mov edi, eax */
  16610     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25007AFF: 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; }
  16611     esi = MEM32(ebp + (-0x10)); /* 0x25007B01: mov esi, dword ptr [ebp - 0x10] */
  16612     ecx = MEM32(ebp + 0x8); /* 0x25007B04: mov ecx, dword ptr [ebp + 8] */
  16613 L_25007B07:
  16614     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x40u);
  16615     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16616     edx = edx + 0x40u; /* 0x25007B07: add edx, 0x40 */
  16617     _flag_k = FK_ADD;
  16618     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  16619     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16620     eax = eax + 0x40u; /* 0x25007B0A: add eax, 0x40 */
  16621     _flag_k = FK_ADD;
  16622     /* cmp edx, ecx */ /* 0x25007B0D: cmp edx, ecx */
  16623     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16625     _flag_k = FK_CMP;
  16626     RECOMP_BACKEDGE();
  16627     if (CMP_NE(_flag_a, _flag_b)) goto L_25007AF2; /* 0x25007B0F: jne 0x25007af2 */
  16628 L_25007B11:
  16629     MEM32(esi + 0x250) = eax; /* 0x25007B11: mov dword ptr [esi + 0x250], eax */
  16630     MEM32(esi + 0x254) = eax; /* 0x25007B17: mov dword ptr [esi + 0x254], eax */
  16631     SET_LO8(eax, MEM8(ebx + 0x258)); /* 0x25007B1D: mov al, byte ptr [ebx + 0x258] */
  16632     MEM8(esi + 0x258) = (uint8_t)(LO8(eax)); /* 0x25007B23: mov byte ptr [esi + 0x258], al */
  16633     eax = MEM32(ebx + 0x25C); /* 0x25007B29: mov eax, dword ptr [ebx + 0x25c] */
  16634     /* test eax, eax */ /* 0x25007B2F: test eax, eax */
  16635     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16636     _cf = 0;
  16637     _flag_k = FK_TEST;
  16638     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x25007B31: mov byte ptr [ebp - 4], 2 */
  16639     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007B3B; /* 0x25007B35: jne 0x25007b3b */
  16640 L_25007B37:
  16641     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16642     edx = 0; /* 0x25007B37: xor edx, edx */
  16643     _cf = 0;
  16644     _flag_k = FK_TEST;
  16645     goto L_25007B53; /* 0x25007B39: jmp 0x25007b53 */
  16646 L_25007B3B:
  16647     ecx = MEM32(ebx + 0x260); /* 0x25007B3B: mov ecx, dword ptr [ebx + 0x260] */
  16648     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  16649     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16650     ecx = ecx - eax; /* 0x25007B41: sub ecx, eax */
  16651     _flag_k = FK_CMP;
  16652     eax = 0x2AAAAAABu; /* 0x25007B43: mov eax, 0x2aaaaaab */
  16653     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25007B48: imul ecx */
  16654       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  16655       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  16656     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25007B4A: sar edx, 1 */
  16657     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16658     edx = (uint32_t)((int32_t)edx >> 1u);
  16659     ecx = edx; /* 0x25007B4C: mov ecx, edx */
  16660     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x25007B4E: shr ecx, 0x1f */
  16661     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16662     ecx = ecx >> 31u; /* 0x25007B4E: shr ecx, 0x1f */
  16663     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  16664     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16665     edx = edx + ecx; /* 0x25007B51: add edx, ecx */
  16666     _flag_k = FK_ADD;
  16667 L_25007B53:
  16668     /* test edx, edx */ /* 0x25007B53: test edx, edx */
  16669     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  16670     _cf = 0;
  16671     _flag_k = FK_TEST;
  16672     eax = edx; /* 0x25007B55: mov eax, edx */
  16673     if (TEST_NS(_flag_a, _flag_b)) goto L_25007B5B; /* 0x25007B57: jge 0x25007b5b */
  16674 L_25007B59:
  16675     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16676     eax = 0; /* 0x25007B59: xor eax, eax */
  16677     _cf = 0;
  16678     _flag_k = FK_TEST;
  16679 L_25007B5B:
  16680     edx = eax + eax * 2; /* 0x25007B5B: lea edx, [eax + eax*2] */
  16681     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25007B5E: shl edx, 2 */
  16682     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16683     edx = edx << 2u; /* 0x25007B5E: shl edx, 2 */
  16684     PUSH32(esp, edx); /* 0x25007B61: push edx */
  16685     RECOMP_ICALL(0x251380D0u); /* 0x25007B62: call 0x251380d0 */ /* not lifted */
  16686     RECOMP_FLAGS_IN();
  16687     MEM32(esi + 0x25C) = eax; /* 0x25007B67: mov dword ptr [esi + 0x25c], eax */
  16688     edx = MEM32(ebx + 0x260); /* 0x25007B6D: mov edx, dword ptr [ebx + 0x260] */
  16689     ecx = MEM32(ebx + 0x25C); /* 0x25007B73: mov ecx, dword ptr [ebx + 0x25c] */
  16690     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16691     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16692     esp = esp + 4; /* 0x25007B79: add esp, 4 */
  16693     _flag_k = FK_ADD;
  16694     /* cmp ecx, edx */ /* 0x25007B7C: cmp ecx, edx */
  16695     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16696     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16697     _flag_k = FK_CMP;
  16698     MEM32(ebp + (-0x14)) = edx; /* 0x25007B7E: mov dword ptr [ebp - 0x14], edx */
  16699     MEM32(ebp + 0x8) = ecx; /* 0x25007B81: mov dword ptr [ebp + 8], ecx */
  16700     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007BAF; /* 0x25007B84: je 0x25007baf */
  16701 L_25007B86:
  16702     /* test eax, eax */ /* 0x25007B86: test eax, eax */
  16703     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16704     _cf = 0;
  16705     _flag_k = FK_TEST;
  16706     if (TEST_Z(_flag_a, _flag_b)) goto L_25007BA2; /* 0x25007B88: je 0x25007ba2 */
  16707 L_25007B8A:
  16708     edi = MEM32(ecx); /* 0x25007B8A: mov edi, dword ptr [ecx] */
  16709     edx = eax; /* 0x25007B8C: mov edx, eax */
  16710     MEM32(edx) = edi; /* 0x25007B8E: mov dword ptr [edx], edi */
  16711     edi = MEM32(ecx + 0x4); /* 0x25007B90: mov edi, dword ptr [ecx + 4] */
  16712     MEM32(edx + 0x4) = edi; /* 0x25007B93: mov dword ptr [edx + 4], edi */
  16713     ecx = MEM32(ecx + 0x8); /* 0x25007B96: mov ecx, dword ptr [ecx + 8] */
  16714     MEM32(edx + 0x8) = ecx; /* 0x25007B99: mov dword ptr [edx + 8], ecx */
  16715     ecx = MEM32(ebp + 0x8); /* 0x25007B9C: mov ecx, dword ptr [ebp + 8] */
  16716     edx = MEM32(ebp + (-0x14)); /* 0x25007B9F: mov edx, dword ptr [ebp - 0x14] */
  16717 L_25007BA2:
  16718     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  16719     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16720     ecx = ecx + 0xCu; /* 0x25007BA2: add ecx, 0xc */
  16721     _flag_k = FK_ADD;
  16722     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  16723     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16724     eax = eax + 0xCu; /* 0x25007BA5: add eax, 0xc */
  16725     _flag_k = FK_ADD;
  16726     /* cmp ecx, edx */ /* 0x25007BA8: cmp ecx, edx */
  16727     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16728     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16729     _flag_k = FK_CMP;
  16730     MEM32(ebp + 0x8) = ecx; /* 0x25007BAA: mov dword ptr [ebp + 8], ecx */
  16731     RECOMP_BACKEDGE();
  16732     if (CMP_NE(_flag_a, _flag_b)) goto L_25007B86; /* 0x25007BAD: jne 0x25007b86 */
  16733 L_25007BAF:
  16734     MEM32(esi + 0x260) = eax; /* 0x25007BAF: mov dword ptr [esi + 0x260], eax */
  16735     MEM32(esi + 0x264) = eax; /* 0x25007BB5: mov dword ptr [esi + 0x264], eax */
  16736     edx = ebx + 0x268; /* 0x25007BBB: lea edx, [ebx + 0x268] */
  16737     PUSH32(esp, edx); /* 0x25007BC1: push edx */
  16738     ecx = esi + 0x268; /* 0x25007BC2: lea ecx, [esi + 0x268] */
  16739     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25007BC8: mov byte ptr [ebp - 4], 3 */
  16740     RECOMP_ICALL(0x250E4510u); /* 0x25007BCC: call 0x250e4510 */ /* not lifted */
  16741     RECOMP_FLAGS_IN();
  16742     eax = MEM32(ebx + 0x290); /* 0x25007BD1: mov eax, dword ptr [ebx + 0x290] */
  16743     MEM32(esi + 0x290) = eax; /* 0x25007BD7: mov dword ptr [esi + 0x290], eax */
  16744     ecx = MEM32(ebx + 0x294); /* 0x25007BDD: mov ecx, dword ptr [ebx + 0x294] */
  16745     MEM32(esi + 0x294) = ecx; /* 0x25007BE3: mov dword ptr [esi + 0x294], ecx */
  16746     edx = MEM32(ebx + 0x298); /* 0x25007BE9: mov edx, dword ptr [ebx + 0x298] */
  16747     MEM32(esi + 0x298) = edx; /* 0x25007BEF: mov dword ptr [esi + 0x298], edx */
  16748     eax = ebx + 0x29C; /* 0x25007BF5: lea eax, [ebx + 0x29c] */
  16749     edx = MEM32(eax); /* 0x25007BFB: mov edx, dword ptr [eax] */
  16750     ecx = esi + 0x29C; /* 0x25007BFD: lea ecx, [esi + 0x29c] */
  16751     MEM32(ecx) = edx; /* 0x25007C03: mov dword ptr [ecx], edx */
  16752     edx = MEM32(eax + 0x4); /* 0x25007C05: mov edx, dword ptr [eax + 4] */
  16753     MEM32(ecx + 0x4) = edx; /* 0x25007C08: mov dword ptr [ecx + 4], edx */
  16754     edx = MEM32(eax + 0x8); /* 0x25007C0B: mov edx, dword ptr [eax + 8] */
  16755     MEM32(ecx + 0x8) = edx; /* 0x25007C0E: mov dword ptr [ecx + 8], edx */
  16756     eax = MEM32(eax + 0xC); /* 0x25007C11: mov eax, dword ptr [eax + 0xc] */
  16757     MEM32(ecx + 0xC) = eax; /* 0x25007C14: mov dword ptr [ecx + 0xc], eax */
  16758     ecx = MEM32(ebx + 0x2AC); /* 0x25007C17: mov ecx, dword ptr [ebx + 0x2ac] */
  16759     MEM32(esi + 0x2AC) = ecx; /* 0x25007C1D: mov dword ptr [esi + 0x2ac], ecx */
  16760     edx = MEM32(ebx + 0x2B0); /* 0x25007C23: mov edx, dword ptr [ebx + 0x2b0] */
  16761     MEM32(esi + 0x2B0) = edx; /* 0x25007C29: mov dword ptr [esi + 0x2b0], edx */
  16762     eax = MEM32(ebx + 0x2B4); /* 0x25007C2F: mov eax, dword ptr [ebx + 0x2b4] */
  16763     MEM32(esi + 0x2B4) = eax; /* 0x25007C35: mov dword ptr [esi + 0x2b4], eax */
  16764     ecx = MEM32(ebx + 0x2B8); /* 0x25007C3B: mov ecx, dword ptr [ebx + 0x2b8] */
  16765     MEM32(esi + 0x2B8) = ecx; /* 0x25007C41: mov dword ptr [esi + 0x2b8], ecx */
  16766     ecx = MEM32(ebp + (-0xC)); /* 0x25007C47: mov ecx, dword ptr [ebp - 0xc] */
  16767     edi = POP32_VAL(esp); /* 0x25007C4A: pop edi */
  16768     MEM32(esi) = 0x2515180Cu; /* 0x25007C4B: mov dword ptr [esi], 0x2515180c */
  16769     MEM32(esi + 0x8) = 0x251517FCu; /* 0x25007C51: mov dword ptr [esi + 8], 0x251517fc */
  16770     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25007C58: mov dword ptr [esi + 0x20], 0x251517ec */
  16771     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25007C5F: mov dword ptr [esi + 0x38], 0x251517dc */
  16772     MEM32(esi + 0x50) = 0x251517CCu; /* 0x25007C66: mov dword ptr [esi + 0x50], 0x251517cc */
  16773     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25007C6D: mov dword ptr [esi + 0x138], 0x251517bc */
  16774     MEM32(esi + 0x150) = 0x251517ACu; /* 0x25007C77: mov dword ptr [esi + 0x150], 0x251517ac */
  16775     eax = esi; /* 0x25007C81: mov eax, esi */
  16776     esi = POP32_VAL(esp); /* 0x25007C83: pop esi */
  16777     ebx = POP32_VAL(esp); /* 0x25007C84: pop ebx */
  16778     MEM32(FS_BASE + (0)) = ecx; /* 0x25007C85: mov dword ptr fs:[0], ecx */
  16779     esp = ebp; /* 0x25007C8C: mov esp, ebp */
  16780     ebp = POP32_VAL(esp); /* 0x25007C8E: pop ebp */
  16781     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007C8F: ret 4 */
  16782     RECOMP_REGS_OUT();
  16783 }
  16784 
  16785 void sub_25007B53(void) {
  16786     int _fpu_cmp = 0;
  16787     uint32_t _cf = 0;
  16788     int _df = 1;
  16789     uint32_t _flag_k = FK_NONE;
  16790     uint32_t _flag_a = 0, _flag_b = 0;
  16791     uint32_t _itail_tgt = 0;
  16792     RECOMP_REGS_LOCALS
  16793     RECOMP_ENTER(0x25007B53u);
  16794 
  16795 L_25007B53:
  16796     /* test edx, edx */ /* 0x25007B53: test edx, edx */
  16797     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
  16798     _cf = 0;
  16799     _flag_k = FK_TEST;
  16800     eax = edx; /* 0x25007B55: mov eax, edx */
  16801     if (TEST_NS(_flag_a, _flag_b)) goto L_25007B5B; /* 0x25007B57: jge 0x25007b5b */
  16802 L_25007B59:
  16803     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16804     eax = 0; /* 0x25007B59: xor eax, eax */
  16805     _cf = 0;
  16806     _flag_k = FK_TEST;
  16807 L_25007B5B:
  16808     edx = eax + eax * 2; /* 0x25007B5B: lea edx, [eax + eax*2] */
  16809     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x25007B5E: shl edx, 2 */
  16810     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  16811     edx = edx << 2u; /* 0x25007B5E: shl edx, 2 */
  16812     PUSH32(esp, edx); /* 0x25007B61: push edx */
  16813     RECOMP_ICALL(0x251380D0u); /* 0x25007B62: call 0x251380d0 */ /* not lifted */
  16814     RECOMP_FLAGS_IN();
  16815     MEM32(esi + 0x25C) = eax; /* 0x25007B67: mov dword ptr [esi + 0x25c], eax */
  16816     edx = MEM32(ebx + 0x260); /* 0x25007B6D: mov edx, dword ptr [ebx + 0x260] */
  16817     ecx = MEM32(ebx + 0x25C); /* 0x25007B73: mov ecx, dword ptr [ebx + 0x25c] */
  16818     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16820     esp = esp + 4; /* 0x25007B79: add esp, 4 */
  16821     _flag_k = FK_ADD;
  16822     /* cmp ecx, edx */ /* 0x25007B7C: cmp ecx, edx */
  16823     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16825     _flag_k = FK_CMP;
  16826     MEM32(ebp + (-0x14)) = edx; /* 0x25007B7E: mov dword ptr [ebp - 0x14], edx */
  16827     MEM32(ebp + 0x8) = ecx; /* 0x25007B81: mov dword ptr [ebp + 8], ecx */
  16828     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007BAF; /* 0x25007B84: je 0x25007baf */
  16829 L_25007B86:
  16830     /* test eax, eax */ /* 0x25007B86: test eax, eax */
  16831     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  16832     _cf = 0;
  16833     _flag_k = FK_TEST;
  16834     if (TEST_Z(_flag_a, _flag_b)) goto L_25007BA2; /* 0x25007B88: je 0x25007ba2 */
  16835 L_25007B8A:
  16836     edi = MEM32(ecx); /* 0x25007B8A: mov edi, dword ptr [ecx] */
  16837     edx = eax; /* 0x25007B8C: mov edx, eax */
  16838     MEM32(edx) = edi; /* 0x25007B8E: mov dword ptr [edx], edi */
  16839     edi = MEM32(ecx + 0x4); /* 0x25007B90: mov edi, dword ptr [ecx + 4] */
  16840     MEM32(edx + 0x4) = edi; /* 0x25007B93: mov dword ptr [edx + 4], edi */
  16841     ecx = MEM32(ecx + 0x8); /* 0x25007B96: mov ecx, dword ptr [ecx + 8] */
  16842     MEM32(edx + 0x8) = ecx; /* 0x25007B99: mov dword ptr [edx + 8], ecx */
  16843     ecx = MEM32(ebp + 0x8); /* 0x25007B9C: mov ecx, dword ptr [ebp + 8] */
  16844     edx = MEM32(ebp + (-0x14)); /* 0x25007B9F: mov edx, dword ptr [ebp - 0x14] */
  16845 L_25007BA2:
  16846     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  16847     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16848     ecx = ecx + 0xCu; /* 0x25007BA2: add ecx, 0xc */
  16849     _flag_k = FK_ADD;
  16850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  16851     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16852     eax = eax + 0xCu; /* 0x25007BA5: add eax, 0xc */
  16853     _flag_k = FK_ADD;
  16854     /* cmp ecx, edx */ /* 0x25007BA8: cmp ecx, edx */
  16855     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16856     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16857     _flag_k = FK_CMP;
  16858     MEM32(ebp + 0x8) = ecx; /* 0x25007BAA: mov dword ptr [ebp + 8], ecx */
  16859     RECOMP_BACKEDGE();
  16860     if (CMP_NE(_flag_a, _flag_b)) goto L_25007B86; /* 0x25007BAD: jne 0x25007b86 */
  16861 L_25007BAF:
  16862     MEM32(esi + 0x260) = eax; /* 0x25007BAF: mov dword ptr [esi + 0x260], eax */
  16863     MEM32(esi + 0x264) = eax; /* 0x25007BB5: mov dword ptr [esi + 0x264], eax */
  16864     edx = ebx + 0x268; /* 0x25007BBB: lea edx, [ebx + 0x268] */
  16865     PUSH32(esp, edx); /* 0x25007BC1: push edx */
  16866     ecx = esi + 0x268; /* 0x25007BC2: lea ecx, [esi + 0x268] */
  16867     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25007BC8: mov byte ptr [ebp - 4], 3 */
  16868     RECOMP_ICALL(0x250E4510u); /* 0x25007BCC: call 0x250e4510 */ /* not lifted */
  16869     RECOMP_FLAGS_IN();
  16870     eax = MEM32(ebx + 0x290); /* 0x25007BD1: mov eax, dword ptr [ebx + 0x290] */
  16871     MEM32(esi + 0x290) = eax; /* 0x25007BD7: mov dword ptr [esi + 0x290], eax */
  16872     ecx = MEM32(ebx + 0x294); /* 0x25007BDD: mov ecx, dword ptr [ebx + 0x294] */
  16873     MEM32(esi + 0x294) = ecx; /* 0x25007BE3: mov dword ptr [esi + 0x294], ecx */
  16874     edx = MEM32(ebx + 0x298); /* 0x25007BE9: mov edx, dword ptr [ebx + 0x298] */
  16875     MEM32(esi + 0x298) = edx; /* 0x25007BEF: mov dword ptr [esi + 0x298], edx */
  16876     eax = ebx + 0x29C; /* 0x25007BF5: lea eax, [ebx + 0x29c] */
  16877     edx = MEM32(eax); /* 0x25007BFB: mov edx, dword ptr [eax] */
  16878     ecx = esi + 0x29C; /* 0x25007BFD: lea ecx, [esi + 0x29c] */
  16879     MEM32(ecx) = edx; /* 0x25007C03: mov dword ptr [ecx], edx */
  16880     edx = MEM32(eax + 0x4); /* 0x25007C05: mov edx, dword ptr [eax + 4] */
  16881     MEM32(ecx + 0x4) = edx; /* 0x25007C08: mov dword ptr [ecx + 4], edx */
  16882     edx = MEM32(eax + 0x8); /* 0x25007C0B: mov edx, dword ptr [eax + 8] */
  16883     MEM32(ecx + 0x8) = edx; /* 0x25007C0E: mov dword ptr [ecx + 8], edx */
  16884     eax = MEM32(eax + 0xC); /* 0x25007C11: mov eax, dword ptr [eax + 0xc] */
  16885     MEM32(ecx + 0xC) = eax; /* 0x25007C14: mov dword ptr [ecx + 0xc], eax */
  16886     ecx = MEM32(ebx + 0x2AC); /* 0x25007C17: mov ecx, dword ptr [ebx + 0x2ac] */
  16887     MEM32(esi + 0x2AC) = ecx; /* 0x25007C1D: mov dword ptr [esi + 0x2ac], ecx */
  16888     edx = MEM32(ebx + 0x2B0); /* 0x25007C23: mov edx, dword ptr [ebx + 0x2b0] */
  16889     MEM32(esi + 0x2B0) = edx; /* 0x25007C29: mov dword ptr [esi + 0x2b0], edx */
  16890     eax = MEM32(ebx + 0x2B4); /* 0x25007C2F: mov eax, dword ptr [ebx + 0x2b4] */
  16891     MEM32(esi + 0x2B4) = eax; /* 0x25007C35: mov dword ptr [esi + 0x2b4], eax */
  16892     ecx = MEM32(ebx + 0x2B8); /* 0x25007C3B: mov ecx, dword ptr [ebx + 0x2b8] */
  16893     MEM32(esi + 0x2B8) = ecx; /* 0x25007C41: mov dword ptr [esi + 0x2b8], ecx */
  16894     ecx = MEM32(ebp + (-0xC)); /* 0x25007C47: mov ecx, dword ptr [ebp - 0xc] */
  16895     edi = POP32_VAL(esp); /* 0x25007C4A: pop edi */
  16896     MEM32(esi) = 0x2515180Cu; /* 0x25007C4B: mov dword ptr [esi], 0x2515180c */
  16897     MEM32(esi + 0x8) = 0x251517FCu; /* 0x25007C51: mov dword ptr [esi + 8], 0x251517fc */
  16898     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25007C58: mov dword ptr [esi + 0x20], 0x251517ec */
  16899     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25007C5F: mov dword ptr [esi + 0x38], 0x251517dc */
  16900     MEM32(esi + 0x50) = 0x251517CCu; /* 0x25007C66: mov dword ptr [esi + 0x50], 0x251517cc */
  16901     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25007C6D: mov dword ptr [esi + 0x138], 0x251517bc */
  16902     MEM32(esi + 0x150) = 0x251517ACu; /* 0x25007C77: mov dword ptr [esi + 0x150], 0x251517ac */
  16903     eax = esi; /* 0x25007C81: mov eax, esi */
  16904     esi = POP32_VAL(esp); /* 0x25007C83: pop esi */
  16905     ebx = POP32_VAL(esp); /* 0x25007C84: pop ebx */
  16906     MEM32(FS_BASE + (0)) = ecx; /* 0x25007C85: mov dword ptr fs:[0], ecx */
  16907     esp = ebp; /* 0x25007C8C: mov esp, ebp */
  16908     ebp = POP32_VAL(esp); /* 0x25007C8E: pop ebp */
  16909     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25007C8F: ret 4 */
  16910     RECOMP_REGS_OUT();
  16911 }
  16912 
  16913 void sub_25007CA0(void) {
  16914     int _fpu_cmp = 0;
  16915     uint32_t _cf = 0;
  16916     int _df = 1;
  16917     uint32_t _flag_k = FK_NONE;
  16918     uint32_t _flag_a = 0, _flag_b = 0;
  16919     uint32_t _itail_tgt = 0;
  16920     RECOMP_REGS_LOCALS
  16921     RECOMP_ENTER(0x25007CA0u);
  16922 
  16923 L_25007CA0:
  16924     PUSH32(esp, ebp); /* 0x25007CA0: push ebp */
  16925     ebp = esp; /* 0x25007CA1: mov ebp, esp */
  16926     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  16927     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16928     esp = esp - 0xCu; /* 0x25007CA3: sub esp, 0xc */
  16929     _flag_k = FK_CMP;
  16930     PUSH32(esp, ebx); /* 0x25007CA6: push ebx */
  16931     PUSH32(esp, esi); /* 0x25007CA7: push esi */
  16932     esi = MEM32(ebp + 0x8); /* 0x25007CA8: mov esi, dword ptr [ebp + 8] */
  16933     ebx = ecx; /* 0x25007CAB: mov ebx, ecx */
  16934     PUSH32(esp, esi); /* 0x25007CAD: push esi */
  16935     RECOMP_ICALL(0x25006CA0u); /* 0x25007CAE: call 0x25006ca0 */ /* not lifted */
  16936     RECOMP_FLAGS_IN();
  16937     /* test esi, esi */ /* 0x25007CB3: test esi, esi */
  16938     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
  16939     _cf = 0;
  16940     _flag_k = FK_TEST;
  16941     if (TEST_Z(_flag_a, _flag_b)) goto L_25007CBF; /* 0x25007CB5: je 0x25007cbf */
  16942 L_25007CB7:
  16943     eax = esi + 0x138; /* 0x25007CB7: lea eax, [esi + 0x138] */
  16944     goto L_25007CC1; /* 0x25007CBD: jmp 0x25007cc1 */
  16945 L_25007CBF:
  16946     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16947     eax = 0; /* 0x25007CBF: xor eax, eax */
  16948     _cf = 0;
  16949     _flag_k = FK_TEST;
  16950 L_25007CC1:
  16951     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16953     eax = eax + 4; /* 0x25007CC1: add eax, 4 */
  16954     _flag_k = FK_ADD;
  16955     PUSH32(esp, eax); /* 0x25007CC4: push eax */
  16956     ecx = ebx + 0x13C; /* 0x25007CC5: lea ecx, [ebx + 0x13c] */
  16957     RECOMP_ICALL(0x25009590u); /* 0x25007CCB: call 0x25009590 */ /* not lifted */
  16958     RECOMP_FLAGS_IN();
  16959     /* test esi, esi */ /* 0x25007CD0: test esi, esi */
  16960     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
  16961     _cf = 0;
  16962     _flag_k = FK_TEST;
  16963     if (TEST_Z(_flag_a, _flag_b)) goto L_25007CDC; /* 0x25007CD2: je 0x25007cdc */
  16964 L_25007CD4:
  16965     eax = esi + 0x150; /* 0x25007CD4: lea eax, [esi + 0x150] */
  16966     goto L_25007CDE; /* 0x25007CDA: jmp 0x25007cde */
  16967 L_25007CDC:
  16968     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16969     eax = 0; /* 0x25007CDC: xor eax, eax */
  16970     _cf = 0;
  16971     _flag_k = FK_TEST;
  16972 L_25007CDE:
  16973     PUSH32(esp, edi); /* 0x25007CDE: push edi */
  16974     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16975     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16976     eax = eax + 4; /* 0x25007CDF: add eax, 4 */
  16977     _flag_k = FK_ADD;
  16978     PUSH32(esp, eax); /* 0x25007CE2: push eax */
  16979     ecx = ebx + 0x154; /* 0x25007CE3: lea ecx, [ebx + 0x154] */
  16980     RECOMP_ICALL(0x25009710u); /* 0x25007CE9: call 0x25009710 */ /* not lifted */
  16981     RECOMP_FLAGS_IN();
  16982     eax = MEM32(esi + 0x168); /* 0x25007CEE: mov eax, dword ptr [esi + 0x168] */
  16983     edx = esi; /* 0x25007CF4: mov edx, esi */
  16984     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
  16985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16986     edx = edx - ebx; /* 0x25007CF6: sub edx, ebx */
  16987     _flag_k = FK_CMP;
  16988     MEM32(ebx + 0x168) = eax; /* 0x25007CF8: mov dword ptr [ebx + 0x168], eax */
  16989     ecx = esi + 0x16C; /* 0x25007CFE: lea ecx, [esi + 0x16c] */
  16990     eax = ebx + 0x170; /* 0x25007D04: lea eax, [ebx + 0x170] */
  16991     MEM32(ebp + (-0xC)) = edx; /* 0x25007D0A: mov dword ptr [ebp - 0xc], edx */
  16992     MEM32(ebp + (-0x4)) = 8; /* 0x25007D0D: mov dword ptr [ebp - 4], 8 */
  16993 L_25007D14:
  16994     edi = MEM32(ecx); /* 0x25007D14: mov edi, dword ptr [ecx] */
  16995     MEM32(eax + (-0x4)) = edi; /* 0x25007D16: mov dword ptr [eax - 4], edi */
  16996     edi = MEM32(edx + eax); /* 0x25007D19: mov edi, dword ptr [edx + eax] */
  16997     MEM32(eax) = edi; /* 0x25007D1C: mov dword ptr [eax], edi */
  16998     edi = MEM32(ebp + (-0x4)); /* 0x25007D1E: mov edi, dword ptr [ebp - 4] */
  16999     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  17000     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17001     ecx = ecx + 8; /* 0x25007D21: add ecx, 8 */
  17002     _flag_k = FK_ADD;
  17003     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
  17004     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17005     eax = eax + 8; /* 0x25007D24: add eax, 8 */
  17006     _flag_k = FK_ADD;
  17007     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  17008     edi = edi - 1; /* 0x25007D27: dec edi */
  17009     _flag_k = FK_DEC;
  17010     MEM32(ebp + (-0x4)) = edi; /* 0x25007D28: mov dword ptr [ebp - 4], edi */
  17011     RECOMP_BACKEDGE();
  17012     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_25007D14; /* 0x25007D2B: jne 0x25007d14 */
  17013 L_25007D2D:
  17014     SET_LO8(ecx, MEM8(esi + 0x1AC)); /* 0x25007D2D: mov cl, byte ptr [esi + 0x1ac] */
  17015     MEM8(ebx + 0x1AC) = (uint8_t)(LO8(ecx)); /* 0x25007D33: mov byte ptr [ebx + 0x1ac], cl */
  17016     SET_LO8(edx, MEM8(esi + 0x1AD)); /* 0x25007D39: mov dl, byte ptr [esi + 0x1ad] */
  17017     MEM8(ebx + 0x1AD) = (uint8_t)(LO8(edx)); /* 0x25007D3F: mov byte ptr [ebx + 0x1ad], dl */
  17018     SET_LO8(eax, MEM8(esi + 0x1AE)); /* 0x25007D45: mov al, byte ptr [esi + 0x1ae] */
  17019     MEM8(ebx + 0x1AE) = (uint8_t)(LO8(eax)); /* 0x25007D4B: mov byte ptr [ebx + 0x1ae], al */
  17020     ecx = MEM32(esi + 0x1B0); /* 0x25007D51: mov ecx, dword ptr [esi + 0x1b0] */
  17021     MEM32(ebx + 0x1B0) = ecx; /* 0x25007D57: mov dword ptr [ebx + 0x1b0], ecx */
  17022     edx = MEM32(esi + 0x1B4); /* 0x25007D5D: mov edx, dword ptr [esi + 0x1b4] */
  17023     eax = esi + 0x1B8; /* 0x25007D63: lea eax, [esi + 0x1b8] */
  17024     PUSH32(esp, eax); /* 0x25007D69: push eax */
  17025     ecx = ebx + 0x1B8; /* 0x25007D6A: lea ecx, [ebx + 0x1b8] */
  17026     MEM32(ebx + 0x1B4) = edx; /* 0x25007D70: mov dword ptr [ebx + 0x1b4], edx */
  17027     RECOMP_ICALL(0x25005990u); /* 0x25007D76: call 0x25005990 */ /* not lifted */
  17028     RECOMP_FLAGS_IN();
  17029     ecx = MEM32(esi + 0x1C8); /* 0x25007D7B: mov ecx, dword ptr [esi + 0x1c8] */
  17030     MEM32(ebx + 0x1C8) = ecx; /* 0x25007D81: mov dword ptr [ebx + 0x1c8], ecx */
  17031     SET_LO8(edx, MEM8(esi + 0x1CC)); /* 0x25007D87: mov dl, byte ptr [esi + 0x1cc] */
  17032     MEM8(ebx + 0x1CC) = (uint8_t)(LO8(edx)); /* 0x25007D8D: mov byte ptr [ebx + 0x1cc], dl */
  17033     eax = MEM32(esi + 0x1D0); /* 0x25007D93: mov eax, dword ptr [esi + 0x1d0] */
  17034     MEM32(ebx + 0x1D0) = eax; /* 0x25007D99: mov dword ptr [ebx + 0x1d0], eax */
  17035     SET_LO8(ecx, MEM8(esi + 0x1D4)); /* 0x25007D9F: mov cl, byte ptr [esi + 0x1d4] */
  17036     MEM8(ebx + 0x1D4) = (uint8_t)(LO8(ecx)); /* 0x25007DA5: mov byte ptr [ebx + 0x1d4], cl */
  17037     edx = esi + 0x1D8; /* 0x25007DAB: lea edx, [esi + 0x1d8] */
  17038     ecx = MEM32(edx); /* 0x25007DB1: mov ecx, dword ptr [edx] */
  17039     eax = ebx + 0x1D8; /* 0x25007DB3: lea eax, [ebx + 0x1d8] */
  17040     MEM32(eax) = ecx; /* 0x25007DB9: mov dword ptr [eax], ecx */
  17041     ecx = MEM32(edx + 0x4); /* 0x25007DBB: mov ecx, dword ptr [edx + 4] */
  17042     MEM32(eax + 0x4) = ecx; /* 0x25007DBE: mov dword ptr [eax + 4], ecx */
  17043     edx = MEM32(edx + 0x8); /* 0x25007DC1: mov edx, dword ptr [edx + 8] */
  17044     MEM32(eax + 0x8) = edx; /* 0x25007DC4: mov dword ptr [eax + 8], edx */
  17045     eax = MEM32(esi + 0x1E4); /* 0x25007DC7: mov eax, dword ptr [esi + 0x1e4] */
  17046     MEM32(ebx + 0x1E4) = eax; /* 0x25007DCD: mov dword ptr [ebx + 0x1e4], eax */
  17047     ecx = MEM32(esi + 0x1E8); /* 0x25007DD3: mov ecx, dword ptr [esi + 0x1e8] */
  17048     MEM32(ebx + 0x1E8) = ecx; /* 0x25007DD9: mov dword ptr [ebx + 0x1e8], ecx */
  17049     edx = MEM32(esi + 0x1EC); /* 0x25007DDF: mov edx, dword ptr [esi + 0x1ec] */
  17050     MEM32(ebx + 0x1EC) = edx; /* 0x25007DE5: mov dword ptr [ebx + 0x1ec], edx */
  17051     eax = MEM32(esi + 0x1F0); /* 0x25007DEB: mov eax, dword ptr [esi + 0x1f0] */
  17052     MEM32(ebx + 0x1F0) = eax; /* 0x25007DF1: mov dword ptr [ebx + 0x1f0], eax */
  17053     ecx = MEM32(esi + 0x1F4); /* 0x25007DF7: mov ecx, dword ptr [esi + 0x1f4] */
  17054     MEM32(ebx + 0x1F4) = ecx; /* 0x25007DFD: mov dword ptr [ebx + 0x1f4], ecx */
  17055     edx = MEM32(esi + 0x1F8); /* 0x25007E03: mov edx, dword ptr [esi + 0x1f8] */
  17056     MEM32(ebx + 0x1F8) = edx; /* 0x25007E09: mov dword ptr [ebx + 0x1f8], edx */
  17057     eax = MEM32(esi + 0x1FC); /* 0x25007E0F: mov eax, dword ptr [esi + 0x1fc] */
  17058     MEM32(ebx + 0x1FC) = eax; /* 0x25007E15: mov dword ptr [ebx + 0x1fc], eax */
  17059     ecx = MEM32(esi + 0x200); /* 0x25007E1B: mov ecx, dword ptr [esi + 0x200] */
  17060     MEM32(ebx + 0x200) = ecx; /* 0x25007E21: mov dword ptr [ebx + 0x200], ecx */
  17061     edx = MEM32(esi + 0x204); /* 0x25007E27: mov edx, dword ptr [esi + 0x204] */
  17062     MEM32(ebx + 0x204) = edx; /* 0x25007E2D: mov dword ptr [ebx + 0x204], edx */
  17063     eax = MEM32(esi + 0x208); /* 0x25007E33: mov eax, dword ptr [esi + 0x208] */
  17064     MEM32(ebx + 0x208) = eax; /* 0x25007E39: mov dword ptr [ebx + 0x208], eax */
  17065     ecx = MEM32(esi + 0x20C); /* 0x25007E3F: mov ecx, dword ptr [esi + 0x20c] */
  17066     MEM32(ebx + 0x20C) = ecx; /* 0x25007E45: mov dword ptr [ebx + 0x20c], ecx */
  17067     edx = MEM32(esi + 0x210); /* 0x25007E4B: mov edx, dword ptr [esi + 0x210] */
  17068     MEM32(ebx + 0x210) = edx; /* 0x25007E51: mov dword ptr [ebx + 0x210], edx */
  17069     eax = MEM32(esi + 0x214); /* 0x25007E57: mov eax, dword ptr [esi + 0x214] */
  17070     MEM32(ebx + 0x214) = eax; /* 0x25007E5D: mov dword ptr [ebx + 0x214], eax */
  17071     SET_LO8(ecx, MEM8(esi + 0x218)); /* 0x25007E63: mov cl, byte ptr [esi + 0x218] */
  17072     MEM8(ebx + 0x218) = (uint8_t)(LO8(ecx)); /* 0x25007E69: mov byte ptr [ebx + 0x218], cl */
  17073     ecx = esi + 0x21C; /* 0x25007E6F: lea ecx, [esi + 0x21c] */
  17074     edi = ebx + 0x21C; /* 0x25007E75: lea edi, [ebx + 0x21c] */
  17075     /* cmp edi, ecx */ /* 0x25007E7B: cmp edi, ecx */
  17076     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
  17077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17078     _flag_k = FK_CMP;
  17079     if (CMP_EQ(_flag_a, _flag_b)) goto L_25007FCC; /* 0x25007E7D: je 0x25007fcc */
  17080 L_25007E83:
  17081     eax = MEM32(ecx + 0x4); /* 0x25007E83: mov eax, dword ptr [ecx + 4] */
  17082     /* test eax, eax */ /* 0x25007E86: test eax, eax */
  17083     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17084     _cf = 0;
  17085     _flag_k = FK_TEST;
  17086     MEM32(ebp + (-0x8)) = eax; /* 0x25007E88: mov dword ptr [ebp - 8], eax */
  17087     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007E91; /* 0x25007E8B: jne 0x25007e91 */
  17088 L_25007E8D:
  17089     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17090     edx = 0; /* 0x25007E8D: xor edx, edx */
  17091     _cf = 0;
  17092     _flag_k = FK_TEST;
  17093     goto L_25007E99; /* 0x25007E8F: jmp 0x25007e99 */
  17094 L_25007E91:
  17095     edx = MEM32(ecx + 0x8); /* 0x25007E91: mov edx, dword ptr [ecx + 8] */
  17096     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  17097     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17098     edx = edx - eax; /* 0x25007E94: sub edx, eax */
  17099     _flag_k = FK_CMP;
  17100     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x25007E96: sar edx, 2 */
  17101     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17102     edx = (uint32_t)((int32_t)edx >> 2u);
  17103 L_25007E99:
  17104     eax = MEM32(edi + 0x4); /* 0x25007E99: mov eax, dword ptr [edi + 4] */
  17105     /* test eax, eax */ /* 0x25007E9C: test eax, eax */
  17106     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17107     _cf = 0;
  17108     _flag_k = FK_TEST;
  17109     MEM32(ebp + (-0x4)) = edx; /* 0x25007E9E: mov dword ptr [ebp - 4], edx */
  17110     if (TEST_NZ(_flag_a, _flag_b)) goto L_25007EA7; /* 0x25007EA1: jne 0x25007ea7 */
  17111 L_25007EA3:
  17112     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17113     eax = 0; /* 0x25007EA3: xor eax, eax */
  17114     _cf = 0;
  17115     _flag_k = FK_TEST;
  17116     goto L_25007EB5; /* 0x25007EA5: jmp 0x25007eb5 */
  17117 L_25007EA7:
  17118     edx = MEM32(edi + 0x4); /* 0x25007EA7: mov edx, dword ptr [edi + 4] */
  17119     eax = MEM32(edi + 0x8); /* 0x25007EAA: mov eax, dword ptr [edi + 8] */
  17120     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  17121     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17122     eax = eax - edx; /* 0x25007EAD: sub eax, edx */
  17123     _flag_k = FK_CMP;
  17124     edx = MEM32(ebp + (-0x4)); /* 0x25007EAF: mov edx, dword ptr [ebp - 4] */
  17125     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x25007EB2: sar eax, 2 */
  17126     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17127     eax = (uint32_t)((int32_t)eax >> 2u);
  17128 L_25007EB5:
  17129     /* cmp edx, eax */ /* 0x25007EB5: cmp edx, eax */
  17130     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  17131     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17132     _flag_k = FK_CMP;
  17133     if (CMP_A(_flag_a, _flag_b)) goto L_25007EF2; /* 0x25007EB7: ja 0x25007ef2 */
  17134 L_25007EB9:
  17135     eax = MEM32(edi + 0x4); /* 0x25007EB9: mov eax, dword ptr [edi + 4] */
  17136     ecx = MEM32(ecx + 0x8); /* 0x25007EBC: mov ecx, dword ptr [ecx + 8] */
  17137     edx = MEM32(ebp + (-0x8)); /* 0x25007EBF: mov edx, dword ptr [ebp - 8] */
  17138     PUSH32(esp, eax); /* 0x25007EC2: push eax */
  17139     PUSH32(esp, ecx); /* 0x25007EC3: push ecx */
  17140     PUSH32(esp, edx); /* 0x25007EC4: push edx */
  17141     RECOMP_ICALL(0x250EB050u); /* 0x25007EC5: call 0x250eb050 */ /* not lifted */
  17142     RECOMP_FLAGS_IN();
  17143     ecx = MEM32(edi + 0x8); /* 0x25007ECA: mov ecx, dword ptr [edi + 8] */
  17144     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  17145     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17146     esp = esp + 0xCu; /* 0x25007ECD: add esp, 0xc */
  17147     _flag_k = FK_ADD;
  17148     PUSH32(esp, ecx); /* 0x25007ED0: push ecx */
  17149     PUSH32(esp, eax); /* 0x25007ED1: push eax */
  17150     ecx = edi; /* 0x25007ED2: mov ecx, edi */
  17151     RECOMP_ICALL(0x25093260u); /* 0x25007ED4: call 0x25093260 */ /* not lifted */
  17152     RECOMP_FLAGS_IN();
  17153     ecx = esi + 0x21C; /* 0x25007ED9: lea ecx, [esi + 0x21c] */
  17154     RECOMP_ICALL(0x251262D0u); /* 0x25007EDF: call 0x251262d0 */ /* not lifted */
  17155     RECOMP_FLAGS_IN();
  17156     edx = MEM32(edi + 0x4); /* 0x25007EE4: mov edx, dword ptr [edi + 4] */
  17157     eax = edx + eax * 4; /* 0x25007EE7: lea eax, [edx + eax*4] */
  17158     MEM32(edi + 0x8) = eax; /* 0x25007EEA: mov dword ptr [edi + 8], eax */
  17159     goto L_25007FCC; /* 0x25007EED: jmp 0x25007fcc */
  17160 L_25007EF2:
  17161     ecx = edi; /* 0x25007EF2: mov ecx, edi */
  17162     RECOMP_ICALL(0x251262F0u); /* 0x25007EF4: call 0x251262f0 */ /* not lifted */
  17163     RECOMP_FLAGS_IN();
  17164     ecx = esi + 0x21C; /* 0x25007EF9: lea ecx, [esi + 0x21c] */
  17165     edi = eax; /* 0x25007EFF: mov edi, eax */
  17166     RECOMP_ICALL(0x251262D0u); /* 0x25007F01: call 0x251262d0 */ /* not lifted */
  17167     RECOMP_FLAGS_IN();
  17168     /* cmp eax, edi */ /* 0x25007F06: cmp eax, edi */
  17169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  17170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17171     _flag_k = FK_CMP;
  17172     if (CMP_A(_flag_a, _flag_b)) goto L_25007F69; /* 0x25007F08: ja 0x25007f69 */
  17173 L_25007F0A:
  17174     ecx = MEM32(esi + 0x220); /* 0x25007F0A: mov ecx, dword ptr [esi + 0x220] */
  17175     MEM32(ebp + (-0x8)) = ecx; /* 0x25007F10: mov dword ptr [ebp - 8], ecx */
  17176     edi = ebx + 0x21C; /* 0x25007F13: lea edi, [ebx + 0x21c] */
  17177     ecx = edi; /* 0x25007F19: mov ecx, edi */
  17178     RECOMP_ICALL(0x251262D0u); /* 0x25007F1B: call 0x251262d0 */ /* not lifted */
  17179     RECOMP_FLAGS_IN();
  17180     edx = MEM32(ebp + (-0x8)); /* 0x25007F20: mov edx, dword ptr [ebp - 8] */
  17181     ecx = MEM32(edi + 0x4); /* 0x25007F23: mov ecx, dword ptr [edi + 4] */
  17182     eax = edx + eax * 4; /* 0x25007F26: lea eax, [edx + eax*4] */
  17183     edx = MEM32(esi + 0x220); /* 0x25007F29: mov edx, dword ptr [esi + 0x220] */
  17184     PUSH32(esp, ecx); /* 0x25007F2F: push ecx */
  17185     PUSH32(esp, eax); /* 0x25007F30: push eax */
  17186     PUSH32(esp, edx); /* 0x25007F31: push edx */
  17187     MEM32(ebp + (-0x8)) = eax; /* 0x25007F32: mov dword ptr [ebp - 8], eax */
  17188     RECOMP_ICALL(0x250EB050u); /* 0x25007F35: call 0x250eb050 */ /* not lifted */
  17189     RECOMP_FLAGS_IN();
  17190     eax = MEM32(edi + 0x8); /* 0x25007F3A: mov eax, dword ptr [edi + 8] */
  17191     ecx = MEM32(esi + 0x224); /* 0x25007F3D: mov ecx, dword ptr [esi + 0x224] */
  17192     edx = MEM32(ebp + (-0x8)); /* 0x25007F43: mov edx, dword ptr [ebp - 8] */
  17193     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  17194     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17195     esp = esp + 0xCu; /* 0x25007F46: add esp, 0xc */
  17196     _flag_k = FK_ADD;
  17197     PUSH32(esp, eax); /* 0x25007F49: push eax */
  17198     PUSH32(esp, ecx); /* 0x25007F4A: push ecx */
  17199     PUSH32(esp, edx); /* 0x25007F4B: push edx */
  17200     ecx = edi; /* 0x25007F4C: mov ecx, edi */
  17201     RECOMP_ICALL(0x250E3D40u); /* 0x25007F4E: call 0x250e3d40 */ /* not lifted */
  17202     RECOMP_FLAGS_IN();
  17203     ecx = esi + 0x21C; /* 0x25007F53: lea ecx, [esi + 0x21c] */
  17204     RECOMP_ICALL(0x251262D0u); /* 0x25007F59: call 0x251262d0 */ /* not lifted */
  17205     RECOMP_FLAGS_IN();
  17206     ecx = MEM32(edi + 0x4); /* 0x25007F5E: mov ecx, dword ptr [edi + 4] */
  17207     edx = ecx + eax * 4; /* 0x25007F61: lea edx, [ecx + eax*4] */
  17208     MEM32(edi + 0x8) = edx; /* 0x25007F64: mov dword ptr [edi + 8], edx */
  17209     goto L_25007FCC; /* 0x25007F67: jmp 0x25007fcc */
  17210 L_25007F69:
  17211     eax = MEM32(ebx + 0x224); /* 0x25007F69: mov eax, dword ptr [ebx + 0x224] */
  17212     ecx = MEM32(ebx + 0x220); /* 0x25007F6F: mov ecx, dword ptr [ebx + 0x220] */
  17213     edi = ebx + 0x21C; /* 0x25007F75: lea edi, [ebx + 0x21c] */
  17214     PUSH32(esp, eax); /* 0x25007F7B: push eax */
  17215     PUSH32(esp, ecx); /* 0x25007F7C: push ecx */
  17216     ecx = edi; /* 0x25007F7D: mov ecx, edi */
  17217     RECOMP_ICALL(0x25093260u); /* 0x25007F7F: call 0x25093260 */ /* not lifted */
  17218     RECOMP_FLAGS_IN();
  17219     edx = MEM32(edi + 0x4); /* 0x25007F84: mov edx, dword ptr [edi + 4] */
  17220     PUSH32(esp, edx); /* 0x25007F87: push edx */
  17221     RECOMP_ICALL(0x25137EECu); /* 0x25007F88: call 0x25137eec */ /* not lifted */
  17222     RECOMP_FLAGS_IN();
  17223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17225     esp = esp + 4; /* 0x25007F8D: add esp, 4 */
  17226     _flag_k = FK_ADD;
  17227     ecx = esi + 0x21C; /* 0x25007F90: lea ecx, [esi + 0x21c] */
  17228     RECOMP_ICALL(0x251262D0u); /* 0x25007F96: call 0x251262d0 */ /* not lifted */
  17229     RECOMP_FLAGS_IN();
  17230     /* test eax, eax */ /* 0x25007F9B: test eax, eax */
  17231     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17232     _cf = 0;
  17233     _flag_k = FK_TEST;
  17234     if (TEST_NS(_flag_a, _flag_b)) goto L_25007FA1; /* 0x25007F9D: jge 0x25007fa1 */
  17235 L_25007F9F:
  17236     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17237     eax = 0; /* 0x25007F9F: xor eax, eax */
  17238     _cf = 0;
  17239     _flag_k = FK_TEST;
  17240 L_25007FA1:
  17241     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x25007FA1: shl eax, 2 */
  17242     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17243     eax = eax << 2u; /* 0x25007FA1: shl eax, 2 */
  17244     PUSH32(esp, eax); /* 0x25007FA4: push eax */
  17245     RECOMP_ICALL(0x251380D0u); /* 0x25007FA5: call 0x251380d0 */ /* not lifted */
  17246     RECOMP_FLAGS_IN();
  17247     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17248     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17249     esp = esp + 4; /* 0x25007FAA: add esp, 4 */
  17250     _flag_k = FK_ADD;
  17251     MEM32(edi + 0x4) = eax; /* 0x25007FAD: mov dword ptr [edi + 4], eax */
  17252     ecx = MEM32(esi + 0x224); /* 0x25007FB0: mov ecx, dword ptr [esi + 0x224] */
  17253     edx = MEM32(esi + 0x220); /* 0x25007FB6: mov edx, dword ptr [esi + 0x220] */
  17254     PUSH32(esp, eax); /* 0x25007FBC: push eax */
  17255     PUSH32(esp, ecx); /* 0x25007FBD: push ecx */
  17256     PUSH32(esp, edx); /* 0x25007FBE: push edx */
  17257     ecx = edi; /* 0x25007FBF: mov ecx, edi */
  17258     RECOMP_ICALL(0x250E3D40u); /* 0x25007FC1: call 0x250e3d40 */ /* not lifted */
  17259     RECOMP_FLAGS_IN();
  17260     MEM32(edi + 0x8) = eax; /* 0x25007FC6: mov dword ptr [edi + 8], eax */
  17261     MEM32(edi + 0xC) = eax; /* 0x25007FC9: mov dword ptr [edi + 0xc], eax */
  17262 L_25007FCC:
  17263     ecx = MEM32(esi + 0x22C); /* 0x25007FCC: mov ecx, dword ptr [esi + 0x22c] */
  17264     MEM32(ebx + 0x22C) = ecx; /* 0x25007FD2: mov dword ptr [ebx + 0x22c], ecx */
  17265     edx = MEM32(esi + 0x230); /* 0x25007FD8: mov edx, dword ptr [esi + 0x230] */
  17266     MEM32(ebx + 0x230) = edx; /* 0x25007FDE: mov dword ptr [ebx + 0x230], edx */
  17267     eax = MEM32(esi + 0x234); /* 0x25007FE4: mov eax, dword ptr [esi + 0x234] */
  17268     MEM32(ebx + 0x234) = eax; /* 0x25007FEA: mov dword ptr [ebx + 0x234], eax */
  17269     ecx = esi + 0x238; /* 0x25007FF0: lea ecx, [esi + 0x238] */
  17270     eax = MEM32(ecx); /* 0x25007FF6: mov eax, dword ptr [ecx] */
  17271     edx = ebx + 0x238; /* 0x25007FF8: lea edx, [ebx + 0x238] */
  17272     MEM32(edx) = eax; /* 0x25007FFE: mov dword ptr [edx], eax */
  17273     eax = MEM32(ecx + 0x4); /* 0x25008000: mov eax, dword ptr [ecx + 4] */
  17274     MEM32(edx + 0x4) = eax; /* 0x25008003: mov dword ptr [edx + 4], eax */
  17275     ecx = MEM32(ecx + 0x8); /* 0x25008006: mov ecx, dword ptr [ecx + 8] */
  17276     MEM32(edx + 0x8) = ecx; /* 0x25008009: mov dword ptr [edx + 8], ecx */
  17277     edx = MEM32(esi + 0x244); /* 0x2500800C: mov edx, dword ptr [esi + 0x244] */
  17278     eax = esi + 0x248; /* 0x25008012: lea eax, [esi + 0x248] */
  17279     PUSH32(esp, eax); /* 0x25008018: push eax */
  17280     ecx = ebx + 0x248; /* 0x25008019: lea ecx, [ebx + 0x248] */
  17281     MEM32(ebx + 0x244) = edx; /* 0x2500801F: mov dword ptr [ebx + 0x244], edx */
  17282     RECOMP_ICALL(0x250093B0u); /* 0x25008025: call 0x250093b0 */ /* not lifted */
  17283     RECOMP_FLAGS_IN();
  17284     ecx = esi + 0x258; /* 0x2500802A: lea ecx, [esi + 0x258] */
  17285     PUSH32(esp, ecx); /* 0x25008030: push ecx */
  17286     ecx = ebx + 0x258; /* 0x25008031: lea ecx, [ebx + 0x258] */
  17287     RECOMP_ICALL(0x25005990u); /* 0x25008037: call 0x25005990 */ /* not lifted */
  17288     RECOMP_FLAGS_IN();
  17289     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x268u);
  17290     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17291     esi = esi + 0x268u; /* 0x2500803C: add esi, 0x268 */
  17292     _flag_k = FK_ADD;
  17293     edi = ebx + 0x268; /* 0x25008042: lea edi, [ebx + 0x268] */
  17294     ecx = 0xAu; /* 0x25008048: mov ecx, 0xa */
  17295     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2500804D: 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; }
  17296     ecx = MEM32(ebp + 0x8); /* 0x2500804F: mov ecx, dword ptr [ebp + 8] */
  17297     edx = MEM32(ecx + 0x290); /* 0x25008052: mov edx, dword ptr [ecx + 0x290] */
  17298     MEM32(ebx + 0x290) = edx; /* 0x25008058: mov dword ptr [ebx + 0x290], edx */
  17299     eax = MEM32(ecx + 0x294); /* 0x2500805E: mov eax, dword ptr [ecx + 0x294] */
  17300     MEM32(ebx + 0x294) = eax; /* 0x25008064: mov dword ptr [ebx + 0x294], eax */
  17301     edx = MEM32(ecx + 0x298); /* 0x2500806A: mov edx, dword ptr [ecx + 0x298] */
  17302     MEM32(ebx + 0x298) = edx; /* 0x25008070: mov dword ptr [ebx + 0x298], edx */
  17303     eax = ebx + 0x29C; /* 0x25008076: lea eax, [ebx + 0x29c] */
  17304     edx = 4; /* 0x2500807C: mov edx, 4 */
  17305     edi = POP32_VAL(esp); /* 0x25008081: pop edi */
  17306 L_25008082:
  17307     esi = MEM32(ebp + (-0xC)); /* 0x25008082: mov esi, dword ptr [ebp - 0xc] */
  17308     esi = MEM32(eax + esi); /* 0x25008085: mov esi, dword ptr [eax + esi] */
  17309     MEM32(eax) = esi; /* 0x25008088: mov dword ptr [eax], esi */
  17310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  17311     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17312     eax = eax + 4; /* 0x2500808A: add eax, 4 */
  17313     _flag_k = FK_ADD;
  17314     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17315     edx = edx - 1; /* 0x2500808D: dec edx */
  17316     _flag_k = FK_DEC;
  17317     RECOMP_BACKEDGE();
  17318     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_25008082; /* 0x2500808E: jne 0x25008082 */
  17319 L_25008090:
  17320     eax = MEM32(ecx + 0x2AC); /* 0x25008090: mov eax, dword ptr [ecx + 0x2ac] */
  17321     MEM32(ebx + 0x2AC) = eax; /* 0x25008096: mov dword ptr [ebx + 0x2ac], eax */
  17322     edx = MEM32(ecx + 0x2B0); /* 0x2500809C: mov edx, dword ptr [ecx + 0x2b0] */
  17323     MEM32(ebx + 0x2B0) = edx; /* 0x250080A2: mov dword ptr [ebx + 0x2b0], edx */
  17324     eax = MEM32(ecx + 0x2B4); /* 0x250080A8: mov eax, dword ptr [ecx + 0x2b4] */
  17325     MEM32(ebx + 0x2B4) = eax; /* 0x250080AE: mov dword ptr [ebx + 0x2b4], eax */
  17326     ecx = MEM32(ecx + 0x2B8); /* 0x250080B4: mov ecx, dword ptr [ecx + 0x2b8] */
  17327     esi = POP32_VAL(esp); /* 0x250080BA: pop esi */
  17328     MEM32(ebx + 0x2B8) = ecx; /* 0x250080BB: mov dword ptr [ebx + 0x2b8], ecx */
  17329     eax = ebx; /* 0x250080C1: mov eax, ebx */
  17330     ebx = POP32_VAL(esp); /* 0x250080C3: pop ebx */
  17331     esp = ebp; /* 0x250080C4: mov esp, ebp */
  17332     ebp = POP32_VAL(esp); /* 0x250080C6: pop ebp */
  17333     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250080C7: ret 4 */
  17334     RECOMP_REGS_OUT();
  17335 }
  17336 
  17337 void sub_25007FCC(void) {
  17338     int _fpu_cmp = 0;
  17339     uint32_t _cf = 0;
  17340     int _df = 1;
  17341     uint32_t _flag_k = FK_NONE;
  17342     uint32_t _flag_a = 0, _flag_b = 0;
  17343     uint32_t _itail_tgt = 0;
  17344     RECOMP_REGS_LOCALS
  17345     RECOMP_ENTER(0x25007FCCu);
  17346 
  17347 L_25007FCC:
  17348     ecx = MEM32(esi + 0x22C); /* 0x25007FCC: mov ecx, dword ptr [esi + 0x22c] */
  17349     MEM32(ebx + 0x22C) = ecx; /* 0x25007FD2: mov dword ptr [ebx + 0x22c], ecx */
  17350     edx = MEM32(esi + 0x230); /* 0x25007FD8: mov edx, dword ptr [esi + 0x230] */
  17351     MEM32(ebx + 0x230) = edx; /* 0x25007FDE: mov dword ptr [ebx + 0x230], edx */
  17352     eax = MEM32(esi + 0x234); /* 0x25007FE4: mov eax, dword ptr [esi + 0x234] */
  17353     MEM32(ebx + 0x234) = eax; /* 0x25007FEA: mov dword ptr [ebx + 0x234], eax */
  17354     ecx = esi + 0x238; /* 0x25007FF0: lea ecx, [esi + 0x238] */
  17355     eax = MEM32(ecx); /* 0x25007FF6: mov eax, dword ptr [ecx] */
  17356     edx = ebx + 0x238; /* 0x25007FF8: lea edx, [ebx + 0x238] */
  17357     MEM32(edx) = eax; /* 0x25007FFE: mov dword ptr [edx], eax */
  17358     eax = MEM32(ecx + 0x4); /* 0x25008000: mov eax, dword ptr [ecx + 4] */
  17359     MEM32(edx + 0x4) = eax; /* 0x25008003: mov dword ptr [edx + 4], eax */
  17360     ecx = MEM32(ecx + 0x8); /* 0x25008006: mov ecx, dword ptr [ecx + 8] */
  17361     MEM32(edx + 0x8) = ecx; /* 0x25008009: mov dword ptr [edx + 8], ecx */
  17362     edx = MEM32(esi + 0x244); /* 0x2500800C: mov edx, dword ptr [esi + 0x244] */
  17363     eax = esi + 0x248; /* 0x25008012: lea eax, [esi + 0x248] */
  17364     PUSH32(esp, eax); /* 0x25008018: push eax */
  17365     ecx = ebx + 0x248; /* 0x25008019: lea ecx, [ebx + 0x248] */
  17366     MEM32(ebx + 0x244) = edx; /* 0x2500801F: mov dword ptr [ebx + 0x244], edx */
  17367     RECOMP_ICALL(0x250093B0u); /* 0x25008025: call 0x250093b0 */ /* not lifted */
  17368     RECOMP_FLAGS_IN();
  17369     ecx = esi + 0x258; /* 0x2500802A: lea ecx, [esi + 0x258] */
  17370     PUSH32(esp, ecx); /* 0x25008030: push ecx */
  17371     ecx = ebx + 0x258; /* 0x25008031: lea ecx, [ebx + 0x258] */
  17372     RECOMP_ICALL(0x25005990u); /* 0x25008037: call 0x25005990 */ /* not lifted */
  17373     RECOMP_FLAGS_IN();
  17374     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x268u);
  17375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17376     esi = esi + 0x268u; /* 0x2500803C: add esi, 0x268 */
  17377     _flag_k = FK_ADD;
  17378     edi = ebx + 0x268; /* 0x25008042: lea edi, [ebx + 0x268] */
  17379     ecx = 0xAu; /* 0x25008048: mov ecx, 0xa */
  17380     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2500804D: 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; }
  17381     ecx = MEM32(ebp + 0x8); /* 0x2500804F: mov ecx, dword ptr [ebp + 8] */
  17382     edx = MEM32(ecx + 0x290); /* 0x25008052: mov edx, dword ptr [ecx + 0x290] */
  17383     MEM32(ebx + 0x290) = edx; /* 0x25008058: mov dword ptr [ebx + 0x290], edx */
  17384     eax = MEM32(ecx + 0x294); /* 0x2500805E: mov eax, dword ptr [ecx + 0x294] */
  17385     MEM32(ebx + 0x294) = eax; /* 0x25008064: mov dword ptr [ebx + 0x294], eax */
  17386     edx = MEM32(ecx + 0x298); /* 0x2500806A: mov edx, dword ptr [ecx + 0x298] */
  17387     MEM32(ebx + 0x298) = edx; /* 0x25008070: mov dword ptr [ebx + 0x298], edx */
  17388     eax = ebx + 0x29C; /* 0x25008076: lea eax, [ebx + 0x29c] */
  17389     edx = 4; /* 0x2500807C: mov edx, 4 */
  17390     edi = POP32_VAL(esp); /* 0x25008081: pop edi */
  17391 L_25008082:
  17392     esi = MEM32(ebp + (-0xC)); /* 0x25008082: mov esi, dword ptr [ebp - 0xc] */
  17393     esi = MEM32(eax + esi); /* 0x25008085: mov esi, dword ptr [eax + esi] */
  17394     MEM32(eax) = esi; /* 0x25008088: mov dword ptr [eax], esi */
  17395     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  17396     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17397     eax = eax + 4; /* 0x2500808A: add eax, 4 */
  17398     _flag_k = FK_ADD;
  17399     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17400     edx = edx - 1; /* 0x2500808D: dec edx */
  17401     _flag_k = FK_DEC;
  17402     RECOMP_BACKEDGE();
  17403     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_25008082; /* 0x2500808E: jne 0x25008082 */
  17404 L_25008090:
  17405     eax = MEM32(ecx + 0x2AC); /* 0x25008090: mov eax, dword ptr [ecx + 0x2ac] */
  17406     MEM32(ebx + 0x2AC) = eax; /* 0x25008096: mov dword ptr [ebx + 0x2ac], eax */
  17407     edx = MEM32(ecx + 0x2B0); /* 0x2500809C: mov edx, dword ptr [ecx + 0x2b0] */
  17408     MEM32(ebx + 0x2B0) = edx; /* 0x250080A2: mov dword ptr [ebx + 0x2b0], edx */
  17409     eax = MEM32(ecx + 0x2B4); /* 0x250080A8: mov eax, dword ptr [ecx + 0x2b4] */
  17410     MEM32(ebx + 0x2B4) = eax; /* 0x250080AE: mov dword ptr [ebx + 0x2b4], eax */
  17411     ecx = MEM32(ecx + 0x2B8); /* 0x250080B4: mov ecx, dword ptr [ecx + 0x2b8] */
  17412     esi = POP32_VAL(esp); /* 0x250080BA: pop esi */
  17413     MEM32(ebx + 0x2B8) = ecx; /* 0x250080BB: mov dword ptr [ebx + 0x2b8], ecx */
  17414     eax = ebx; /* 0x250080C1: mov eax, ebx */
  17415     ebx = POP32_VAL(esp); /* 0x250080C3: pop ebx */
  17416     esp = ebp; /* 0x250080C4: mov esp, ebp */
  17417     ebp = POP32_VAL(esp); /* 0x250080C6: pop ebp */
  17418     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250080C7: ret 4 */
  17419     RECOMP_REGS_OUT();
  17420 }
  17421 
  17422 void sub_250080D0(void) {
  17423     int _fpu_cmp = 0;
  17424     uint32_t _cf = 0;
  17425     int _df = 1;
  17426     uint32_t _flag_k = FK_NONE;
  17427     uint32_t _flag_a = 0, _flag_b = 0;
  17428     uint32_t _itail_tgt = 0;
  17429     RECOMP_REGS_LOCALS
  17430     RECOMP_ENTER(0x250080D0u);
  17431 
  17432 L_250080D0:
  17433     PUSH32(esp, 0); /* 0x250080D0: push 0 */
  17434     PUSH32(esp, 0); /* 0x250080D2: push 0 */
  17435     PUSH32(esp, 0x1F4u); /* 0x250080D4: push 0x1f4 */
  17436     RECOMP_ICALL(0x25008140u); /* 0x250080D9: call 0x25008140 */ /* not lifted */
  17437     RECOMP_FLAGS_IN();
  17438     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250080DE: ret  */
  17439     RECOMP_REGS_OUT();
  17440 }
  17441 
  17442 void sub_250080E0(void) {
  17443     int _fpu_cmp = 0;
  17444     uint32_t _cf = 0;
  17445     int _df = 1;
  17446     uint32_t _flag_k = FK_NONE;
  17447     uint32_t _flag_a = 0, _flag_b = 0;
  17448     uint32_t _itail_tgt = 0;
  17449     RECOMP_REGS_LOCALS
  17450     RECOMP_ENTER(0x250080E0u);
  17451 
  17452 L_250080E0:
  17453     PUSH32(esp, ebp); /* 0x250080E0: push ebp */
  17454     ebp = esp; /* 0x250080E1: mov ebp, esp */
  17455     PUSH32(esp, ebx); /* 0x250080E3: push ebx */
  17456     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250080E4: mov bl, byte ptr [ebp + 8] */
  17457     /* test LO8(ebx), 2 */ /* 0x250080E7: test bl, 2 */
  17458     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  17459     _cf = 0;
  17460     _flag_k = FK_NARROW(FK_TEST, 24);
  17461     PUSH32(esp, esi); /* 0x250080EA: push esi */
  17462     esi = ecx; /* 0x250080EB: mov esi, ecx */
  17463     if (TEST_Z(_flag_a, _flag_b)) goto L_2500811E; /* 0x250080ED: je 0x2500811e */
  17464 L_250080EF:
  17465     eax = MEM32(esi + (-0x4)); /* 0x250080EF: mov eax, dword ptr [esi - 4] */
  17466     PUSH32(esp, edi); /* 0x250080F2: push edi */
  17467     PUSH32(esp, 0x25008520u); /* 0x250080F3: push 0x25008520 */
  17468     edi = esi + (-0x4); /* 0x250080F8: lea edi, [esi - 4] */
  17469     PUSH32(esp, eax); /* 0x250080FB: push eax */
  17470     PUSH32(esp, 0x2C0u); /* 0x250080FC: push 0x2c0 */
  17471     PUSH32(esp, esi); /* 0x25008101: push esi */
  17472     RECOMP_ICALL(0x25137F92u); /* 0x25008102: call 0x25137f92 */ /* not lifted */
  17473     RECOMP_FLAGS_IN();
  17474     /* test LO8(ebx), 1 */ /* 0x25008107: test bl, 1 */
  17475     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17476     _cf = 0;
  17477     _flag_k = FK_NARROW(FK_TEST, 24);
  17478     if (TEST_Z(_flag_a, _flag_b)) goto L_25008115; /* 0x2500810A: je 0x25008115 */
  17479 L_2500810C:
  17480     PUSH32(esp, edi); /* 0x2500810C: push edi */
  17481     RECOMP_ICALL(0x25137EECu); /* 0x2500810D: call 0x25137eec */ /* not lifted */
  17482     RECOMP_FLAGS_IN();
  17483     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17484     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17485     esp = esp + 4; /* 0x25008112: add esp, 4 */
  17486     _flag_k = FK_ADD;
  17487 L_25008115:
  17488     eax = edi; /* 0x25008115: mov eax, edi */
  17489     edi = POP32_VAL(esp); /* 0x25008117: pop edi */
  17490     esi = POP32_VAL(esp); /* 0x25008118: pop esi */
  17491     ebx = POP32_VAL(esp); /* 0x25008119: pop ebx */
  17492     ebp = POP32_VAL(esp); /* 0x2500811A: pop ebp */
  17493     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2500811B: ret 4 */
  17494 L_2500811E:
  17495     ecx = esi; /* 0x2500811E: mov ecx, esi */
  17496     RECOMP_ICALL(0x25008520u); /* 0x25008120: call 0x25008520 */ /* not lifted */
  17497     RECOMP_FLAGS_IN();
  17498     /* test LO8(ebx), 1 */ /* 0x25008125: test bl, 1 */
  17499     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17500     _cf = 0;
  17501     _flag_k = FK_NARROW(FK_TEST, 24);
  17502     if (TEST_Z(_flag_a, _flag_b)) goto L_25008133; /* 0x25008128: je 0x25008133 */
  17503 L_2500812A:
  17504     PUSH32(esp, esi); /* 0x2500812A: push esi */
  17505     RECOMP_ICALL(0x25137EECu); /* 0x2500812B: call 0x25137eec */ /* not lifted */
  17506     RECOMP_FLAGS_IN();
  17507     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17508     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17509     esp = esp + 4; /* 0x25008130: add esp, 4 */
  17510     _flag_k = FK_ADD;
  17511 L_25008133:
  17512     eax = esi; /* 0x25008133: mov eax, esi */
  17513     esi = POP32_VAL(esp); /* 0x25008135: pop esi */
  17514     ebx = POP32_VAL(esp); /* 0x25008136: pop ebx */
  17515     ebp = POP32_VAL(esp); /* 0x25008137: pop ebp */
  17516     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25008138: ret 4 */
  17517     RECOMP_REGS_OUT();
  17518 }
  17519 
  17520 void sub_25008140(void) {
  17521     int _fpu_cmp = 0;
  17522     uint32_t _cf = 0;
  17523     int _df = 1;
  17524     uint32_t _flag_k = FK_NONE;
  17525     uint32_t _flag_a = 0, _flag_b = 0;
  17526     uint32_t _itail_tgt = 0;
  17527     RECOMP_REGS_LOCALS
  17528     RECOMP_ENTER(0x25008140u);
  17529 
  17530 L_25008140:
  17531     PUSH32(esp, ebp); /* 0x25008140: push ebp */
  17532     ebp = esp; /* 0x25008141: mov ebp, esp */
  17533     PUSH32(esp, 0xFFFFFFFFu); /* 0x25008143: push -1 */
  17534     PUSH32(esp, 0x25145418u); /* 0x25008145: push 0x25145418 */
  17535     eax = MEM32(FS_BASE + (0)); /* 0x2500814A: mov eax, dword ptr fs:[0] */
  17536     PUSH32(esp, eax); /* 0x25008150: push eax */
  17537     MEM32(FS_BASE + (0)) = esp; /* 0x25008151: mov dword ptr fs:[0], esp */
  17538     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u);
  17539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17540     esp = esp - 0x50u; /* 0x25008158: sub esp, 0x50 */
  17541     _flag_k = FK_CMP;
  17542     eax = MEM32(ebp + 0x10); /* 0x2500815B: mov eax, dword ptr [ebp + 0x10] */
  17543     PUSH32(esp, ebx); /* 0x2500815E: push ebx */
  17544     PUSH32(esp, esi); /* 0x2500815F: push esi */
  17545     PUSH32(esp, edi); /* 0x25008160: push edi */
  17546     esi = ecx; /* 0x25008161: mov esi, ecx */
  17547     ecx = MEM32(ebp + 0xC); /* 0x25008163: mov ecx, dword ptr [ebp + 0xc] */
  17548     PUSH32(esp, eax); /* 0x25008166: push eax */
  17549     PUSH32(esp, ecx); /* 0x25008167: push ecx */
  17550     ecx = esi; /* 0x25008168: mov ecx, esi */
  17551     MEM32(ebp + (-0x10)) = esi; /* 0x2500816A: mov dword ptr [ebp - 0x10], esi */
  17552     RECOMP_ICALL(0x250DA9D0u); /* 0x2500816D: call 0x250da9d0 */ /* not lifted */
  17553     RECOMP_FLAGS_IN();
  17554     SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x25008172: mov dl, byte ptr [ebp + 0x13] */
  17555     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17556     eax = 0; /* 0x25008175: xor eax, eax */
  17557     _cf = 0;
  17558     _flag_k = FK_TEST;
  17559     MEM32(esi + 0x1D8) = eax; /* 0x25008177: mov dword ptr [esi + 0x1d8], eax */
  17560     MEM32(esi + 0x1DC) = eax; /* 0x2500817D: mov dword ptr [esi + 0x1dc], eax */
  17561     MEM32(esi + 0x1E0) = eax; /* 0x25008183: mov dword ptr [esi + 0x1e0], eax */
  17562     MEM32(ebp + (-0x4)) = eax; /* 0x25008189: mov dword ptr [ebp - 4], eax */
  17563     MEM8(esi + 0x21C) = (uint8_t)(LO8(edx)); /* 0x2500818C: mov byte ptr [esi + 0x21c], dl */
  17564     MEM32(esi + 0x220) = eax; /* 0x25008192: mov dword ptr [esi + 0x220], eax */
  17565     MEM32(esi + 0x224) = eax; /* 0x25008198: mov dword ptr [esi + 0x224], eax */
  17566     MEM32(esi + 0x228) = eax; /* 0x2500819E: mov dword ptr [esi + 0x228], eax */
  17567     SET_LO8(ecx, MEM8(ebp + 0x13)); /* 0x250081A4: mov cl, byte ptr [ebp + 0x13] */
  17568     edi = esi + 0x248; /* 0x250081A7: lea edi, [esi + 0x248] */
  17569     MEM32(esi + 0x238) = eax; /* 0x250081AD: mov dword ptr [esi + 0x238], eax */
  17570     MEM32(esi + 0x23C) = eax; /* 0x250081B3: mov dword ptr [esi + 0x23c], eax */
  17571     MEM32(esi + 0x240) = eax; /* 0x250081B9: mov dword ptr [esi + 0x240], eax */
  17572     MEM8(edi) = (uint8_t)(LO8(ecx)); /* 0x250081BF: mov byte ptr [edi], cl */
  17573     MEM32(edi + 0x4) = eax; /* 0x250081C1: mov dword ptr [edi + 4], eax */
  17574     MEM32(edi + 0x8) = eax; /* 0x250081C4: mov dword ptr [edi + 8], eax */
  17575     MEM32(edi + 0xC) = eax; /* 0x250081C7: mov dword ptr [edi + 0xc], eax */
  17576     SET_LO8(edx, MEM8(ebp + 0x13)); /* 0x250081CA: mov dl, byte ptr [ebp + 0x13] */
  17577     ebx = esi + 0x258; /* 0x250081CD: lea ebx, [esi + 0x258] */
  17578     MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x250081D3: mov byte ptr [ebx], dl */
  17579     MEM32(ebx + 0x4) = eax; /* 0x250081D5: mov dword ptr [ebx + 4], eax */
  17580     MEM32(ebx + 0x8) = eax; /* 0x250081D8: mov dword ptr [ebx + 8], eax */
  17581     MEM32(ebx + 0xC) = eax; /* 0x250081DB: mov dword ptr [ebx + 0xc], eax */
  17582     ecx = esi + 0x268; /* 0x250081DE: lea ecx, [esi + 0x268] */
  17583     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250081E4: mov byte ptr [ebp - 4], 3 */
  17584     RECOMP_ICALL(0x250E44A0u); /* 0x250081E8: call 0x250e44a0 */ /* not lifted */
  17585     RECOMP_FLAGS_IN();
  17586     eax = MEM32(ebp + 0x8); /* 0x250081ED: mov eax, dword ptr [ebp + 8] */
  17587     ecx = ebp + (-0x3C); /* 0x250081F0: lea ecx, [ebp - 0x3c] */
  17588     MEM32(esi) = 0x2515180Cu; /* 0x250081F3: mov dword ptr [esi], 0x2515180c */
  17589     MEM32(esi + 0x8) = 0x251517FCu; /* 0x250081F9: mov dword ptr [esi + 8], 0x251517fc */
  17590     MEM32(esi + 0x20) = 0x251517ECu; /* 0x25008200: mov dword ptr [esi + 0x20], 0x251517ec */
  17591     MEM32(esi + 0x38) = 0x251517DCu; /* 0x25008207: mov dword ptr [esi + 0x38], 0x251517dc */
  17592     MEM32(esi + 0x50) = 0x251517CCu; /* 0x2500820E: mov dword ptr [esi + 0x50], 0x251517cc */
  17593     MEM32(esi + 0x138) = 0x251517BCu; /* 0x25008215: mov dword ptr [esi + 0x138], 0x251517bc */
  17594     MEM32(esi + 0x150) = 0x251517ACu; /* 0x2500821F: mov dword ptr [esi + 0x150], 0x251517ac */
  17595     MEM32(esi + 0x1F8) = eax; /* 0x25008229: mov dword ptr [esi + 0x1f8], eax */
  17596     MEM32(ebp + (-0x5C)) = 0; /* 0x2500822F: mov dword ptr [ebp - 0x5c], 0 */
  17597     MEM32(ebp + (-0x58)) = 0; /* 0x25008236: mov dword ptr [ebp - 0x58], 0 */
  17598     MEM32(ebp + (-0x54)) = 0; /* 0x2500823D: mov dword ptr [ebp - 0x54], 0 */
  17599     MEM32(ebp + (-0x50)) = 0; /* 0x25008244: mov dword ptr [ebp - 0x50], 0 */
  17600     MEM32(ebp + (-0x4C)) = 0; /* 0x2500824B: mov dword ptr [ebp - 0x4c], 0 */
  17601     MEM32(ebp + (-0x48)) = 0; /* 0x25008252: mov dword ptr [ebp - 0x48], 0 */
  17602     RECOMP_ICALL(MEM32(0x25151518)); /* 0x25008259: call dword ptr [0x25151518] */
  17603     RECOMP_FLAGS_IN();
  17604     ecx = ebp + (-0x30); /* 0x2500825F: lea ecx, [ebp - 0x30] */
  17605     RECOMP_ICALL(MEM32(0x25151518)); /* 0x25008262: call dword ptr [0x25151518] */
  17606     RECOMP_FLAGS_IN();
  17607     eax = MEM32(edi + 0x4); /* 0x25008268: mov eax, dword ptr [edi + 4] */
  17608     /* test eax, eax */ /* 0x2500826B: test eax, eax */
  17609     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17610     _cf = 0;
  17611     _flag_k = FK_TEST;
  17612     edx = MEM32(esi + 0x1F8); /* 0x2500826D: mov edx, dword ptr [esi + 0x1f8] */
  17613     MEM32(ebp + 0x10) = edx; /* 0x25008273: mov dword ptr [ebp + 0x10], edx */
  17614     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500827C; /* 0x25008276: jne 0x2500827c */
  17615 L_25008278:
  17616     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17617     ecx = 0; /* 0x25008278: xor ecx, ecx */
  17618     _cf = 0;
  17619     _flag_k = FK_TEST;
  17620     goto L_25008284; /* 0x2500827A: jmp 0x25008284 */
  17621 L_2500827C:
  17622     ecx = MEM32(edi + 0x8); /* 0x2500827C: mov ecx, dword ptr [edi + 8] */
  17623     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  17624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17625     ecx = ecx - eax; /* 0x2500827F: sub ecx, eax */
  17626     _flag_k = FK_CMP;
  17627     if (6u) _cf = (((ecx) >> 5) & 1u); /* 0x25008281: sar ecx, 6 */
  17628     if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17629     ecx = (uint32_t)((int32_t)ecx >> 6u);
  17630 L_25008284:
  17631     /* cmp ecx, edx */ /* 0x25008284: cmp ecx, edx */
  17632     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17633     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17634     _flag_k = FK_CMP;
  17635     if (CMP_AE(_flag_a, _flag_b)) goto L_250082AC; /* 0x25008286: jae 0x250082ac */
  17636 L_25008288:
  17637     /* test eax, eax */ /* 0x25008288: test eax, eax */
  17638     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17639     _cf = 0;
  17640     _flag_k = FK_TEST;
  17641     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008290; /* 0x2500828A: jne 0x25008290 */
  17642 L_2500828C:
  17643     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17644     ecx = 0; /* 0x2500828C: xor ecx, ecx */
  17645     _cf = 0;
  17646     _flag_k = FK_TEST;
  17647     goto L_25008298; /* 0x2500828E: jmp 0x25008298 */
  17648 L_25008290:
  17649     ecx = MEM32(edi + 0x8); /* 0x25008290: mov ecx, dword ptr [edi + 8] */
  17650     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  17651     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17652     ecx = ecx - eax; /* 0x25008293: sub ecx, eax */
  17653     _flag_k = FK_CMP;
  17654     if (6u) _cf = (((ecx) >> 5) & 1u); /* 0x25008295: sar ecx, 6 */
  17655     if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17656     ecx = (uint32_t)((int32_t)ecx >> 6u);
  17657 L_25008298:
  17658     eax = ebp + (-0x5C); /* 0x25008298: lea eax, [ebp - 0x5c] */
  17659     PUSH32(esp, eax); /* 0x2500829B: push eax */
  17660     eax = MEM32(edi + 0x8); /* 0x2500829C: mov eax, dword ptr [edi + 8] */
  17661     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  17662     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17663     edx = edx - ecx; /* 0x2500829F: sub edx, ecx */
  17664     _flag_k = FK_CMP;
  17665     PUSH32(esp, edx); /* 0x250082A1: push edx */
  17666     PUSH32(esp, eax); /* 0x250082A2: push eax */
  17667     ecx = edi; /* 0x250082A3: mov ecx, edi */
  17668     RECOMP_ICALL(0x250098B0u); /* 0x250082A5: call 0x250098b0 */ /* not lifted */
  17669     RECOMP_FLAGS_IN();
  17670     goto L_250082CE; /* 0x250082AA: jmp 0x250082ce */
  17671 L_250082AC:
  17672     ecx = edi; /* 0x250082AC: mov ecx, edi */
  17673     RECOMP_ICALL(0x25009890u); /* 0x250082AE: call 0x25009890 */ /* not lifted */
  17674     RECOMP_FLAGS_IN();
  17675     ecx = MEM32(ebp + 0x10); /* 0x250082B3: mov ecx, dword ptr [ebp + 0x10] */
  17676     /* cmp ecx, eax */ /* 0x250082B6: cmp ecx, eax */
  17677     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  17678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17679     _flag_k = FK_CMP;
  17680     if (CMP_AE(_flag_a, _flag_b)) goto L_250082CE; /* 0x250082B8: jae 0x250082ce */
  17681 L_250082BA:
  17682     eax = MEM32(edi + 0x8); /* 0x250082BA: mov eax, dword ptr [edi + 8] */
  17683     edx = MEM32(edi + 0x4); /* 0x250082BD: mov edx, dword ptr [edi + 4] */
  17684     if (6u) _cf = (((ecx) >> 26) & 1u); /* 0x250082C0: shl ecx, 6 */
  17685     if (6u) { _flag_a = recomp_flags_pack((ecx << 6u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17686     ecx = ecx << 6u; /* 0x250082C0: shl ecx, 6 */
  17687     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17689     ecx = ecx + edx; /* 0x250082C3: add ecx, edx */
  17690     _flag_k = FK_ADD;
  17691     PUSH32(esp, eax); /* 0x250082C5: push eax */
  17692     PUSH32(esp, ecx); /* 0x250082C6: push ecx */
  17693     ecx = edi; /* 0x250082C7: mov ecx, edi */
  17694     RECOMP_ICALL(0x25009B20u); /* 0x250082C9: call 0x25009b20 */ /* not lifted */
  17695     RECOMP_FLAGS_IN();
  17696 L_250082CE:
  17697     edi = MEM32(ebx + 0x4); /* 0x250082CE: mov edi, dword ptr [ebx + 4] */
  17698     /* test edi, edi */ /* 0x250082D1: test edi, edi */
  17699     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  17700     _cf = 0;
  17701     _flag_k = FK_TEST;
  17702     eax = MEM32(esi + 0x1F8); /* 0x250082D3: mov eax, dword ptr [esi + 0x1f8] */
  17703     MEM32(ebp + (-0x1C)) = 0; /* 0x250082D9: mov dword ptr [ebp - 0x1c], 0 */
  17704     MEM32(ebp + (-0x18)) = 0; /* 0x250082E0: mov dword ptr [ebp - 0x18], 0 */
  17705     MEM32(ebp + (-0x14)) = 0; /* 0x250082E7: mov dword ptr [ebp - 0x14], 0 */
  17706     MEM32(ebp + 0x10) = eax; /* 0x250082EE: mov dword ptr [ebp + 0x10], eax */
  17707     if (TEST_NZ(_flag_a, _flag_b)) goto L_250082F7; /* 0x250082F1: jne 0x250082f7 */
  17708 L_250082F3:
  17709     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17710     edx = 0; /* 0x250082F3: xor edx, edx */
  17711     _cf = 0;
  17712     _flag_k = FK_TEST;
  17713     goto L_2500830F; /* 0x250082F5: jmp 0x2500830f */
  17714 L_250082F7:
  17715     ecx = MEM32(ebx + 0x8); /* 0x250082F7: mov ecx, dword ptr [ebx + 8] */
  17716     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  17717     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17718     ecx = ecx - edi; /* 0x250082FA: sub ecx, edi */
  17719     _flag_k = FK_CMP;
  17720     eax = 0x2AAAAAABu; /* 0x250082FC: mov eax, 0x2aaaaaab */
  17721     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25008301: imul ecx */
  17722       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  17723       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  17724     eax = MEM32(ebp + 0x10); /* 0x25008303: mov eax, dword ptr [ebp + 0x10] */
  17725     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25008306: sar edx, 1 */
  17726     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17727     edx = (uint32_t)((int32_t)edx >> 1u);
  17728     ecx = edx; /* 0x25008308: mov ecx, edx */
  17729     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2500830A: shr ecx, 0x1f */
  17730     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17731     ecx = ecx >> 31u; /* 0x2500830A: shr ecx, 0x1f */
  17732     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  17733     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17734     edx = edx + ecx; /* 0x2500830D: add edx, ecx */
  17735     _flag_k = FK_ADD;
  17736 L_2500830F:
  17737     /* cmp edx, eax */ /* 0x2500830F: cmp edx, eax */
  17738     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  17739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17740     _flag_k = FK_CMP;
  17741     if (CMP_AE(_flag_a, _flag_b)) goto L_25008347; /* 0x25008311: jae 0x25008347 */
  17742 L_25008313:
  17743     /* test edi, edi */ /* 0x25008313: test edi, edi */
  17744     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  17745     _cf = 0;
  17746     _flag_k = FK_TEST;
  17747     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500831B; /* 0x25008315: jne 0x2500831b */
  17748 L_25008317:
  17749     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17750     edx = 0; /* 0x25008317: xor edx, edx */
  17751     _cf = 0;
  17752     _flag_k = FK_TEST;
  17753     goto L_25008333; /* 0x25008319: jmp 0x25008333 */
  17754 L_2500831B:
  17755     ecx = MEM32(ebx + 0x8); /* 0x2500831B: mov ecx, dword ptr [ebx + 8] */
  17756     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  17757     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17758     ecx = ecx - edi; /* 0x2500831E: sub ecx, edi */
  17759     _flag_k = FK_CMP;
  17760     eax = 0x2AAAAAABu; /* 0x25008320: mov eax, 0x2aaaaaab */
  17761     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25008325: imul ecx */
  17762       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  17763       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  17764     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25008327: sar edx, 1 */
  17765     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17766     edx = (uint32_t)((int32_t)edx >> 1u);
  17767     eax = edx; /* 0x25008329: mov eax, edx */
  17768     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2500832B: shr eax, 0x1f */
  17769     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17770     eax = eax >> 31u; /* 0x2500832B: shr eax, 0x1f */
  17771     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  17772     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17773     edx = edx + eax; /* 0x2500832E: add edx, eax */
  17774     _flag_k = FK_ADD;
  17775     eax = MEM32(ebp + 0x10); /* 0x25008330: mov eax, dword ptr [ebp + 0x10] */
  17776 L_25008333:
  17777     ecx = MEM32(ebx + 0x8); /* 0x25008333: mov ecx, dword ptr [ebx + 8] */
  17778     edi = ebp + (-0x1C); /* 0x25008336: lea edi, [ebp - 0x1c] */
  17779     PUSH32(esp, edi); /* 0x25008339: push edi */
  17780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  17781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17782     eax = eax - edx; /* 0x2500833A: sub eax, edx */
  17783     _flag_k = FK_CMP;
  17784     PUSH32(esp, eax); /* 0x2500833C: push eax */
  17785     PUSH32(esp, ecx); /* 0x2500833D: push ecx */
  17786     ecx = ebx; /* 0x2500833E: mov ecx, ebx */
  17787     RECOMP_ICALL(0x25098CD0u); /* 0x25008340: call 0x25098cd0 */ /* not lifted */
  17788     RECOMP_FLAGS_IN();
  17789     goto L_2500836A; /* 0x25008345: jmp 0x2500836a */
  17790 L_25008347:
  17791     ecx = ebx; /* 0x25008347: mov ecx, ebx */
  17792     RECOMP_ICALL(0x2509F020u); /* 0x25008349: call 0x2509f020 */ /* not lifted */
  17793     RECOMP_FLAGS_IN();
  17794     ecx = MEM32(ebp + 0x10); /* 0x2500834E: mov ecx, dword ptr [ebp + 0x10] */
  17795     /* cmp ecx, eax */ /* 0x25008351: cmp ecx, eax */
  17796     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  17797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17798     _flag_k = FK_CMP;
  17799     if (CMP_AE(_flag_a, _flag_b)) goto L_2500836A; /* 0x25008353: jae 0x2500836a */
  17800 L_25008355:
  17801     eax = MEM32(ebx + 0x8); /* 0x25008355: mov eax, dword ptr [ebx + 8] */
  17802     edx = MEM32(ebx + 0x4); /* 0x25008358: mov edx, dword ptr [ebx + 4] */
  17803     ecx = ecx + ecx * 2; /* 0x2500835B: lea ecx, [ecx + ecx*2] */
  17804     edx = edx + ecx * 4; /* 0x2500835E: lea edx, [edx + ecx*4] */
  17805     PUSH32(esp, eax); /* 0x25008361: push eax */
  17806     PUSH32(esp, edx); /* 0x25008362: push edx */
  17807     ecx = ebx; /* 0x25008363: mov ecx, ebx */
  17808     RECOMP_ICALL(0x25009B70u); /* 0x25008365: call 0x25009b70 */ /* not lifted */
  17809     RECOMP_FLAGS_IN();
  17810 L_2500836A:
  17811     edi = MEM32(esi + 0x1F8); /* 0x2500836A: mov edi, dword ptr [esi + 0x1f8] */
  17812     if (2u) _cf = (((edi) >> 30) & 1u); /* 0x25008370: shl edi, 2 */
  17813     if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17814     edi = edi << 2u; /* 0x25008370: shl edi, 2 */
  17815     eax = edi; /* 0x25008373: mov eax, edi */
  17816     if (5u) _cf = (((eax) >> 27) & 1u); /* 0x25008375: shl eax, 5 */
  17817     if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17818     eax = eax << 5u; /* 0x25008375: shl eax, 5 */
  17819     PUSH32(esp, eax); /* 0x25008378: push eax */
  17820     RECOMP_ICALL(0x251380D0u); /* 0x25008379: call 0x251380d0 */ /* not lifted */
  17821     RECOMP_FLAGS_IN();
  17822     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17823     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17824     esp = esp + 4; /* 0x2500837E: add esp, 4 */
  17825     _flag_k = FK_ADD;
  17826     /* test eax, eax */ /* 0x25008381: test eax, eax */
  17827     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17828     _cf = 0;
  17829     _flag_k = FK_TEST;
  17830     if (TEST_Z(_flag_a, _flag_b)) goto L_2500838B; /* 0x25008383: je 0x2500838b */
  17831 L_25008385:
  17832     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  17833     edi = edi - 1; /* 0x25008385: dec edi */
  17834     _flag_k = FK_DEC;
  17835     MEM32(ebp + 0x10) = edi; /* 0x25008386: mov dword ptr [ebp + 0x10], edi */
  17836     goto L_2500838D; /* 0x25008389: jmp 0x2500838d */
  17837 L_2500838B:
  17838     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17839     eax = 0; /* 0x2500838B: xor eax, eax */
  17840     _cf = 0;
  17841     _flag_k = FK_TEST;
  17842 L_2500838D:
  17843     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  17844     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  17845     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  17846     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  17847     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17848     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  17849     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  17850     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  17851     RECOMP_FLAGS_IN();
  17852     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  17853     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  17854     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  17855     RECOMP_FLAGS_IN();
  17856     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  17857     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17858     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  17859     _flag_k = FK_ADD;
  17860     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  17861     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  17862     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17863     _cf = 0;
  17864     _flag_k = FK_TEST;
  17865     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  17866     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  17867 L_250083C3:
  17868     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  17869     ecx = eax; /* 0x250083C5: mov ecx, eax */
  17870     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  17871     RECOMP_FLAGS_IN();
  17872     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  17873 L_250083CE:
  17874     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17875     eax = 0; /* 0x250083CE: xor eax, eax */
  17876     _cf = 0;
  17877     _flag_k = FK_TEST;
  17878 L_250083D0:
  17879     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  17880     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  17881     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  17882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17883     _cf = 0;
  17884     _flag_k = FK_TEST;
  17885     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  17886     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  17887     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  17888 L_250083E7:
  17889     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  17890     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  17891     RECOMP_FLAGS_IN();
  17892     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17893     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17894     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  17895     _flag_k = FK_ADD;
  17896     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  17897     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  17898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17899     _cf = 0;
  17900     _flag_k = FK_TEST;
  17901     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  17902     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  17903 L_250083FF:
  17904     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  17905     ecx = eax; /* 0x25008404: mov ecx, eax */
  17906     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  17907     RECOMP_FLAGS_IN();
  17908     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  17909 L_2500840D:
  17910     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17911     eax = 0; /* 0x2500840D: xor eax, eax */
  17912     _cf = 0;
  17913     _flag_k = FK_TEST;
  17914 L_2500840F:
  17915     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  17916     PUSH32(esp, eax); /* 0x25008415: push eax */
  17917     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  17918     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  17919     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  17920     RECOMP_FLAGS_IN();
  17921     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  17922     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  17923     RECOMP_FLAGS_IN();
  17924 L_25008430:
  17925     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17926     edx = 0; /* 0x25008430: xor edx, edx */
  17927     _cf = 0;
  17928     _flag_k = FK_TEST;
  17929     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  17930     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  17931     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  17932     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  17933     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  17934     /* test eax, eax */ /* 0x25008450: test eax, eax */
  17935     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17936     _cf = 0;
  17937     _flag_k = FK_TEST;
  17938     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  17939 L_25008454:
  17940     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17941     ecx = 0; /* 0x25008454: xor ecx, ecx */
  17942     _cf = 0;
  17943     _flag_k = FK_TEST;
  17944     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  17945     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  17946     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  17947     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17948     eax = 0; /* 0x2500845F: xor eax, eax */
  17949     _cf = 0;
  17950     _flag_k = FK_TEST;
  17951 L_25008461:
  17952     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  17953     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  17954     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  17955     edi = ecx; /* 0x25008475: mov edi, ecx */
  17956     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  17957     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17958     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  17959     _flag_k = FK_ADD;
  17960     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  17961     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  17962     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  17963     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  17964     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  17965     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  17966     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  17967     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17968     edx = edx + 1; /* 0x25008490: inc edx */
  17969     _flag_k = FK_INC;
  17970     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  17971     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17972     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  17973     _flag_k = FK_ADD;
  17974     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  17975     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17976     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  17977     _flag_k = FK_ADD;
  17978     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  17979     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  17980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17981     _flag_k = FK_CMP;
  17982     RECOMP_BACKEDGE();
  17983     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  17984 L_2500849B:
  17985     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  17986     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17987     eax = 0; /* 0x250084A1: xor eax, eax */
  17988     _cf = 0;
  17989     _flag_k = FK_TEST;
  17990     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  17991     ecx = edi; /* 0x250084A6: mov ecx, edi */
  17992     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  17993     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  17994     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  17995     RECOMP_FLAGS_IN();
  17996     ecx = edi; /* 0x250084B3: mov ecx, edi */
  17997     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  17998     RECOMP_FLAGS_IN();
  17999     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  18000     ecx = esi; /* 0x250084C0: mov ecx, esi */
  18001     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  18002     RECOMP_FLAGS_IN();
  18003     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  18004     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  18005     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  18006     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  18007     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  18008     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  18009     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  18010     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  18011     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  18012     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  18013     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  18014     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  18015     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  18016     eax = esi; /* 0x2500850C: mov eax, esi */
  18017     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  18018     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  18019     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  18020     esp = ebp; /* 0x25008517: mov esp, ebp */
  18021     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  18022     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  18023     RECOMP_REGS_OUT();
  18024 }
  18025 
  18026 void sub_250082E7(void) {
  18027     int _fpu_cmp = 0;
  18028     uint32_t _cf = 0;
  18029     int _df = 1;
  18030     uint32_t _flag_k = FK_NONE;
  18031     uint32_t _flag_a = 0, _flag_b = 0;
  18032     uint32_t _itail_tgt = 0;
  18033     RECOMP_REGS_LOCALS
  18034     RECOMP_ENTER(0x250082E7u);
  18035 
  18036 L_250082E7:
  18037     MEM32(ebp + (-0x14)) = 0; /* 0x250082E7: mov dword ptr [ebp - 0x14], 0 */
  18038     MEM32(ebp + 0x10) = eax; /* 0x250082EE: mov dword ptr [ebp + 0x10], eax */
  18039     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_250082F7; /* 0x250082F1: jne 0x250082f7 */
  18040 L_250082F3:
  18041     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18042     edx = 0; /* 0x250082F3: xor edx, edx */
  18043     _cf = 0;
  18044     _flag_k = FK_TEST;
  18045     goto L_2500830F; /* 0x250082F5: jmp 0x2500830f */
  18046 L_250082F7:
  18047     ecx = MEM32(ebx + 0x8); /* 0x250082F7: mov ecx, dword ptr [ebx + 8] */
  18048     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  18049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18050     ecx = ecx - edi; /* 0x250082FA: sub ecx, edi */
  18051     _flag_k = FK_CMP;
  18052     eax = 0x2AAAAAABu; /* 0x250082FC: mov eax, 0x2aaaaaab */
  18053     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25008301: imul ecx */
  18054       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  18055       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  18056     eax = MEM32(ebp + 0x10); /* 0x25008303: mov eax, dword ptr [ebp + 0x10] */
  18057     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25008306: sar edx, 1 */
  18058     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18059     edx = (uint32_t)((int32_t)edx >> 1u);
  18060     ecx = edx; /* 0x25008308: mov ecx, edx */
  18061     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2500830A: shr ecx, 0x1f */
  18062     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18063     ecx = ecx >> 31u; /* 0x2500830A: shr ecx, 0x1f */
  18064     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  18065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18066     edx = edx + ecx; /* 0x2500830D: add edx, ecx */
  18067     _flag_k = FK_ADD;
  18068 L_2500830F:
  18069     /* cmp edx, eax */ /* 0x2500830F: cmp edx, eax */
  18070     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  18071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18072     _flag_k = FK_CMP;
  18073     if (CMP_AE(_flag_a, _flag_b)) goto L_25008347; /* 0x25008311: jae 0x25008347 */
  18074 L_25008313:
  18075     /* test edi, edi */ /* 0x25008313: test edi, edi */
  18076     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  18077     _cf = 0;
  18078     _flag_k = FK_TEST;
  18079     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500831B; /* 0x25008315: jne 0x2500831b */
  18080 L_25008317:
  18081     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18082     edx = 0; /* 0x25008317: xor edx, edx */
  18083     _cf = 0;
  18084     _flag_k = FK_TEST;
  18085     goto L_25008333; /* 0x25008319: jmp 0x25008333 */
  18086 L_2500831B:
  18087     ecx = MEM32(ebx + 0x8); /* 0x2500831B: mov ecx, dword ptr [ebx + 8] */
  18088     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  18089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18090     ecx = ecx - edi; /* 0x2500831E: sub ecx, edi */
  18091     _flag_k = FK_CMP;
  18092     eax = 0x2AAAAAABu; /* 0x25008320: mov eax, 0x2aaaaaab */
  18093     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25008325: imul ecx */
  18094       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  18095       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  18096     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25008327: sar edx, 1 */
  18097     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18098     edx = (uint32_t)((int32_t)edx >> 1u);
  18099     eax = edx; /* 0x25008329: mov eax, edx */
  18100     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2500832B: shr eax, 0x1f */
  18101     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18102     eax = eax >> 31u; /* 0x2500832B: shr eax, 0x1f */
  18103     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  18104     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18105     edx = edx + eax; /* 0x2500832E: add edx, eax */
  18106     _flag_k = FK_ADD;
  18107     eax = MEM32(ebp + 0x10); /* 0x25008330: mov eax, dword ptr [ebp + 0x10] */
  18108 L_25008333:
  18109     ecx = MEM32(ebx + 0x8); /* 0x25008333: mov ecx, dword ptr [ebx + 8] */
  18110     edi = ebp + (-0x1C); /* 0x25008336: lea edi, [ebp - 0x1c] */
  18111     PUSH32(esp, edi); /* 0x25008339: push edi */
  18112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  18113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18114     eax = eax - edx; /* 0x2500833A: sub eax, edx */
  18115     _flag_k = FK_CMP;
  18116     PUSH32(esp, eax); /* 0x2500833C: push eax */
  18117     PUSH32(esp, ecx); /* 0x2500833D: push ecx */
  18118     ecx = ebx; /* 0x2500833E: mov ecx, ebx */
  18119     RECOMP_ICALL(0x25098CD0u); /* 0x25008340: call 0x25098cd0 */ /* not lifted */
  18120     RECOMP_FLAGS_IN();
  18121     goto L_2500836A; /* 0x25008345: jmp 0x2500836a */
  18122 L_25008347:
  18123     ecx = ebx; /* 0x25008347: mov ecx, ebx */
  18124     RECOMP_ICALL(0x2509F020u); /* 0x25008349: call 0x2509f020 */ /* not lifted */
  18125     RECOMP_FLAGS_IN();
  18126     ecx = MEM32(ebp + 0x10); /* 0x2500834E: mov ecx, dword ptr [ebp + 0x10] */
  18127     /* cmp ecx, eax */ /* 0x25008351: cmp ecx, eax */
  18128     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  18129     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18130     _flag_k = FK_CMP;
  18131     if (CMP_AE(_flag_a, _flag_b)) goto L_2500836A; /* 0x25008353: jae 0x2500836a */
  18132 L_25008355:
  18133     eax = MEM32(ebx + 0x8); /* 0x25008355: mov eax, dword ptr [ebx + 8] */
  18134     edx = MEM32(ebx + 0x4); /* 0x25008358: mov edx, dword ptr [ebx + 4] */
  18135     ecx = ecx + ecx * 2; /* 0x2500835B: lea ecx, [ecx + ecx*2] */
  18136     edx = edx + ecx * 4; /* 0x2500835E: lea edx, [edx + ecx*4] */
  18137     PUSH32(esp, eax); /* 0x25008361: push eax */
  18138     PUSH32(esp, edx); /* 0x25008362: push edx */
  18139     ecx = ebx; /* 0x25008363: mov ecx, ebx */
  18140     RECOMP_ICALL(0x25009B70u); /* 0x25008365: call 0x25009b70 */ /* not lifted */
  18141     RECOMP_FLAGS_IN();
  18142 L_2500836A:
  18143     edi = MEM32(esi + 0x1F8); /* 0x2500836A: mov edi, dword ptr [esi + 0x1f8] */
  18144     if (2u) _cf = (((edi) >> 30) & 1u); /* 0x25008370: shl edi, 2 */
  18145     if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18146     edi = edi << 2u; /* 0x25008370: shl edi, 2 */
  18147     eax = edi; /* 0x25008373: mov eax, edi */
  18148     if (5u) _cf = (((eax) >> 27) & 1u); /* 0x25008375: shl eax, 5 */
  18149     if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18150     eax = eax << 5u; /* 0x25008375: shl eax, 5 */
  18151     PUSH32(esp, eax); /* 0x25008378: push eax */
  18152     RECOMP_ICALL(0x251380D0u); /* 0x25008379: call 0x251380d0 */ /* not lifted */
  18153     RECOMP_FLAGS_IN();
  18154     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18155     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18156     esp = esp + 4; /* 0x2500837E: add esp, 4 */
  18157     _flag_k = FK_ADD;
  18158     /* test eax, eax */ /* 0x25008381: test eax, eax */
  18159     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18160     _cf = 0;
  18161     _flag_k = FK_TEST;
  18162     if (TEST_Z(_flag_a, _flag_b)) goto L_2500838B; /* 0x25008383: je 0x2500838b */
  18163 L_25008385:
  18164     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  18165     edi = edi - 1; /* 0x25008385: dec edi */
  18166     _flag_k = FK_DEC;
  18167     MEM32(ebp + 0x10) = edi; /* 0x25008386: mov dword ptr [ebp + 0x10], edi */
  18168     goto L_2500838D; /* 0x25008389: jmp 0x2500838d */
  18169 L_2500838B:
  18170     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18171     eax = 0; /* 0x2500838B: xor eax, eax */
  18172     _cf = 0;
  18173     _flag_k = FK_TEST;
  18174 L_2500838D:
  18175     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  18176     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  18177     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  18178     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  18179     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18180     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  18181     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  18182     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  18183     RECOMP_FLAGS_IN();
  18184     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  18185     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  18186     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  18187     RECOMP_FLAGS_IN();
  18188     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  18189     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18190     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  18191     _flag_k = FK_ADD;
  18192     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  18193     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  18194     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18195     _cf = 0;
  18196     _flag_k = FK_TEST;
  18197     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  18198     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  18199 L_250083C3:
  18200     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  18201     ecx = eax; /* 0x250083C5: mov ecx, eax */
  18202     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  18203     RECOMP_FLAGS_IN();
  18204     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  18205 L_250083CE:
  18206     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18207     eax = 0; /* 0x250083CE: xor eax, eax */
  18208     _cf = 0;
  18209     _flag_k = FK_TEST;
  18210 L_250083D0:
  18211     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  18212     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  18213     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  18214     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18215     _cf = 0;
  18216     _flag_k = FK_TEST;
  18217     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  18218     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  18219     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  18220 L_250083E7:
  18221     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  18222     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  18223     RECOMP_FLAGS_IN();
  18224     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18225     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18226     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  18227     _flag_k = FK_ADD;
  18228     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  18229     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  18230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18231     _cf = 0;
  18232     _flag_k = FK_TEST;
  18233     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  18234     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  18235 L_250083FF:
  18236     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  18237     ecx = eax; /* 0x25008404: mov ecx, eax */
  18238     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  18239     RECOMP_FLAGS_IN();
  18240     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  18241 L_2500840D:
  18242     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18243     eax = 0; /* 0x2500840D: xor eax, eax */
  18244     _cf = 0;
  18245     _flag_k = FK_TEST;
  18246 L_2500840F:
  18247     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  18248     PUSH32(esp, eax); /* 0x25008415: push eax */
  18249     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  18250     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  18251     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  18252     RECOMP_FLAGS_IN();
  18253     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  18254     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  18255     RECOMP_FLAGS_IN();
  18256 L_25008430:
  18257     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18258     edx = 0; /* 0x25008430: xor edx, edx */
  18259     _cf = 0;
  18260     _flag_k = FK_TEST;
  18261     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  18262     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  18263     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  18264     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  18265     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  18266     /* test eax, eax */ /* 0x25008450: test eax, eax */
  18267     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18268     _cf = 0;
  18269     _flag_k = FK_TEST;
  18270     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  18271 L_25008454:
  18272     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18273     ecx = 0; /* 0x25008454: xor ecx, ecx */
  18274     _cf = 0;
  18275     _flag_k = FK_TEST;
  18276     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  18277     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  18278     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  18279     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18280     eax = 0; /* 0x2500845F: xor eax, eax */
  18281     _cf = 0;
  18282     _flag_k = FK_TEST;
  18283 L_25008461:
  18284     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  18285     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  18286     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  18287     edi = ecx; /* 0x25008475: mov edi, ecx */
  18288     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  18289     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18290     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  18291     _flag_k = FK_ADD;
  18292     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  18293     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  18294     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  18295     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  18296     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  18297     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  18298     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  18299     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  18300     edx = edx + 1; /* 0x25008490: inc edx */
  18301     _flag_k = FK_INC;
  18302     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  18303     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18304     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  18305     _flag_k = FK_ADD;
  18306     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  18307     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18308     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  18309     _flag_k = FK_ADD;
  18310     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  18311     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  18312     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18313     _flag_k = FK_CMP;
  18314     RECOMP_BACKEDGE();
  18315     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  18316 L_2500849B:
  18317     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  18318     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18319     eax = 0; /* 0x250084A1: xor eax, eax */
  18320     _cf = 0;
  18321     _flag_k = FK_TEST;
  18322     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  18323     ecx = edi; /* 0x250084A6: mov ecx, edi */
  18324     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  18325     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  18326     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  18327     RECOMP_FLAGS_IN();
  18328     ecx = edi; /* 0x250084B3: mov ecx, edi */
  18329     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  18330     RECOMP_FLAGS_IN();
  18331     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  18332     ecx = esi; /* 0x250084C0: mov ecx, esi */
  18333     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  18334     RECOMP_FLAGS_IN();
  18335     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  18336     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  18337     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  18338     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  18339     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  18340     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  18341     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  18342     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  18343     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  18344     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  18345     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  18346     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  18347     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  18348     eax = esi; /* 0x2500850C: mov eax, esi */
  18349     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  18350     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  18351     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  18352     esp = ebp; /* 0x25008517: mov esp, ebp */
  18353     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  18354     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  18355     RECOMP_REGS_OUT();
  18356 }
  18357 
  18358 void sub_2500830F(void) {
  18359     int _fpu_cmp = 0;
  18360     uint32_t _cf = 0;
  18361     int _df = 1;
  18362     uint32_t _flag_k = FK_NONE;
  18363     uint32_t _flag_a = 0, _flag_b = 0;
  18364     uint32_t _itail_tgt = 0;
  18365     RECOMP_REGS_LOCALS
  18366     RECOMP_ENTER(0x2500830Fu);
  18367 
  18368 L_2500830F:
  18369     /* cmp edx, eax */ /* 0x2500830F: cmp edx, eax */
  18370     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  18371     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18372     _flag_k = FK_CMP;
  18373     if (CMP_AE(_flag_a, _flag_b)) goto L_25008347; /* 0x25008311: jae 0x25008347 */
  18374 L_25008313:
  18375     /* test edi, edi */ /* 0x25008313: test edi, edi */
  18376     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  18377     _cf = 0;
  18378     _flag_k = FK_TEST;
  18379     if (TEST_NZ(_flag_a, _flag_b)) goto L_2500831B; /* 0x25008315: jne 0x2500831b */
  18380 L_25008317:
  18381     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18382     edx = 0; /* 0x25008317: xor edx, edx */
  18383     _cf = 0;
  18384     _flag_k = FK_TEST;
  18385     goto L_25008333; /* 0x25008319: jmp 0x25008333 */
  18386 L_2500831B:
  18387     ecx = MEM32(ebx + 0x8); /* 0x2500831B: mov ecx, dword ptr [ebx + 8] */
  18388     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  18389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18390     ecx = ecx - edi; /* 0x2500831E: sub ecx, edi */
  18391     _flag_k = FK_CMP;
  18392     eax = 0x2AAAAAABu; /* 0x25008320: mov eax, 0x2aaaaaab */
  18393     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x25008325: imul ecx */
  18394       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
  18395       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
  18396     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x25008327: sar edx, 1 */
  18397     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18398     edx = (uint32_t)((int32_t)edx >> 1u);
  18399     eax = edx; /* 0x25008329: mov eax, edx */
  18400     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2500832B: shr eax, 0x1f */
  18401     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18402     eax = eax >> 31u; /* 0x2500832B: shr eax, 0x1f */
  18403     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  18404     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18405     edx = edx + eax; /* 0x2500832E: add edx, eax */
  18406     _flag_k = FK_ADD;
  18407     eax = MEM32(ebp + 0x10); /* 0x25008330: mov eax, dword ptr [ebp + 0x10] */
  18408 L_25008333:
  18409     ecx = MEM32(ebx + 0x8); /* 0x25008333: mov ecx, dword ptr [ebx + 8] */
  18410     edi = ebp + (-0x1C); /* 0x25008336: lea edi, [ebp - 0x1c] */
  18411     PUSH32(esp, edi); /* 0x25008339: push edi */
  18412     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  18413     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18414     eax = eax - edx; /* 0x2500833A: sub eax, edx */
  18415     _flag_k = FK_CMP;
  18416     PUSH32(esp, eax); /* 0x2500833C: push eax */
  18417     PUSH32(esp, ecx); /* 0x2500833D: push ecx */
  18418     ecx = ebx; /* 0x2500833E: mov ecx, ebx */
  18419     RECOMP_ICALL(0x25098CD0u); /* 0x25008340: call 0x25098cd0 */ /* not lifted */
  18420     RECOMP_FLAGS_IN();
  18421     goto L_2500836A; /* 0x25008345: jmp 0x2500836a */
  18422 L_25008347:
  18423     ecx = ebx; /* 0x25008347: mov ecx, ebx */
  18424     RECOMP_ICALL(0x2509F020u); /* 0x25008349: call 0x2509f020 */ /* not lifted */
  18425     RECOMP_FLAGS_IN();
  18426     ecx = MEM32(ebp + 0x10); /* 0x2500834E: mov ecx, dword ptr [ebp + 0x10] */
  18427     /* cmp ecx, eax */ /* 0x25008351: cmp ecx, eax */
  18428     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
  18429     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18430     _flag_k = FK_CMP;
  18431     if (CMP_AE(_flag_a, _flag_b)) goto L_2500836A; /* 0x25008353: jae 0x2500836a */
  18432 L_25008355:
  18433     eax = MEM32(ebx + 0x8); /* 0x25008355: mov eax, dword ptr [ebx + 8] */
  18434     edx = MEM32(ebx + 0x4); /* 0x25008358: mov edx, dword ptr [ebx + 4] */
  18435     ecx = ecx + ecx * 2; /* 0x2500835B: lea ecx, [ecx + ecx*2] */
  18436     edx = edx + ecx * 4; /* 0x2500835E: lea edx, [edx + ecx*4] */
  18437     PUSH32(esp, eax); /* 0x25008361: push eax */
  18438     PUSH32(esp, edx); /* 0x25008362: push edx */
  18439     ecx = ebx; /* 0x25008363: mov ecx, ebx */
  18440     RECOMP_ICALL(0x25009B70u); /* 0x25008365: call 0x25009b70 */ /* not lifted */
  18441     RECOMP_FLAGS_IN();
  18442 L_2500836A:
  18443     edi = MEM32(esi + 0x1F8); /* 0x2500836A: mov edi, dword ptr [esi + 0x1f8] */
  18444     if (2u) _cf = (((edi) >> 30) & 1u); /* 0x25008370: shl edi, 2 */
  18445     if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18446     edi = edi << 2u; /* 0x25008370: shl edi, 2 */
  18447     eax = edi; /* 0x25008373: mov eax, edi */
  18448     if (5u) _cf = (((eax) >> 27) & 1u); /* 0x25008375: shl eax, 5 */
  18449     if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18450     eax = eax << 5u; /* 0x25008375: shl eax, 5 */
  18451     PUSH32(esp, eax); /* 0x25008378: push eax */
  18452     RECOMP_ICALL(0x251380D0u); /* 0x25008379: call 0x251380d0 */ /* not lifted */
  18453     RECOMP_FLAGS_IN();
  18454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18455     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18456     esp = esp + 4; /* 0x2500837E: add esp, 4 */
  18457     _flag_k = FK_ADD;
  18458     /* test eax, eax */ /* 0x25008381: test eax, eax */
  18459     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18460     _cf = 0;
  18461     _flag_k = FK_TEST;
  18462     if (TEST_Z(_flag_a, _flag_b)) goto L_2500838B; /* 0x25008383: je 0x2500838b */
  18463 L_25008385:
  18464     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  18465     edi = edi - 1; /* 0x25008385: dec edi */
  18466     _flag_k = FK_DEC;
  18467     MEM32(ebp + 0x10) = edi; /* 0x25008386: mov dword ptr [ebp + 0x10], edi */
  18468     goto L_2500838D; /* 0x25008389: jmp 0x2500838d */
  18469 L_2500838B:
  18470     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18471     eax = 0; /* 0x2500838B: xor eax, eax */
  18472     _cf = 0;
  18473     _flag_k = FK_TEST;
  18474 L_2500838D:
  18475     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  18476     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  18477     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  18478     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  18479     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18480     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  18481     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  18482     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  18483     RECOMP_FLAGS_IN();
  18484     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  18485     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  18486     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  18487     RECOMP_FLAGS_IN();
  18488     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  18489     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18490     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  18491     _flag_k = FK_ADD;
  18492     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  18493     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  18494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18495     _cf = 0;
  18496     _flag_k = FK_TEST;
  18497     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  18498     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  18499 L_250083C3:
  18500     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  18501     ecx = eax; /* 0x250083C5: mov ecx, eax */
  18502     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  18503     RECOMP_FLAGS_IN();
  18504     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  18505 L_250083CE:
  18506     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18507     eax = 0; /* 0x250083CE: xor eax, eax */
  18508     _cf = 0;
  18509     _flag_k = FK_TEST;
  18510 L_250083D0:
  18511     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  18512     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  18513     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  18514     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18515     _cf = 0;
  18516     _flag_k = FK_TEST;
  18517     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  18518     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  18519     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  18520 L_250083E7:
  18521     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  18522     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  18523     RECOMP_FLAGS_IN();
  18524     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18525     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18526     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  18527     _flag_k = FK_ADD;
  18528     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  18529     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  18530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18531     _cf = 0;
  18532     _flag_k = FK_TEST;
  18533     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  18534     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  18535 L_250083FF:
  18536     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  18537     ecx = eax; /* 0x25008404: mov ecx, eax */
  18538     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  18539     RECOMP_FLAGS_IN();
  18540     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  18541 L_2500840D:
  18542     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18543     eax = 0; /* 0x2500840D: xor eax, eax */
  18544     _cf = 0;
  18545     _flag_k = FK_TEST;
  18546 L_2500840F:
  18547     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  18548     PUSH32(esp, eax); /* 0x25008415: push eax */
  18549     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  18550     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  18551     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  18552     RECOMP_FLAGS_IN();
  18553     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  18554     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  18555     RECOMP_FLAGS_IN();
  18556 L_25008430:
  18557     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18558     edx = 0; /* 0x25008430: xor edx, edx */
  18559     _cf = 0;
  18560     _flag_k = FK_TEST;
  18561     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  18562     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  18563     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  18564     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  18565     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  18566     /* test eax, eax */ /* 0x25008450: test eax, eax */
  18567     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18568     _cf = 0;
  18569     _flag_k = FK_TEST;
  18570     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  18571 L_25008454:
  18572     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18573     ecx = 0; /* 0x25008454: xor ecx, ecx */
  18574     _cf = 0;
  18575     _flag_k = FK_TEST;
  18576     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  18577     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  18578     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  18579     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18580     eax = 0; /* 0x2500845F: xor eax, eax */
  18581     _cf = 0;
  18582     _flag_k = FK_TEST;
  18583 L_25008461:
  18584     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  18585     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  18586     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  18587     edi = ecx; /* 0x25008475: mov edi, ecx */
  18588     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  18589     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18590     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  18591     _flag_k = FK_ADD;
  18592     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  18593     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  18594     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  18595     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  18596     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  18597     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  18598     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  18599     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  18600     edx = edx + 1; /* 0x25008490: inc edx */
  18601     _flag_k = FK_INC;
  18602     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  18603     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18604     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  18605     _flag_k = FK_ADD;
  18606     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  18607     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18608     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  18609     _flag_k = FK_ADD;
  18610     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  18611     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  18612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18613     _flag_k = FK_CMP;
  18614     RECOMP_BACKEDGE();
  18615     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  18616 L_2500849B:
  18617     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  18618     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18619     eax = 0; /* 0x250084A1: xor eax, eax */
  18620     _cf = 0;
  18621     _flag_k = FK_TEST;
  18622     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  18623     ecx = edi; /* 0x250084A6: mov ecx, edi */
  18624     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  18625     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  18626     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  18627     RECOMP_FLAGS_IN();
  18628     ecx = edi; /* 0x250084B3: mov ecx, edi */
  18629     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  18630     RECOMP_FLAGS_IN();
  18631     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  18632     ecx = esi; /* 0x250084C0: mov ecx, esi */
  18633     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  18634     RECOMP_FLAGS_IN();
  18635     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  18636     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  18637     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  18638     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  18639     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  18640     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  18641     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  18642     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  18643     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  18644     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  18645     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  18646     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  18647     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  18648     eax = esi; /* 0x2500850C: mov eax, esi */
  18649     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  18650     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  18651     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  18652     esp = ebp; /* 0x25008517: mov esp, ebp */
  18653     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  18654     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  18655     RECOMP_REGS_OUT();
  18656 }
  18657 
  18658 void sub_25008333(void) {
  18659     int _fpu_cmp = 0;
  18660     uint32_t _cf = 0;
  18661     int _df = 1;
  18662     uint32_t _flag_k = FK_NONE;
  18663     uint32_t _flag_a = 0, _flag_b = 0;
  18664     uint32_t _itail_tgt = 0;
  18665     RECOMP_REGS_LOCALS
  18666     RECOMP_ENTER(0x25008333u);
  18667 
  18668 L_25008333:
  18669     ecx = MEM32(ebx + 0x8); /* 0x25008333: mov ecx, dword ptr [ebx + 8] */
  18670     edi = ebp + (-0x1C); /* 0x25008336: lea edi, [ebp - 0x1c] */
  18671     PUSH32(esp, edi); /* 0x25008339: push edi */
  18672     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  18673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18674     eax = eax - edx; /* 0x2500833A: sub eax, edx */
  18675     _flag_k = FK_CMP;
  18676     PUSH32(esp, eax); /* 0x2500833C: push eax */
  18677     PUSH32(esp, ecx); /* 0x2500833D: push ecx */
  18678     ecx = ebx; /* 0x2500833E: mov ecx, ebx */
  18679     RECOMP_ICALL(0x25098CD0u); /* 0x25008340: call 0x25098cd0 */ /* not lifted */
  18680     RECOMP_FLAGS_IN();
  18681     goto L_2500836A; /* 0x25008345: jmp 0x2500836a */
  18682 L_2500836A:
  18683     edi = MEM32(esi + 0x1F8); /* 0x2500836A: mov edi, dword ptr [esi + 0x1f8] */
  18684     if (2u) _cf = (((edi) >> 30) & 1u); /* 0x25008370: shl edi, 2 */
  18685     if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18686     edi = edi << 2u; /* 0x25008370: shl edi, 2 */
  18687     eax = edi; /* 0x25008373: mov eax, edi */
  18688     if (5u) _cf = (((eax) >> 27) & 1u); /* 0x25008375: shl eax, 5 */
  18689     if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18690     eax = eax << 5u; /* 0x25008375: shl eax, 5 */
  18691     PUSH32(esp, eax); /* 0x25008378: push eax */
  18692     RECOMP_ICALL(0x251380D0u); /* 0x25008379: call 0x251380d0 */ /* not lifted */
  18693     RECOMP_FLAGS_IN();
  18694     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18695     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18696     esp = esp + 4; /* 0x2500837E: add esp, 4 */
  18697     _flag_k = FK_ADD;
  18698     /* test eax, eax */ /* 0x25008381: test eax, eax */
  18699     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18700     _cf = 0;
  18701     _flag_k = FK_TEST;
  18702     if (TEST_Z(_flag_a, _flag_b)) goto L_2500838B; /* 0x25008383: je 0x2500838b */
  18703 L_25008385:
  18704     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  18705     edi = edi - 1; /* 0x25008385: dec edi */
  18706     _flag_k = FK_DEC;
  18707     MEM32(ebp + 0x10) = edi; /* 0x25008386: mov dword ptr [ebp + 0x10], edi */
  18708     goto L_2500838D; /* 0x25008389: jmp 0x2500838d */
  18709 L_2500838B:
  18710     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18711     eax = 0; /* 0x2500838B: xor eax, eax */
  18712     _cf = 0;
  18713     _flag_k = FK_TEST;
  18714 L_2500838D:
  18715     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  18716     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  18717     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  18718     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  18719     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18720     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  18721     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  18722     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  18723     RECOMP_FLAGS_IN();
  18724     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  18725     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  18726     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  18727     RECOMP_FLAGS_IN();
  18728     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  18729     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18730     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  18731     _flag_k = FK_ADD;
  18732     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  18733     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  18734     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18735     _cf = 0;
  18736     _flag_k = FK_TEST;
  18737     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  18738     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  18739 L_250083C3:
  18740     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  18741     ecx = eax; /* 0x250083C5: mov ecx, eax */
  18742     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  18743     RECOMP_FLAGS_IN();
  18744     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  18745 L_250083CE:
  18746     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18747     eax = 0; /* 0x250083CE: xor eax, eax */
  18748     _cf = 0;
  18749     _flag_k = FK_TEST;
  18750 L_250083D0:
  18751     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  18752     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  18753     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  18754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18755     _cf = 0;
  18756     _flag_k = FK_TEST;
  18757     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  18758     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  18759     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  18760 L_250083E7:
  18761     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  18762     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  18763     RECOMP_FLAGS_IN();
  18764     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18765     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18766     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  18767     _flag_k = FK_ADD;
  18768     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  18769     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  18770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18771     _cf = 0;
  18772     _flag_k = FK_TEST;
  18773     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  18774     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  18775 L_250083FF:
  18776     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  18777     ecx = eax; /* 0x25008404: mov ecx, eax */
  18778     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  18779     RECOMP_FLAGS_IN();
  18780     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  18781 L_2500840D:
  18782     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18783     eax = 0; /* 0x2500840D: xor eax, eax */
  18784     _cf = 0;
  18785     _flag_k = FK_TEST;
  18786 L_2500840F:
  18787     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  18788     PUSH32(esp, eax); /* 0x25008415: push eax */
  18789     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  18790     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  18791     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  18792     RECOMP_FLAGS_IN();
  18793     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  18794     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  18795     RECOMP_FLAGS_IN();
  18796 L_25008430:
  18797     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18798     edx = 0; /* 0x25008430: xor edx, edx */
  18799     _cf = 0;
  18800     _flag_k = FK_TEST;
  18801     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  18802     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  18803     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  18804     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  18805     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  18806     /* test eax, eax */ /* 0x25008450: test eax, eax */
  18807     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18808     _cf = 0;
  18809     _flag_k = FK_TEST;
  18810     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  18811 L_25008454:
  18812     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18813     ecx = 0; /* 0x25008454: xor ecx, ecx */
  18814     _cf = 0;
  18815     _flag_k = FK_TEST;
  18816     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  18817     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  18818     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  18819     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18820     eax = 0; /* 0x2500845F: xor eax, eax */
  18821     _cf = 0;
  18822     _flag_k = FK_TEST;
  18823 L_25008461:
  18824     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  18825     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  18826     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  18827     edi = ecx; /* 0x25008475: mov edi, ecx */
  18828     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  18829     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18830     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  18831     _flag_k = FK_ADD;
  18832     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  18833     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  18834     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  18835     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  18836     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  18837     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  18838     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  18839     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  18840     edx = edx + 1; /* 0x25008490: inc edx */
  18841     _flag_k = FK_INC;
  18842     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  18843     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18844     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  18845     _flag_k = FK_ADD;
  18846     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  18847     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18848     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  18849     _flag_k = FK_ADD;
  18850     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  18851     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  18852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18853     _flag_k = FK_CMP;
  18854     RECOMP_BACKEDGE();
  18855     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  18856 L_2500849B:
  18857     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  18858     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18859     eax = 0; /* 0x250084A1: xor eax, eax */
  18860     _cf = 0;
  18861     _flag_k = FK_TEST;
  18862     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  18863     ecx = edi; /* 0x250084A6: mov ecx, edi */
  18864     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  18865     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  18866     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  18867     RECOMP_FLAGS_IN();
  18868     ecx = edi; /* 0x250084B3: mov ecx, edi */
  18869     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  18870     RECOMP_FLAGS_IN();
  18871     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  18872     ecx = esi; /* 0x250084C0: mov ecx, esi */
  18873     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  18874     RECOMP_FLAGS_IN();
  18875     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  18876     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  18877     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  18878     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  18879     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  18880     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  18881     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  18882     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  18883     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  18884     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  18885     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  18886     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  18887     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  18888     eax = esi; /* 0x2500850C: mov eax, esi */
  18889     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  18890     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  18891     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  18892     esp = ebp; /* 0x25008517: mov esp, ebp */
  18893     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  18894     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  18895     RECOMP_REGS_OUT();
  18896 }
  18897 
  18898 void sub_2500836A(void) {
  18899     int _fpu_cmp = 0;
  18900     uint32_t _cf = 0;
  18901     int _df = 1;
  18902     uint32_t _flag_k = FK_NONE;
  18903     uint32_t _flag_a = 0, _flag_b = 0;
  18904     uint32_t _itail_tgt = 0;
  18905     RECOMP_REGS_LOCALS
  18906     RECOMP_ENTER(0x2500836Au);
  18907 
  18908 L_2500836A:
  18909     edi = MEM32(esi + 0x1F8); /* 0x2500836A: mov edi, dword ptr [esi + 0x1f8] */
  18910     if (2u) _cf = (((edi) >> 30) & 1u); /* 0x25008370: shl edi, 2 */
  18911     if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18912     edi = edi << 2u; /* 0x25008370: shl edi, 2 */
  18913     eax = edi; /* 0x25008373: mov eax, edi */
  18914     if (5u) _cf = (((eax) >> 27) & 1u); /* 0x25008375: shl eax, 5 */
  18915     if (5u) { _flag_a = recomp_flags_pack((eax << 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18916     eax = eax << 5u; /* 0x25008375: shl eax, 5 */
  18917     PUSH32(esp, eax); /* 0x25008378: push eax */
  18918     RECOMP_ICALL(0x251380D0u); /* 0x25008379: call 0x251380d0 */ /* not lifted */
  18919     RECOMP_FLAGS_IN();
  18920     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18921     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18922     esp = esp + 4; /* 0x2500837E: add esp, 4 */
  18923     _flag_k = FK_ADD;
  18924     /* test eax, eax */ /* 0x25008381: test eax, eax */
  18925     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18926     _cf = 0;
  18927     _flag_k = FK_TEST;
  18928     if (TEST_Z(_flag_a, _flag_b)) goto L_2500838B; /* 0x25008383: je 0x2500838b */
  18929 L_25008385:
  18930     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  18931     edi = edi - 1; /* 0x25008385: dec edi */
  18932     _flag_k = FK_DEC;
  18933     MEM32(ebp + 0x10) = edi; /* 0x25008386: mov dword ptr [ebp + 0x10], edi */
  18934     goto L_2500838D; /* 0x25008389: jmp 0x2500838d */
  18935 L_2500838B:
  18936     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18937     eax = 0; /* 0x2500838B: xor eax, eax */
  18938     _cf = 0;
  18939     _flag_k = FK_TEST;
  18940 L_2500838D:
  18941     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  18942     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  18943     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  18944     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  18945     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  18946     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  18947     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  18948     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  18949     RECOMP_FLAGS_IN();
  18950     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  18951     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  18952     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  18953     RECOMP_FLAGS_IN();
  18954     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  18955     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18956     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  18957     _flag_k = FK_ADD;
  18958     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  18959     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  18960     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18961     _cf = 0;
  18962     _flag_k = FK_TEST;
  18963     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  18964     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  18965 L_250083C3:
  18966     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  18967     ecx = eax; /* 0x250083C5: mov ecx, eax */
  18968     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  18969     RECOMP_FLAGS_IN();
  18970     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  18971 L_250083CE:
  18972     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  18973     eax = 0; /* 0x250083CE: xor eax, eax */
  18974     _cf = 0;
  18975     _flag_k = FK_TEST;
  18976 L_250083D0:
  18977     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  18978     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  18979     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  18980     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18981     _cf = 0;
  18982     _flag_k = FK_TEST;
  18983     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  18984     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  18985     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  18986 L_250083E7:
  18987     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  18988     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  18989     RECOMP_FLAGS_IN();
  18990     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18991     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18992     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  18993     _flag_k = FK_ADD;
  18994     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  18995     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  18996     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  18997     _cf = 0;
  18998     _flag_k = FK_TEST;
  18999     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  19000     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  19001 L_250083FF:
  19002     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  19003     ecx = eax; /* 0x25008404: mov ecx, eax */
  19004     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  19005     RECOMP_FLAGS_IN();
  19006     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  19007 L_2500840D:
  19008     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19009     eax = 0; /* 0x2500840D: xor eax, eax */
  19010     _cf = 0;
  19011     _flag_k = FK_TEST;
  19012 L_2500840F:
  19013     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  19014     PUSH32(esp, eax); /* 0x25008415: push eax */
  19015     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  19016     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  19017     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  19018     RECOMP_FLAGS_IN();
  19019     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  19020     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  19021     RECOMP_FLAGS_IN();
  19022 L_25008430:
  19023     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19024     edx = 0; /* 0x25008430: xor edx, edx */
  19025     _cf = 0;
  19026     _flag_k = FK_TEST;
  19027     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  19028     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  19029     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  19030     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  19031     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  19032     /* test eax, eax */ /* 0x25008450: test eax, eax */
  19033     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19034     _cf = 0;
  19035     _flag_k = FK_TEST;
  19036     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  19037 L_25008454:
  19038     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19039     ecx = 0; /* 0x25008454: xor ecx, ecx */
  19040     _cf = 0;
  19041     _flag_k = FK_TEST;
  19042     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  19043     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  19044     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  19045     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19046     eax = 0; /* 0x2500845F: xor eax, eax */
  19047     _cf = 0;
  19048     _flag_k = FK_TEST;
  19049 L_25008461:
  19050     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  19051     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  19052     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  19053     edi = ecx; /* 0x25008475: mov edi, ecx */
  19054     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  19055     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19056     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  19057     _flag_k = FK_ADD;
  19058     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  19059     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  19060     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  19061     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  19062     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  19063     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  19064     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  19065     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  19066     edx = edx + 1; /* 0x25008490: inc edx */
  19067     _flag_k = FK_INC;
  19068     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  19069     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19070     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  19071     _flag_k = FK_ADD;
  19072     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  19073     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19074     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  19075     _flag_k = FK_ADD;
  19076     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  19077     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  19078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19079     _flag_k = FK_CMP;
  19080     RECOMP_BACKEDGE();
  19081     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  19082 L_2500849B:
  19083     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  19084     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19085     eax = 0; /* 0x250084A1: xor eax, eax */
  19086     _cf = 0;
  19087     _flag_k = FK_TEST;
  19088     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  19089     ecx = edi; /* 0x250084A6: mov ecx, edi */
  19090     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  19091     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  19092     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  19093     RECOMP_FLAGS_IN();
  19094     ecx = edi; /* 0x250084B3: mov ecx, edi */
  19095     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  19096     RECOMP_FLAGS_IN();
  19097     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  19098     ecx = esi; /* 0x250084C0: mov ecx, esi */
  19099     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  19100     RECOMP_FLAGS_IN();
  19101     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  19102     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  19103     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  19104     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  19105     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  19106     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  19107     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  19108     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  19109     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  19110     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  19111     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  19112     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  19113     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  19114     eax = esi; /* 0x2500850C: mov eax, esi */
  19115     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  19116     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  19117     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  19118     esp = ebp; /* 0x25008517: mov esp, ebp */
  19119     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  19120     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  19121     RECOMP_REGS_OUT();
  19122 }
  19123 
  19124 void sub_2500838D(void) {
  19125     int _fpu_cmp = 0;
  19126     uint32_t _cf = 0;
  19127     int _df = 1;
  19128     uint32_t _flag_k = FK_NONE;
  19129     uint32_t _flag_a = 0, _flag_b = 0;
  19130     uint32_t _itail_tgt = 0;
  19131     RECOMP_REGS_LOCALS
  19132     RECOMP_ENTER(0x2500838Du);
  19133 
  19134 L_2500838D:
  19135     MEM32(esi + 0x2AC) = eax; /* 0x2500838D: mov dword ptr [esi + 0x2ac], eax */
  19136     eax = MEM32(esi + 0x1F8); /* 0x25008393: mov eax, dword ptr [esi + 0x1f8] */
  19137     ecx = eax + eax * 2; /* 0x25008399: lea ecx, [eax + eax*2] */
  19138     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2500839C: shl ecx, 2 */
  19139     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  19140     ecx = ecx << 2u; /* 0x2500839C: shl ecx, 2 */
  19141     PUSH32(esp, ecx); /* 0x2500839F: push ecx */
  19142     RECOMP_ICALL(0x251380D0u); /* 0x250083A0: call 0x251380d0 */ /* not lifted */
  19143     RECOMP_FLAGS_IN();
  19144     PUSH32(esp, 0xB8u); /* 0x250083A5: push 0xb8 */
  19145     MEM32(esi + 0x2B0) = eax; /* 0x250083AA: mov dword ptr [esi + 0x2b0], eax */
  19146     RECOMP_ICALL(0x251380D0u); /* 0x250083B0: call 0x251380d0 */ /* not lifted */
  19147     RECOMP_FLAGS_IN();
  19148     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  19149     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19150     esp = esp + 8; /* 0x250083B5: add esp, 8 */
  19151     _flag_k = FK_ADD;
  19152     MEM32(ebp + 0x10) = eax; /* 0x250083B8: mov dword ptr [ebp + 0x10], eax */
  19153     /* test eax, eax */ /* 0x250083BB: test eax, eax */
  19154     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19155     _cf = 0;
  19156     _flag_k = FK_TEST;
  19157     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x250083BD: mov byte ptr [ebp - 4], 4 */
  19158     if (TEST_Z(_flag_a, _flag_b)) goto L_250083CE; /* 0x250083C1: je 0x250083ce */
  19159 L_250083C3:
  19160     PUSH32(esp, 0); /* 0x250083C3: push 0 */
  19161     ecx = eax; /* 0x250083C5: mov ecx, eax */
  19162     RECOMP_ICALL(0x250EA530u); /* 0x250083C7: call 0x250ea530 */ /* not lifted */
  19163     RECOMP_FLAGS_IN();
  19164     goto L_250083D0; /* 0x250083CC: jmp 0x250083d0 */
  19165 L_250083CE:
  19166     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19167     eax = 0; /* 0x250083CE: xor eax, eax */
  19168     _cf = 0;
  19169     _flag_k = FK_TEST;
  19170 L_250083D0:
  19171     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  19172     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  19173     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  19174     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19175     _cf = 0;
  19176     _flag_k = FK_TEST;
  19177     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  19178     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  19179     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  19180 L_250083E7:
  19181     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  19182     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  19183     RECOMP_FLAGS_IN();
  19184     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  19185     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19186     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  19187     _flag_k = FK_ADD;
  19188     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  19189     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  19190     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19191     _cf = 0;
  19192     _flag_k = FK_TEST;
  19193     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  19194     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  19195 L_250083FF:
  19196     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  19197     ecx = eax; /* 0x25008404: mov ecx, eax */
  19198     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  19199     RECOMP_FLAGS_IN();
  19200     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  19201 L_2500840D:
  19202     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19203     eax = 0; /* 0x2500840D: xor eax, eax */
  19204     _cf = 0;
  19205     _flag_k = FK_TEST;
  19206 L_2500840F:
  19207     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  19208     PUSH32(esp, eax); /* 0x25008415: push eax */
  19209     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  19210     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  19211     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  19212     RECOMP_FLAGS_IN();
  19213     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  19214     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  19215     RECOMP_FLAGS_IN();
  19216 L_25008430:
  19217     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19218     edx = 0; /* 0x25008430: xor edx, edx */
  19219     _cf = 0;
  19220     _flag_k = FK_TEST;
  19221     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  19222     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  19223     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  19224     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  19225     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  19226     /* test eax, eax */ /* 0x25008450: test eax, eax */
  19227     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19228     _cf = 0;
  19229     _flag_k = FK_TEST;
  19230     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  19231 L_25008454:
  19232     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19233     ecx = 0; /* 0x25008454: xor ecx, ecx */
  19234     _cf = 0;
  19235     _flag_k = FK_TEST;
  19236     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  19237     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  19238     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  19239     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19240     eax = 0; /* 0x2500845F: xor eax, eax */
  19241     _cf = 0;
  19242     _flag_k = FK_TEST;
  19243 L_25008461:
  19244     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  19245     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  19246     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  19247     edi = ecx; /* 0x25008475: mov edi, ecx */
  19248     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  19249     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19250     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  19251     _flag_k = FK_ADD;
  19252     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  19253     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  19254     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  19255     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  19256     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  19257     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  19258     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  19259     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  19260     edx = edx + 1; /* 0x25008490: inc edx */
  19261     _flag_k = FK_INC;
  19262     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  19263     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19264     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  19265     _flag_k = FK_ADD;
  19266     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  19267     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19268     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  19269     _flag_k = FK_ADD;
  19270     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  19271     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  19272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19273     _flag_k = FK_CMP;
  19274     RECOMP_BACKEDGE();
  19275     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  19276 L_2500849B:
  19277     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  19278     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19279     eax = 0; /* 0x250084A1: xor eax, eax */
  19280     _cf = 0;
  19281     _flag_k = FK_TEST;
  19282     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  19283     ecx = edi; /* 0x250084A6: mov ecx, edi */
  19284     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  19285     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  19286     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  19287     RECOMP_FLAGS_IN();
  19288     ecx = edi; /* 0x250084B3: mov ecx, edi */
  19289     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  19290     RECOMP_FLAGS_IN();
  19291     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  19292     ecx = esi; /* 0x250084C0: mov ecx, esi */
  19293     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  19294     RECOMP_FLAGS_IN();
  19295     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  19296     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  19297     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  19298     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  19299     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  19300     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  19301     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  19302     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  19303     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  19304     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  19305     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  19306     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  19307     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  19308     eax = esi; /* 0x2500850C: mov eax, esi */
  19309     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  19310     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  19311     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  19312     esp = ebp; /* 0x25008517: mov esp, ebp */
  19313     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  19314     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  19315     RECOMP_REGS_OUT();
  19316 }
  19317 
  19318 void sub_250083D0(void) {
  19319     int _fpu_cmp = 0;
  19320     uint32_t _cf = 0;
  19321     int _df = 1;
  19322     uint32_t _flag_k = FK_NONE;
  19323     uint32_t _flag_a = 0, _flag_b = 0;
  19324     uint32_t _itail_tgt = 0;
  19325     RECOMP_REGS_LOCALS
  19326     RECOMP_ENTER(0x250083D0u);
  19327 
  19328 L_250083D0:
  19329     MEM32(esi + 0x298) = eax; /* 0x250083D0: mov dword ptr [esi + 0x298], eax */
  19330     eax = MEM32(eax + 0x68); /* 0x250083D6: mov eax, dword ptr [eax + 0x68] */
  19331     /* test eax, eax */ /* 0x250083D9: test eax, eax */
  19332     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19333     _cf = 0;
  19334     _flag_k = FK_TEST;
  19335     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250083DB: mov byte ptr [ebp - 4], 3 */
  19336     MEM32(esi + 0x168) = eax; /* 0x250083DF: mov dword ptr [esi + 0x168], eax */
  19337     if (TEST_NZ(_flag_a, _flag_b)) goto L_25008430; /* 0x250083E5: jne 0x25008430 */
  19338 L_250083E7:
  19339     PUSH32(esp, 0xDCu); /* 0x250083E7: push 0xdc */
  19340     RECOMP_ICALL(0x251380D0u); /* 0x250083EC: call 0x251380d0 */ /* not lifted */
  19341     RECOMP_FLAGS_IN();
  19342     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  19343     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19344     esp = esp + 4; /* 0x250083F1: add esp, 4 */
  19345     _flag_k = FK_ADD;
  19346     MEM32(ebp + 0x10) = eax; /* 0x250083F4: mov dword ptr [ebp + 0x10], eax */
  19347     /* test eax, eax */ /* 0x250083F7: test eax, eax */
  19348     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19349     _cf = 0;
  19350     _flag_k = FK_TEST;
  19351     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x250083F9: mov byte ptr [ebp - 4], 5 */
  19352     if (TEST_Z(_flag_a, _flag_b)) goto L_2500840D; /* 0x250083FD: je 0x2500840d */
  19353 L_250083FF:
  19354     PUSH32(esp, 0x251B2620u); /* 0x250083FF: push 0x251b2620 */
  19355     ecx = eax; /* 0x25008404: mov ecx, eax */
  19356     RECOMP_ICALL(0x250E96B0u); /* 0x25008406: call 0x250e96b0 */ /* not lifted */
  19357     RECOMP_FLAGS_IN();
  19358     goto L_2500840F; /* 0x2500840B: jmp 0x2500840f */
  19359 L_2500840D:
  19360     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19361     eax = 0; /* 0x2500840D: xor eax, eax */
  19362     _cf = 0;
  19363     _flag_k = FK_TEST;
  19364 L_2500840F:
  19365     ecx = MEM32(esi + 0x298); /* 0x2500840F: mov ecx, dword ptr [esi + 0x298] */
  19366     PUSH32(esp, eax); /* 0x25008415: push eax */
  19367     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x25008416: mov byte ptr [ebp - 4], 3 */
  19368     MEM32(esi + 0x168) = eax; /* 0x2500841A: mov dword ptr [esi + 0x168], eax */
  19369     RECOMP_ICALL(0x250E5090u); /* 0x25008420: call 0x250e5090 */ /* not lifted */
  19370     RECOMP_FLAGS_IN();
  19371     ecx = MEM32(esi + 0x168); /* 0x25008425: mov ecx, dword ptr [esi + 0x168] */
  19372     RECOMP_ICALL(0x250E6370u); /* 0x2500842B: call 0x250e6370 */ /* not lifted */
  19373     RECOMP_FLAGS_IN();
  19374 L_25008430:
  19375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19376     edx = 0; /* 0x25008430: xor edx, edx */
  19377     _cf = 0;
  19378     _flag_k = FK_TEST;
  19379     MEM32(esi + 0x29C) = edx; /* 0x25008432: mov dword ptr [esi + 0x29c], edx */
  19380     MEM32(esi + 0x2A0) = edx; /* 0x25008438: mov dword ptr [esi + 0x2a0], edx */
  19381     MEM32(esi + 0x2A4) = edx; /* 0x2500843E: mov dword ptr [esi + 0x2a4], edx */
  19382     MEM32(esi + 0x2A8) = edx; /* 0x25008444: mov dword ptr [esi + 0x2a8], edx */
  19383     eax = MEM32(esi + 0x1F8); /* 0x2500844A: mov eax, dword ptr [esi + 0x1f8] */
  19384     /* test eax, eax */ /* 0x25008450: test eax, eax */
  19385     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  19386     _cf = 0;
  19387     _flag_k = FK_TEST;
  19388     if (TEST_LE(_flag_a, _flag_b)) goto L_2500849B; /* 0x25008452: jle 0x2500849b */
  19389 L_25008454:
  19390     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19391     ecx = 0; /* 0x25008454: xor ecx, ecx */
  19392     _cf = 0;
  19393     _flag_k = FK_TEST;
  19394     MEM32(ebp + (-0x1C)) = edx; /* 0x25008456: mov dword ptr [ebp - 0x1c], edx */
  19395     MEM32(ebp + (-0x18)) = edx; /* 0x25008459: mov dword ptr [ebp - 0x18], edx */
  19396     MEM32(ebp + (-0x14)) = edx; /* 0x2500845C: mov dword ptr [ebp - 0x14], edx */
  19397     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19398     eax = 0; /* 0x2500845F: xor eax, eax */
  19399     _cf = 0;
  19400     _flag_k = FK_TEST;
  19401 L_25008461:
  19402     edi = MEM32(esi + 0x24C); /* 0x25008461: mov edi, dword ptr [esi + 0x24c] */
  19403     MEM32(eax + edi + 0x18) = 0; /* 0x25008467: mov dword ptr [eax + edi + 0x18], 0 */
  19404     ebx = MEM32(esi + 0x25C); /* 0x2500846F: mov ebx, dword ptr [esi + 0x25c] */
  19405     edi = ecx; /* 0x25008475: mov edi, ecx */
  19406     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
  19407     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19408     edi = edi + ebx; /* 0x25008477: add edi, ebx */
  19409     _flag_k = FK_ADD;
  19410     ebx = MEM32(ebp + (-0x1C)); /* 0x25008479: mov ebx, dword ptr [ebp - 0x1c] */
  19411     MEM32(edi) = ebx; /* 0x2500847C: mov dword ptr [edi], ebx */
  19412     ebx = MEM32(ebp + (-0x18)); /* 0x2500847E: mov ebx, dword ptr [ebp - 0x18] */
  19413     MEM32(edi + 0x4) = ebx; /* 0x25008481: mov dword ptr [edi + 4], ebx */
  19414     ebx = MEM32(ebp + (-0x14)); /* 0x25008484: mov ebx, dword ptr [ebp - 0x14] */
  19415     MEM32(edi + 0x8) = ebx; /* 0x25008487: mov dword ptr [edi + 8], ebx */
  19416     edi = MEM32(esi + 0x1F8); /* 0x2500848A: mov edi, dword ptr [esi + 0x1f8] */
  19417     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  19418     edx = edx + 1; /* 0x25008490: inc edx */
  19419     _flag_k = FK_INC;
  19420     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u);
  19421     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19422     eax = eax + 0x40u; /* 0x25008491: add eax, 0x40 */
  19423     _flag_k = FK_ADD;
  19424     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
  19425     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  19426     ecx = ecx + 0xCu; /* 0x25008494: add ecx, 0xc */
  19427     _flag_k = FK_ADD;
  19428     /* cmp edx, edi */ /* 0x25008497: cmp edx, edi */
  19429     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  19430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19431     _flag_k = FK_CMP;
  19432     RECOMP_BACKEDGE();
  19433     if (CMP_L(_flag_a, _flag_b)) goto L_25008461; /* 0x25008499: jl 0x25008461 */
  19434 L_2500849B:
  19435     edi = esi + 0x268; /* 0x2500849B: lea edi, [esi + 0x268] */
  19436     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  19437     eax = 0; /* 0x250084A1: xor eax, eax */
  19438     _cf = 0;
  19439     _flag_k = FK_TEST;
  19440     MEM32(edi + 0x8) = eax; /* 0x250084A3: mov dword ptr [edi + 8], eax */
  19441     ecx = edi; /* 0x250084A6: mov ecx, edi */
  19442     MEM32(edi + 0xC) = eax; /* 0x250084A8: mov dword ptr [edi + 0xc], eax */
  19443     MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250084AB: mov byte ptr [edi + 0x18], al */
  19444     RECOMP_ICALL(0x250E4550u); /* 0x250084AE: call 0x250e4550 */ /* not lifted */
  19445     RECOMP_FLAGS_IN();
  19446     ecx = edi; /* 0x250084B3: mov ecx, edi */
  19447     RECOMP_ICALL(0x250E45F0u); /* 0x250084B5: call 0x250e45f0 */ /* not lifted */
  19448     RECOMP_FLAGS_IN();
  19449     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x294) = _v; } /* 0x250084BA: fstp dword ptr [esi + 0x294] */
  19450     ecx = esi; /* 0x250084C0: mov ecx, esi */
  19451     RECOMP_ICALL(0x25009210u); /* 0x250084C2: call 0x25009210 */ /* not lifted */
  19452     RECOMP_FLAGS_IN();
  19453     MEM32(ebp + (-0x1C)) = 0; /* 0x250084C7: mov dword ptr [ebp - 0x1c], 0 */
  19454     eax = MEM32(ebp + (-0x1C)); /* 0x250084CE: mov eax, dword ptr [ebp - 0x1c] */
  19455     MEM32(esi + 0x238) = eax; /* 0x250084D1: mov dword ptr [esi + 0x238], eax */
  19456     MEM32(ebp + (-0x18)) = 0xBDCCCCCDu; /* 0x250084D7: mov dword ptr [ebp - 0x18], 0xbdcccccd */
  19457     ecx = MEM32(ebp + (-0x18)); /* 0x250084DE: mov ecx, dword ptr [ebp - 0x18] */
  19458     MEM32(esi + 0x23C) = ecx; /* 0x250084E1: mov dword ptr [esi + 0x23c], ecx */
  19459     ecx = MEM32(ebp + (-0xC)); /* 0x250084E7: mov ecx, dword ptr [ebp - 0xc] */
  19460     MEM32(ebp + (-0x14)) = 0; /* 0x250084EA: mov dword ptr [ebp - 0x14], 0 */
  19461     edx = MEM32(ebp + (-0x14)); /* 0x250084F1: mov edx, dword ptr [ebp - 0x14] */
  19462     edi = POP32_VAL(esp); /* 0x250084F4: pop edi */
  19463     MEM8(esi + 0x1D4) = (uint8_t)(0); /* 0x250084F5: mov byte ptr [esi + 0x1d4], 0 */
  19464     MEM32(esi + 0x244) = 0x3D088889u; /* 0x250084FC: mov dword ptr [esi + 0x244], 0x3d088889 */
  19465     MEM32(esi + 0x240) = edx; /* 0x25008506: mov dword ptr [esi + 0x240], edx */
  19466     eax = esi; /* 0x2500850C: mov eax, esi */
  19467     esi = POP32_VAL(esp); /* 0x2500850E: pop esi */
  19468     ebx = POP32_VAL(esp); /* 0x2500850F: pop ebx */
  19469     MEM32(FS_BASE + (0)) = ecx; /* 0x25008510: mov dword ptr fs:[0], ecx */
  19470     esp = ebp; /* 0x25008517: mov esp, ebp */
  19471     ebp = POP32_VAL(esp); /* 0x25008519: pop ebp */
  19472     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2500851A: ret 0xc */
  19473     RECOMP_REGS_OUT();
  19474 }