aorecomp

Anarchy Online classic in the browser

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


client/game/bbr.dll/lifted-0006.c (1133415B)


      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_25019C80(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(0x25019C80u);
     17 
     18     goto L_25019C80;
     19 L_25018780:
     20     PUSH32(esp, ebp); /* 0x25018780: push ebp */
     21     ebp = esp; /* 0x25018781: mov ebp, esp */
     22     PUSH32(esp, ebx); /* 0x25018783: push ebx */
     23     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25018784: mov bl, byte ptr [ebp + 8] */
     24     /* test LO8(ebx), 2 */ /* 0x25018787: test bl, 2 */
     25     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
     26     _cf = 0;
     27     _flag_k = FK_NARROW(FK_TEST, 24);
     28     PUSH32(esp, esi); /* 0x2501878A: push esi */
     29     esi = ecx; /* 0x2501878B: mov esi, ecx */
     30     if (TEST_Z(_flag_a, _flag_b)) goto L_250187BE; /* 0x2501878D: je 0x250187be */
     31 L_2501878F:
     32     eax = MEM32(esi + (-0x4)); /* 0x2501878F: mov eax, dword ptr [esi - 4] */
     33     PUSH32(esp, edi); /* 0x25018792: push edi */
     34     PUSH32(esp, 0x25018A40u); /* 0x25018793: push 0x25018a40 */
     35     edi = esi + (-0x4); /* 0x25018798: lea edi, [esi - 4] */
     36     PUSH32(esp, eax); /* 0x2501879B: push eax */
     37     PUSH32(esp, 0x27Cu); /* 0x2501879C: push 0x27c */
     38     PUSH32(esp, esi); /* 0x250187A1: push esi */
     39     RECOMP_ICALL(0x25137F92u); /* 0x250187A2: call 0x25137f92 */ /* not lifted */
     40     RECOMP_FLAGS_IN();
     41     /* test LO8(ebx), 1 */ /* 0x250187A7: test bl, 1 */
     42     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
     43     _cf = 0;
     44     _flag_k = FK_NARROW(FK_TEST, 24);
     45     if (TEST_Z(_flag_a, _flag_b)) goto L_250187B5; /* 0x250187AA: je 0x250187b5 */
     46 L_250187AC:
     47     PUSH32(esp, edi); /* 0x250187AC: push edi */
     48     RECOMP_ICALL(0x25137EECu); /* 0x250187AD: call 0x25137eec */ /* not lifted */
     49     RECOMP_FLAGS_IN();
     50     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     51     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     52     esp = esp + 4; /* 0x250187B2: add esp, 4 */
     53     _flag_k = FK_ADD;
     54 L_250187B5:
     55     eax = edi; /* 0x250187B5: mov eax, edi */
     56     edi = POP32_VAL(esp); /* 0x250187B7: pop edi */
     57     esi = POP32_VAL(esp); /* 0x250187B8: pop esi */
     58     ebx = POP32_VAL(esp); /* 0x250187B9: pop ebx */
     59     ebp = POP32_VAL(esp); /* 0x250187BA: pop ebp */
     60     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250187BB: ret 4 */
     61 L_250187BE:
     62     ecx = esi; /* 0x250187BE: mov ecx, esi */
     63     RECOMP_ICALL(0x25018A40u); /* 0x250187C0: call 0x25018a40 */ /* not lifted */
     64     RECOMP_FLAGS_IN();
     65     /* test LO8(ebx), 1 */ /* 0x250187C5: test bl, 1 */
     66     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
     67     _cf = 0;
     68     _flag_k = FK_NARROW(FK_TEST, 24);
     69     if (TEST_Z(_flag_a, _flag_b)) goto L_250187D3; /* 0x250187C8: je 0x250187d3 */
     70 L_250187CA:
     71     PUSH32(esp, esi); /* 0x250187CA: push esi */
     72     RECOMP_ICALL(0x25137EECu); /* 0x250187CB: call 0x25137eec */ /* not lifted */
     73     RECOMP_FLAGS_IN();
     74     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     75     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     76     esp = esp + 4; /* 0x250187D0: add esp, 4 */
     77     _flag_k = FK_ADD;
     78 L_250187D3:
     79     eax = esi; /* 0x250187D3: mov eax, esi */
     80     esi = POP32_VAL(esp); /* 0x250187D5: pop esi */
     81     ebx = POP32_VAL(esp); /* 0x250187D6: pop ebx */
     82     ebp = POP32_VAL(esp); /* 0x250187D7: pop ebp */
     83     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250187D8: ret 4 */
     84 L_25019C80:
     85     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
     86     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     87     ecx = ecx - 0x138u; /* 0x25019C80: sub ecx, 0x138 */
     88     _flag_k = FK_CMP;
     89     RECOMP_BACKEDGE();
     90     goto L_25018780; /* 0x25019C86: jmp 0x25018780 */
     91     { RECOMP_REGS_OUT(); return; } /* end of function */
     92     RECOMP_REGS_OUT();
     93 }
     94 
     95 void sub_25019C90(void) {
     96     int _fpu_cmp = 0;
     97     uint32_t _cf = 0;
     98     int _df = 1;
     99     uint32_t _flag_k = FK_NONE;
    100     uint32_t _flag_a = 0, _flag_b = 0;
    101     uint32_t _itail_tgt = 0;
    102     RECOMP_REGS_LOCALS
    103     RECOMP_ENTER(0x25019C90u);
    104 
    105     goto L_25019C90;
    106 L_25018780:
    107     PUSH32(esp, ebp); /* 0x25018780: push ebp */
    108     ebp = esp; /* 0x25018781: mov ebp, esp */
    109     PUSH32(esp, ebx); /* 0x25018783: push ebx */
    110     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25018784: mov bl, byte ptr [ebp + 8] */
    111     /* test LO8(ebx), 2 */ /* 0x25018787: test bl, 2 */
    112     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    113     _cf = 0;
    114     _flag_k = FK_NARROW(FK_TEST, 24);
    115     PUSH32(esp, esi); /* 0x2501878A: push esi */
    116     esi = ecx; /* 0x2501878B: mov esi, ecx */
    117     if (TEST_Z(_flag_a, _flag_b)) goto L_250187BE; /* 0x2501878D: je 0x250187be */
    118 L_2501878F:
    119     eax = MEM32(esi + (-0x4)); /* 0x2501878F: mov eax, dword ptr [esi - 4] */
    120     PUSH32(esp, edi); /* 0x25018792: push edi */
    121     PUSH32(esp, 0x25018A40u); /* 0x25018793: push 0x25018a40 */
    122     edi = esi + (-0x4); /* 0x25018798: lea edi, [esi - 4] */
    123     PUSH32(esp, eax); /* 0x2501879B: push eax */
    124     PUSH32(esp, 0x27Cu); /* 0x2501879C: push 0x27c */
    125     PUSH32(esp, esi); /* 0x250187A1: push esi */
    126     RECOMP_ICALL(0x25137F92u); /* 0x250187A2: call 0x25137f92 */ /* not lifted */
    127     RECOMP_FLAGS_IN();
    128     /* test LO8(ebx), 1 */ /* 0x250187A7: test bl, 1 */
    129     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    130     _cf = 0;
    131     _flag_k = FK_NARROW(FK_TEST, 24);
    132     if (TEST_Z(_flag_a, _flag_b)) goto L_250187B5; /* 0x250187AA: je 0x250187b5 */
    133 L_250187AC:
    134     PUSH32(esp, edi); /* 0x250187AC: push edi */
    135     RECOMP_ICALL(0x25137EECu); /* 0x250187AD: call 0x25137eec */ /* not lifted */
    136     RECOMP_FLAGS_IN();
    137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    138     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    139     esp = esp + 4; /* 0x250187B2: add esp, 4 */
    140     _flag_k = FK_ADD;
    141 L_250187B5:
    142     eax = edi; /* 0x250187B5: mov eax, edi */
    143     edi = POP32_VAL(esp); /* 0x250187B7: pop edi */
    144     esi = POP32_VAL(esp); /* 0x250187B8: pop esi */
    145     ebx = POP32_VAL(esp); /* 0x250187B9: pop ebx */
    146     ebp = POP32_VAL(esp); /* 0x250187BA: pop ebp */
    147     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250187BB: ret 4 */
    148 L_250187BE:
    149     ecx = esi; /* 0x250187BE: mov ecx, esi */
    150     RECOMP_ICALL(0x25018A40u); /* 0x250187C0: call 0x25018a40 */ /* not lifted */
    151     RECOMP_FLAGS_IN();
    152     /* test LO8(ebx), 1 */ /* 0x250187C5: test bl, 1 */
    153     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    154     _cf = 0;
    155     _flag_k = FK_NARROW(FK_TEST, 24);
    156     if (TEST_Z(_flag_a, _flag_b)) goto L_250187D3; /* 0x250187C8: je 0x250187d3 */
    157 L_250187CA:
    158     PUSH32(esp, esi); /* 0x250187CA: push esi */
    159     RECOMP_ICALL(0x25137EECu); /* 0x250187CB: call 0x25137eec */ /* not lifted */
    160     RECOMP_FLAGS_IN();
    161     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    162     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    163     esp = esp + 4; /* 0x250187D0: add esp, 4 */
    164     _flag_k = FK_ADD;
    165 L_250187D3:
    166     eax = esi; /* 0x250187D3: mov eax, esi */
    167     esi = POP32_VAL(esp); /* 0x250187D5: pop esi */
    168     ebx = POP32_VAL(esp); /* 0x250187D6: pop ebx */
    169     ebp = POP32_VAL(esp); /* 0x250187D7: pop ebp */
    170     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250187D8: ret 4 */
    171 L_25019C90:
    172     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
    173     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    174     ecx = ecx - 0x150u; /* 0x25019C90: sub ecx, 0x150 */
    175     _flag_k = FK_CMP;
    176     RECOMP_BACKEDGE();
    177     goto L_25018780; /* 0x25019C96: jmp 0x25018780 */
    178     { RECOMP_REGS_OUT(); return; } /* end of function */
    179     RECOMP_REGS_OUT();
    180 }
    181 
    182 void sub_25019CA0(void) {
    183     int _fpu_cmp = 0;
    184     uint32_t _cf = 0;
    185     int _df = 1;
    186     uint32_t _flag_k = FK_NONE;
    187     uint32_t _flag_a = 0, _flag_b = 0;
    188     uint32_t _itail_tgt = 0;
    189     RECOMP_REGS_LOCALS
    190     RECOMP_ENTER(0x25019CA0u);
    191 
    192 L_25019CA0:
    193     eax = MEM32(ecx + 0x27C); /* 0x25019CA0: mov eax, dword ptr [ecx + 0x27c] */
    194     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25019CA6: ret  */
    195     RECOMP_REGS_OUT();
    196 }
    197 
    198 void sub_25019CB0(void) {
    199     int _fpu_cmp = 0;
    200     uint32_t _cf = 0;
    201     int _df = 1;
    202     uint32_t _flag_k = FK_NONE;
    203     uint32_t _flag_a = 0, _flag_b = 0;
    204     uint32_t _itail_tgt = 0;
    205     RECOMP_REGS_LOCALS
    206     RECOMP_ENTER(0x25019CB0u);
    207 
    208 L_25019CB0:
    209     PUSH32(esp, ebp); /* 0x25019CB0: push ebp */
    210     ebp = esp; /* 0x25019CB1: mov ebp, esp */
    211     PUSH32(esp, ebx); /* 0x25019CB3: push ebx */
    212     PUSH32(esp, esi); /* 0x25019CB4: push esi */
    213     esi = MEM32(ebp + 0x8); /* 0x25019CB5: mov esi, dword ptr [ebp + 8] */
    214     PUSH32(esp, edi); /* 0x25019CB8: push edi */
    215     ebx = ecx; /* 0x25019CB9: mov ebx, ecx */
    216     PUSH32(esp, esi); /* 0x25019CBB: push esi */
    217     RECOMP_ICALL(0x250DAB70u); /* 0x25019CBC: call 0x250dab70 */ /* not lifted */
    218     RECOMP_FLAGS_IN();
    219     eax = MEM32(esi + 0x1D4); /* 0x25019CC1: mov eax, dword ptr [esi + 0x1d4] */
    220     MEM32(ebx + 0x1D4) = eax; /* 0x25019CC7: mov dword ptr [ebx + 0x1d4], eax */
    221     ecx = MEM32(esi + 0x1D8); /* 0x25019CCD: mov ecx, dword ptr [esi + 0x1d8] */
    222     MEM32(ebx + 0x1D8) = ecx; /* 0x25019CD3: mov dword ptr [ebx + 0x1d8], ecx */
    223     edx = MEM32(esi + 0x1DC); /* 0x25019CD9: mov edx, dword ptr [esi + 0x1dc] */
    224     MEM32(ebx + 0x1DC) = edx; /* 0x25019CDF: mov dword ptr [ebx + 0x1dc], edx */
    225     eax = MEM32(esi + 0x1E0); /* 0x25019CE5: mov eax, dword ptr [esi + 0x1e0] */
    226     MEM32(ebx + 0x1E0) = eax; /* 0x25019CEB: mov dword ptr [ebx + 0x1e0], eax */
    227     ecx = MEM32(esi + 0x1E4); /* 0x25019CF1: mov ecx, dword ptr [esi + 0x1e4] */
    228     MEM32(ebx + 0x1E4) = ecx; /* 0x25019CF7: mov dword ptr [ebx + 0x1e4], ecx */
    229     edx = MEM32(esi + 0x1E8); /* 0x25019CFD: mov edx, dword ptr [esi + 0x1e8] */
    230     MEM32(ebx + 0x1E8) = edx; /* 0x25019D03: mov dword ptr [ebx + 0x1e8], edx */
    231     eax = MEM32(esi + 0x1EC); /* 0x25019D09: mov eax, dword ptr [esi + 0x1ec] */
    232     MEM32(ebx + 0x1EC) = eax; /* 0x25019D0F: mov dword ptr [ebx + 0x1ec], eax */
    233     ecx = MEM32(esi + 0x1F0); /* 0x25019D15: mov ecx, dword ptr [esi + 0x1f0] */
    234     MEM32(ebx + 0x1F0) = ecx; /* 0x25019D1B: mov dword ptr [ebx + 0x1f0], ecx */
    235     edx = MEM32(esi + 0x1F4); /* 0x25019D21: mov edx, dword ptr [esi + 0x1f4] */
    236     MEM32(ebx + 0x1F4) = edx; /* 0x25019D27: mov dword ptr [ebx + 0x1f4], edx */
    237     eax = MEM32(esi + 0x1F8); /* 0x25019D2D: mov eax, dword ptr [esi + 0x1f8] */
    238     MEM32(ebx + 0x1F8) = eax; /* 0x25019D33: mov dword ptr [ebx + 0x1f8], eax */
    239     eax = MEM32(ebp + 0x8); /* 0x25019D39: mov eax, dword ptr [ebp + 8] */
    240     MEM32(ebx) = 0x25151990u; /* 0x25019D3C: mov dword ptr [ebx], 0x25151990 */
    241     MEM32(ebx + 0x8) = 0x25151980u; /* 0x25019D42: mov dword ptr [ebx + 8], 0x25151980 */
    242     MEM32(ebx + 0x20) = 0x25151970u; /* 0x25019D49: mov dword ptr [ebx + 0x20], 0x25151970 */
    243     MEM32(ebx + 0x38) = 0x25151960u; /* 0x25019D50: mov dword ptr [ebx + 0x38], 0x25151960 */
    244     MEM32(ebx + 0x50) = 0x25151950u; /* 0x25019D57: mov dword ptr [ebx + 0x50], 0x25151950 */
    245     MEM32(ebx + 0x138) = 0x25151940u; /* 0x25019D5E: mov dword ptr [ebx + 0x138], 0x25151940 */
    246     MEM32(ebx + 0x150) = 0x25151930u; /* 0x25019D68: mov dword ptr [ebx + 0x150], 0x25151930 */
    247     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x1FCu);
    248     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    249     esi = esi + 0x1FCu; /* 0x25019D72: add esi, 0x1fc */
    250     _flag_k = FK_ADD;
    251     edi = ebx + 0x1FC; /* 0x25019D78: lea edi, [ebx + 0x1fc] */
    252     ecx = 0x1Du; /* 0x25019D7E: mov ecx, 0x1d */
    253     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x25019D83: 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; }
    254     ecx = MEM32(eax + 0x270); /* 0x25019D85: mov ecx, dword ptr [eax + 0x270] */
    255     MEM32(ebx + 0x270) = ecx; /* 0x25019D8B: mov dword ptr [ebx + 0x270], ecx */
    256     edx = MEM32(eax + 0x274); /* 0x25019D91: mov edx, dword ptr [eax + 0x274] */
    257     MEM32(ebx + 0x274) = edx; /* 0x25019D97: mov dword ptr [ebx + 0x274], edx */
    258     ecx = MEM32(eax + 0x278); /* 0x25019D9D: mov ecx, dword ptr [eax + 0x278] */
    259     MEM32(ebx + 0x278) = ecx; /* 0x25019DA3: mov dword ptr [ebx + 0x278], ecx */
    260     edx = MEM32(eax + 0x27C); /* 0x25019DA9: mov edx, dword ptr [eax + 0x27c] */
    261     edi = POP32_VAL(esp); /* 0x25019DAF: pop edi */
    262     esi = POP32_VAL(esp); /* 0x25019DB0: pop esi */
    263     MEM32(ebx + 0x27C) = edx; /* 0x25019DB1: mov dword ptr [ebx + 0x27c], edx */
    264     MEM32(ebx) = 0x251524B4u; /* 0x25019DB7: mov dword ptr [ebx], 0x251524b4 */
    265     MEM32(ebx + 0x8) = 0x251524A4u; /* 0x25019DBD: mov dword ptr [ebx + 8], 0x251524a4 */
    266     MEM32(ebx + 0x20) = 0x25152494u; /* 0x25019DC4: mov dword ptr [ebx + 0x20], 0x25152494 */
    267     MEM32(ebx + 0x38) = 0x25152484u; /* 0x25019DCB: mov dword ptr [ebx + 0x38], 0x25152484 */
    268     MEM32(ebx + 0x50) = 0x25152474u; /* 0x25019DD2: mov dword ptr [ebx + 0x50], 0x25152474 */
    269     MEM32(ebx + 0x138) = 0x25152464u; /* 0x25019DD9: mov dword ptr [ebx + 0x138], 0x25152464 */
    270     MEM32(ebx + 0x150) = 0x25152454u; /* 0x25019DE3: mov dword ptr [ebx + 0x150], 0x25152454 */
    271     eax = ebx; /* 0x25019DED: mov eax, ebx */
    272     ebx = POP32_VAL(esp); /* 0x25019DEF: pop ebx */
    273     ebp = POP32_VAL(esp); /* 0x25019DF0: pop ebp */
    274     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019DF1: ret 4 */
    275     RECOMP_REGS_OUT();
    276 }
    277 
    278 void sub_25019E00(void) {
    279     int _fpu_cmp = 0;
    280     uint32_t _cf = 0;
    281     int _df = 1;
    282     uint32_t _flag_k = FK_NONE;
    283     uint32_t _flag_a = 0, _flag_b = 0;
    284     uint32_t _itail_tgt = 0;
    285     RECOMP_REGS_LOCALS
    286     RECOMP_ENTER(0x25019E00u);
    287 
    288 L_25019E00:
    289     PUSH32(esp, 1); /* 0x25019E00: push 1 */
    290     PUSH32(esp, 0); /* 0x25019E02: push 0 */
    291     PUSH32(esp, 0); /* 0x25019E04: push 0 */
    292     RECOMP_ICALL(0x25019E70u); /* 0x25019E06: call 0x25019e70 */ /* not lifted */
    293     RECOMP_FLAGS_IN();
    294     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25019E0B: ret  */
    295     RECOMP_REGS_OUT();
    296 }
    297 
    298 void sub_25019E10(void) {
    299     int _fpu_cmp = 0;
    300     uint32_t _cf = 0;
    301     int _df = 1;
    302     uint32_t _flag_k = FK_NONE;
    303     uint32_t _flag_a = 0, _flag_b = 0;
    304     uint32_t _itail_tgt = 0;
    305     RECOMP_REGS_LOCALS
    306     RECOMP_ENTER(0x25019E10u);
    307 
    308 L_25019E10:
    309     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
    310     ebp = esp; /* 0x25019E11: mov ebp, esp */
    311     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
    312     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
    313     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
    314     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    315     _cf = 0;
    316     _flag_k = FK_NARROW(FK_TEST, 24);
    317     PUSH32(esp, esi); /* 0x25019E1A: push esi */
    318     esi = ecx; /* 0x25019E1B: mov esi, ecx */
    319     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
    320 L_25019E1F:
    321     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
    322     PUSH32(esp, edi); /* 0x25019E22: push edi */
    323     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
    324     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
    325     PUSH32(esp, eax); /* 0x25019E2B: push eax */
    326     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
    327     PUSH32(esp, esi); /* 0x25019E31: push esi */
    328     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
    329     RECOMP_FLAGS_IN();
    330     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
    331     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    332     _cf = 0;
    333     _flag_k = FK_NARROW(FK_TEST, 24);
    334     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
    335 L_25019E3C:
    336     PUSH32(esp, edi); /* 0x25019E3C: push edi */
    337     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
    338     RECOMP_FLAGS_IN();
    339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    340     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    341     esp = esp + 4; /* 0x25019E42: add esp, 4 */
    342     _flag_k = FK_ADD;
    343 L_25019E45:
    344     eax = edi; /* 0x25019E45: mov eax, edi */
    345     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
    346     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
    347     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
    348     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
    349     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
    350 L_25019E4E:
    351     ecx = esi; /* 0x25019E4E: mov ecx, esi */
    352     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
    353     RECOMP_FLAGS_IN();
    354     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
    355     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    356     _cf = 0;
    357     _flag_k = FK_NARROW(FK_TEST, 24);
    358     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
    359 L_25019E5A:
    360     PUSH32(esp, esi); /* 0x25019E5A: push esi */
    361     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
    362     RECOMP_FLAGS_IN();
    363     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    364     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    365     esp = esp + 4; /* 0x25019E60: add esp, 4 */
    366     _flag_k = FK_ADD;
    367 L_25019E63:
    368     eax = esi; /* 0x25019E63: mov eax, esi */
    369     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
    370     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
    371     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
    372     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
    373     RECOMP_REGS_OUT();
    374 }
    375 
    376 void sub_25019E70(void) {
    377     int _fpu_cmp = 0;
    378     uint32_t _cf = 0;
    379     int _df = 1;
    380     uint32_t _flag_k = FK_NONE;
    381     uint32_t _flag_a = 0, _flag_b = 0;
    382     uint32_t _itail_tgt = 0;
    383     RECOMP_REGS_LOCALS
    384     RECOMP_ENTER(0x25019E70u);
    385 
    386 L_25019E70:
    387     PUSH32(esp, ebp); /* 0x25019E70: push ebp */
    388     ebp = esp; /* 0x25019E71: mov ebp, esp */
    389     PUSH32(esp, 0xFFFFFFFFu); /* 0x25019E73: push -1 */
    390     PUSH32(esp, 0x25145983u); /* 0x25019E75: push 0x25145983 */
    391     eax = MEM32(FS_BASE + (0)); /* 0x25019E7A: mov eax, dword ptr fs:[0] */
    392     PUSH32(esp, eax); /* 0x25019E80: push eax */
    393     MEM32(FS_BASE + (0)) = esp; /* 0x25019E81: mov dword ptr fs:[0], esp */
    394     PUSH32(esp, ecx); /* 0x25019E88: push ecx */
    395     eax = MEM32(ebp + 0x8); /* 0x25019E89: mov eax, dword ptr [ebp + 8] */
    396     PUSH32(esp, ebx); /* 0x25019E8C: push ebx */
    397     PUSH32(esp, esi); /* 0x25019E8D: push esi */
    398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    399     ebx = 0; /* 0x25019E8E: xor ebx, ebx */
    400     _cf = 0;
    401     _flag_k = FK_TEST;
    402     PUSH32(esp, ebx); /* 0x25019E90: push ebx */
    403     PUSH32(esp, ebx); /* 0x25019E91: push ebx */
    404     PUSH32(esp, ebx); /* 0x25019E92: push ebx */
    405     esi = ecx; /* 0x25019E93: mov esi, ecx */
    406     PUSH32(esp, eax); /* 0x25019E95: push eax */
    407     MEM32(ebp + (-0x10)) = esi; /* 0x25019E96: mov dword ptr [ebp - 0x10], esi */
    408     RECOMP_ICALL(0x2500B4B0u); /* 0x25019E99: call 0x2500b4b0 */ /* not lifted */
    409     RECOMP_FLAGS_IN();
    410     MEM32(esi + 0x1FC) = ebx; /* 0x25019E9E: mov dword ptr [esi + 0x1fc], ebx */
    411     MEM32(esi + 0x200) = ebx; /* 0x25019EA4: mov dword ptr [esi + 0x200], ebx */
    412     MEM32(esi + 0x204) = ebx; /* 0x25019EAA: mov dword ptr [esi + 0x204], ebx */
    413     MEM32(esi + 0x208) = ebx; /* 0x25019EB0: mov dword ptr [esi + 0x208], ebx */
    414     MEM32(esi + 0x20C) = ebx; /* 0x25019EB6: mov dword ptr [esi + 0x20c], ebx */
    415     MEM32(esi + 0x210) = ebx; /* 0x25019EBC: mov dword ptr [esi + 0x210], ebx */
    416     MEM32(esi + 0x214) = ebx; /* 0x25019EC2: mov dword ptr [esi + 0x214], ebx */
    417     MEM32(esi + 0x218) = ebx; /* 0x25019EC8: mov dword ptr [esi + 0x218], ebx */
    418     MEM32(esi + 0x21C) = ebx; /* 0x25019ECE: mov dword ptr [esi + 0x21c], ebx */
    419     MEM32(esi + 0x220) = ebx; /* 0x25019ED4: mov dword ptr [esi + 0x220], ebx */
    420     MEM32(esi + 0x224) = ebx; /* 0x25019EDA: mov dword ptr [esi + 0x224], ebx */
    421     MEM32(esi + 0x228) = ebx; /* 0x25019EE0: mov dword ptr [esi + 0x228], ebx */
    422     PUSH32(esp, 7); /* 0x25019EE6: push 7 */
    423     ecx = esi; /* 0x25019EE8: mov ecx, esi */
    424     MEM32(ebp + (-0x4)) = ebx; /* 0x25019EEA: mov dword ptr [ebp - 4], ebx */
    425     MEM32(esi) = 0x251524B4u; /* 0x25019EED: mov dword ptr [esi], 0x251524b4 */
    426     MEM32(esi + 0x8) = 0x251524A4u; /* 0x25019EF3: mov dword ptr [esi + 8], 0x251524a4 */
    427     MEM32(esi + 0x20) = 0x25152494u; /* 0x25019EFA: mov dword ptr [esi + 0x20], 0x25152494 */
    428     MEM32(esi + 0x38) = 0x25152484u; /* 0x25019F01: mov dword ptr [esi + 0x38], 0x25152484 */
    429     MEM32(esi + 0x50) = 0x25152474u; /* 0x25019F08: mov dword ptr [esi + 0x50], 0x25152474 */
    430     MEM32(esi + 0x138) = 0x25152464u; /* 0x25019F0F: mov dword ptr [esi + 0x138], 0x25152464 */
    431     MEM32(esi + 0x150) = 0x25152454u; /* 0x25019F19: mov dword ptr [esi + 0x150], 0x25152454 */
    432     RECOMP_ICALL(0x250DDB50u); /* 0x25019F23: call 0x250ddb50 */ /* not lifted */
    433     RECOMP_FLAGS_IN();
    434     eax = MEM32(ebp + 0xC); /* 0x25019F28: mov eax, dword ptr [ebp + 0xc] */
    435     /* cmp eax, ebx */ /* 0x25019F2B: cmp eax, ebx */
    436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    438     _flag_k = FK_CMP;
    439     MEM32(esi + 0x168) = eax; /* 0x25019F2D: mov dword ptr [esi + 0x168], eax */
    440     if (CMP_NE(_flag_a, _flag_b)) goto L_2501A0AE; /* 0x25019F33: jne 0x2501a0ae */
    441 L_25019F39:
    442     PUSH32(esp, 0xDCu); /* 0x25019F39: push 0xdc */
    443     RECOMP_ICALL(0x251380D0u); /* 0x25019F3E: call 0x251380d0 */ /* not lifted */
    444     RECOMP_FLAGS_IN();
    445     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    446     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    447     esp = esp + 4; /* 0x25019F43: add esp, 4 */
    448     _flag_k = FK_ADD;
    449     MEM32(ebp + 0x8) = eax; /* 0x25019F46: mov dword ptr [ebp + 8], eax */
    450     /* cmp eax, ebx */ /* 0x25019F49: cmp eax, ebx */
    451     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    453     _flag_k = FK_CMP;
    454     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x25019F4B: mov byte ptr [ebp - 4], 1 */
    455     if (CMP_EQ(_flag_a, _flag_b)) goto L_25019F5F; /* 0x25019F4F: je 0x25019f5f */
    456 L_25019F51:
    457     PUSH32(esp, 0x251B2658u); /* 0x25019F51: push 0x251b2658 */
    458     ecx = eax; /* 0x25019F56: mov ecx, eax */
    459     RECOMP_ICALL(0x250E96B0u); /* 0x25019F58: call 0x250e96b0 */ /* not lifted */
    460     RECOMP_FLAGS_IN();
    461     goto L_25019F61; /* 0x25019F5D: jmp 0x25019f61 */
    462 L_25019F5F:
    463     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    464     eax = 0; /* 0x25019F5F: xor eax, eax */
    465     _cf = 0;
    466     _flag_k = FK_TEST;
    467 L_25019F61:
    468     PUSH32(esp, 1); /* 0x25019F61: push 1 */
    469     PUSH32(esp, 0x88u); /* 0x25019F63: push 0x88 */
    470     ecx = eax; /* 0x25019F68: mov ecx, eax */
    471     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x25019F6A: mov byte ptr [ebp - 4], bl */
    472     MEM32(esi + 0x168) = eax; /* 0x25019F6D: mov dword ptr [esi + 0x168], eax */
    473     RECOMP_ICALL(0x250E9FA0u); /* 0x25019F73: call 0x250e9fa0 */ /* not lifted */
    474     RECOMP_FLAGS_IN();
    475     ecx = MEM32(esi + 0x168); /* 0x25019F78: mov ecx, dword ptr [esi + 0x168] */
    476     PUSH32(esp, ebx); /* 0x25019F7E: push ebx */
    477     PUSH32(esp, 0x89u); /* 0x25019F7F: push 0x89 */
    478     RECOMP_ICALL(0x250E9FA0u); /* 0x25019F84: call 0x250e9fa0 */ /* not lifted */
    479     RECOMP_FLAGS_IN();
    480     ecx = MEM32(esi + 0x168); /* 0x25019F89: mov ecx, dword ptr [esi + 0x168] */
    481     PUSH32(esp, ebx); /* 0x25019F8F: push ebx */
    482     PUSH32(esp, 0xEu); /* 0x25019F90: push 0xe */
    483     RECOMP_ICALL(0x250E9FA0u); /* 0x25019F92: call 0x250e9fa0 */ /* not lifted */
    484     RECOMP_FLAGS_IN();
    485     ecx = MEM32(esi + 0x168); /* 0x25019F97: mov ecx, dword ptr [esi + 0x168] */
    486     PUSH32(esp, 1); /* 0x25019F9D: push 1 */
    487     PUSH32(esp, 0x8Du); /* 0x25019F9F: push 0x8d */
    488     RECOMP_ICALL(0x250E9FA0u); /* 0x25019FA4: call 0x250e9fa0 */ /* not lifted */
    489     RECOMP_FLAGS_IN();
    490     ecx = MEM32(esi + 0x168); /* 0x25019FA9: mov ecx, dword ptr [esi + 0x168] */
    491     PUSH32(esp, 1); /* 0x25019FAF: push 1 */
    492     PUSH32(esp, 0x16u); /* 0x25019FB1: push 0x16 */
    493     RECOMP_ICALL(0x250E9FA0u); /* 0x25019FB3: call 0x250e9fa0 */ /* not lifted */
    494     RECOMP_FLAGS_IN();
    495     ecx = MEM32(esi + 0x168); /* 0x25019FB8: mov ecx, dword ptr [esi + 0x168] */
    496     PUSH32(esp, 1); /* 0x25019FBE: push 1 */
    497     PUSH32(esp, 0x94u); /* 0x25019FC0: push 0x94 */
    498     RECOMP_ICALL(0x250E9FA0u); /* 0x25019FC5: call 0x250e9fa0 */ /* not lifted */
    499     RECOMP_FLAGS_IN();
    500     /* cmp MEM32(esi + 0x1D8), ebx */ /* 0x25019FCA: cmp dword ptr [esi + 0x1d8], ebx */
    501     _flag_a = (uint32_t)(MEM32(esi + 0x1D8)); _flag_b = (uint32_t)(ebx);
    502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    503     _flag_k = FK_CMP;
    504     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A026; /* 0x25019FD0: je 0x2501a026 */
    505 L_25019FD2:
    506     ecx = MEM32(esi + 0x168); /* 0x25019FD2: mov ecx, dword ptr [esi + 0x168] */
    507     PUSH32(esp, 4); /* 0x25019FD8: push 4 */
    508     PUSH32(esp, 1); /* 0x25019FDA: push 1 */
    509     PUSH32(esp, ebx); /* 0x25019FDC: push ebx */
    510     RECOMP_ICALL(0x250EA080u); /* 0x25019FDD: call 0x250ea080 */ /* not lifted */
    511     RECOMP_FLAGS_IN();
    512     ecx = MEM32(esi + 0x168); /* 0x25019FE2: mov ecx, dword ptr [esi + 0x168] */
    513     PUSH32(esp, 2); /* 0x25019FE8: push 2 */
    514     PUSH32(esp, 2); /* 0x25019FEA: push 2 */
    515     PUSH32(esp, ebx); /* 0x25019FEC: push ebx */
    516     RECOMP_ICALL(0x250EA080u); /* 0x25019FED: call 0x250ea080 */ /* not lifted */
    517     RECOMP_FLAGS_IN();
    518     ecx = MEM32(esi + 0x168); /* 0x25019FF2: mov ecx, dword ptr [esi + 0x168] */
    519     PUSH32(esp, ebx); /* 0x25019FF8: push ebx */
    520     PUSH32(esp, 3); /* 0x25019FF9: push 3 */
    521     PUSH32(esp, ebx); /* 0x25019FFB: push ebx */
    522     RECOMP_ICALL(0x250EA080u); /* 0x25019FFC: call 0x250ea080 */ /* not lifted */
    523     RECOMP_FLAGS_IN();
    524     ecx = MEM32(esi + 0x168); /* 0x2501A001: mov ecx, dword ptr [esi + 0x168] */
    525     PUSH32(esp, 4); /* 0x2501A007: push 4 */
    526     PUSH32(esp, 4); /* 0x2501A009: push 4 */
    527     PUSH32(esp, ebx); /* 0x2501A00B: push ebx */
    528     RECOMP_ICALL(0x250EA080u); /* 0x2501A00C: call 0x250ea080 */ /* not lifted */
    529     RECOMP_FLAGS_IN();
    530     ecx = MEM32(esi + 0x168); /* 0x2501A011: mov ecx, dword ptr [esi + 0x168] */
    531     PUSH32(esp, 2); /* 0x2501A017: push 2 */
    532     PUSH32(esp, 5); /* 0x2501A019: push 5 */
    533     PUSH32(esp, ebx); /* 0x2501A01B: push ebx */
    534     RECOMP_ICALL(0x250EA080u); /* 0x2501A01C: call 0x250ea080 */ /* not lifted */
    535     RECOMP_FLAGS_IN();
    536     PUSH32(esp, ebx); /* 0x2501A021: push ebx */
    537     PUSH32(esp, 6); /* 0x2501A022: push 6 */
    538     goto L_2501A058; /* 0x2501A024: jmp 0x2501a058 */
    539 L_2501A026:
    540     ecx = MEM32(esi + 0x168); /* 0x2501A026: mov ecx, dword ptr [esi + 0x168] */
    541     PUSH32(esp, 2); /* 0x2501A02C: push 2 */
    542     PUSH32(esp, 1); /* 0x2501A02E: push 1 */
    543     PUSH32(esp, ebx); /* 0x2501A030: push ebx */
    544     RECOMP_ICALL(0x250EA080u); /* 0x2501A031: call 0x250ea080 */ /* not lifted */
    545     RECOMP_FLAGS_IN();
    546     ecx = MEM32(esi + 0x168); /* 0x2501A036: mov ecx, dword ptr [esi + 0x168] */
    547     PUSH32(esp, ebx); /* 0x2501A03C: push ebx */
    548     PUSH32(esp, 2); /* 0x2501A03D: push 2 */
    549     PUSH32(esp, ebx); /* 0x2501A03F: push ebx */
    550     RECOMP_ICALL(0x250EA080u); /* 0x2501A040: call 0x250ea080 */ /* not lifted */
    551     RECOMP_FLAGS_IN();
    552     ecx = MEM32(esi + 0x168); /* 0x2501A045: mov ecx, dword ptr [esi + 0x168] */
    553     PUSH32(esp, 2); /* 0x2501A04B: push 2 */
    554     PUSH32(esp, 4); /* 0x2501A04D: push 4 */
    555     PUSH32(esp, ebx); /* 0x2501A04F: push ebx */
    556     RECOMP_ICALL(0x250EA080u); /* 0x2501A050: call 0x250ea080 */ /* not lifted */
    557     RECOMP_FLAGS_IN();
    558     PUSH32(esp, ebx); /* 0x2501A055: push ebx */
    559     PUSH32(esp, 5); /* 0x2501A056: push 5 */
    560 L_2501A058:
    561     ecx = MEM32(esi + 0x168); /* 0x2501A058: mov ecx, dword ptr [esi + 0x168] */
    562     PUSH32(esp, ebx); /* 0x2501A05E: push ebx */
    563     RECOMP_ICALL(0x250EA080u); /* 0x2501A05F: call 0x250ea080 */ /* not lifted */
    564     RECOMP_FLAGS_IN();
    565     /* cmp MEM8(ebp + 0x10), LO8(ebx) */ /* 0x2501A064: cmp byte ptr [ebp + 0x10], bl */
    566     _flag_a = (uint32_t)(MEM8(ebp + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    568     _flag_k = FK_NARROW(FK_CMP, 24);
    569     ecx = MEM32(esi + 0x168); /* 0x2501A067: mov ecx, dword ptr [esi + 0x168] */
    570     PUSH32(esp, 1); /* 0x2501A06D: push 1 */
    571     PUSH32(esp, 0x1Bu); /* 0x2501A06F: push 0x1b */
    572     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A08B; /* 0x2501A071: je 0x2501a08b */
    573 L_2501A073:
    574     RECOMP_ICALL(0x250E9FA0u); /* 0x2501A073: call 0x250e9fa0 */ /* not lifted */
    575     RECOMP_FLAGS_IN();
    576     ecx = MEM32(esi + 0x168); /* 0x2501A078: mov ecx, dword ptr [esi + 0x168] */
    577     PUSH32(esp, 5); /* 0x2501A07E: push 5 */
    578     PUSH32(esp, 0x13u); /* 0x2501A080: push 0x13 */
    579     RECOMP_ICALL(0x250E9FA0u); /* 0x2501A082: call 0x250e9fa0 */ /* not lifted */
    580     RECOMP_FLAGS_IN();
    581     PUSH32(esp, 2); /* 0x2501A087: push 2 */
    582     goto L_2501A0A1; /* 0x2501A089: jmp 0x2501a0a1 */
    583 L_2501A08B:
    584     RECOMP_ICALL(0x250E9FA0u); /* 0x2501A08B: call 0x250e9fa0 */ /* not lifted */
    585     RECOMP_FLAGS_IN();
    586     ecx = MEM32(esi + 0x168); /* 0x2501A090: mov ecx, dword ptr [esi + 0x168] */
    587     PUSH32(esp, 5); /* 0x2501A096: push 5 */
    588     PUSH32(esp, 0x13u); /* 0x2501A098: push 0x13 */
    589     RECOMP_ICALL(0x250E9FA0u); /* 0x2501A09A: call 0x250e9fa0 */ /* not lifted */
    590     RECOMP_FLAGS_IN();
    591     PUSH32(esp, 6); /* 0x2501A09F: push 6 */
    592 L_2501A0A1:
    593     ecx = MEM32(esi + 0x168); /* 0x2501A0A1: mov ecx, dword ptr [esi + 0x168] */
    594     PUSH32(esp, 0x14u); /* 0x2501A0A7: push 0x14 */
    595     RECOMP_ICALL(0x250E9FA0u); /* 0x2501A0A9: call 0x250e9fa0 */ /* not lifted */
    596     RECOMP_FLAGS_IN();
    597 L_2501A0AE:
    598     ecx = MEM32(ebp + (-0xC)); /* 0x2501A0AE: mov ecx, dword ptr [ebp - 0xc] */
    599     MEM32(esi + 0x278) = ebx; /* 0x2501A0B1: mov dword ptr [esi + 0x278], ebx */
    600     MEM32(esi + 0x27C) = ebx; /* 0x2501A0B7: mov dword ptr [esi + 0x27c], ebx */
    601     eax = esi; /* 0x2501A0BD: mov eax, esi */
    602     esi = POP32_VAL(esp); /* 0x2501A0BF: pop esi */
    603     ebx = POP32_VAL(esp); /* 0x2501A0C0: pop ebx */
    604     MEM32(FS_BASE + (0)) = ecx; /* 0x2501A0C1: mov dword ptr fs:[0], ecx */
    605     esp = ebp; /* 0x2501A0C8: mov esp, ebp */
    606     ebp = POP32_VAL(esp); /* 0x2501A0CA: pop ebp */
    607     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2501A0CB: ret 0xc */
    608     RECOMP_REGS_OUT();
    609 }
    610 
    611 void sub_2501A0D0(void) {
    612     int _fpu_cmp = 0;
    613     uint32_t _cf = 0;
    614     int _df = 1;
    615     uint32_t _flag_k = FK_NONE;
    616     uint32_t _flag_a = 0, _flag_b = 0;
    617     uint32_t _itail_tgt = 0;
    618     RECOMP_REGS_LOCALS
    619     RECOMP_ENTER(0x2501A0D0u);
    620 
    621 L_2501A0D0:
    622     PUSH32(esp, ebp); /* 0x2501A0D0: push ebp */
    623     ebp = esp; /* 0x2501A0D1: mov ebp, esp */
    624     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501A0D3: push -1 */
    625     PUSH32(esp, 0x25145998u); /* 0x2501A0D5: push 0x25145998 */
    626     eax = MEM32(FS_BASE + (0)); /* 0x2501A0DA: mov eax, dword ptr fs:[0] */
    627     PUSH32(esp, eax); /* 0x2501A0E0: push eax */
    628     MEM32(FS_BASE + (0)) = esp; /* 0x2501A0E1: mov dword ptr fs:[0], esp */
    629     PUSH32(esp, ecx); /* 0x2501A0E8: push ecx */
    630     PUSH32(esp, esi); /* 0x2501A0E9: push esi */
    631     esi = ecx; /* 0x2501A0EA: mov esi, ecx */
    632     MEM32(ebp + (-0x10)) = esi; /* 0x2501A0EC: mov dword ptr [ebp - 0x10], esi */
    633     MEM32(esi) = 0x251524B4u; /* 0x2501A0EF: mov dword ptr [esi], 0x251524b4 */
    634     MEM32(esi + 0x8) = 0x251524A4u; /* 0x2501A0F5: mov dword ptr [esi + 8], 0x251524a4 */
    635     MEM32(esi + 0x20) = 0x25152494u; /* 0x2501A0FC: mov dword ptr [esi + 0x20], 0x25152494 */
    636     MEM32(esi + 0x38) = 0x25152484u; /* 0x2501A103: mov dword ptr [esi + 0x38], 0x25152484 */
    637     MEM32(esi + 0x50) = 0x25152474u; /* 0x2501A10A: mov dword ptr [esi + 0x50], 0x25152474 */
    638     MEM32(esi + 0x138) = 0x25152464u; /* 0x2501A111: mov dword ptr [esi + 0x138], 0x25152464 */
    639     MEM32(esi + 0x150) = 0x25152454u; /* 0x2501A11B: mov dword ptr [esi + 0x150], 0x25152454 */
    640     MEM32(ebp + (-0x4)) = 0; /* 0x2501A125: mov dword ptr [ebp - 4], 0 */
    641     RECOMP_ICALL(0x2501AA40u); /* 0x2501A12C: call 0x2501aa40 */ /* not lifted */
    642     RECOMP_FLAGS_IN();
    643     ecx = esi; /* 0x2501A131: mov ecx, esi */
    644     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501A133: mov dword ptr [ebp - 4], 0xffffffff */
    645     RECOMP_ICALL(0x2500B5A0u); /* 0x2501A13A: call 0x2500b5a0 */ /* not lifted */
    646     RECOMP_FLAGS_IN();
    647     ecx = MEM32(ebp + (-0xC)); /* 0x2501A13F: mov ecx, dword ptr [ebp - 0xc] */
    648     esi = POP32_VAL(esp); /* 0x2501A142: pop esi */
    649     MEM32(FS_BASE + (0)) = ecx; /* 0x2501A143: mov dword ptr fs:[0], ecx */
    650     esp = ebp; /* 0x2501A14A: mov esp, ebp */
    651     ebp = POP32_VAL(esp); /* 0x2501A14C: pop ebp */
    652     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501A14D: ret  */
    653     RECOMP_REGS_OUT();
    654 }
    655 
    656 void sub_2501A150(void) {
    657     int _fpu_cmp = 0;
    658     uint32_t _cf = 0;
    659     int _df = 1;
    660     uint32_t _flag_k = FK_NONE;
    661     uint32_t _flag_a = 0, _flag_b = 0;
    662     uint32_t _itail_tgt = 0;
    663     RECOMP_REGS_LOCALS
    664     RECOMP_ENTER(0x2501A150u);
    665 
    666 L_2501A150:
    667     PUSH32(esp, ebp); /* 0x2501A150: push ebp */
    668     ebp = esp; /* 0x2501A151: mov ebp, esp */
    669     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501A153: push -1 */
    670     PUSH32(esp, 0x251459D4u); /* 0x2501A155: push 0x251459d4 */
    671     eax = MEM32(FS_BASE + (0)); /* 0x2501A15A: mov eax, dword ptr fs:[0] */
    672     PUSH32(esp, eax); /* 0x2501A160: push eax */
    673     MEM32(FS_BASE + (0)) = esp; /* 0x2501A161: mov dword ptr fs:[0], esp */
    674     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18Cu);
    675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    676     esp = esp - 0x18Cu; /* 0x2501A168: sub esp, 0x18c */
    677     _flag_k = FK_CMP;
    678     PUSH32(esp, ebx); /* 0x2501A16E: push ebx */
    679     ebx = ecx; /* 0x2501A16F: mov ebx, ecx */
    680     eax = MEM32(ebx + 0x1D4); /* 0x2501A171: mov eax, dword ptr [ebx + 0x1d4] */
    681     PUSH32(esp, edi); /* 0x2501A177: push edi */
    682     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    683     edi = 0; /* 0x2501A178: xor edi, edi */
    684     _cf = 0;
    685     _flag_k = FK_TEST;
    686     /* cmp eax, edi */ /* 0x2501A17A: cmp eax, edi */
    687     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    689     _flag_k = FK_CMP;
    690     if (CMP_NE(_flag_a, _flag_b)) goto L_2501A8F8; /* 0x2501A17C: jne 0x2501a8f8 */
    691 L_2501A182:
    692     /* cmp MEM32(ebx + 0x27C), edi */ /* 0x2501A182: cmp dword ptr [ebx + 0x27c], edi */
    693     _flag_a = (uint32_t)(MEM32(ebx + 0x27C)); _flag_b = (uint32_t)(edi);
    694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    695     _flag_k = FK_CMP;
    696     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A8F8; /* 0x2501A188: je 0x2501a8f8 */
    697 L_2501A18E:
    698     PUSH32(esp, esi); /* 0x2501A18E: push esi */
    699     esi = MEM32(ebp + 0x8); /* 0x2501A18F: mov esi, dword ptr [ebp + 8] */
    700     PUSH32(esp, esi); /* 0x2501A192: push esi */
    701     RECOMP_ICALL(0x2500E820u); /* 0x2501A193: call 0x2500e820 */ /* not lifted */
    702     RECOMP_FLAGS_IN();
    703     eax = MEM32(ebx + 0x1D8); /* 0x2501A198: mov eax, dword ptr [ebx + 0x1d8] */
    704     PUSH32(esp, eax); /* 0x2501A19E: push eax */
    705     ecx = esi; /* 0x2501A19F: mov ecx, esi */
    706     RECOMP_ICALL(0x250DFDA0u); /* 0x2501A1A1: call 0x250dfda0 */ /* not lifted */
    707     RECOMP_FLAGS_IN();
    708     edx = MEM32(ebx); /* 0x2501A1A6: mov edx, dword ptr [ebx] */
    709     PUSH32(esp, esi); /* 0x2501A1A8: push esi */
    710     ecx = ebx; /* 0x2501A1A9: mov ecx, ebx */
    711     RECOMP_ICALL(MEM32(edx + 0x3C)); /* 0x2501A1AB: call dword ptr [edx + 0x3c] */
    712     RECOMP_FLAGS_IN();
    713     eax = MEM32(ebx); /* 0x2501A1AE: mov eax, dword ptr [ebx] */
    714     PUSH32(esp, esi); /* 0x2501A1B0: push esi */
    715     ecx = ebx; /* 0x2501A1B1: mov ecx, ebx */
    716     RECOMP_ICALL(MEM32(eax + 0x40)); /* 0x2501A1B3: call dword ptr [eax + 0x40] */
    717     RECOMP_FLAGS_IN();
    718     ecx = esi; /* 0x2501A1B6: mov ecx, esi */
    719     RECOMP_ICALL(0x250E05D0u); /* 0x2501A1B8: call 0x250e05d0 */ /* not lifted */
    720     RECOMP_FLAGS_IN();
    721     fp_push((double)(int32_t)MEM32(ebx + 0x270)); /* 0x2501A1BD: fild dword ptr [ebx + 0x270] */
    722     MEM32(ebp + (-0x10)) = edi; /* 0x2501A1C3: mov dword ptr [ebp - 0x10], edi */
    723     MEM32(ebp + (-0x94)) = edi; /* 0x2501A1C6: mov dword ptr [ebp - 0x94], edi */
    724     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501A1CC: fdivr dword ptr [0x251517a4] */
    725     MEM32(ebp + (-0x24)) = edi; /* 0x2501A1D2: mov dword ptr [ebp - 0x24], edi */
    726     MEM32(ebp + (-0x20)) = edi; /* 0x2501A1D5: mov dword ptr [ebp - 0x20], edi */
    727     MEM32(ebp + (-0x118)) = 0x3F800000u; /* 0x2501A1D8: mov dword ptr [ebp - 0x118], 0x3f800000 */
    728     MEM32(ebp + (-0x114)) = edi; /* 0x2501A1E2: mov dword ptr [ebp - 0x114], edi */
    729     MEM32(ebp + (-0x110)) = edi; /* 0x2501A1E8: mov dword ptr [ebp - 0x110], edi */
    730     MEM32(ebp + (-0x10C)) = edi; /* 0x2501A1EE: mov dword ptr [ebp - 0x10c], edi */
    731     MEM32(ebp + (-0x108)) = edi; /* 0x2501A1F4: mov dword ptr [ebp - 0x108], edi */
    732     MEM32(ebp + (-0x104)) = 0x3F800000u; /* 0x2501A1FA: mov dword ptr [ebp - 0x104], 0x3f800000 */
    733     MEM32(ebp + (-0x100)) = edi; /* 0x2501A204: mov dword ptr [ebp - 0x100], edi */
    734     MEM32(ebp + (-0xFC)) = edi; /* 0x2501A20A: mov dword ptr [ebp - 0xfc], edi */
    735     MEM32(ebp + (-0xF8)) = edi; /* 0x2501A210: mov dword ptr [ebp - 0xf8], edi */
    736     MEM32(ebp + (-0xF4)) = edi; /* 0x2501A216: mov dword ptr [ebp - 0xf4], edi */
    737     MEM32(ebp + (-0xF0)) = 0x3F800000u; /* 0x2501A21C: mov dword ptr [ebp - 0xf0], 0x3f800000 */
    738     MEM32(ebp + (-0xEC)) = edi; /* 0x2501A226: mov dword ptr [ebp - 0xec], edi */
    739     MEM32(ebp + (-0xE8)) = edi; /* 0x2501A22C: mov dword ptr [ebp - 0xe8], edi */
    740     MEM32(ebp + (-0xE4)) = edi; /* 0x2501A232: mov dword ptr [ebp - 0xe4], edi */
    741     MEM32(ebp + (-0xE0)) = edi; /* 0x2501A238: mov dword ptr [ebp - 0xe0], edi */
    742     MEM32(ebp + (-0xDC)) = 0x3F800000u; /* 0x2501A23E: mov dword ptr [ebp - 0xdc], 0x3f800000 */
    743     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501A248: fstp dword ptr [ebp - 0xb8] */
    744     fp_push((double)(int32_t)MEM32(ebx + 0x1E4)); /* 0x2501A24E: fild dword ptr [ebx + 0x1e4] */
    745     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501A254: fdivr dword ptr [0x251517a4] */
    746     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501A25A: fstp dword ptr [ebp - 0xb4] */
    747     ecx = ebx; /* 0x2501A260: mov ecx, ebx */
    748     MEM32(ebp + (-0x4)) = edi; /* 0x2501A262: mov dword ptr [ebp - 4], edi */
    749     RECOMP_ICALL(0x250E2EC0u); /* 0x2501A265: call 0x250e2ec0 */ /* not lifted */
    750     RECOMP_FLAGS_IN();
    751     fp_push(*(float*)&MEM32(eax + 0x38)); /* 0x2501A26A: fld dword ptr [eax + 0x38] */
    752     fp_push(*(float*)&MEM32(eax + 0x34)); /* 0x2501A26D: fld dword ptr [eax + 0x34] */
    753     ecx = MEM32(eax + 0x30); /* 0x2501A270: mov ecx, dword ptr [eax + 0x30] */
    754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
    755     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    756     eax = eax + 0x30u; /* 0x2501A273: add eax, 0x30 */
    757     _flag_k = FK_ADD;
    758     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE4)) = _v; } /* 0x2501A276: fstp dword ptr [ebp - 0xe4] */
    759     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501A27C: mov dword ptr [ebp - 0xe8], ecx */
    760     ecx = ebx; /* 0x2501A282: mov ecx, ebx */
    761     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501A284: fstp dword ptr [ebp - 0xe0] */
    762     RECOMP_ICALL(0x250E2EC0u); /* 0x2501A28A: call 0x250e2ec0 */ /* not lifted */
    763     RECOMP_FLAGS_IN();
    764     ecx = MEM32(0x25238B58); /* 0x2501A28F: mov ecx, dword ptr [0x25238b58] */
    765     PUSH32(esp, eax); /* 0x2501A295: push eax */
    766     PUSH32(esp, 1); /* 0x2501A296: push 1 */
    767     RECOMP_ICALL(0x250E8950u); /* 0x2501A298: call 0x250e8950 */ /* not lifted */
    768     RECOMP_FLAGS_IN();
    769     ecx = 0x10u; /* 0x2501A29D: mov ecx, 0x10 */
    770     esi = 0x2524C5B8u; /* 0x2501A2A2: mov esi, 0x2524c5b8 */
    771     edi = ebp + (-0x158); /* 0x2501A2A7: lea edi, [ebp - 0x158] */
    772     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501A2AD: 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; }
    773     ecx = ebp + (-0x158); /* 0x2501A2AF: lea ecx, [ebp - 0x158] */
    774     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501A2B5: mov byte ptr [ebp - 4], 1 */
    775     RECOMP_ICALL(MEM32(0x25151514)); /* 0x2501A2B9: call dword ptr [0x25151514] */
    776     RECOMP_FLAGS_IN();
    777     MEM32(ebp + (-0x48)) = 0x3F800000u; /* 0x2501A2BF: mov dword ptr [ebp - 0x48], 0x3f800000 */
    778     edx = MEM32(ebp + (-0x48)); /* 0x2501A2C6: mov edx, dword ptr [ebp - 0x48] */
    779     MEM32(ebp + (-0x44)) = 0; /* 0x2501A2C9: mov dword ptr [ebp - 0x44], 0 */
    780     eax = MEM32(ebp + (-0x44)); /* 0x2501A2D0: mov eax, dword ptr [ebp - 0x44] */
    781     MEM32(ebp + (-0x40)) = 0; /* 0x2501A2D3: mov dword ptr [ebp - 0x40], 0 */
    782     ecx = MEM32(ebp + (-0x40)); /* 0x2501A2DA: mov ecx, dword ptr [ebp - 0x40] */
    783     MEM32(ebp + (-0x128)) = 0; /* 0x2501A2DD: mov dword ptr [ebp - 0x128], 0 */
    784     MEM32(ebp + (-0x124)) = 0; /* 0x2501A2E7: mov dword ptr [ebp - 0x124], 0 */
    785     MEM32(ebp + (-0x120)) = 0; /* 0x2501A2F1: mov dword ptr [ebp - 0x120], 0 */
    786     MEM32(ebp + (-0x30)) = edx; /* 0x2501A2FB: mov dword ptr [ebp - 0x30], edx */
    787     MEM32(ebp + (-0x2C)) = eax; /* 0x2501A2FE: mov dword ptr [ebp - 0x2c], eax */
    788     MEM32(ebp + (-0x28)) = ecx; /* 0x2501A301: mov dword ptr [ebp - 0x28], ecx */
    789     edx = ebp + (-0x158); /* 0x2501A304: lea edx, [ebp - 0x158] */
    790     PUSH32(esp, edx); /* 0x2501A30A: push edx */
    791     ecx = ebp + (-0x30); /* 0x2501A30B: lea ecx, [ebp - 0x30] */
    792     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501A30E: call dword ptr [0x2515151c] */
    793     RECOMP_FLAGS_IN();
    794     ecx = MEM32(eax); /* 0x2501A314: mov ecx, dword ptr [eax] */
    795     edx = MEM32(eax + 0x4); /* 0x2501A316: mov edx, dword ptr [eax + 4] */
    796     eax = MEM32(eax + 0x8); /* 0x2501A319: mov eax, dword ptr [eax + 8] */
    797     MEM32(ebp + (-0x48)) = ecx; /* 0x2501A31C: mov dword ptr [ebp - 0x48], ecx */
    798     MEM32(ebp + (-0x3C)) = 0; /* 0x2501A31F: mov dword ptr [ebp - 0x3c], 0 */
    799     ecx = MEM32(ebp + (-0x3C)); /* 0x2501A326: mov ecx, dword ptr [ebp - 0x3c] */
    800     MEM32(ebp + (-0x30)) = ecx; /* 0x2501A329: mov dword ptr [ebp - 0x30], ecx */
    801     ecx = ebp + (-0x158); /* 0x2501A32C: lea ecx, [ebp - 0x158] */
    802     MEM32(ebp + (-0x44)) = edx; /* 0x2501A332: mov dword ptr [ebp - 0x44], edx */
    803     MEM32(ebp + (-0x40)) = eax; /* 0x2501A335: mov dword ptr [ebp - 0x40], eax */
    804     MEM32(ebp + (-0x38)) = 0x3F800000u; /* 0x2501A338: mov dword ptr [ebp - 0x38], 0x3f800000 */
    805     edx = MEM32(ebp + (-0x38)); /* 0x2501A33F: mov edx, dword ptr [ebp - 0x38] */
    806     MEM32(ebp + (-0x34)) = 0; /* 0x2501A342: mov dword ptr [ebp - 0x34], 0 */
    807     eax = MEM32(ebp + (-0x34)); /* 0x2501A349: mov eax, dword ptr [ebp - 0x34] */
    808     PUSH32(esp, ecx); /* 0x2501A34C: push ecx */
    809     ecx = ebp + (-0x30); /* 0x2501A34D: lea ecx, [ebp - 0x30] */
    810     MEM32(ebp + (-0x2C)) = edx; /* 0x2501A350: mov dword ptr [ebp - 0x2c], edx */
    811     MEM32(ebp + (-0x28)) = eax; /* 0x2501A353: mov dword ptr [ebp - 0x28], eax */
    812     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501A356: call dword ptr [0x2515151c] */
    813     RECOMP_FLAGS_IN();
    814     edx = MEM32(eax); /* 0x2501A35C: mov edx, dword ptr [eax] */
    815     ecx = MEM32(eax + 0x4); /* 0x2501A35E: mov ecx, dword ptr [eax + 4] */
    816     MEM32(ebp + (-0x3C)) = edx; /* 0x2501A361: mov dword ptr [ebp - 0x3c], edx */
    817     edx = MEM32(eax + 0x8); /* 0x2501A364: mov edx, dword ptr [eax + 8] */
    818     MEM32(ebp + (-0x38)) = ecx; /* 0x2501A367: mov dword ptr [ebp - 0x38], ecx */
    819     MEM32(ebp + (-0x34)) = edx; /* 0x2501A36A: mov dword ptr [ebp - 0x34], edx */
    820     eax = MEM32(ebx + 0x274); /* 0x2501A36D: mov eax, dword ptr [ebx + 0x274] */
    821     ecx = 0x10u; /* 0x2501A373: mov ecx, 0x10 */
    822     esi = 0x2524C5B8u; /* 0x2501A378: mov esi, 0x2524c5b8 */
    823     edi = ebp + (-0x198); /* 0x2501A37D: lea edi, [ebp - 0x198] */
    824     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501A383: 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; }
    825     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    826     edi = 0; /* 0x2501A385: xor edi, edi */
    827     _cf = 0;
    828     _flag_k = FK_TEST;
    829     /* cmp eax, edi */ /* 0x2501A387: cmp eax, edi */
    830     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    831     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    832     _flag_k = FK_CMP;
    833     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501A389: mov byte ptr [ebp - 4], 2 */
    834     MEM32(ebp + (-0xB0)) = edi; /* 0x2501A38D: mov dword ptr [ebp - 0xb0], edi */
    835     if (CMP_LE(_flag_a, _flag_b)) goto L_2501A8E5; /* 0x2501A393: jle 0x2501a8e5 */
    836 L_2501A399:
    837     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    838     esi = 0; /* 0x2501A399: xor esi, esi */
    839     _cf = 0;
    840     _flag_k = FK_TEST;
    841     MEM32(ebp + (-0xBC)) = 4; /* 0x2501A39B: mov dword ptr [ebp - 0xbc], 4 */
    842 L_2501A3A5:
    843     eax = MEM32(ebx + 0x278); /* 0x2501A3A5: mov eax, dword ptr [ebx + 0x278] */
    844     SET_LO8(ecx, MEM8(eax + edi + 0x70)); /* 0x2501A3AB: mov cl, byte ptr [eax + edi + 0x70] */
    845     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    846     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    847     eax = eax + edi; /* 0x2501A3AF: add eax, edi */
    848     _flag_k = FK_ADD;
    849     /* test LO8(ecx), LO8(ecx) */ /* 0x2501A3B1: test cl, cl */
    850     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    851     _cf = 0;
    852     _flag_k = FK_NARROW(FK_TEST, 24);
    853     MEM32(ebp + (-0xC0)) = eax; /* 0x2501A3B3: mov dword ptr [ebp - 0xc0], eax */
    854     if (TEST_Z(_flag_a, _flag_b)) goto L_2501A893; /* 0x2501A3B9: je 0x2501a893 */
    855 L_2501A3BF:
    856     ecx = MEM32(ebx + 0x1D8); /* 0x2501A3BF: mov ecx, dword ptr [ebx + 0x1d8] */
    857     /* test ecx, ecx */ /* 0x2501A3C5: test ecx, ecx */
    858     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    859     _cf = 0;
    860     _flag_k = FK_TEST;
    861     if (TEST_Z(_flag_a, _flag_b)) goto L_2501A407; /* 0x2501A3C7: je 0x2501a407 */
    862 L_2501A3C9:
    863     fp_push(*(float*)&MEM32(eax + 0x68)); /* 0x2501A3C9: fld dword ptr [eax + 0x68] */
    864     RECOMP_ICALL(0x251380E8u); /* 0x2501A3CC: call 0x251380e8 */ /* not lifted */
    865     RECOMP_FLAGS_IN();
    866     ecx = eax; /* 0x2501A3D1: mov ecx, eax */
    867     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501A3D3: cdq  */
    868     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(ebx + 0x270); /* 0x2501A3D4: idiv dword ptr [ebx + 0x270] */
    869       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
    870       else { eax = 0; edx = 0; } }
    871     eax = ecx; /* 0x2501A3DA: mov eax, ecx */
    872     MEM32(ebp + (-0x20)) = edx; /* 0x2501A3DC: mov dword ptr [ebp - 0x20], edx */
    873     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501A3DF: cdq  */
    874     fp_push((double)(int32_t)MEM32(ebp + (-0x20))); /* 0x2501A3E0: fild dword ptr [ebp - 0x20] */
    875     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(ebx + 0x1E4); /* 0x2501A3E3: idiv dword ptr [ebx + 0x1e4] */
    876       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
    877       else { eax = 0; edx = 0; } }
    878     _st[0] *= (double)*(float*)ADDR(ebp + (-0xB8)); /* 0x2501A3E9: fmul dword ptr [ebp - 0xb8] */
    879     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501A3EF: fstp dword ptr [ebp - 0x24] */
    880     MEM32(ebp + (-0x20)) = eax; /* 0x2501A3F2: mov dword ptr [ebp - 0x20], eax */
    881     fp_push((double)(int32_t)MEM32(ebp + (-0x20))); /* 0x2501A3F5: fild dword ptr [ebp - 0x20] */
    882     eax = MEM32(ebp + (-0xC0)); /* 0x2501A3F8: mov eax, dword ptr [ebp - 0xc0] */
    883     _st[0] *= (double)*(float*)ADDR(ebp + (-0xB4)); /* 0x2501A3FE: fmul dword ptr [ebp - 0xb4] */
    884     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501A404: fstp dword ptr [ebp - 0x20] */
    885 L_2501A407:
    886     ecx = MEM32(eax); /* 0x2501A407: mov ecx, dword ptr [eax] */
    887     edx = MEM32(eax + 0x4); /* 0x2501A409: mov edx, dword ptr [eax + 4] */
    888     eax = MEM32(eax + 0x8); /* 0x2501A40C: mov eax, dword ptr [eax + 8] */
    889     MEM32(ebp + (-0xCC)) = ecx; /* 0x2501A40F: mov dword ptr [ebp - 0xcc], ecx */
    890     ecx = ebp + (-0x198); /* 0x2501A415: lea ecx, [ebp - 0x198] */
    891     PUSH32(esp, ecx); /* 0x2501A41B: push ecx */
    892     ecx = ebp + (-0xCC); /* 0x2501A41C: lea ecx, [ebp - 0xcc] */
    893     MEM32(ebp + (-0xC8)) = edx; /* 0x2501A422: mov dword ptr [ebp - 0xc8], edx */
    894     MEM32(ebp + (-0xC4)) = eax; /* 0x2501A428: mov dword ptr [ebp - 0xc4], eax */
    895     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501A42E: call dword ptr [0x2515151c] */
    896     RECOMP_FLAGS_IN();
    897     edx = MEM32(eax); /* 0x2501A434: mov edx, dword ptr [eax] */
    898     ecx = MEM32(eax + 0x4); /* 0x2501A436: mov ecx, dword ptr [eax + 4] */
    899     MEM32(ebp + (-0x30)) = edx; /* 0x2501A439: mov dword ptr [ebp - 0x30], edx */
    900     edx = MEM32(eax + 0x8); /* 0x2501A43C: mov edx, dword ptr [eax + 8] */
    901     eax = MEM32(ebx + 0x278); /* 0x2501A43F: mov eax, dword ptr [ebx + 0x278] */
    902     MEM32(ebp + (-0x2C)) = ecx; /* 0x2501A445: mov dword ptr [ebp - 0x2c], ecx */
    903     ecx = eax + edi + 0x18; /* 0x2501A448: lea ecx, [eax + edi + 0x18] */
    904     MEM32(ebp + (-0x28)) = edx; /* 0x2501A44C: mov dword ptr [ebp - 0x28], edx */
    905     edx = MEM32(ecx); /* 0x2501A44F: mov edx, dword ptr [ecx] */
    906     eax = MEM32(ecx + 0x4); /* 0x2501A451: mov eax, dword ptr [ecx + 4] */
    907     ecx = MEM32(ecx + 0x8); /* 0x2501A454: mov ecx, dword ptr [ecx + 8] */
    908     MEM32(ebp + (-0xD8)) = edx; /* 0x2501A457: mov dword ptr [ebp - 0xd8], edx */
    909     edx = ebp + (-0x198); /* 0x2501A45D: lea edx, [ebp - 0x198] */
    910     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501A463: mov dword ptr [ebp - 0xd0], ecx */
    911     PUSH32(esp, edx); /* 0x2501A469: push edx */
    912     ecx = ebp + (-0xD8); /* 0x2501A46A: lea ecx, [ebp - 0xd8] */
    913     MEM32(ebp + (-0xD4)) = eax; /* 0x2501A470: mov dword ptr [ebp - 0xd4], eax */
    914     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501A476: call dword ptr [0x2515151c] */
    915     RECOMP_FLAGS_IN();
    916     ecx = MEM32(eax); /* 0x2501A47C: mov ecx, dword ptr [eax] */
    917     edx = MEM32(eax + 0x4); /* 0x2501A47E: mov edx, dword ptr [eax + 4] */
    918     eax = MEM32(eax + 0x8); /* 0x2501A481: mov eax, dword ptr [eax + 8] */
    919     MEM32(ebp + (-0x84)) = ecx; /* 0x2501A484: mov dword ptr [ebp - 0x84], ecx */
    920     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501A48A: fld dword ptr [ebp - 0x84] */
    921     _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501A490: fsub dword ptr [ebp - 0x30] */
    922     MEM32(ebp + (-0x80)) = edx; /* 0x2501A493: mov dword ptr [ebp - 0x80], edx */
    923     MEM32(ebp + (-0x7C)) = eax; /* 0x2501A496: mov dword ptr [ebp - 0x7c], eax */
    924     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501A499: fstp dword ptr [ebp - 0x84] */
    925     ecx = MEM32(ebp + (-0x84)); /* 0x2501A49F: mov ecx, dword ptr [ebp - 0x84] */
    926     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501A4A5: fld dword ptr [ebp - 0x80] */
    927     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501A4A8: mov dword ptr [ebp - 0x1c], ecx */
    928     _st[0] -= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501A4AB: fsub dword ptr [ebp - 0x2c] */
    929     PUSH32(esp, ecx); /* 0x2501A4AE: push ecx */
    930     ecx = ebp + (-0x1C); /* 0x2501A4AF: lea ecx, [ebp - 0x1c] */
    931     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501A4B2: fstp dword ptr [ebp - 0x80] */
    932     edx = MEM32(ebp + (-0x80)); /* 0x2501A4B5: mov edx, dword ptr [ebp - 0x80] */
    933     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501A4B8: fld dword ptr [ebp - 0x7c] */
    934     MEM32(ebp + (-0x18)) = edx; /* 0x2501A4BB: mov dword ptr [ebp - 0x18], edx */
    935     _st[0] -= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501A4BE: fsub dword ptr [ebp - 0x28] */
    936     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501A4C1: fstp dword ptr [ebp - 0x7c] */
    937     eax = MEM32(ebp + (-0x7C)); /* 0x2501A4C4: mov eax, dword ptr [ebp - 0x7c] */
    938     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501A4C7: fld dword ptr [ebp - 0x18] */
    939     MEM32(ebp + (-0x14)) = eax; /* 0x2501A4CA: mov dword ptr [ebp - 0x14], eax */
    940     fp_push(_st[0]); /* 0x2501A4CD: fld st(0) */
    941     MEM32(ebp + (-0x14)) = 0; /* 0x2501A4CF: mov dword ptr [ebp - 0x14], 0 */
    942     { double _v = fp_pop(); _st[0] *= _v; } /* 0x2501A4D6: fmulp st(1) */
    943     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501A4D8: fld dword ptr [ebp - 0x1c] */
    944     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A4DB: fmul dword ptr [ebp - 0x1c] */
    945     { double _v = fp_pop(); _st[0] += _v; } /* 0x2501A4DE: faddp st(1) */
    946     _st[0] = sqrt(_st[0]); /* 0x2501A4E0: fsqrt  */
    947     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501A4E2: fdivr dword ptr [0x251517a4] */
    948     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2501A4E8: fstp dword ptr [esp] */
    949     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2501A4EB: call dword ptr [0x25151510] */
    950     RECOMP_FLAGS_IN();
    951     fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x2501A4F1: fld dword ptr [ebp - 0x3c] */
    952     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A4F4: fmul dword ptr [ebp - 0x1c] */
    953     edx = MEM32(ebp + (-0x38)); /* 0x2501A4F7: mov edx, dword ptr [ebp - 0x38] */
    954     eax = MEM32(ebp + (-0x34)); /* 0x2501A4FA: mov eax, dword ptr [ebp - 0x34] */
    955     ecx = MEM32(ebp + (-0x3C)); /* 0x2501A4FD: mov ecx, dword ptr [ebp - 0x3c] */
    956     MEM32(ebp + (-0xA8)) = edx; /* 0x2501A500: mov dword ptr [ebp - 0xa8], edx */
    957     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501A506: fld dword ptr [ebp - 0xa8] */
    958     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A50C: fmul dword ptr [ebp - 0x1c] */
    959     edx = MEM32(ebp + (-0x44)); /* 0x2501A50F: mov edx, dword ptr [ebp - 0x44] */
    960     MEM32(ebp + (-0xA4)) = eax; /* 0x2501A512: mov dword ptr [ebp - 0xa4], eax */
    961     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501A518: mov dword ptr [ebp - 0xac], ecx */
    962     ecx = MEM32(ebp + (-0x48)); /* 0x2501A51E: mov ecx, dword ptr [ebp - 0x48] */
    963     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501A521: fstp dword ptr [ebp - 0xa8] */
    964     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501A527: fld dword ptr [ebp - 0xa4] */
    965     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501A52D: mov dword ptr [ebp - 0x6c], ecx */
    966     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A530: fmul dword ptr [ebp - 0x1c] */
    967     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501A533: fstp dword ptr [ebp - 0xa4] */
    968     fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x2501A539: fld dword ptr [ebp - 0x48] */
    969     eax = MEM32(ebp + (-0x40)); /* 0x2501A53C: mov eax, dword ptr [ebp - 0x40] */
    970     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A53F: fmul dword ptr [ebp - 0x18] */
    971     MEM32(ebp + (-0x68)) = edx; /* 0x2501A542: mov dword ptr [ebp - 0x68], edx */
    972     MEM32(ebp + (-0x64)) = eax; /* 0x2501A545: mov dword ptr [ebp - 0x64], eax */
    973     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501A548: fstp dword ptr [ebp - 0x6c] */
    974     ecx = MEM32(ebp + (-0x6C)); /* 0x2501A54B: mov ecx, dword ptr [ebp - 0x6c] */
    975     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501A54E: fld dword ptr [ebp - 0x68] */
    976     MEM32(ebp + (-0x54)) = ecx; /* 0x2501A551: mov dword ptr [ebp - 0x54], ecx */
    977     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A554: fmul dword ptr [ebp - 0x18] */
    978     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501A557: fstp dword ptr [ebp - 0x68] */
    979     edx = MEM32(ebp + (-0x68)); /* 0x2501A55A: mov edx, dword ptr [ebp - 0x68] */
    980     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501A55D: fld dword ptr [ebp - 0x64] */
    981     MEM32(ebp + (-0x50)) = edx; /* 0x2501A560: mov dword ptr [ebp - 0x50], edx */
    982     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A563: fmul dword ptr [ebp - 0x18] */
    983     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501A566: fstp dword ptr [ebp - 0x64] */
    984     eax = MEM32(ebp + (-0x64)); /* 0x2501A569: mov eax, dword ptr [ebp - 0x64] */
    985     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501A56C: fld dword ptr [ebp - 0x6c] */
    986     MEM32(ebp + (-0x4C)) = eax; /* 0x2501A56F: mov dword ptr [ebp - 0x4c], eax */
    987     _st[0] -= _st[1]; /* 0x2501A572: fsub st(1) */
    988     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x2501A574: fstp dword ptr [ebp - 0x54] */
    989     ecx = MEM32(ebp + (-0x54)); /* 0x2501A577: mov ecx, dword ptr [ebp - 0x54] */
    990     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501A57A: mov dword ptr [ebp - 0x1c], ecx */
    991     ecx = MEM32(ebx + 0x278); /* 0x2501A57D: mov ecx, dword ptr [ebx + 0x278] */
    992     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501A583: fstp st(0) */
    993     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501A585: fld dword ptr [ebp - 0x50] */
    994     _st[0] -= (double)*(float*)ADDR(ebp + (-0xA8)); /* 0x2501A588: fsub dword ptr [ebp - 0xa8] */
    995     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x2501A58E: fstp dword ptr [ebp - 0x50] */
    996     edx = MEM32(ebp + (-0x50)); /* 0x2501A591: mov edx, dword ptr [ebp - 0x50] */
    997     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x2501A594: fld dword ptr [ebp - 0x4c] */
    998     MEM32(ebp + (-0x18)) = edx; /* 0x2501A597: mov dword ptr [ebp - 0x18], edx */
    999     _st[0] -= (double)*(float*)ADDR(ebp + (-0xA4)); /* 0x2501A59A: fsub dword ptr [ebp - 0xa4] */
   1000     edx = MEM32(0x251C273C); /* 0x2501A5A0: mov edx, dword ptr [0x251c273c] */
   1001     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x2501A5A6: fstp dword ptr [ebp - 0x4c] */
   1002     eax = MEM32(ebp + (-0x4C)); /* 0x2501A5A9: mov eax, dword ptr [ebp - 0x4c] */
   1003     MEM32(ebp + (-0x14)) = eax; /* 0x2501A5AC: mov dword ptr [ebp - 0x14], eax */
   1004     fp_push(*(float*)&MEM32(ecx + edi + 0x30)); /* 0x2501A5AF: fld dword ptr [ecx + edi + 0x30] */
   1005     fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x2501A5B3: fld dword ptr [ebp - 0x54] */
   1006     eax = MEM32(ebp + (-0xBC)); /* 0x2501A5B6: mov eax, dword ptr [ebp - 0xbc] */
   1007     ecx = MEM32(ebp + (-0x10)); /* 0x2501A5BC: mov ecx, dword ptr [ebp - 0x10] */
   1008     _st[0] *= _st[1]; /* 0x2501A5BF: fmul st(1) */
   1009     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   1010     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1011     eax = eax + 0xCu; /* 0x2501A5C1: add eax, 0xc */
   1012     _flag_k = FK_ADD;
   1013     MEM32(ebp + (-0xBC)) = eax; /* 0x2501A5C4: mov dword ptr [ebp - 0xbc], eax */
   1014     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501A5CA: fstp dword ptr [ebp - 0x1c] */
   1015     fp_push(_st[0]); /* 0x2501A5CD: fld st(0) */
   1016     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A5CF: fmul dword ptr [ebp - 0x18] */
   1017     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501A5D2: fstp dword ptr [ebp - 0x18] */
   1018     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501A5D5: fmul dword ptr [ebp - 0x14] */
   1019     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501A5D8: fstp dword ptr [ebp - 0x14] */
   1020     MEM16(eax + edx + (-0x10)) = (uint16_t)(LO16(ecx)); /* 0x2501A5DB: mov word ptr [eax + edx - 0x10], cx */
   1021     edx = MEM32(0x251C273C); /* 0x2501A5E0: mov edx, dword ptr [0x251c273c] */
   1022     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1023     ecx = ecx + 1; /* 0x2501A5E6: inc ecx */
   1024     _flag_k = FK_INC;
   1025     MEM16(eax + edx + (-0xE)) = (uint16_t)(LO16(ecx)); /* 0x2501A5E7: mov word ptr [eax + edx - 0xe], cx */
   1026     edx = MEM32(0x251C273C); /* 0x2501A5EC: mov edx, dword ptr [0x251c273c] */
   1027     ecx = MEM32(ebp + (-0x10)); /* 0x2501A5F2: mov ecx, dword ptr [ebp - 0x10] */
   1028     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   1029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1030     ecx = ecx + 2; /* 0x2501A5F5: add ecx, 2 */
   1031     _flag_k = FK_ADD;
   1032     MEM16(eax + edx + (-0xC)) = (uint16_t)(LO16(ecx)); /* 0x2501A5F8: mov word ptr [eax + edx - 0xc], cx */
   1033     edx = MEM32(0x251C273C); /* 0x2501A5FD: mov edx, dword ptr [0x251c273c] */
   1034     ecx = MEM32(ebp + (-0x10)); /* 0x2501A603: mov ecx, dword ptr [ebp - 0x10] */
   1035     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1036     ecx = ecx + 1; /* 0x2501A606: inc ecx */
   1037     _flag_k = FK_INC;
   1038     MEM16(eax + edx + (-0xA)) = (uint16_t)(LO16(ecx)); /* 0x2501A607: mov word ptr [eax + edx - 0xa], cx */
   1039     edx = MEM32(0x251C273C); /* 0x2501A60C: mov edx, dword ptr [0x251c273c] */
   1040     ecx = MEM32(ebp + (-0x10)); /* 0x2501A612: mov ecx, dword ptr [ebp - 0x10] */
   1041     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   1042     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1043     ecx = ecx + 2; /* 0x2501A615: add ecx, 2 */
   1044     _flag_k = FK_ADD;
   1045     MEM16(eax + edx + (-0x8)) = (uint16_t)(LO16(ecx)); /* 0x2501A618: mov word ptr [eax + edx - 8], cx */
   1046     edx = MEM32(ebp + (-0x10)); /* 0x2501A61D: mov edx, dword ptr [ebp - 0x10] */
   1047     ecx = MEM32(0x251C273C); /* 0x2501A620: mov ecx, dword ptr [0x251c273c] */
   1048     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3);
   1049     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1050     edx = edx + 3; /* 0x2501A626: add edx, 3 */
   1051     _flag_k = FK_ADD;
   1052     MEM16(eax + ecx + (-0x6)) = (uint16_t)(LO16(edx)); /* 0x2501A629: mov word ptr [eax + ecx - 6], dx */
   1053     _flag_a = (uint32_t)(MEM32(ebp + (-0x94))); _flag_b = (uint32_t)(6);
   1054     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1055     MEM32(ebp + (-0x94)) = MEM32(ebp + (-0x94)) + 6; /* 0x2501A62E: add dword ptr [ebp - 0x94], 6 */
   1056     _flag_k = FK_ADD;
   1057     edx = MEM32(ebx + 0x278); /* 0x2501A635: mov edx, dword ptr [ebx + 0x278] */
   1058     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   1059     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1060     edx = edx + edi; /* 0x2501A63B: add edx, edi */
   1061     _flag_k = FK_ADD;
   1062     eax = MEM32(edx); /* 0x2501A63D: mov eax, dword ptr [edx] */
   1063     ecx = MEM32(edx + 0x4); /* 0x2501A63F: mov ecx, dword ptr [edx + 4] */
   1064     edx = MEM32(edx + 0x8); /* 0x2501A642: mov edx, dword ptr [edx + 8] */
   1065     MEM32(ebp + (-0x78)) = eax; /* 0x2501A645: mov dword ptr [ebp - 0x78], eax */
   1066     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501A648: fld dword ptr [ebp - 0x78] */
   1067     MEM32(ebp + (-0x74)) = ecx; /* 0x2501A64B: mov dword ptr [ebp - 0x74], ecx */
   1068     MEM32(ebp + (-0x70)) = edx; /* 0x2501A64E: mov dword ptr [ebp - 0x70], edx */
   1069     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A651: fsub dword ptr [ebp - 0x1c] */
   1070     eax = MEM32(0x251C2738); /* 0x2501A654: mov eax, dword ptr [0x251c2738] */
   1071     ecx = esi + eax; /* 0x2501A659: lea ecx, [esi + eax] */
   1072     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   1073     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1074     esi = esi + 0x18u; /* 0x2501A65C: add esi, 0x18 */
   1075     _flag_k = FK_ADD;
   1076     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501A65F: fstp dword ptr [ebp - 0x78] */
   1077     edx = MEM32(ebp + (-0x78)); /* 0x2501A662: mov edx, dword ptr [ebp - 0x78] */
   1078     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501A665: fld dword ptr [ebp - 0x74] */
   1079     _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A668: fsub dword ptr [ebp - 0x18] */
   1080     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501A66B: fstp dword ptr [ebp - 0x74] */
   1081     eax = MEM32(ebp + (-0x74)); /* 0x2501A66E: mov eax, dword ptr [ebp - 0x74] */
   1082     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501A671: fld dword ptr [ebp - 0x70] */
   1083     _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501A674: fsub dword ptr [ebp - 0x14] */
   1084     MEM32(ecx) = edx; /* 0x2501A677: mov dword ptr [ecx], edx */
   1085     MEM32(ecx + 0x4) = eax; /* 0x2501A679: mov dword ptr [ecx + 4], eax */
   1086     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501A67C: fstp dword ptr [ebp - 0x70] */
   1087     edx = MEM32(ebp + (-0x70)); /* 0x2501A67F: mov edx, dword ptr [ebp - 0x70] */
   1088     MEM32(ecx + 0x8) = edx; /* 0x2501A682: mov dword ptr [ecx + 8], edx */
   1089     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501A685: fld dword ptr [ebp - 0x24] */
   1090     eax = MEM32(ebx + 0x278); /* 0x2501A688: mov eax, dword ptr [ebx + 0x278] */
   1091     ecx = MEM32(eax + edi + 0x44); /* 0x2501A68E: mov ecx, dword ptr [eax + edi + 0x44] */
   1092     edx = MEM32(0x251C2738); /* 0x2501A692: mov edx, dword ptr [0x251c2738] */
   1093     MEM32(esi + edx + (-0xC)) = ecx; /* 0x2501A698: mov dword ptr [esi + edx - 0xc], ecx */
   1094     eax = MEM32(0x251C2738); /* 0x2501A69C: mov eax, dword ptr [0x251c2738] */
   1095     { float _v = (float)fp_pop(); *(float*)ADDR(esi + eax + (-0x8)) = _v; } /* 0x2501A6A1: fstp dword ptr [esi + eax - 8] */
   1096     ecx = MEM32(0x251C2738); /* 0x2501A6A5: mov ecx, dword ptr [0x251c2738] */
   1097     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501A6AB: fld dword ptr [ebp - 0x20] */
   1098     eax = MEM32(ebp + (-0x10)); /* 0x2501A6AE: mov eax, dword ptr [ebp - 0x10] */
   1099     _st[0] += (double)*(float*)ADDR(ebp + (-0xB4)); /* 0x2501A6B1: fadd dword ptr [ebp - 0xb4] */
   1100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1101     eax = eax + 1; /* 0x2501A6B7: inc eax */
   1102     _flag_k = FK_INC;
   1103     fp_push(_st[0]); /* 0x2501A6B8: fld st(0) */
   1104     { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx + (-0x4)) = _v; } /* 0x2501A6BA: fstp dword ptr [esi + ecx - 4] */
   1105     edx = MEM32(ebx + 0x278); /* 0x2501A6BE: mov edx, dword ptr [ebx + 0x278] */
   1106     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   1107     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1108     edx = edx + edi; /* 0x2501A6C4: add edx, edi */
   1109     _flag_k = FK_ADD;
   1110     ecx = MEM32(edx); /* 0x2501A6C6: mov ecx, dword ptr [edx] */
   1111     MEM32(ebp + (-0x90)) = ecx; /* 0x2501A6C8: mov dword ptr [ebp - 0x90], ecx */
   1112     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501A6CE: fld dword ptr [ebp - 0x90] */
   1113     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A6D4: fadd dword ptr [ebp - 0x1c] */
   1114     ecx = MEM32(edx + 0x4); /* 0x2501A6D7: mov ecx, dword ptr [edx + 4] */
   1115     edx = MEM32(edx + 0x8); /* 0x2501A6DA: mov edx, dword ptr [edx + 8] */
   1116     MEM32(ebp + (-0x8C)) = ecx; /* 0x2501A6DD: mov dword ptr [ebp - 0x8c], ecx */
   1117     ecx = MEM32(0x251C2738); /* 0x2501A6E3: mov ecx, dword ptr [0x251c2738] */
   1118     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501A6E9: fstp dword ptr [ebp - 0x90] */
   1119     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501A6EF: fld dword ptr [ebp - 0x8c] */
   1120     MEM32(ebp + (-0x88)) = edx; /* 0x2501A6F5: mov dword ptr [ebp - 0x88], edx */
   1121     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A6FB: fadd dword ptr [ebp - 0x18] */
   1122     edx = esi + ecx; /* 0x2501A6FE: lea edx, [esi + ecx] */
   1123     ecx = MEM32(ebp + (-0x90)); /* 0x2501A701: mov ecx, dword ptr [ebp - 0x90] */
   1124     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1125     eax = eax + 1; /* 0x2501A707: inc eax */
   1126     _flag_k = FK_INC;
   1127     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501A708: fstp dword ptr [ebp - 0x8c] */
   1128     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   1129     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1130     esi = esi + 0x18u; /* 0x2501A70E: add esi, 0x18 */
   1131     _flag_k = FK_ADD;
   1132     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501A711: fld dword ptr [ebp - 0x88] */
   1133     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501A717: fadd dword ptr [ebp - 0x14] */
   1134     MEM32(edx) = ecx; /* 0x2501A71A: mov dword ptr [edx], ecx */
   1135     ecx = MEM32(ebp + (-0x8C)); /* 0x2501A71C: mov ecx, dword ptr [ebp - 0x8c] */
   1136     MEM32(edx + 0x4) = ecx; /* 0x2501A722: mov dword ptr [edx + 4], ecx */
   1137     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501A725: fstp dword ptr [ebp - 0x88] */
   1138     ecx = MEM32(ebp + (-0x88)); /* 0x2501A72B: mov ecx, dword ptr [ebp - 0x88] */
   1139     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501A731: fld dword ptr [ebp - 0x24] */
   1140     MEM32(edx + 0x8) = ecx; /* 0x2501A734: mov dword ptr [edx + 8], ecx */
   1141     edx = MEM32(ebx + 0x278); /* 0x2501A737: mov edx, dword ptr [ebx + 0x278] */
   1142     _st[0] += (double)*(float*)ADDR(ebp + (-0xB8)); /* 0x2501A73D: fadd dword ptr [ebp - 0xb8] */
   1143     ecx = MEM32(edx + edi + 0x44); /* 0x2501A743: mov ecx, dword ptr [edx + edi + 0x44] */
   1144     edx = MEM32(0x251C2738); /* 0x2501A747: mov edx, dword ptr [0x251c2738] */
   1145     MEM32(esi + edx + (-0xC)) = ecx; /* 0x2501A74D: mov dword ptr [esi + edx - 0xc], ecx */
   1146     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2501A751: fst dword ptr [ebp - 0x10] */
   1147     ecx = MEM32(0x251C2738); /* 0x2501A754: mov ecx, dword ptr [0x251c2738] */
   1148     { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx + (-0x8)) = _v; } /* 0x2501A75A: fstp dword ptr [esi + ecx - 8] */
   1149     edx = MEM32(0x251C2738); /* 0x2501A75E: mov edx, dword ptr [0x251c2738] */
   1150     { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx + (-0x4)) = _v; } /* 0x2501A764: fstp dword ptr [esi + edx - 4] */
   1151     ecx = MEM32(ebx + 0x278); /* 0x2501A768: mov ecx, dword ptr [ebx + 0x278] */
   1152     edx = ecx + edi + 0x18; /* 0x2501A76E: lea edx, [ecx + edi + 0x18] */
   1153     ecx = MEM32(edx); /* 0x2501A772: mov ecx, dword ptr [edx] */
   1154     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501A774: mov dword ptr [ebp - 0xa0], ecx */
   1155     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501A77A: fld dword ptr [ebp - 0xa0] */
   1156     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A780: fsub dword ptr [ebp - 0x1c] */
   1157     ecx = MEM32(edx + 0x4); /* 0x2501A783: mov ecx, dword ptr [edx + 4] */
   1158     edx = MEM32(edx + 0x8); /* 0x2501A786: mov edx, dword ptr [edx + 8] */
   1159     MEM32(ebp + (-0x9C)) = ecx; /* 0x2501A789: mov dword ptr [ebp - 0x9c], ecx */
   1160     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501A78F: fstp dword ptr [ebp - 0xa0] */
   1161     MEM32(ebp + (-0x98)) = edx; /* 0x2501A795: mov dword ptr [ebp - 0x98], edx */
   1162     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501A79B: fld dword ptr [ebp - 0x9c] */
   1163     _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A7A1: fsub dword ptr [ebp - 0x18] */
   1164     ecx = MEM32(0x251C2738); /* 0x2501A7A4: mov ecx, dword ptr [0x251c2738] */
   1165     edx = esi + ecx; /* 0x2501A7AA: lea edx, [esi + ecx] */
   1166     ecx = MEM32(ebp + (-0xA0)); /* 0x2501A7AD: mov ecx, dword ptr [ebp - 0xa0] */
   1167     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501A7B3: fstp dword ptr [ebp - 0x9c] */
   1168     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   1169     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1170     esi = esi + 0x18u; /* 0x2501A7B9: add esi, 0x18 */
   1171     _flag_k = FK_ADD;
   1172     fp_push(*(float*)&MEM32(ebp + (-0x98))); /* 0x2501A7BC: fld dword ptr [ebp - 0x98] */
   1173     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1174     eax = eax + 1; /* 0x2501A7C2: inc eax */
   1175     _flag_k = FK_INC;
   1176     _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501A7C3: fsub dword ptr [ebp - 0x14] */
   1177     MEM32(edx) = ecx; /* 0x2501A7C6: mov dword ptr [edx], ecx */
   1178     ecx = MEM32(ebp + (-0x9C)); /* 0x2501A7C8: mov ecx, dword ptr [ebp - 0x9c] */
   1179     MEM32(edx + 0x4) = ecx; /* 0x2501A7CE: mov dword ptr [edx + 4], ecx */
   1180     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501A7D1: fstp dword ptr [ebp - 0x98] */
   1181     ecx = MEM32(ebp + (-0x98)); /* 0x2501A7D7: mov ecx, dword ptr [ebp - 0x98] */
   1182     MEM32(edx + 0x8) = ecx; /* 0x2501A7DD: mov dword ptr [edx + 8], ecx */
   1183     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501A7E0: fld dword ptr [ebp - 0x24] */
   1184     edx = MEM32(ebx + 0x278); /* 0x2501A7E3: mov edx, dword ptr [ebx + 0x278] */
   1185     ecx = MEM32(edx + edi + 0x44); /* 0x2501A7E9: mov ecx, dword ptr [edx + edi + 0x44] */
   1186     edx = MEM32(0x251C2738); /* 0x2501A7ED: mov edx, dword ptr [0x251c2738] */
   1187     MEM32(esi + edx + (-0xC)) = ecx; /* 0x2501A7F3: mov dword ptr [esi + edx - 0xc], ecx */
   1188     ecx = MEM32(0x251C2738); /* 0x2501A7F7: mov ecx, dword ptr [0x251c2738] */
   1189     { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx + (-0x8)) = _v; } /* 0x2501A7FD: fstp dword ptr [esi + ecx - 8] */
   1190     edx = MEM32(0x251C2738); /* 0x2501A801: mov edx, dword ptr [0x251c2738] */
   1191     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501A807: fld dword ptr [ebp - 0x20] */
   1192     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1193     eax = eax + 1; /* 0x2501A80A: inc eax */
   1194     _flag_k = FK_INC;
   1195     { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx + (-0x4)) = _v; } /* 0x2501A80B: fstp dword ptr [esi + edx - 4] */
   1196     ecx = MEM32(ebx + 0x278); /* 0x2501A80F: mov ecx, dword ptr [ebx + 0x278] */
   1197     edx = ecx + edi + 0x18; /* 0x2501A815: lea edx, [ecx + edi + 0x18] */
   1198     ecx = MEM32(edx); /* 0x2501A819: mov ecx, dword ptr [edx] */
   1199     MEM32(ebp + (-0x60)) = ecx; /* 0x2501A81B: mov dword ptr [ebp - 0x60], ecx */
   1200     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501A81E: fld dword ptr [ebp - 0x60] */
   1201     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501A821: fadd dword ptr [ebp - 0x1c] */
   1202     ecx = MEM32(edx + 0x4); /* 0x2501A824: mov ecx, dword ptr [edx + 4] */
   1203     edx = MEM32(edx + 0x8); /* 0x2501A827: mov edx, dword ptr [edx + 8] */
   1204     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501A82A: mov dword ptr [ebp - 0x5c], ecx */
   1205     ecx = MEM32(0x251C2738); /* 0x2501A82D: mov ecx, dword ptr [0x251c2738] */
   1206     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501A833: fstp dword ptr [ebp - 0x60] */
   1207     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501A836: fld dword ptr [ebp - 0x5c] */
   1208     MEM32(ebp + (-0x58)) = edx; /* 0x2501A839: mov dword ptr [ebp - 0x58], edx */
   1209     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501A83C: fadd dword ptr [ebp - 0x18] */
   1210     edx = esi + ecx; /* 0x2501A83F: lea edx, [esi + ecx] */
   1211     ecx = MEM32(ebp + (-0x60)); /* 0x2501A842: mov ecx, dword ptr [ebp - 0x60] */
   1212     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   1213     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1214     esi = esi + 0x18u; /* 0x2501A845: add esi, 0x18 */
   1215     _flag_k = FK_ADD;
   1216     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501A848: fstp dword ptr [ebp - 0x5c] */
   1217     fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x2501A84B: fld dword ptr [ebp - 0x58] */
   1218     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501A84E: fadd dword ptr [ebp - 0x14] */
   1219     MEM32(edx) = ecx; /* 0x2501A851: mov dword ptr [edx], ecx */
   1220     ecx = MEM32(ebp + (-0x5C)); /* 0x2501A853: mov ecx, dword ptr [ebp - 0x5c] */
   1221     MEM32(edx + 0x4) = ecx; /* 0x2501A856: mov dword ptr [edx + 4], ecx */
   1222     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x2501A859: fstp dword ptr [ebp - 0x58] */
   1223     ecx = MEM32(ebp + (-0x58)); /* 0x2501A85C: mov ecx, dword ptr [ebp - 0x58] */
   1224     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2501A85F: fld dword ptr [ebp - 0x10] */
   1225     MEM32(edx + 0x8) = ecx; /* 0x2501A862: mov dword ptr [edx + 8], ecx */
   1226     edx = MEM32(ebx + 0x278); /* 0x2501A865: mov edx, dword ptr [ebx + 0x278] */
   1227     ecx = MEM32(edx + edi + 0x44); /* 0x2501A86B: mov ecx, dword ptr [edx + edi + 0x44] */
   1228     edx = MEM32(0x251C2738); /* 0x2501A86F: mov edx, dword ptr [0x251c2738] */
   1229     MEM32(esi + edx + (-0xC)) = ecx; /* 0x2501A875: mov dword ptr [esi + edx - 0xc], ecx */
   1230     ecx = MEM32(0x251C2738); /* 0x2501A879: mov ecx, dword ptr [0x251c2738] */
   1231     { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx + (-0x8)) = _v; } /* 0x2501A87F: fstp dword ptr [esi + ecx - 8] */
   1232     edx = MEM32(0x251C2738); /* 0x2501A883: mov edx, dword ptr [0x251c2738] */
   1233     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501A889: fld dword ptr [ebp - 0x20] */
   1234     MEM32(ebp + (-0x10)) = eax; /* 0x2501A88C: mov dword ptr [ebp - 0x10], eax */
   1235     { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx + (-0x4)) = _v; } /* 0x2501A88F: fstp dword ptr [esi + edx - 4] */
   1236 L_2501A893:
   1237     eax = MEM32(ebp + (-0xB0)); /* 0x2501A893: mov eax, dword ptr [ebp - 0xb0] */
   1238     ecx = MEM32(ebx + 0x274); /* 0x2501A899: mov ecx, dword ptr [ebx + 0x274] */
   1239     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1240     eax = eax + 1; /* 0x2501A89F: inc eax */
   1241     _flag_k = FK_INC;
   1242     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x74u);
   1243     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1244     edi = edi + 0x74u; /* 0x2501A8A0: add edi, 0x74 */
   1245     _flag_k = FK_ADD;
   1246     /* cmp eax, ecx */ /* 0x2501A8A3: cmp eax, ecx */
   1247     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1249     _flag_k = FK_CMP;
   1250     MEM32(ebp + (-0xB0)) = eax; /* 0x2501A8A5: mov dword ptr [ebp - 0xb0], eax */
   1251     RECOMP_BACKEDGE();
   1252     if (CMP_L(_flag_a, _flag_b)) goto L_2501A3A5; /* 0x2501A8AB: jl 0x2501a3a5 */
   1253 L_2501A8B1:
   1254     ecx = MEM32(ebp + (-0x10)); /* 0x2501A8B1: mov ecx, dword ptr [ebp - 0x10] */
   1255     /* cmp ecx, 4 */ /* 0x2501A8B4: cmp ecx, 4 */
   1256     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   1257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1258     _flag_k = FK_CMP;
   1259     if (CMP_L(_flag_a, _flag_b)) goto L_2501A8E5; /* 0x2501A8B7: jl 0x2501a8e5 */
   1260 L_2501A8B9:
   1261     eax = MEM32(ebp + (-0x94)); /* 0x2501A8B9: mov eax, dword ptr [ebp - 0x94] */
   1262     /* cmp eax, 6 */ /* 0x2501A8BF: cmp eax, 6 */
   1263     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6);
   1264     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1265     _flag_k = FK_CMP;
   1266     if (CMP_L(_flag_a, _flag_b)) goto L_2501A8E5; /* 0x2501A8C2: jl 0x2501a8e5 */
   1267 L_2501A8C4:
   1268     PUSH32(esp, 0); /* 0x2501A8C4: push 0 */
   1269     PUSH32(esp, eax); /* 0x2501A8C6: push eax */
   1270     eax = MEM32(0x251C273C); /* 0x2501A8C7: mov eax, dword ptr [0x251c273c] */
   1271     PUSH32(esp, eax); /* 0x2501A8CC: push eax */
   1272     PUSH32(esp, ecx); /* 0x2501A8CD: push ecx */
   1273     ecx = MEM32(0x251C2738); /* 0x2501A8CE: mov ecx, dword ptr [0x251c2738] */
   1274     PUSH32(esp, ecx); /* 0x2501A8D4: push ecx */
   1275     ecx = MEM32(0x25238B58); /* 0x2501A8D5: mov ecx, dword ptr [0x25238b58] */
   1276     PUSH32(esp, 0x142u); /* 0x2501A8DB: push 0x142 */
   1277     RECOMP_ICALL(0x250E7010u); /* 0x2501A8E0: call 0x250e7010 */ /* not lifted */
   1278     RECOMP_FLAGS_IN();
   1279 L_2501A8E5:
   1280     esi = MEM32(ebp + 0x8); /* 0x2501A8E5: mov esi, dword ptr [ebp + 8] */
   1281     edx = MEM32(ebx); /* 0x2501A8E8: mov edx, dword ptr [ebx] */
   1282     PUSH32(esp, esi); /* 0x2501A8EA: push esi */
   1283     ecx = ebx; /* 0x2501A8EB: mov ecx, ebx */
   1284     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x2501A8ED: call dword ptr [edx + 0x44] */
   1285     RECOMP_FLAGS_IN();
   1286     ecx = esi; /* 0x2501A8F0: mov ecx, esi */
   1287     RECOMP_ICALL(0x250E0360u); /* 0x2501A8F2: call 0x250e0360 */ /* not lifted */
   1288     RECOMP_FLAGS_IN();
   1289     esi = POP32_VAL(esp); /* 0x2501A8F7: pop esi */
   1290 L_2501A8F8:
   1291     ecx = MEM32(ebp + (-0xC)); /* 0x2501A8F8: mov ecx, dword ptr [ebp - 0xc] */
   1292     edi = POP32_VAL(esp); /* 0x2501A8FB: pop edi */
   1293     ebx = POP32_VAL(esp); /* 0x2501A8FC: pop ebx */
   1294     MEM32(FS_BASE + (0)) = ecx; /* 0x2501A8FD: mov dword ptr fs:[0], ecx */
   1295     esp = ebp; /* 0x2501A904: mov esp, ebp */
   1296     ebp = POP32_VAL(esp); /* 0x2501A906: pop ebp */
   1297     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501A907: ret 4 */
   1298     RECOMP_REGS_OUT();
   1299 }
   1300 
   1301 void sub_2501A910(void) {
   1302     int _fpu_cmp = 0;
   1303     uint32_t _cf = 0;
   1304     int _df = 1;
   1305     uint32_t _flag_k = FK_NONE;
   1306     uint32_t _flag_a = 0, _flag_b = 0;
   1307     uint32_t _itail_tgt = 0;
   1308     RECOMP_REGS_LOCALS
   1309     RECOMP_ENTER(0x2501A910u);
   1310 
   1311 L_2501A910:
   1312     PUSH32(esp, ebp); /* 0x2501A910: push ebp */
   1313     ebp = esp; /* 0x2501A911: mov ebp, esp */
   1314     PUSH32(esp, ebx); /* 0x2501A913: push ebx */
   1315     PUSH32(esp, esi); /* 0x2501A914: push esi */
   1316     PUSH32(esp, edi); /* 0x2501A915: push edi */
   1317     edi = MEM32(ebp + 0x8); /* 0x2501A916: mov edi, dword ptr [ebp + 8] */
   1318     esi = ecx; /* 0x2501A919: mov esi, ecx */
   1319     eax = edi * 8; /* 0x2501A91B: lea eax, [edi*8] */
   1320     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1321     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1322     eax = eax - edi; /* 0x2501A922: sub eax, edi */
   1323     _flag_k = FK_CMP;
   1324     ecx = edi + eax * 4; /* 0x2501A924: lea ecx, [edi + eax*4] */
   1325     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2501A927: shl ecx, 2 */
   1326     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1327     ecx = ecx << 2u; /* 0x2501A927: shl ecx, 2 */
   1328     PUSH32(esp, ecx); /* 0x2501A92A: push ecx */
   1329     MEM32(esi + 0x274) = edi; /* 0x2501A92B: mov dword ptr [esi + 0x274], edi */
   1330     RECOMP_ICALL(0x251380D0u); /* 0x2501A931: call 0x251380d0 */ /* not lifted */
   1331     RECOMP_FLAGS_IN();
   1332     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1333     ebx = 0; /* 0x2501A936: xor ebx, ebx */
   1334     _cf = 0;
   1335     _flag_k = FK_TEST;
   1336     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1337     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1338     esp = esp + 4; /* 0x2501A938: add esp, 4 */
   1339     _flag_k = FK_ADD;
   1340     /* cmp eax, ebx */ /* 0x2501A93B: cmp eax, ebx */
   1341     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1343     _flag_k = FK_CMP;
   1344     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A975; /* 0x2501A93D: je 0x2501a975 */
   1345 L_2501A93F:
   1346     edx = edi + (-0x1); /* 0x2501A93F: lea edx, [edi - 1] */
   1347     /* cmp edx, ebx */ /* 0x2501A942: cmp edx, ebx */
   1348     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1350     _flag_k = FK_CMP;
   1351     if (CMP_L(_flag_a, _flag_b)) goto L_2501A977; /* 0x2501A944: jl 0x2501a977 */
   1352 L_2501A946:
   1353     ecx = eax + 0x14; /* 0x2501A946: lea ecx, [eax + 0x14] */
   1354     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1355     edx = edx + 1; /* 0x2501A949: inc edx */
   1356     _flag_k = FK_INC;
   1357 L_2501A94A:
   1358     MEM32(ecx + (-0x14)) = ebx; /* 0x2501A94A: mov dword ptr [ecx - 0x14], ebx */
   1359     MEM32(ecx + (-0x10)) = ebx; /* 0x2501A94D: mov dword ptr [ecx - 0x10], ebx */
   1360     MEM32(ecx + (-0xC)) = ebx; /* 0x2501A950: mov dword ptr [ecx - 0xc], ebx */
   1361     MEM32(ecx + (-0x8)) = ebx; /* 0x2501A953: mov dword ptr [ecx - 8], ebx */
   1362     MEM32(ecx + (-0x4)) = ebx; /* 0x2501A956: mov dword ptr [ecx - 4], ebx */
   1363     MEM32(ecx) = ebx; /* 0x2501A959: mov dword ptr [ecx], ebx */
   1364     MEM32(ecx + 0x4) = ebx; /* 0x2501A95B: mov dword ptr [ecx + 4], ebx */
   1365     MEM32(ecx + 0x8) = ebx; /* 0x2501A95E: mov dword ptr [ecx + 8], ebx */
   1366     MEM32(ecx + 0xC) = ebx; /* 0x2501A961: mov dword ptr [ecx + 0xc], ebx */
   1367     MEM32(ecx + 0x10) = ebx; /* 0x2501A964: mov dword ptr [ecx + 0x10], ebx */
   1368     MEM32(ecx + 0x14) = ebx; /* 0x2501A967: mov dword ptr [ecx + 0x14], ebx */
   1369     MEM32(ecx + 0x18) = ebx; /* 0x2501A96A: mov dword ptr [ecx + 0x18], ebx */
   1370     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x74u);
   1371     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1372     ecx = ecx + 0x74u; /* 0x2501A96D: add ecx, 0x74 */
   1373     _flag_k = FK_ADD;
   1374     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1375     edx = edx - 1; /* 0x2501A970: dec edx */
   1376     _flag_k = FK_DEC;
   1377     RECOMP_BACKEDGE();
   1378     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501A94A; /* 0x2501A971: jne 0x2501a94a */
   1379 L_2501A973:
   1380     goto L_2501A977; /* 0x2501A973: jmp 0x2501a977 */
   1381 L_2501A975:
   1382     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1383     eax = 0; /* 0x2501A975: xor eax, eax */
   1384     _cf = 0;
   1385     _flag_k = FK_TEST;
   1386 L_2501A977:
   1387     ecx = MEM32(esi + 0x274); /* 0x2501A977: mov ecx, dword ptr [esi + 0x274] */
   1388     MEM32(esi + 0x278) = eax; /* 0x2501A97D: mov dword ptr [esi + 0x278], eax */
   1389     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1390     eax = 0; /* 0x2501A983: xor eax, eax */
   1391     _cf = 0;
   1392     _flag_k = FK_TEST;
   1393     /* cmp ecx, ebx */ /* 0x2501A985: cmp ecx, ebx */
   1394     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1396     _flag_k = FK_CMP;
   1397     if (CMP_LE(_flag_a, _flag_b)) goto L_2501A9A3; /* 0x2501A987: jle 0x2501a9a3 */
   1398 L_2501A989:
   1399     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1400     ecx = 0; /* 0x2501A989: xor ecx, ecx */
   1401     _cf = 0;
   1402     _flag_k = FK_TEST;
   1403 L_2501A98B:
   1404     edx = MEM32(esi + 0x278); /* 0x2501A98B: mov edx, dword ptr [esi + 0x278] */
   1405     MEM8(ecx + edx + 0x70) = (uint8_t)(LO8(ebx)); /* 0x2501A991: mov byte ptr [ecx + edx + 0x70], bl */
   1406     edx = MEM32(esi + 0x274); /* 0x2501A995: mov edx, dword ptr [esi + 0x274] */
   1407     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1408     eax = eax + 1; /* 0x2501A99B: inc eax */
   1409     _flag_k = FK_INC;
   1410     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x74u);
   1411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1412     ecx = ecx + 0x74u; /* 0x2501A99C: add ecx, 0x74 */
   1413     _flag_k = FK_ADD;
   1414     /* cmp eax, edx */ /* 0x2501A99F: cmp eax, edx */
   1415     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1417     _flag_k = FK_CMP;
   1418     RECOMP_BACKEDGE();
   1419     if (CMP_L(_flag_a, _flag_b)) goto L_2501A98B; /* 0x2501A9A1: jl 0x2501a98b */
   1420 L_2501A9A3:
   1421     esi = MEM32(esi + 0x274); /* 0x2501A9A3: mov esi, dword ptr [esi + 0x274] */
   1422     /* cmp esi, MEM32(0x251C2740) */ /* 0x2501A9A9: cmp esi, dword ptr [0x251c2740] */
   1423     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(0x251C2740));
   1424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1425     _flag_k = FK_CMP;
   1426     if (CMP_LE(_flag_a, _flag_b)) goto L_2501AA39; /* 0x2501A9AF: jle 0x2501aa39 */
   1427 L_2501A9B5:
   1428     eax = MEM32(0x251C2738); /* 0x2501A9B5: mov eax, dword ptr [0x251c2738] */
   1429     /* cmp eax, ebx */ /* 0x2501A9BA: cmp eax, ebx */
   1430     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1432     _flag_k = FK_CMP;
   1433     MEM32(0x251C2740) = esi; /* 0x2501A9BC: mov dword ptr [0x251c2740], esi */
   1434     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A9CD; /* 0x2501A9C2: je 0x2501a9cd */
   1435 L_2501A9C4:
   1436     PUSH32(esp, eax); /* 0x2501A9C4: push eax */
   1437     RECOMP_ICALL(0x25137EECu); /* 0x2501A9C5: call 0x25137eec */ /* not lifted */
   1438     RECOMP_FLAGS_IN();
   1439     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1440     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1441     esp = esp + 4; /* 0x2501A9CA: add esp, 4 */
   1442     _flag_k = FK_ADD;
   1443 L_2501A9CD:
   1444     eax = MEM32(0x251C273C); /* 0x2501A9CD: mov eax, dword ptr [0x251c273c] */
   1445     /* cmp eax, ebx */ /* 0x2501A9D2: cmp eax, ebx */
   1446     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1447     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1448     _flag_k = FK_CMP;
   1449     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501A9DF; /* 0x2501A9D4: je 0x2501a9df */
   1450 L_2501A9D6:
   1451     PUSH32(esp, eax); /* 0x2501A9D6: push eax */
   1452     RECOMP_ICALL(0x25137EECu); /* 0x2501A9D7: call 0x25137eec */ /* not lifted */
   1453     RECOMP_FLAGS_IN();
   1454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1455     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1456     esp = esp + 4; /* 0x2501A9DC: add esp, 4 */
   1457     _flag_k = FK_ADD;
   1458 L_2501A9DF:
   1459     eax = MEM32(0x251C2740); /* 0x2501A9DF: mov eax, dword ptr [0x251c2740] */
   1460     esi = eax * 4; /* 0x2501A9E4: lea esi, [eax*4] */
   1461     ecx = esi + esi * 2; /* 0x2501A9EB: lea ecx, [esi + esi*2] */
   1462     if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x2501A9EE: shl ecx, 3 */
   1463     if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1464     ecx = ecx << 3u; /* 0x2501A9EE: shl ecx, 3 */
   1465     PUSH32(esp, ecx); /* 0x2501A9F1: push ecx */
   1466     RECOMP_ICALL(0x251380D0u); /* 0x2501A9F2: call 0x251380d0 */ /* not lifted */
   1467     RECOMP_FLAGS_IN();
   1468     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1469     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1470     esp = esp + 4; /* 0x2501A9F7: add esp, 4 */
   1471     _flag_k = FK_ADD;
   1472     /* cmp eax, ebx */ /* 0x2501A9FA: cmp eax, ebx */
   1473     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1475     _flag_k = FK_CMP;
   1476     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501AA19; /* 0x2501A9FC: je 0x2501aa19 */
   1477 L_2501A9FE:
   1478     edx = esi + (-0x1); /* 0x2501A9FE: lea edx, [esi - 1] */
   1479     /* cmp edx, ebx */ /* 0x2501AA01: cmp edx, ebx */
   1480     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1482     _flag_k = FK_CMP;
   1483     if (CMP_L(_flag_a, _flag_b)) goto L_2501AA1B; /* 0x2501AA03: jl 0x2501aa1b */
   1484 L_2501AA05:
   1485     ecx = eax + 0x8; /* 0x2501AA05: lea ecx, [eax + 8] */
   1486     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1487     edx = edx + 1; /* 0x2501AA08: inc edx */
   1488     _flag_k = FK_INC;
   1489 L_2501AA09:
   1490     MEM32(ecx + (-0x8)) = ebx; /* 0x2501AA09: mov dword ptr [ecx - 8], ebx */
   1491     MEM32(ecx + (-0x4)) = ebx; /* 0x2501AA0C: mov dword ptr [ecx - 4], ebx */
   1492     MEM32(ecx) = ebx; /* 0x2501AA0F: mov dword ptr [ecx], ebx */
   1493     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   1494     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1495     ecx = ecx + 0x18u; /* 0x2501AA11: add ecx, 0x18 */
   1496     _flag_k = FK_ADD;
   1497     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1498     edx = edx - 1; /* 0x2501AA14: dec edx */
   1499     _flag_k = FK_DEC;
   1500     RECOMP_BACKEDGE();
   1501     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501AA09; /* 0x2501AA15: jne 0x2501aa09 */
   1502 L_2501AA17:
   1503     goto L_2501AA1B; /* 0x2501AA17: jmp 0x2501aa1b */
   1504 L_2501AA19:
   1505     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1506     eax = 0; /* 0x2501AA19: xor eax, eax */
   1507     _cf = 0;
   1508     _flag_k = FK_TEST;
   1509 L_2501AA1B:
   1510     MEM32(0x251C2738) = eax; /* 0x2501AA1B: mov dword ptr [0x251c2738], eax */
   1511     eax = MEM32(0x251C2740); /* 0x2501AA20: mov eax, dword ptr [0x251c2740] */
   1512     edx = eax + eax * 2; /* 0x2501AA25: lea edx, [eax + eax*2] */
   1513     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2501AA28: shl edx, 2 */
   1514     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1515     edx = edx << 2u; /* 0x2501AA28: shl edx, 2 */
   1516     PUSH32(esp, edx); /* 0x2501AA2B: push edx */
   1517     RECOMP_ICALL(0x251380D0u); /* 0x2501AA2C: call 0x251380d0 */ /* not lifted */
   1518     RECOMP_FLAGS_IN();
   1519     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1520     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1521     esp = esp + 4; /* 0x2501AA31: add esp, 4 */
   1522     _flag_k = FK_ADD;
   1523     MEM32(0x251C273C) = eax; /* 0x2501AA34: mov dword ptr [0x251c273c], eax */
   1524 L_2501AA39:
   1525     edi = POP32_VAL(esp); /* 0x2501AA39: pop edi */
   1526     esi = POP32_VAL(esp); /* 0x2501AA3A: pop esi */
   1527     ebx = POP32_VAL(esp); /* 0x2501AA3B: pop ebx */
   1528     ebp = POP32_VAL(esp); /* 0x2501AA3C: pop ebp */
   1529     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501AA3D: ret 4 */
   1530     RECOMP_REGS_OUT();
   1531 }
   1532 
   1533 void sub_2501AA40(void) {
   1534     int _fpu_cmp = 0;
   1535     uint32_t _cf = 0;
   1536     int _df = 1;
   1537     uint32_t _flag_k = FK_NONE;
   1538     uint32_t _flag_a = 0, _flag_b = 0;
   1539     uint32_t _itail_tgt = 0;
   1540     RECOMP_REGS_LOCALS
   1541     RECOMP_ENTER(0x2501AA40u);
   1542 
   1543 L_2501AA40:
   1544     eax = MEM32(ecx + 0x278); /* 0x2501AA40: mov eax, dword ptr [ecx + 0x278] */
   1545     PUSH32(esp, eax); /* 0x2501AA46: push eax */
   1546     RECOMP_ICALL(0x25137EECu); /* 0x2501AA47: call 0x25137eec */ /* not lifted */
   1547     RECOMP_FLAGS_IN();
   1548     ecx = POP32_VAL(esp); /* 0x2501AA4C: pop ecx */
   1549     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501AA4D: ret  */
   1550     RECOMP_REGS_OUT();
   1551 }
   1552 
   1553 void sub_2501AA50(void) {
   1554     int _fpu_cmp = 0;
   1555     uint32_t _cf = 0;
   1556     int _df = 1;
   1557     uint32_t _flag_k = FK_NONE;
   1558     uint32_t _flag_a = 0, _flag_b = 0;
   1559     uint32_t _itail_tgt = 0;
   1560     RECOMP_REGS_LOCALS
   1561     RECOMP_ENTER(0x2501AA50u);
   1562 
   1563 L_2501AA50:
   1564     PUSH32(esp, ebp); /* 0x2501AA50: push ebp */
   1565     ebp = esp; /* 0x2501AA51: mov ebp, esp */
   1566     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu);
   1567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1568     esp = esp - 0x2Cu; /* 0x2501AA53: sub esp, 0x2c */
   1569     _flag_k = FK_CMP;
   1570     eax = MEM32(ecx + 0x274); /* 0x2501AA56: mov eax, dword ptr [ecx + 0x274] */
   1571     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1572     edx = 0; /* 0x2501AA5C: xor edx, edx */
   1573     _cf = 0;
   1574     _flag_k = FK_TEST;
   1575     PUSH32(esp, edi); /* 0x2501AA5E: push edi */
   1576     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1577     edi = 0; /* 0x2501AA5F: xor edi, edi */
   1578     _cf = 0;
   1579     _flag_k = FK_TEST;
   1580     /* cmp eax, edx */ /* 0x2501AA61: cmp eax, edx */
   1581     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1583     _flag_k = FK_CMP;
   1584     MEM32(ecx + 0x27C) = edx; /* 0x2501AA63: mov dword ptr [ecx + 0x27c], edx */
   1585     if (CMP_LE(_flag_a, _flag_b)) goto L_2501AC90; /* 0x2501AA69: jle 0x2501ac90 */
   1586 L_2501AA6F:
   1587     PUSH32(esp, ebx); /* 0x2501AA6F: push ebx */
   1588     PUSH32(esp, esi); /* 0x2501AA70: push esi */
   1589 L_2501AA71:
   1590     eax = MEM32(ecx + 0x278); /* 0x2501AA71: mov eax, dword ptr [ecx + 0x278] */
   1591     SET_LO8(ebx, MEM8(eax + edx + 0x70)); /* 0x2501AA77: mov bl, byte ptr [eax + edx + 0x70] */
   1592     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1593     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1594     eax = eax + edx; /* 0x2501AA7B: add eax, edx */
   1595     _flag_k = FK_ADD;
   1596     /* cmp LO8(ebx), 1 */ /* 0x2501AA7D: cmp bl, 1 */
   1597     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1599     _flag_k = FK_NARROW(FK_CMP, 24);
   1600     if (CMP_NE(_flag_a, _flag_b)) goto L_2501AC7C; /* 0x2501AA80: jne 0x2501ac7c */
   1601 L_2501AA86:
   1602     fp_push(*(float*)&MEM32(eax + 0x40)); /* 0x2501AA86: fld dword ptr [eax + 0x40] */
   1603     _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AA89: fsub dword ptr [ebp + 8] */
   1604     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x40) = _v; } /* 0x2501AA8C: fstp dword ptr [eax + 0x40] */
   1605     eax = MEM32(ecx + 0x278); /* 0x2501AA8F: mov eax, dword ptr [ecx + 0x278] */
   1606     fp_push(*(float*)&MEM32(edx + eax + 0x40)); /* 0x2501AA95: fld dword ptr [edx + eax + 0x40] */
   1607     esi = edx + eax; /* 0x2501AA99: lea esi, [edx + eax] */
   1608     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501AA9C: fcomp dword ptr [0x2515177c] */
   1609     fp_pop();
   1610     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501AAA2: fnstsw ax */
   1611     /* test HI8(eax), 1 */ /* 0x2501AAA4: test ah, 1 */
   1612     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1613     _cf = 0;
   1614     _flag_k = FK_NARROW(FK_TEST, 24);
   1615     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AAB2; /* 0x2501AAA7: je 0x2501aab2 */
   1616 L_2501AAA9:
   1617     MEM8(esi + 0x70) = (uint8_t)(0); /* 0x2501AAA9: mov byte ptr [esi + 0x70], 0 */
   1618     goto L_2501AC7C; /* 0x2501AAAD: jmp 0x2501ac7c */
   1619 L_2501AAB2:
   1620     eax = esi + 0xC; /* 0x2501AAB2: lea eax, [esi + 0xc] */
   1621     ebx = MEM32(eax); /* 0x2501AAB5: mov ebx, dword ptr [eax] */
   1622     MEM32(ebp + (-0x20)) = ebx; /* 0x2501AAB7: mov dword ptr [ebp - 0x20], ebx */
   1623     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501AABA: fld dword ptr [ebp - 0x20] */
   1624     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AABD: fmul dword ptr [ebp + 8] */
   1625     ebx = MEM32(eax + 0x4); /* 0x2501AAC0: mov ebx, dword ptr [eax + 4] */
   1626     eax = MEM32(eax + 0x8); /* 0x2501AAC3: mov eax, dword ptr [eax + 8] */
   1627     MEM32(ebp + (-0x18)) = eax; /* 0x2501AAC6: mov dword ptr [ebp - 0x18], eax */
   1628     MEM32(ebp + (-0x1C)) = ebx; /* 0x2501AAC9: mov dword ptr [ebp - 0x1c], ebx */
   1629     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AACC: fld dword ptr [ebp - 0x1c] */
   1630     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AACF: fmul dword ptr [ebp + 8] */
   1631     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501AAD2: fstp dword ptr [ebp - 0x1c] */
   1632     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAD5: fld dword ptr [ebp - 0x18] */
   1633     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AAD8: fmul dword ptr [ebp + 8] */
   1634     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501AADB: fstp dword ptr [ebp - 0x18] */
   1635     _st[0] += (double)*(float*)ADDR(esi); /* 0x2501AADE: fadd dword ptr [esi] */
   1636     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2501AAE0: fstp dword ptr [esi] */
   1637     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AAE2: fld dword ptr [ebp - 0x1c] */
   1638     _st[0] += (double)*(float*)ADDR(esi + 0x4); /* 0x2501AAE5: fadd dword ptr [esi + 4] */
   1639     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x2501AAE8: fstp dword ptr [esi + 4] */
   1640     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAEB: fld dword ptr [ebp - 0x18] */
   1641     _st[0] += (double)*(float*)ADDR(esi + 0x8); /* 0x2501AAEE: fadd dword ptr [esi + 8] */
   1642     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x2501AAF1: fstp dword ptr [esi + 8] */
   1643     eax = MEM32(ecx + 0x278); /* 0x2501AAF4: mov eax, dword ptr [ecx + 0x278] */
   1644     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1645     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1646     eax = eax + edx; /* 0x2501AAFA: add eax, edx */
   1647     _flag_k = FK_ADD;
   1648     esi = eax + 0x24; /* 0x2501AAFC: lea esi, [eax + 0x24] */
   1649     ebx = MEM32(esi); /* 0x2501AAFF: mov ebx, dword ptr [esi] */
   1650     MEM32(ebp + (-0x2C)) = ebx; /* 0x2501AB01: mov dword ptr [ebp - 0x2c], ebx */
   1651     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501AB04: fld dword ptr [ebp - 0x2c] */
   1652     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB07: fmul dword ptr [ebp + 8] */
   1653     ebx = MEM32(esi + 0x4); /* 0x2501AB0A: mov ebx, dword ptr [esi + 4] */
   1654     esi = MEM32(esi + 0x8); /* 0x2501AB0D: mov esi, dword ptr [esi + 8] */
   1655     MEM32(ebp + (-0x28)) = ebx; /* 0x2501AB10: mov dword ptr [ebp - 0x28], ebx */
   1656     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB13: fld dword ptr [ebp - 0x28] */
   1657     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB16: fmul dword ptr [ebp + 8] */
   1658     MEM32(ebp + (-0x24)) = esi; /* 0x2501AB19: mov dword ptr [ebp - 0x24], esi */
   1659     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501AB1C: fstp dword ptr [ebp - 0x28] */
   1660     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB1F: fld dword ptr [ebp - 0x24] */
   1661     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB22: fmul dword ptr [ebp + 8] */
   1662     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501AB25: fstp dword ptr [ebp - 0x24] */
   1663     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501AB28: fadd dword ptr [eax + 0x18] */
   1664     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x18) = _v; } /* 0x2501AB2B: fstp dword ptr [eax + 0x18] */
   1665     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB2E: fld dword ptr [ebp - 0x28] */
   1666     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501AB31: fadd dword ptr [eax + 0x1c] */
   1667     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x1C) = _v; } /* 0x2501AB34: fstp dword ptr [eax + 0x1c] */
   1668     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB37: fld dword ptr [ebp - 0x24] */
   1669     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501AB3A: fadd dword ptr [eax + 0x20] */
   1670     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x20) = _v; } /* 0x2501AB3D: fstp dword ptr [eax + 0x20] */
   1671     eax = MEM32(ecx + 0x27C); /* 0x2501AB40: mov eax, dword ptr [ecx + 0x27c] */
   1672     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB46: fld dword ptr [ebp + 8] */
   1673     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1674     eax = eax + 1; /* 0x2501AB49: inc eax */
   1675     _flag_k = FK_INC;
   1676     MEM32(ecx + 0x27C) = eax; /* 0x2501AB4A: mov dword ptr [ecx + 0x27c], eax */
   1677     eax = MEM32(ecx + 0x278); /* 0x2501AB50: mov eax, dword ptr [ecx + 0x278] */
   1678     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x58); /* 0x2501AB56: fmul dword ptr [eax + edx + 0x58] */
   1679     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1680     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1681     eax = eax + edx; /* 0x2501AB5A: add eax, edx */
   1682     _flag_k = FK_ADD;
   1683     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501AB5C: fadd dword ptr [eax + 0x48] */
   1684     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x48) = _v; } /* 0x2501AB5F: fstp dword ptr [eax + 0x48] */
   1685     eax = MEM32(ecx + 0x278); /* 0x2501AB62: mov eax, dword ptr [ecx + 0x278] */
   1686     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB68: fld dword ptr [ebp + 8] */
   1687     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1689     eax = eax + edx; /* 0x2501AB6B: add eax, edx */
   1690     _flag_k = FK_ADD;
   1691     _st[0] *= (double)*(float*)ADDR(eax + 0x5C); /* 0x2501AB6D: fmul dword ptr [eax + 0x5c] */
   1692     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501AB70: fadd dword ptr [eax + 0x4c] */
   1693     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4C) = _v; } /* 0x2501AB73: fstp dword ptr [eax + 0x4c] */
   1694     eax = MEM32(ecx + 0x278); /* 0x2501AB76: mov eax, dword ptr [ecx + 0x278] */
   1695     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB7C: fld dword ptr [ebp + 8] */
   1696     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1697     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1698     eax = eax + edx; /* 0x2501AB7F: add eax, edx */
   1699     _flag_k = FK_ADD;
   1700     _st[0] *= (double)*(float*)ADDR(eax + 0x60); /* 0x2501AB81: fmul dword ptr [eax + 0x60] */
   1701     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501AB84: fadd dword ptr [eax + 0x50] */
   1702     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x50) = _v; } /* 0x2501AB87: fstp dword ptr [eax + 0x50] */
   1703     eax = MEM32(ecx + 0x278); /* 0x2501AB8A: mov eax, dword ptr [ecx + 0x278] */
   1704     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB90: fld dword ptr [ebp + 8] */
   1705     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1706     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1707     eax = eax + edx; /* 0x2501AB93: add eax, edx */
   1708     _flag_k = FK_ADD;
   1709     _st[0] *= (double)*(float*)ADDR(eax + 0x64); /* 0x2501AB95: fmul dword ptr [eax + 0x64] */
   1710     _st[0] += (double)*(float*)ADDR(eax + 0x54); /* 0x2501AB98: fadd dword ptr [eax + 0x54] */
   1711     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x54) = _v; } /* 0x2501AB9B: fstp dword ptr [eax + 0x54] */
   1712     eax = MEM32(ecx + 0x278); /* 0x2501AB9E: mov eax, dword ptr [ecx + 0x278] */
   1713     fp_push(*(float*)&MEM32(edx + eax + 0x48)); /* 0x2501ABA4: fld dword ptr [edx + eax + 0x48] */
   1714     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABA8: fmul dword ptr [0x25151928] */
   1715     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABAE: fstp dword ptr [ebp - 4] */
   1716     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABB1: fld dword ptr [ebp - 4] */
   1717     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABB4: fsub qword ptr [0x25151b60] */
   1718     MEM32(ebp + (-0x8)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABBA: fistp dword ptr [ebp - 8] */
   1719     eax = MEM32(ecx + 0x278); /* 0x2501ABBD: mov eax, dword ptr [ecx + 0x278] */
   1720     fp_push(*(float*)&MEM32(edx + eax + 0x4C)); /* 0x2501ABC3: fld dword ptr [edx + eax + 0x4c] */
   1721     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABC7: fmul dword ptr [0x25151928] */
   1722     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABCD: fstp dword ptr [ebp - 4] */
   1723     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABD0: fld dword ptr [ebp - 4] */
   1724     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABD3: fsub qword ptr [0x25151b60] */
   1725     MEM32(ebp + (-0xC)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABD9: fistp dword ptr [ebp - 0xc] */
   1726     eax = MEM32(ecx + 0x278); /* 0x2501ABDC: mov eax, dword ptr [ecx + 0x278] */
   1727     fp_push(*(float*)&MEM32(edx + eax + 0x50)); /* 0x2501ABE2: fld dword ptr [edx + eax + 0x50] */
   1728     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABE6: fmul dword ptr [0x25151928] */
   1729     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABEC: fstp dword ptr [ebp - 4] */
   1730     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABEF: fld dword ptr [ebp - 4] */
   1731     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABF2: fsub qword ptr [0x25151b60] */
   1732     MEM32(ebp + (-0x10)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABF8: fistp dword ptr [ebp - 0x10] */
   1733     eax = MEM32(ecx + 0x278); /* 0x2501ABFB: mov eax, dword ptr [ecx + 0x278] */
   1734     fp_push(*(float*)&MEM32(edx + eax + 0x54)); /* 0x2501AC01: fld dword ptr [edx + eax + 0x54] */
   1735     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501AC05: fmul dword ptr [0x25151928] */
   1736     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501AC0B: fstp dword ptr [ebp - 4] */
   1737     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501AC0E: fld dword ptr [ebp - 4] */
   1738     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501AC11: fsub qword ptr [0x25151b60] */
   1739     MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501AC17: fistp dword ptr [ebp - 0x14] */
   1740     eax = MEM32(ebp + (-0x8)); /* 0x2501AC1A: mov eax, dword ptr [ebp - 8] */
   1741     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC1D: fld dword ptr [ebp + 8] */
   1742     esi = MEM32(ebp + (-0xC)); /* 0x2501AC20: mov esi, dword ptr [ebp - 0xc] */
   1743     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC23: shl eax, 8 */
   1744     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1745     eax = eax << 8u; /* 0x2501AC23: shl eax, 8 */
   1746     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   1747     eax = eax | esi; /* 0x2501AC26: or eax, esi */
   1748     _cf = 0;
   1749     _flag_k = FK_TEST;
   1750     esi = MEM32(ebp + (-0x10)); /* 0x2501AC28: mov esi, dword ptr [ebp - 0x10] */
   1751     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC2B: shl eax, 8 */
   1752     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1753     eax = eax << 8u; /* 0x2501AC2B: shl eax, 8 */
   1754     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   1755     eax = eax | esi; /* 0x2501AC2E: or eax, esi */
   1756     _cf = 0;
   1757     _flag_k = FK_TEST;
   1758     esi = MEM32(ebp + (-0x14)); /* 0x2501AC30: mov esi, dword ptr [ebp - 0x14] */
   1759     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC33: shl eax, 8 */
   1760     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1761     eax = eax << 8u; /* 0x2501AC33: shl eax, 8 */
   1762     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   1763     eax = eax | esi; /* 0x2501AC36: or eax, esi */
   1764     _cf = 0;
   1765     _flag_k = FK_TEST;
   1766     esi = MEM32(ecx + 0x278); /* 0x2501AC38: mov esi, dword ptr [ecx + 0x278] */
   1767     MEM32(edx + esi + 0x44) = eax; /* 0x2501AC3E: mov dword ptr [edx + esi + 0x44], eax */
   1768     eax = MEM32(ecx + 0x278); /* 0x2501AC42: mov eax, dword ptr [ecx + 0x278] */
   1769     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x6C); /* 0x2501AC48: fmul dword ptr [eax + edx + 0x6c] */
   1770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1771     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1772     eax = eax + edx; /* 0x2501AC4C: add eax, edx */
   1773     _flag_k = FK_ADD;
   1774     _st[0] += (double)*(float*)ADDR(eax + 0x68); /* 0x2501AC4E: fadd dword ptr [eax + 0x68] */
   1775     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x68) = _v; } /* 0x2501AC51: fstp dword ptr [eax + 0x68] */
   1776     eax = MEM32(ecx + 0x278); /* 0x2501AC54: mov eax, dword ptr [ecx + 0x278] */
   1777     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC5A: fld dword ptr [ebp + 8] */
   1778     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1779     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1780     eax = eax + edx; /* 0x2501AC5D: add eax, edx */
   1781     _flag_k = FK_ADD;
   1782     _st[0] *= (double)*(float*)ADDR(eax + 0x38); /* 0x2501AC5F: fmul dword ptr [eax + 0x38] */
   1783     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501AC62: fadd dword ptr [eax + 0x30] */
   1784     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x30) = _v; } /* 0x2501AC65: fstp dword ptr [eax + 0x30] */
   1785     eax = MEM32(ecx + 0x278); /* 0x2501AC68: mov eax, dword ptr [ecx + 0x278] */
   1786     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC6E: fld dword ptr [ebp + 8] */
   1787     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1788     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1789     eax = eax + edx; /* 0x2501AC71: add eax, edx */
   1790     _flag_k = FK_ADD;
   1791     _st[0] *= (double)*(float*)ADDR(eax + 0x3C); /* 0x2501AC73: fmul dword ptr [eax + 0x3c] */
   1792     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501AC76: fadd dword ptr [eax + 0x34] */
   1793     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x34) = _v; } /* 0x2501AC79: fstp dword ptr [eax + 0x34] */
   1794 L_2501AC7C:
   1795     eax = MEM32(ecx + 0x274); /* 0x2501AC7C: mov eax, dword ptr [ecx + 0x274] */
   1796     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1797     edi = edi + 1; /* 0x2501AC82: inc edi */
   1798     _flag_k = FK_INC;
   1799     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x74u);
   1800     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1801     edx = edx + 0x74u; /* 0x2501AC83: add edx, 0x74 */
   1802     _flag_k = FK_ADD;
   1803     /* cmp edi, eax */ /* 0x2501AC86: cmp edi, eax */
   1804     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1806     _flag_k = FK_CMP;
   1807     RECOMP_BACKEDGE();
   1808     if (CMP_L(_flag_a, _flag_b)) goto L_2501AA71; /* 0x2501AC88: jl 0x2501aa71 */
   1809 L_2501AC8E:
   1810     esi = POP32_VAL(esp); /* 0x2501AC8E: pop esi */
   1811     ebx = POP32_VAL(esp); /* 0x2501AC8F: pop ebx */
   1812 L_2501AC90:
   1813     edi = POP32_VAL(esp); /* 0x2501AC90: pop edi */
   1814     esp = ebp; /* 0x2501AC91: mov esp, ebp */
   1815     ebp = POP32_VAL(esp); /* 0x2501AC93: pop ebp */
   1816     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501AC94: ret 4 */
   1817     RECOMP_REGS_OUT();
   1818 }
   1819 
   1820 void sub_2501AA71(void) {
   1821     int _fpu_cmp = 0;
   1822     uint32_t _cf = 0;
   1823     int _df = 1;
   1824     uint32_t _flag_k = FK_NONE;
   1825     uint32_t _flag_a = 0, _flag_b = 0;
   1826     uint32_t _itail_tgt = 0;
   1827     RECOMP_REGS_LOCALS
   1828     RECOMP_ENTER(0x2501AA71u);
   1829 
   1830 L_2501AA71:
   1831     eax = MEM32(ecx + 0x278); /* 0x2501AA71: mov eax, dword ptr [ecx + 0x278] */
   1832     SET_LO8(ebx, MEM8(eax + edx + 0x70)); /* 0x2501AA77: mov bl, byte ptr [eax + edx + 0x70] */
   1833     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1835     eax = eax + edx; /* 0x2501AA7B: add eax, edx */
   1836     _flag_k = FK_ADD;
   1837     /* cmp LO8(ebx), 1 */ /* 0x2501AA7D: cmp bl, 1 */
   1838     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1840     _flag_k = FK_NARROW(FK_CMP, 24);
   1841     if (CMP_NE(_flag_a, _flag_b)) goto L_2501AC7C; /* 0x2501AA80: jne 0x2501ac7c */
   1842 L_2501AA86:
   1843     fp_push(*(float*)&MEM32(eax + 0x40)); /* 0x2501AA86: fld dword ptr [eax + 0x40] */
   1844     _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AA89: fsub dword ptr [ebp + 8] */
   1845     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x40) = _v; } /* 0x2501AA8C: fstp dword ptr [eax + 0x40] */
   1846     eax = MEM32(ecx + 0x278); /* 0x2501AA8F: mov eax, dword ptr [ecx + 0x278] */
   1847     fp_push(*(float*)&MEM32(edx + eax + 0x40)); /* 0x2501AA95: fld dword ptr [edx + eax + 0x40] */
   1848     esi = edx + eax; /* 0x2501AA99: lea esi, [edx + eax] */
   1849     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501AA9C: fcomp dword ptr [0x2515177c] */
   1850     fp_pop();
   1851     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501AAA2: fnstsw ax */
   1852     /* test HI8(eax), 1 */ /* 0x2501AAA4: test ah, 1 */
   1853     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1854     _cf = 0;
   1855     _flag_k = FK_NARROW(FK_TEST, 24);
   1856     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AAB2; /* 0x2501AAA7: je 0x2501aab2 */
   1857 L_2501AAA9:
   1858     MEM8(esi + 0x70) = (uint8_t)(0); /* 0x2501AAA9: mov byte ptr [esi + 0x70], 0 */
   1859     goto L_2501AC7C; /* 0x2501AAAD: jmp 0x2501ac7c */
   1860 L_2501AAB2:
   1861     eax = esi + 0xC; /* 0x2501AAB2: lea eax, [esi + 0xc] */
   1862     ebx = MEM32(eax); /* 0x2501AAB5: mov ebx, dword ptr [eax] */
   1863     MEM32(ebp + (-0x20)) = ebx; /* 0x2501AAB7: mov dword ptr [ebp - 0x20], ebx */
   1864     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501AABA: fld dword ptr [ebp - 0x20] */
   1865     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AABD: fmul dword ptr [ebp + 8] */
   1866     ebx = MEM32(eax + 0x4); /* 0x2501AAC0: mov ebx, dword ptr [eax + 4] */
   1867     eax = MEM32(eax + 0x8); /* 0x2501AAC3: mov eax, dword ptr [eax + 8] */
   1868     MEM32(ebp + (-0x18)) = eax; /* 0x2501AAC6: mov dword ptr [ebp - 0x18], eax */
   1869     MEM32(ebp + (-0x1C)) = ebx; /* 0x2501AAC9: mov dword ptr [ebp - 0x1c], ebx */
   1870     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AACC: fld dword ptr [ebp - 0x1c] */
   1871     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AACF: fmul dword ptr [ebp + 8] */
   1872     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501AAD2: fstp dword ptr [ebp - 0x1c] */
   1873     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAD5: fld dword ptr [ebp - 0x18] */
   1874     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AAD8: fmul dword ptr [ebp + 8] */
   1875     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501AADB: fstp dword ptr [ebp - 0x18] */
   1876     _st[0] += (double)*(float*)ADDR(esi); /* 0x2501AADE: fadd dword ptr [esi] */
   1877     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2501AAE0: fstp dword ptr [esi] */
   1878     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AAE2: fld dword ptr [ebp - 0x1c] */
   1879     _st[0] += (double)*(float*)ADDR(esi + 0x4); /* 0x2501AAE5: fadd dword ptr [esi + 4] */
   1880     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x2501AAE8: fstp dword ptr [esi + 4] */
   1881     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAEB: fld dword ptr [ebp - 0x18] */
   1882     _st[0] += (double)*(float*)ADDR(esi + 0x8); /* 0x2501AAEE: fadd dword ptr [esi + 8] */
   1883     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x2501AAF1: fstp dword ptr [esi + 8] */
   1884     eax = MEM32(ecx + 0x278); /* 0x2501AAF4: mov eax, dword ptr [ecx + 0x278] */
   1885     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1886     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1887     eax = eax + edx; /* 0x2501AAFA: add eax, edx */
   1888     _flag_k = FK_ADD;
   1889     esi = eax + 0x24; /* 0x2501AAFC: lea esi, [eax + 0x24] */
   1890     ebx = MEM32(esi); /* 0x2501AAFF: mov ebx, dword ptr [esi] */
   1891     MEM32(ebp + (-0x2C)) = ebx; /* 0x2501AB01: mov dword ptr [ebp - 0x2c], ebx */
   1892     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501AB04: fld dword ptr [ebp - 0x2c] */
   1893     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB07: fmul dword ptr [ebp + 8] */
   1894     ebx = MEM32(esi + 0x4); /* 0x2501AB0A: mov ebx, dword ptr [esi + 4] */
   1895     esi = MEM32(esi + 0x8); /* 0x2501AB0D: mov esi, dword ptr [esi + 8] */
   1896     MEM32(ebp + (-0x28)) = ebx; /* 0x2501AB10: mov dword ptr [ebp - 0x28], ebx */
   1897     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB13: fld dword ptr [ebp - 0x28] */
   1898     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB16: fmul dword ptr [ebp + 8] */
   1899     MEM32(ebp + (-0x24)) = esi; /* 0x2501AB19: mov dword ptr [ebp - 0x24], esi */
   1900     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501AB1C: fstp dword ptr [ebp - 0x28] */
   1901     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB1F: fld dword ptr [ebp - 0x24] */
   1902     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB22: fmul dword ptr [ebp + 8] */
   1903     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501AB25: fstp dword ptr [ebp - 0x24] */
   1904     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501AB28: fadd dword ptr [eax + 0x18] */
   1905     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x18) = _v; } /* 0x2501AB2B: fstp dword ptr [eax + 0x18] */
   1906     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB2E: fld dword ptr [ebp - 0x28] */
   1907     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501AB31: fadd dword ptr [eax + 0x1c] */
   1908     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x1C) = _v; } /* 0x2501AB34: fstp dword ptr [eax + 0x1c] */
   1909     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB37: fld dword ptr [ebp - 0x24] */
   1910     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501AB3A: fadd dword ptr [eax + 0x20] */
   1911     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x20) = _v; } /* 0x2501AB3D: fstp dword ptr [eax + 0x20] */
   1912     eax = MEM32(ecx + 0x27C); /* 0x2501AB40: mov eax, dword ptr [ecx + 0x27c] */
   1913     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB46: fld dword ptr [ebp + 8] */
   1914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1915     eax = eax + 1; /* 0x2501AB49: inc eax */
   1916     _flag_k = FK_INC;
   1917     MEM32(ecx + 0x27C) = eax; /* 0x2501AB4A: mov dword ptr [ecx + 0x27c], eax */
   1918     eax = MEM32(ecx + 0x278); /* 0x2501AB50: mov eax, dword ptr [ecx + 0x278] */
   1919     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x58); /* 0x2501AB56: fmul dword ptr [eax + edx + 0x58] */
   1920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1921     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1922     eax = eax + edx; /* 0x2501AB5A: add eax, edx */
   1923     _flag_k = FK_ADD;
   1924     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501AB5C: fadd dword ptr [eax + 0x48] */
   1925     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x48) = _v; } /* 0x2501AB5F: fstp dword ptr [eax + 0x48] */
   1926     eax = MEM32(ecx + 0x278); /* 0x2501AB62: mov eax, dword ptr [ecx + 0x278] */
   1927     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB68: fld dword ptr [ebp + 8] */
   1928     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1929     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1930     eax = eax + edx; /* 0x2501AB6B: add eax, edx */
   1931     _flag_k = FK_ADD;
   1932     _st[0] *= (double)*(float*)ADDR(eax + 0x5C); /* 0x2501AB6D: fmul dword ptr [eax + 0x5c] */
   1933     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501AB70: fadd dword ptr [eax + 0x4c] */
   1934     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4C) = _v; } /* 0x2501AB73: fstp dword ptr [eax + 0x4c] */
   1935     eax = MEM32(ecx + 0x278); /* 0x2501AB76: mov eax, dword ptr [ecx + 0x278] */
   1936     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB7C: fld dword ptr [ebp + 8] */
   1937     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1938     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1939     eax = eax + edx; /* 0x2501AB7F: add eax, edx */
   1940     _flag_k = FK_ADD;
   1941     _st[0] *= (double)*(float*)ADDR(eax + 0x60); /* 0x2501AB81: fmul dword ptr [eax + 0x60] */
   1942     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501AB84: fadd dword ptr [eax + 0x50] */
   1943     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x50) = _v; } /* 0x2501AB87: fstp dword ptr [eax + 0x50] */
   1944     eax = MEM32(ecx + 0x278); /* 0x2501AB8A: mov eax, dword ptr [ecx + 0x278] */
   1945     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB90: fld dword ptr [ebp + 8] */
   1946     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1947     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1948     eax = eax + edx; /* 0x2501AB93: add eax, edx */
   1949     _flag_k = FK_ADD;
   1950     _st[0] *= (double)*(float*)ADDR(eax + 0x64); /* 0x2501AB95: fmul dword ptr [eax + 0x64] */
   1951     _st[0] += (double)*(float*)ADDR(eax + 0x54); /* 0x2501AB98: fadd dword ptr [eax + 0x54] */
   1952     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x54) = _v; } /* 0x2501AB9B: fstp dword ptr [eax + 0x54] */
   1953     eax = MEM32(ecx + 0x278); /* 0x2501AB9E: mov eax, dword ptr [ecx + 0x278] */
   1954     fp_push(*(float*)&MEM32(edx + eax + 0x48)); /* 0x2501ABA4: fld dword ptr [edx + eax + 0x48] */
   1955     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABA8: fmul dword ptr [0x25151928] */
   1956     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABAE: fstp dword ptr [ebp - 4] */
   1957     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABB1: fld dword ptr [ebp - 4] */
   1958     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABB4: fsub qword ptr [0x25151b60] */
   1959     MEM32(ebp + (-0x8)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABBA: fistp dword ptr [ebp - 8] */
   1960     eax = MEM32(ecx + 0x278); /* 0x2501ABBD: mov eax, dword ptr [ecx + 0x278] */
   1961     fp_push(*(float*)&MEM32(edx + eax + 0x4C)); /* 0x2501ABC3: fld dword ptr [edx + eax + 0x4c] */
   1962     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABC7: fmul dword ptr [0x25151928] */
   1963     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABCD: fstp dword ptr [ebp - 4] */
   1964     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABD0: fld dword ptr [ebp - 4] */
   1965     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABD3: fsub qword ptr [0x25151b60] */
   1966     MEM32(ebp + (-0xC)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABD9: fistp dword ptr [ebp - 0xc] */
   1967     eax = MEM32(ecx + 0x278); /* 0x2501ABDC: mov eax, dword ptr [ecx + 0x278] */
   1968     fp_push(*(float*)&MEM32(edx + eax + 0x50)); /* 0x2501ABE2: fld dword ptr [edx + eax + 0x50] */
   1969     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABE6: fmul dword ptr [0x25151928] */
   1970     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABEC: fstp dword ptr [ebp - 4] */
   1971     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABEF: fld dword ptr [ebp - 4] */
   1972     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABF2: fsub qword ptr [0x25151b60] */
   1973     MEM32(ebp + (-0x10)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABF8: fistp dword ptr [ebp - 0x10] */
   1974     eax = MEM32(ecx + 0x278); /* 0x2501ABFB: mov eax, dword ptr [ecx + 0x278] */
   1975     fp_push(*(float*)&MEM32(edx + eax + 0x54)); /* 0x2501AC01: fld dword ptr [edx + eax + 0x54] */
   1976     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501AC05: fmul dword ptr [0x25151928] */
   1977     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501AC0B: fstp dword ptr [ebp - 4] */
   1978     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501AC0E: fld dword ptr [ebp - 4] */
   1979     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501AC11: fsub qword ptr [0x25151b60] */
   1980     MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501AC17: fistp dword ptr [ebp - 0x14] */
   1981     eax = MEM32(ebp + (-0x8)); /* 0x2501AC1A: mov eax, dword ptr [ebp - 8] */
   1982     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC1D: fld dword ptr [ebp + 8] */
   1983     esi = MEM32(ebp + (-0xC)); /* 0x2501AC20: mov esi, dword ptr [ebp - 0xc] */
   1984     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC23: shl eax, 8 */
   1985     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1986     eax = eax << 8u; /* 0x2501AC23: shl eax, 8 */
   1987     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   1988     eax = eax | esi; /* 0x2501AC26: or eax, esi */
   1989     _cf = 0;
   1990     _flag_k = FK_TEST;
   1991     esi = MEM32(ebp + (-0x10)); /* 0x2501AC28: mov esi, dword ptr [ebp - 0x10] */
   1992     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC2B: shl eax, 8 */
   1993     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1994     eax = eax << 8u; /* 0x2501AC2B: shl eax, 8 */
   1995     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   1996     eax = eax | esi; /* 0x2501AC2E: or eax, esi */
   1997     _cf = 0;
   1998     _flag_k = FK_TEST;
   1999     esi = MEM32(ebp + (-0x14)); /* 0x2501AC30: mov esi, dword ptr [ebp - 0x14] */
   2000     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC33: shl eax, 8 */
   2001     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2002     eax = eax << 8u; /* 0x2501AC33: shl eax, 8 */
   2003     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   2004     eax = eax | esi; /* 0x2501AC36: or eax, esi */
   2005     _cf = 0;
   2006     _flag_k = FK_TEST;
   2007     esi = MEM32(ecx + 0x278); /* 0x2501AC38: mov esi, dword ptr [ecx + 0x278] */
   2008     MEM32(edx + esi + 0x44) = eax; /* 0x2501AC3E: mov dword ptr [edx + esi + 0x44], eax */
   2009     eax = MEM32(ecx + 0x278); /* 0x2501AC42: mov eax, dword ptr [ecx + 0x278] */
   2010     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x6C); /* 0x2501AC48: fmul dword ptr [eax + edx + 0x6c] */
   2011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2012     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2013     eax = eax + edx; /* 0x2501AC4C: add eax, edx */
   2014     _flag_k = FK_ADD;
   2015     _st[0] += (double)*(float*)ADDR(eax + 0x68); /* 0x2501AC4E: fadd dword ptr [eax + 0x68] */
   2016     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x68) = _v; } /* 0x2501AC51: fstp dword ptr [eax + 0x68] */
   2017     eax = MEM32(ecx + 0x278); /* 0x2501AC54: mov eax, dword ptr [ecx + 0x278] */
   2018     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC5A: fld dword ptr [ebp + 8] */
   2019     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2020     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2021     eax = eax + edx; /* 0x2501AC5D: add eax, edx */
   2022     _flag_k = FK_ADD;
   2023     _st[0] *= (double)*(float*)ADDR(eax + 0x38); /* 0x2501AC5F: fmul dword ptr [eax + 0x38] */
   2024     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501AC62: fadd dword ptr [eax + 0x30] */
   2025     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x30) = _v; } /* 0x2501AC65: fstp dword ptr [eax + 0x30] */
   2026     eax = MEM32(ecx + 0x278); /* 0x2501AC68: mov eax, dword ptr [ecx + 0x278] */
   2027     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC6E: fld dword ptr [ebp + 8] */
   2028     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2030     eax = eax + edx; /* 0x2501AC71: add eax, edx */
   2031     _flag_k = FK_ADD;
   2032     _st[0] *= (double)*(float*)ADDR(eax + 0x3C); /* 0x2501AC73: fmul dword ptr [eax + 0x3c] */
   2033     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501AC76: fadd dword ptr [eax + 0x34] */
   2034     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x34) = _v; } /* 0x2501AC79: fstp dword ptr [eax + 0x34] */
   2035 L_2501AC7C:
   2036     eax = MEM32(ecx + 0x274); /* 0x2501AC7C: mov eax, dword ptr [ecx + 0x274] */
   2037     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2038     edi = edi + 1; /* 0x2501AC82: inc edi */
   2039     _flag_k = FK_INC;
   2040     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x74u);
   2041     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2042     edx = edx + 0x74u; /* 0x2501AC83: add edx, 0x74 */
   2043     _flag_k = FK_ADD;
   2044     /* cmp edi, eax */ /* 0x2501AC86: cmp edi, eax */
   2045     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2046     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2047     _flag_k = FK_CMP;
   2048     RECOMP_BACKEDGE();
   2049     if (CMP_L(_flag_a, _flag_b)) goto L_2501AA71; /* 0x2501AC88: jl 0x2501aa71 */
   2050 L_2501AC8E:
   2051     esi = POP32_VAL(esp); /* 0x2501AC8E: pop esi */
   2052     ebx = POP32_VAL(esp); /* 0x2501AC8F: pop ebx */
   2053     edi = POP32_VAL(esp); /* 0x2501AC90: pop edi */
   2054     esp = ebp; /* 0x2501AC91: mov esp, ebp */
   2055     ebp = POP32_VAL(esp); /* 0x2501AC93: pop ebp */
   2056     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501AC94: ret 4 */
   2057     RECOMP_REGS_OUT();
   2058 }
   2059 
   2060 void sub_2501AC7C(void) {
   2061     int _fpu_cmp = 0;
   2062     uint32_t _cf = 0;
   2063     int _df = 1;
   2064     uint32_t _flag_k = FK_NONE;
   2065     uint32_t _flag_a = 0, _flag_b = 0;
   2066     uint32_t _itail_tgt = 0;
   2067     RECOMP_REGS_LOCALS
   2068     RECOMP_ENTER(0x2501AC7Cu);
   2069 
   2070     goto L_2501AC7C;
   2071 L_2501AA71:
   2072     eax = MEM32(ecx + 0x278); /* 0x2501AA71: mov eax, dword ptr [ecx + 0x278] */
   2073     SET_LO8(ebx, MEM8(eax + edx + 0x70)); /* 0x2501AA77: mov bl, byte ptr [eax + edx + 0x70] */
   2074     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2075     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2076     eax = eax + edx; /* 0x2501AA7B: add eax, edx */
   2077     _flag_k = FK_ADD;
   2078     /* cmp LO8(ebx), 1 */ /* 0x2501AA7D: cmp bl, 1 */
   2079     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2080     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2081     _flag_k = FK_NARROW(FK_CMP, 24);
   2082     if (CMP_NE(_flag_a, _flag_b)) goto L_2501AC7C; /* 0x2501AA80: jne 0x2501ac7c */
   2083 L_2501AA86:
   2084     fp_push(*(float*)&MEM32(eax + 0x40)); /* 0x2501AA86: fld dword ptr [eax + 0x40] */
   2085     _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AA89: fsub dword ptr [ebp + 8] */
   2086     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x40) = _v; } /* 0x2501AA8C: fstp dword ptr [eax + 0x40] */
   2087     eax = MEM32(ecx + 0x278); /* 0x2501AA8F: mov eax, dword ptr [ecx + 0x278] */
   2088     fp_push(*(float*)&MEM32(edx + eax + 0x40)); /* 0x2501AA95: fld dword ptr [edx + eax + 0x40] */
   2089     esi = edx + eax; /* 0x2501AA99: lea esi, [edx + eax] */
   2090     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501AA9C: fcomp dword ptr [0x2515177c] */
   2091     fp_pop();
   2092     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501AAA2: fnstsw ax */
   2093     /* test HI8(eax), 1 */ /* 0x2501AAA4: test ah, 1 */
   2094     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2095     _cf = 0;
   2096     _flag_k = FK_NARROW(FK_TEST, 24);
   2097     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AAB2; /* 0x2501AAA7: je 0x2501aab2 */
   2098 L_2501AAA9:
   2099     MEM8(esi + 0x70) = (uint8_t)(0); /* 0x2501AAA9: mov byte ptr [esi + 0x70], 0 */
   2100     goto L_2501AC7C; /* 0x2501AAAD: jmp 0x2501ac7c */
   2101 L_2501AAB2:
   2102     eax = esi + 0xC; /* 0x2501AAB2: lea eax, [esi + 0xc] */
   2103     ebx = MEM32(eax); /* 0x2501AAB5: mov ebx, dword ptr [eax] */
   2104     MEM32(ebp + (-0x20)) = ebx; /* 0x2501AAB7: mov dword ptr [ebp - 0x20], ebx */
   2105     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501AABA: fld dword ptr [ebp - 0x20] */
   2106     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AABD: fmul dword ptr [ebp + 8] */
   2107     ebx = MEM32(eax + 0x4); /* 0x2501AAC0: mov ebx, dword ptr [eax + 4] */
   2108     eax = MEM32(eax + 0x8); /* 0x2501AAC3: mov eax, dword ptr [eax + 8] */
   2109     MEM32(ebp + (-0x18)) = eax; /* 0x2501AAC6: mov dword ptr [ebp - 0x18], eax */
   2110     MEM32(ebp + (-0x1C)) = ebx; /* 0x2501AAC9: mov dword ptr [ebp - 0x1c], ebx */
   2111     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AACC: fld dword ptr [ebp - 0x1c] */
   2112     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AACF: fmul dword ptr [ebp + 8] */
   2113     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501AAD2: fstp dword ptr [ebp - 0x1c] */
   2114     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAD5: fld dword ptr [ebp - 0x18] */
   2115     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AAD8: fmul dword ptr [ebp + 8] */
   2116     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501AADB: fstp dword ptr [ebp - 0x18] */
   2117     _st[0] += (double)*(float*)ADDR(esi); /* 0x2501AADE: fadd dword ptr [esi] */
   2118     { float _v = (float)fp_pop(); *(float*)ADDR(esi) = _v; } /* 0x2501AAE0: fstp dword ptr [esi] */
   2119     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501AAE2: fld dword ptr [ebp - 0x1c] */
   2120     _st[0] += (double)*(float*)ADDR(esi + 0x4); /* 0x2501AAE5: fadd dword ptr [esi + 4] */
   2121     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x4) = _v; } /* 0x2501AAE8: fstp dword ptr [esi + 4] */
   2122     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501AAEB: fld dword ptr [ebp - 0x18] */
   2123     _st[0] += (double)*(float*)ADDR(esi + 0x8); /* 0x2501AAEE: fadd dword ptr [esi + 8] */
   2124     { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x8) = _v; } /* 0x2501AAF1: fstp dword ptr [esi + 8] */
   2125     eax = MEM32(ecx + 0x278); /* 0x2501AAF4: mov eax, dword ptr [ecx + 0x278] */
   2126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2127     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2128     eax = eax + edx; /* 0x2501AAFA: add eax, edx */
   2129     _flag_k = FK_ADD;
   2130     esi = eax + 0x24; /* 0x2501AAFC: lea esi, [eax + 0x24] */
   2131     ebx = MEM32(esi); /* 0x2501AAFF: mov ebx, dword ptr [esi] */
   2132     MEM32(ebp + (-0x2C)) = ebx; /* 0x2501AB01: mov dword ptr [ebp - 0x2c], ebx */
   2133     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501AB04: fld dword ptr [ebp - 0x2c] */
   2134     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB07: fmul dword ptr [ebp + 8] */
   2135     ebx = MEM32(esi + 0x4); /* 0x2501AB0A: mov ebx, dword ptr [esi + 4] */
   2136     esi = MEM32(esi + 0x8); /* 0x2501AB0D: mov esi, dword ptr [esi + 8] */
   2137     MEM32(ebp + (-0x28)) = ebx; /* 0x2501AB10: mov dword ptr [ebp - 0x28], ebx */
   2138     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB13: fld dword ptr [ebp - 0x28] */
   2139     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB16: fmul dword ptr [ebp + 8] */
   2140     MEM32(ebp + (-0x24)) = esi; /* 0x2501AB19: mov dword ptr [ebp - 0x24], esi */
   2141     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501AB1C: fstp dword ptr [ebp - 0x28] */
   2142     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB1F: fld dword ptr [ebp - 0x24] */
   2143     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2501AB22: fmul dword ptr [ebp + 8] */
   2144     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501AB25: fstp dword ptr [ebp - 0x24] */
   2145     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501AB28: fadd dword ptr [eax + 0x18] */
   2146     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x18) = _v; } /* 0x2501AB2B: fstp dword ptr [eax + 0x18] */
   2147     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501AB2E: fld dword ptr [ebp - 0x28] */
   2148     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501AB31: fadd dword ptr [eax + 0x1c] */
   2149     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x1C) = _v; } /* 0x2501AB34: fstp dword ptr [eax + 0x1c] */
   2150     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501AB37: fld dword ptr [ebp - 0x24] */
   2151     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501AB3A: fadd dword ptr [eax + 0x20] */
   2152     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x20) = _v; } /* 0x2501AB3D: fstp dword ptr [eax + 0x20] */
   2153     eax = MEM32(ecx + 0x27C); /* 0x2501AB40: mov eax, dword ptr [ecx + 0x27c] */
   2154     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB46: fld dword ptr [ebp + 8] */
   2155     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2156     eax = eax + 1; /* 0x2501AB49: inc eax */
   2157     _flag_k = FK_INC;
   2158     MEM32(ecx + 0x27C) = eax; /* 0x2501AB4A: mov dword ptr [ecx + 0x27c], eax */
   2159     eax = MEM32(ecx + 0x278); /* 0x2501AB50: mov eax, dword ptr [ecx + 0x278] */
   2160     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x58); /* 0x2501AB56: fmul dword ptr [eax + edx + 0x58] */
   2161     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2162     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2163     eax = eax + edx; /* 0x2501AB5A: add eax, edx */
   2164     _flag_k = FK_ADD;
   2165     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501AB5C: fadd dword ptr [eax + 0x48] */
   2166     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x48) = _v; } /* 0x2501AB5F: fstp dword ptr [eax + 0x48] */
   2167     eax = MEM32(ecx + 0x278); /* 0x2501AB62: mov eax, dword ptr [ecx + 0x278] */
   2168     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB68: fld dword ptr [ebp + 8] */
   2169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2171     eax = eax + edx; /* 0x2501AB6B: add eax, edx */
   2172     _flag_k = FK_ADD;
   2173     _st[0] *= (double)*(float*)ADDR(eax + 0x5C); /* 0x2501AB6D: fmul dword ptr [eax + 0x5c] */
   2174     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501AB70: fadd dword ptr [eax + 0x4c] */
   2175     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4C) = _v; } /* 0x2501AB73: fstp dword ptr [eax + 0x4c] */
   2176     eax = MEM32(ecx + 0x278); /* 0x2501AB76: mov eax, dword ptr [ecx + 0x278] */
   2177     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB7C: fld dword ptr [ebp + 8] */
   2178     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2179     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2180     eax = eax + edx; /* 0x2501AB7F: add eax, edx */
   2181     _flag_k = FK_ADD;
   2182     _st[0] *= (double)*(float*)ADDR(eax + 0x60); /* 0x2501AB81: fmul dword ptr [eax + 0x60] */
   2183     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501AB84: fadd dword ptr [eax + 0x50] */
   2184     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x50) = _v; } /* 0x2501AB87: fstp dword ptr [eax + 0x50] */
   2185     eax = MEM32(ecx + 0x278); /* 0x2501AB8A: mov eax, dword ptr [ecx + 0x278] */
   2186     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AB90: fld dword ptr [ebp + 8] */
   2187     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2188     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2189     eax = eax + edx; /* 0x2501AB93: add eax, edx */
   2190     _flag_k = FK_ADD;
   2191     _st[0] *= (double)*(float*)ADDR(eax + 0x64); /* 0x2501AB95: fmul dword ptr [eax + 0x64] */
   2192     _st[0] += (double)*(float*)ADDR(eax + 0x54); /* 0x2501AB98: fadd dword ptr [eax + 0x54] */
   2193     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x54) = _v; } /* 0x2501AB9B: fstp dword ptr [eax + 0x54] */
   2194     eax = MEM32(ecx + 0x278); /* 0x2501AB9E: mov eax, dword ptr [ecx + 0x278] */
   2195     fp_push(*(float*)&MEM32(edx + eax + 0x48)); /* 0x2501ABA4: fld dword ptr [edx + eax + 0x48] */
   2196     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABA8: fmul dword ptr [0x25151928] */
   2197     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABAE: fstp dword ptr [ebp - 4] */
   2198     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABB1: fld dword ptr [ebp - 4] */
   2199     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABB4: fsub qword ptr [0x25151b60] */
   2200     MEM32(ebp + (-0x8)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABBA: fistp dword ptr [ebp - 8] */
   2201     eax = MEM32(ecx + 0x278); /* 0x2501ABBD: mov eax, dword ptr [ecx + 0x278] */
   2202     fp_push(*(float*)&MEM32(edx + eax + 0x4C)); /* 0x2501ABC3: fld dword ptr [edx + eax + 0x4c] */
   2203     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABC7: fmul dword ptr [0x25151928] */
   2204     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABCD: fstp dword ptr [ebp - 4] */
   2205     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABD0: fld dword ptr [ebp - 4] */
   2206     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABD3: fsub qword ptr [0x25151b60] */
   2207     MEM32(ebp + (-0xC)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABD9: fistp dword ptr [ebp - 0xc] */
   2208     eax = MEM32(ecx + 0x278); /* 0x2501ABDC: mov eax, dword ptr [ecx + 0x278] */
   2209     fp_push(*(float*)&MEM32(edx + eax + 0x50)); /* 0x2501ABE2: fld dword ptr [edx + eax + 0x50] */
   2210     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501ABE6: fmul dword ptr [0x25151928] */
   2211     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501ABEC: fstp dword ptr [ebp - 4] */
   2212     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501ABEF: fld dword ptr [ebp - 4] */
   2213     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501ABF2: fsub qword ptr [0x25151b60] */
   2214     MEM32(ebp + (-0x10)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501ABF8: fistp dword ptr [ebp - 0x10] */
   2215     eax = MEM32(ecx + 0x278); /* 0x2501ABFB: mov eax, dword ptr [ecx + 0x278] */
   2216     fp_push(*(float*)&MEM32(edx + eax + 0x54)); /* 0x2501AC01: fld dword ptr [edx + eax + 0x54] */
   2217     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501AC05: fmul dword ptr [0x25151928] */
   2218     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501AC0B: fstp dword ptr [ebp - 4] */
   2219     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501AC0E: fld dword ptr [ebp - 4] */
   2220     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501AC11: fsub qword ptr [0x25151b60] */
   2221     MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501AC17: fistp dword ptr [ebp - 0x14] */
   2222     eax = MEM32(ebp + (-0x8)); /* 0x2501AC1A: mov eax, dword ptr [ebp - 8] */
   2223     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC1D: fld dword ptr [ebp + 8] */
   2224     esi = MEM32(ebp + (-0xC)); /* 0x2501AC20: mov esi, dword ptr [ebp - 0xc] */
   2225     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC23: shl eax, 8 */
   2226     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2227     eax = eax << 8u; /* 0x2501AC23: shl eax, 8 */
   2228     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   2229     eax = eax | esi; /* 0x2501AC26: or eax, esi */
   2230     _cf = 0;
   2231     _flag_k = FK_TEST;
   2232     esi = MEM32(ebp + (-0x10)); /* 0x2501AC28: mov esi, dword ptr [ebp - 0x10] */
   2233     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC2B: shl eax, 8 */
   2234     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2235     eax = eax << 8u; /* 0x2501AC2B: shl eax, 8 */
   2236     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   2237     eax = eax | esi; /* 0x2501AC2E: or eax, esi */
   2238     _cf = 0;
   2239     _flag_k = FK_TEST;
   2240     esi = MEM32(ebp + (-0x14)); /* 0x2501AC30: mov esi, dword ptr [ebp - 0x14] */
   2241     if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2501AC33: shl eax, 8 */
   2242     if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2243     eax = eax << 8u; /* 0x2501AC33: shl eax, 8 */
   2244     _flag_a = (uint32_t)((eax | esi)); _flag_b = (uint32_t)((eax | esi));
   2245     eax = eax | esi; /* 0x2501AC36: or eax, esi */
   2246     _cf = 0;
   2247     _flag_k = FK_TEST;
   2248     esi = MEM32(ecx + 0x278); /* 0x2501AC38: mov esi, dword ptr [ecx + 0x278] */
   2249     MEM32(edx + esi + 0x44) = eax; /* 0x2501AC3E: mov dword ptr [edx + esi + 0x44], eax */
   2250     eax = MEM32(ecx + 0x278); /* 0x2501AC42: mov eax, dword ptr [ecx + 0x278] */
   2251     _st[0] *= (double)*(float*)ADDR(eax + edx + 0x6C); /* 0x2501AC48: fmul dword ptr [eax + edx + 0x6c] */
   2252     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2253     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2254     eax = eax + edx; /* 0x2501AC4C: add eax, edx */
   2255     _flag_k = FK_ADD;
   2256     _st[0] += (double)*(float*)ADDR(eax + 0x68); /* 0x2501AC4E: fadd dword ptr [eax + 0x68] */
   2257     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x68) = _v; } /* 0x2501AC51: fstp dword ptr [eax + 0x68] */
   2258     eax = MEM32(ecx + 0x278); /* 0x2501AC54: mov eax, dword ptr [ecx + 0x278] */
   2259     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC5A: fld dword ptr [ebp + 8] */
   2260     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2261     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2262     eax = eax + edx; /* 0x2501AC5D: add eax, edx */
   2263     _flag_k = FK_ADD;
   2264     _st[0] *= (double)*(float*)ADDR(eax + 0x38); /* 0x2501AC5F: fmul dword ptr [eax + 0x38] */
   2265     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501AC62: fadd dword ptr [eax + 0x30] */
   2266     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x30) = _v; } /* 0x2501AC65: fstp dword ptr [eax + 0x30] */
   2267     eax = MEM32(ecx + 0x278); /* 0x2501AC68: mov eax, dword ptr [ecx + 0x278] */
   2268     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2501AC6E: fld dword ptr [ebp + 8] */
   2269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2270     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2271     eax = eax + edx; /* 0x2501AC71: add eax, edx */
   2272     _flag_k = FK_ADD;
   2273     _st[0] *= (double)*(float*)ADDR(eax + 0x3C); /* 0x2501AC73: fmul dword ptr [eax + 0x3c] */
   2274     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501AC76: fadd dword ptr [eax + 0x34] */
   2275     { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x34) = _v; } /* 0x2501AC79: fstp dword ptr [eax + 0x34] */
   2276 L_2501AC7C:
   2277     eax = MEM32(ecx + 0x274); /* 0x2501AC7C: mov eax, dword ptr [ecx + 0x274] */
   2278     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2279     edi = edi + 1; /* 0x2501AC82: inc edi */
   2280     _flag_k = FK_INC;
   2281     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x74u);
   2282     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2283     edx = edx + 0x74u; /* 0x2501AC83: add edx, 0x74 */
   2284     _flag_k = FK_ADD;
   2285     /* cmp edi, eax */ /* 0x2501AC86: cmp edi, eax */
   2286     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2287     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2288     _flag_k = FK_CMP;
   2289     RECOMP_BACKEDGE();
   2290     if (CMP_L(_flag_a, _flag_b)) goto L_2501AA71; /* 0x2501AC88: jl 0x2501aa71 */
   2291 L_2501AC8E:
   2292     esi = POP32_VAL(esp); /* 0x2501AC8E: pop esi */
   2293     ebx = POP32_VAL(esp); /* 0x2501AC8F: pop ebx */
   2294     edi = POP32_VAL(esp); /* 0x2501AC90: pop edi */
   2295     esp = ebp; /* 0x2501AC91: mov esp, ebp */
   2296     ebp = POP32_VAL(esp); /* 0x2501AC93: pop ebp */
   2297     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501AC94: ret 4 */
   2298     RECOMP_REGS_OUT();
   2299 }
   2300 
   2301 void sub_2501ACA0(void) {
   2302     int _fpu_cmp = 0;
   2303     uint32_t _cf = 0;
   2304     int _df = 1;
   2305     uint32_t _flag_k = FK_NONE;
   2306     uint32_t _flag_a = 0, _flag_b = 0;
   2307     uint32_t _itail_tgt = 0;
   2308     RECOMP_REGS_LOCALS
   2309     RECOMP_ENTER(0x2501ACA0u);
   2310 
   2311 L_2501ACA0:
   2312     eax = MEM32(0x251C2738); /* 0x2501ACA0: mov eax, dword ptr [0x251c2738] */
   2313     PUSH32(esp, esi); /* 0x2501ACA5: push esi */
   2314     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2315     esi = 0; /* 0x2501ACA6: xor esi, esi */
   2316     _cf = 0;
   2317     _flag_k = FK_TEST;
   2318     /* cmp eax, esi */ /* 0x2501ACA8: cmp eax, esi */
   2319     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2321     _flag_k = FK_CMP;
   2322     MEM32(0x251C2740) = esi; /* 0x2501ACAA: mov dword ptr [0x251c2740], esi */
   2323     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501ACBB; /* 0x2501ACB0: je 0x2501acbb */
   2324 L_2501ACB2:
   2325     PUSH32(esp, eax); /* 0x2501ACB2: push eax */
   2326     RECOMP_ICALL(0x25137EECu); /* 0x2501ACB3: call 0x25137eec */ /* not lifted */
   2327     RECOMP_FLAGS_IN();
   2328     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2329     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2330     esp = esp + 4; /* 0x2501ACB8: add esp, 4 */
   2331     _flag_k = FK_ADD;
   2332 L_2501ACBB:
   2333     eax = MEM32(0x251C273C); /* 0x2501ACBB: mov eax, dword ptr [0x251c273c] */
   2334     /* cmp eax, esi */ /* 0x2501ACC0: cmp eax, esi */
   2335     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   2336     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2337     _flag_k = FK_CMP;
   2338     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501ACCD; /* 0x2501ACC2: je 0x2501accd */
   2339 L_2501ACC4:
   2340     PUSH32(esp, eax); /* 0x2501ACC4: push eax */
   2341     RECOMP_ICALL(0x25137EECu); /* 0x2501ACC5: call 0x25137eec */ /* not lifted */
   2342     RECOMP_FLAGS_IN();
   2343     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2344     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2345     esp = esp + 4; /* 0x2501ACCA: add esp, 4 */
   2346     _flag_k = FK_ADD;
   2347 L_2501ACCD:
   2348     MEM32(0x251C2738) = esi; /* 0x2501ACCD: mov dword ptr [0x251c2738], esi */
   2349     MEM32(0x251C273C) = esi; /* 0x2501ACD3: mov dword ptr [0x251c273c], esi */
   2350     esi = POP32_VAL(esp); /* 0x2501ACD9: pop esi */
   2351     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501ACDA: ret  */
   2352     RECOMP_REGS_OUT();
   2353 }
   2354 
   2355 void sub_2501ACE0(void) {
   2356     int _fpu_cmp = 0;
   2357     uint32_t _cf = 0;
   2358     int _df = 1;
   2359     uint32_t _flag_k = FK_NONE;
   2360     uint32_t _flag_a = 0, _flag_b = 0;
   2361     uint32_t _itail_tgt = 0;
   2362     RECOMP_REGS_LOCALS
   2363     RECOMP_ENTER(0x2501ACE0u);
   2364 
   2365     goto L_2501ACE0;
   2366 L_25019E10:
   2367     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2368     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2369     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2370     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2371     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2372     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2373     _cf = 0;
   2374     _flag_k = FK_NARROW(FK_TEST, 24);
   2375     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2376     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2377     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2378 L_25019E1F:
   2379     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2380     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2381     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2382     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2383     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2384     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2385     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2386     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2387     RECOMP_FLAGS_IN();
   2388     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2389     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2390     _cf = 0;
   2391     _flag_k = FK_NARROW(FK_TEST, 24);
   2392     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2393 L_25019E3C:
   2394     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2395     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2396     RECOMP_FLAGS_IN();
   2397     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2398     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2399     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2400     _flag_k = FK_ADD;
   2401 L_25019E45:
   2402     eax = edi; /* 0x25019E45: mov eax, edi */
   2403     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2404     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2405     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2406     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2407     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2408 L_25019E4E:
   2409     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2410     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2411     RECOMP_FLAGS_IN();
   2412     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2413     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2414     _cf = 0;
   2415     _flag_k = FK_NARROW(FK_TEST, 24);
   2416     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2417 L_25019E5A:
   2418     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2419     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2420     RECOMP_FLAGS_IN();
   2421     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2422     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2423     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2424     _flag_k = FK_ADD;
   2425 L_25019E63:
   2426     eax = esi; /* 0x25019E63: mov eax, esi */
   2427     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2428     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2429     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2430     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2431 L_2501ACE0:
   2432     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   2433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2434     ecx = ecx - 8; /* 0x2501ACE0: sub ecx, 8 */
   2435     _flag_k = FK_CMP;
   2436     RECOMP_BACKEDGE();
   2437     goto L_25019E10; /* 0x2501ACE3: jmp 0x25019e10 */
   2438     { RECOMP_REGS_OUT(); return; } /* end of function */
   2439     RECOMP_REGS_OUT();
   2440 }
   2441 
   2442 void sub_2501ACF0(void) {
   2443     int _fpu_cmp = 0;
   2444     uint32_t _cf = 0;
   2445     int _df = 1;
   2446     uint32_t _flag_k = FK_NONE;
   2447     uint32_t _flag_a = 0, _flag_b = 0;
   2448     uint32_t _itail_tgt = 0;
   2449     RECOMP_REGS_LOCALS
   2450     RECOMP_ENTER(0x2501ACF0u);
   2451 
   2452     goto L_2501ACF0;
   2453 L_25019E10:
   2454     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2455     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2456     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2457     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2458     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2459     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2460     _cf = 0;
   2461     _flag_k = FK_NARROW(FK_TEST, 24);
   2462     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2463     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2464     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2465 L_25019E1F:
   2466     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2467     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2468     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2469     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2470     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2471     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2472     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2473     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2474     RECOMP_FLAGS_IN();
   2475     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2476     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2477     _cf = 0;
   2478     _flag_k = FK_NARROW(FK_TEST, 24);
   2479     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2480 L_25019E3C:
   2481     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2482     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2483     RECOMP_FLAGS_IN();
   2484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2485     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2486     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2487     _flag_k = FK_ADD;
   2488 L_25019E45:
   2489     eax = edi; /* 0x25019E45: mov eax, edi */
   2490     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2491     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2492     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2493     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2494     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2495 L_25019E4E:
   2496     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2497     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2498     RECOMP_FLAGS_IN();
   2499     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2500     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2501     _cf = 0;
   2502     _flag_k = FK_NARROW(FK_TEST, 24);
   2503     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2504 L_25019E5A:
   2505     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2506     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2507     RECOMP_FLAGS_IN();
   2508     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2509     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2510     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2511     _flag_k = FK_ADD;
   2512 L_25019E63:
   2513     eax = esi; /* 0x25019E63: mov eax, esi */
   2514     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2515     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2516     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2517     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2518 L_2501ACF0:
   2519     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   2520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2521     ecx = ecx - 0x20u; /* 0x2501ACF0: sub ecx, 0x20 */
   2522     _flag_k = FK_CMP;
   2523     RECOMP_BACKEDGE();
   2524     goto L_25019E10; /* 0x2501ACF3: jmp 0x25019e10 */
   2525     { RECOMP_REGS_OUT(); return; } /* end of function */
   2526     RECOMP_REGS_OUT();
   2527 }
   2528 
   2529 void sub_2501AD00(void) {
   2530     int _fpu_cmp = 0;
   2531     uint32_t _cf = 0;
   2532     int _df = 1;
   2533     uint32_t _flag_k = FK_NONE;
   2534     uint32_t _flag_a = 0, _flag_b = 0;
   2535     uint32_t _itail_tgt = 0;
   2536     RECOMP_REGS_LOCALS
   2537     RECOMP_ENTER(0x2501AD00u);
   2538 
   2539     goto L_2501AD00;
   2540 L_25019E10:
   2541     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2542     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2543     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2544     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2545     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2546     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2547     _cf = 0;
   2548     _flag_k = FK_NARROW(FK_TEST, 24);
   2549     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2550     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2551     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2552 L_25019E1F:
   2553     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2554     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2555     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2556     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2557     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2558     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2559     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2560     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2561     RECOMP_FLAGS_IN();
   2562     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2563     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2564     _cf = 0;
   2565     _flag_k = FK_NARROW(FK_TEST, 24);
   2566     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2567 L_25019E3C:
   2568     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2569     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2570     RECOMP_FLAGS_IN();
   2571     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2572     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2573     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2574     _flag_k = FK_ADD;
   2575 L_25019E45:
   2576     eax = edi; /* 0x25019E45: mov eax, edi */
   2577     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2578     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2579     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2580     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2581     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2582 L_25019E4E:
   2583     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2584     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2585     RECOMP_FLAGS_IN();
   2586     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2587     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2588     _cf = 0;
   2589     _flag_k = FK_NARROW(FK_TEST, 24);
   2590     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2591 L_25019E5A:
   2592     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2593     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2594     RECOMP_FLAGS_IN();
   2595     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2596     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2597     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2598     _flag_k = FK_ADD;
   2599 L_25019E63:
   2600     eax = esi; /* 0x25019E63: mov eax, esi */
   2601     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2602     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2603     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2604     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2605 L_2501AD00:
   2606     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   2607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2608     ecx = ecx - 0x38u; /* 0x2501AD00: sub ecx, 0x38 */
   2609     _flag_k = FK_CMP;
   2610     RECOMP_BACKEDGE();
   2611     goto L_25019E10; /* 0x2501AD03: jmp 0x25019e10 */
   2612     { RECOMP_REGS_OUT(); return; } /* end of function */
   2613     RECOMP_REGS_OUT();
   2614 }
   2615 
   2616 void sub_2501AD10(void) {
   2617     int _fpu_cmp = 0;
   2618     uint32_t _cf = 0;
   2619     int _df = 1;
   2620     uint32_t _flag_k = FK_NONE;
   2621     uint32_t _flag_a = 0, _flag_b = 0;
   2622     uint32_t _itail_tgt = 0;
   2623     RECOMP_REGS_LOCALS
   2624     RECOMP_ENTER(0x2501AD10u);
   2625 
   2626     goto L_2501AD10;
   2627 L_25019E10:
   2628     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2629     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2630     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2631     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2632     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2633     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2634     _cf = 0;
   2635     _flag_k = FK_NARROW(FK_TEST, 24);
   2636     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2637     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2638     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2639 L_25019E1F:
   2640     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2641     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2642     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2643     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2644     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2645     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2646     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2647     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2648     RECOMP_FLAGS_IN();
   2649     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2650     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2651     _cf = 0;
   2652     _flag_k = FK_NARROW(FK_TEST, 24);
   2653     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2654 L_25019E3C:
   2655     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2656     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2657     RECOMP_FLAGS_IN();
   2658     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2659     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2660     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2661     _flag_k = FK_ADD;
   2662 L_25019E45:
   2663     eax = edi; /* 0x25019E45: mov eax, edi */
   2664     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2665     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2666     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2667     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2668     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2669 L_25019E4E:
   2670     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2671     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2672     RECOMP_FLAGS_IN();
   2673     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2674     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2675     _cf = 0;
   2676     _flag_k = FK_NARROW(FK_TEST, 24);
   2677     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2678 L_25019E5A:
   2679     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2680     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2681     RECOMP_FLAGS_IN();
   2682     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2683     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2684     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2685     _flag_k = FK_ADD;
   2686 L_25019E63:
   2687     eax = esi; /* 0x25019E63: mov eax, esi */
   2688     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2689     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2690     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2691     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2692 L_2501AD10:
   2693     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   2694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2695     ecx = ecx - 0x50u; /* 0x2501AD10: sub ecx, 0x50 */
   2696     _flag_k = FK_CMP;
   2697     RECOMP_BACKEDGE();
   2698     goto L_25019E10; /* 0x2501AD13: jmp 0x25019e10 */
   2699     { RECOMP_REGS_OUT(); return; } /* end of function */
   2700     RECOMP_REGS_OUT();
   2701 }
   2702 
   2703 void sub_2501AD20(void) {
   2704     int _fpu_cmp = 0;
   2705     uint32_t _cf = 0;
   2706     int _df = 1;
   2707     uint32_t _flag_k = FK_NONE;
   2708     uint32_t _flag_a = 0, _flag_b = 0;
   2709     uint32_t _itail_tgt = 0;
   2710     RECOMP_REGS_LOCALS
   2711     RECOMP_ENTER(0x2501AD20u);
   2712 
   2713     goto L_2501AD20;
   2714 L_25019E10:
   2715     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2716     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2717     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2718     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2719     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2720     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2721     _cf = 0;
   2722     _flag_k = FK_NARROW(FK_TEST, 24);
   2723     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2724     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2725     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2726 L_25019E1F:
   2727     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2728     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2729     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2730     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2731     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2732     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2733     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2734     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2735     RECOMP_FLAGS_IN();
   2736     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2737     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2738     _cf = 0;
   2739     _flag_k = FK_NARROW(FK_TEST, 24);
   2740     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2741 L_25019E3C:
   2742     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2743     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2744     RECOMP_FLAGS_IN();
   2745     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2746     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2747     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2748     _flag_k = FK_ADD;
   2749 L_25019E45:
   2750     eax = edi; /* 0x25019E45: mov eax, edi */
   2751     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2752     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2753     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2754     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2755     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2756 L_25019E4E:
   2757     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2758     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2759     RECOMP_FLAGS_IN();
   2760     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2761     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2762     _cf = 0;
   2763     _flag_k = FK_NARROW(FK_TEST, 24);
   2764     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2765 L_25019E5A:
   2766     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2767     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2768     RECOMP_FLAGS_IN();
   2769     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2770     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2771     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2772     _flag_k = FK_ADD;
   2773 L_25019E63:
   2774     eax = esi; /* 0x25019E63: mov eax, esi */
   2775     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2776     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2777     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2778     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2779 L_2501AD20:
   2780     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   2781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2782     ecx = ecx - 0x138u; /* 0x2501AD20: sub ecx, 0x138 */
   2783     _flag_k = FK_CMP;
   2784     RECOMP_BACKEDGE();
   2785     goto L_25019E10; /* 0x2501AD26: jmp 0x25019e10 */
   2786     { RECOMP_REGS_OUT(); return; } /* end of function */
   2787     RECOMP_REGS_OUT();
   2788 }
   2789 
   2790 void sub_2501AD30(void) {
   2791     int _fpu_cmp = 0;
   2792     uint32_t _cf = 0;
   2793     int _df = 1;
   2794     uint32_t _flag_k = FK_NONE;
   2795     uint32_t _flag_a = 0, _flag_b = 0;
   2796     uint32_t _itail_tgt = 0;
   2797     RECOMP_REGS_LOCALS
   2798     RECOMP_ENTER(0x2501AD30u);
   2799 
   2800     goto L_2501AD30;
   2801 L_25019E10:
   2802     PUSH32(esp, ebp); /* 0x25019E10: push ebp */
   2803     ebp = esp; /* 0x25019E11: mov ebp, esp */
   2804     PUSH32(esp, ebx); /* 0x25019E13: push ebx */
   2805     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x25019E14: mov bl, byte ptr [ebp + 8] */
   2806     /* test LO8(ebx), 2 */ /* 0x25019E17: test bl, 2 */
   2807     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   2808     _cf = 0;
   2809     _flag_k = FK_NARROW(FK_TEST, 24);
   2810     PUSH32(esp, esi); /* 0x25019E1A: push esi */
   2811     esi = ecx; /* 0x25019E1B: mov esi, ecx */
   2812     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E4E; /* 0x25019E1D: je 0x25019e4e */
   2813 L_25019E1F:
   2814     eax = MEM32(esi + (-0x4)); /* 0x25019E1F: mov eax, dword ptr [esi - 4] */
   2815     PUSH32(esp, edi); /* 0x25019E22: push edi */
   2816     PUSH32(esp, 0x2501A0D0u); /* 0x25019E23: push 0x2501a0d0 */
   2817     edi = esi + (-0x4); /* 0x25019E28: lea edi, [esi - 4] */
   2818     PUSH32(esp, eax); /* 0x25019E2B: push eax */
   2819     PUSH32(esp, 0x280u); /* 0x25019E2C: push 0x280 */
   2820     PUSH32(esp, esi); /* 0x25019E31: push esi */
   2821     RECOMP_ICALL(0x25137F92u); /* 0x25019E32: call 0x25137f92 */ /* not lifted */
   2822     RECOMP_FLAGS_IN();
   2823     /* test LO8(ebx), 1 */ /* 0x25019E37: test bl, 1 */
   2824     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2825     _cf = 0;
   2826     _flag_k = FK_NARROW(FK_TEST, 24);
   2827     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E45; /* 0x25019E3A: je 0x25019e45 */
   2828 L_25019E3C:
   2829     PUSH32(esp, edi); /* 0x25019E3C: push edi */
   2830     RECOMP_ICALL(0x25137EECu); /* 0x25019E3D: call 0x25137eec */ /* not lifted */
   2831     RECOMP_FLAGS_IN();
   2832     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2833     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2834     esp = esp + 4; /* 0x25019E42: add esp, 4 */
   2835     _flag_k = FK_ADD;
   2836 L_25019E45:
   2837     eax = edi; /* 0x25019E45: mov eax, edi */
   2838     edi = POP32_VAL(esp); /* 0x25019E47: pop edi */
   2839     esi = POP32_VAL(esp); /* 0x25019E48: pop esi */
   2840     ebx = POP32_VAL(esp); /* 0x25019E49: pop ebx */
   2841     ebp = POP32_VAL(esp); /* 0x25019E4A: pop ebp */
   2842     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E4B: ret 4 */
   2843 L_25019E4E:
   2844     ecx = esi; /* 0x25019E4E: mov ecx, esi */
   2845     RECOMP_ICALL(0x2501A0D0u); /* 0x25019E50: call 0x2501a0d0 */ /* not lifted */
   2846     RECOMP_FLAGS_IN();
   2847     /* test LO8(ebx), 1 */ /* 0x25019E55: test bl, 1 */
   2848     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   2849     _cf = 0;
   2850     _flag_k = FK_NARROW(FK_TEST, 24);
   2851     if (TEST_Z(_flag_a, _flag_b)) goto L_25019E63; /* 0x25019E58: je 0x25019e63 */
   2852 L_25019E5A:
   2853     PUSH32(esp, esi); /* 0x25019E5A: push esi */
   2854     RECOMP_ICALL(0x25137EECu); /* 0x25019E5B: call 0x25137eec */ /* not lifted */
   2855     RECOMP_FLAGS_IN();
   2856     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2857     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2858     esp = esp + 4; /* 0x25019E60: add esp, 4 */
   2859     _flag_k = FK_ADD;
   2860 L_25019E63:
   2861     eax = esi; /* 0x25019E63: mov eax, esi */
   2862     esi = POP32_VAL(esp); /* 0x25019E65: pop esi */
   2863     ebx = POP32_VAL(esp); /* 0x25019E66: pop ebx */
   2864     ebp = POP32_VAL(esp); /* 0x25019E67: pop ebp */
   2865     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x25019E68: ret 4 */
   2866 L_2501AD30:
   2867     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   2868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2869     ecx = ecx - 0x150u; /* 0x2501AD30: sub ecx, 0x150 */
   2870     _flag_k = FK_CMP;
   2871     RECOMP_BACKEDGE();
   2872     goto L_25019E10; /* 0x2501AD36: jmp 0x25019e10 */
   2873     { RECOMP_REGS_OUT(); return; } /* end of function */
   2874     RECOMP_REGS_OUT();
   2875 }
   2876 
   2877 void sub_2501AD40(void) {
   2878     int _fpu_cmp = 0;
   2879     uint32_t _cf = 0;
   2880     int _df = 1;
   2881     uint32_t _flag_k = FK_NONE;
   2882     uint32_t _flag_a = 0, _flag_b = 0;
   2883     uint32_t _itail_tgt = 0;
   2884     RECOMP_REGS_LOCALS
   2885     RECOMP_ENTER(0x2501AD40u);
   2886 
   2887 L_2501AD40:
   2888     PUSH32(esp, ebp); /* 0x2501AD40: push ebp */
   2889     ebp = esp; /* 0x2501AD41: mov ebp, esp */
   2890     PUSH32(esp, ebx); /* 0x2501AD43: push ebx */
   2891     PUSH32(esp, esi); /* 0x2501AD44: push esi */
   2892     esi = MEM32(ebp + 0x8); /* 0x2501AD45: mov esi, dword ptr [ebp + 8] */
   2893     PUSH32(esp, edi); /* 0x2501AD48: push edi */
   2894     ebx = ecx; /* 0x2501AD49: mov ebx, ecx */
   2895     PUSH32(esp, esi); /* 0x2501AD4B: push esi */
   2896     RECOMP_ICALL(0x250DAB70u); /* 0x2501AD4C: call 0x250dab70 */ /* not lifted */
   2897     RECOMP_FLAGS_IN();
   2898     eax = MEM32(esi + 0x1D4); /* 0x2501AD51: mov eax, dword ptr [esi + 0x1d4] */
   2899     MEM32(ebx + 0x1D4) = eax; /* 0x2501AD57: mov dword ptr [ebx + 0x1d4], eax */
   2900     ecx = MEM32(esi + 0x1D8); /* 0x2501AD5D: mov ecx, dword ptr [esi + 0x1d8] */
   2901     MEM32(ebx + 0x1D8) = ecx; /* 0x2501AD63: mov dword ptr [ebx + 0x1d8], ecx */
   2902     edx = MEM32(esi + 0x1DC); /* 0x2501AD69: mov edx, dword ptr [esi + 0x1dc] */
   2903     MEM32(ebx + 0x1DC) = edx; /* 0x2501AD6F: mov dword ptr [ebx + 0x1dc], edx */
   2904     eax = MEM32(esi + 0x1E0); /* 0x2501AD75: mov eax, dword ptr [esi + 0x1e0] */
   2905     MEM32(ebx + 0x1E0) = eax; /* 0x2501AD7B: mov dword ptr [ebx + 0x1e0], eax */
   2906     ecx = MEM32(esi + 0x1E4); /* 0x2501AD81: mov ecx, dword ptr [esi + 0x1e4] */
   2907     MEM32(ebx + 0x1E4) = ecx; /* 0x2501AD87: mov dword ptr [ebx + 0x1e4], ecx */
   2908     edx = MEM32(esi + 0x1E8); /* 0x2501AD8D: mov edx, dword ptr [esi + 0x1e8] */
   2909     MEM32(ebx + 0x1E8) = edx; /* 0x2501AD93: mov dword ptr [ebx + 0x1e8], edx */
   2910     eax = MEM32(esi + 0x1EC); /* 0x2501AD99: mov eax, dword ptr [esi + 0x1ec] */
   2911     MEM32(ebx + 0x1EC) = eax; /* 0x2501AD9F: mov dword ptr [ebx + 0x1ec], eax */
   2912     ecx = MEM32(esi + 0x1F0); /* 0x2501ADA5: mov ecx, dword ptr [esi + 0x1f0] */
   2913     MEM32(ebx + 0x1F0) = ecx; /* 0x2501ADAB: mov dword ptr [ebx + 0x1f0], ecx */
   2914     edx = MEM32(esi + 0x1F4); /* 0x2501ADB1: mov edx, dword ptr [esi + 0x1f4] */
   2915     MEM32(ebx + 0x1F4) = edx; /* 0x2501ADB7: mov dword ptr [ebx + 0x1f4], edx */
   2916     eax = MEM32(esi + 0x1F8); /* 0x2501ADBD: mov eax, dword ptr [esi + 0x1f8] */
   2917     MEM32(ebx + 0x1F8) = eax; /* 0x2501ADC3: mov dword ptr [ebx + 0x1f8], eax */
   2918     eax = MEM32(ebp + 0x8); /* 0x2501ADC9: mov eax, dword ptr [ebp + 8] */
   2919     MEM32(ebx) = 0x25151990u; /* 0x2501ADCC: mov dword ptr [ebx], 0x25151990 */
   2920     MEM32(ebx + 0x8) = 0x25151980u; /* 0x2501ADD2: mov dword ptr [ebx + 8], 0x25151980 */
   2921     MEM32(ebx + 0x20) = 0x25151970u; /* 0x2501ADD9: mov dword ptr [ebx + 0x20], 0x25151970 */
   2922     MEM32(ebx + 0x38) = 0x25151960u; /* 0x2501ADE0: mov dword ptr [ebx + 0x38], 0x25151960 */
   2923     MEM32(ebx + 0x50) = 0x25151950u; /* 0x2501ADE7: mov dword ptr [ebx + 0x50], 0x25151950 */
   2924     MEM32(ebx + 0x138) = 0x25151940u; /* 0x2501ADEE: mov dword ptr [ebx + 0x138], 0x25151940 */
   2925     MEM32(ebx + 0x150) = 0x25151930u; /* 0x2501ADF8: mov dword ptr [ebx + 0x150], 0x25151930 */
   2926     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x1FCu);
   2927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2928     esi = esi + 0x1FCu; /* 0x2501AE02: add esi, 0x1fc */
   2929     _flag_k = FK_ADD;
   2930     edi = ebx + 0x1FC; /* 0x2501AE08: lea edi, [ebx + 0x1fc] */
   2931     ecx = 0x1Du; /* 0x2501AE0E: mov ecx, 0x1d */
   2932     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501AE13: 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; }
   2933     ecx = MEM32(eax + 0x270); /* 0x2501AE15: mov ecx, dword ptr [eax + 0x270] */
   2934     MEM32(ebx + 0x270) = ecx; /* 0x2501AE1B: mov dword ptr [ebx + 0x270], ecx */
   2935     edx = MEM32(eax + 0x274); /* 0x2501AE21: mov edx, dword ptr [eax + 0x274] */
   2936     MEM32(ebx + 0x274) = edx; /* 0x2501AE27: mov dword ptr [ebx + 0x274], edx */
   2937     ecx = MEM32(eax + 0x278); /* 0x2501AE2D: mov ecx, dword ptr [eax + 0x278] */
   2938     MEM32(ebx + 0x278) = ecx; /* 0x2501AE33: mov dword ptr [ebx + 0x278], ecx */
   2939     edx = MEM32(eax + 0x27C); /* 0x2501AE39: mov edx, dword ptr [eax + 0x27c] */
   2940     edi = POP32_VAL(esp); /* 0x2501AE3F: pop edi */
   2941     esi = POP32_VAL(esp); /* 0x2501AE40: pop esi */
   2942     MEM32(ebx + 0x27C) = edx; /* 0x2501AE41: mov dword ptr [ebx + 0x27c], edx */
   2943     MEM32(ebx) = 0x2515256Cu; /* 0x2501AE47: mov dword ptr [ebx], 0x2515256c */
   2944     MEM32(ebx + 0x8) = 0x2515255Cu; /* 0x2501AE4D: mov dword ptr [ebx + 8], 0x2515255c */
   2945     MEM32(ebx + 0x20) = 0x2515254Cu; /* 0x2501AE54: mov dword ptr [ebx + 0x20], 0x2515254c */
   2946     MEM32(ebx + 0x38) = 0x2515253Cu; /* 0x2501AE5B: mov dword ptr [ebx + 0x38], 0x2515253c */
   2947     MEM32(ebx + 0x50) = 0x2515252Cu; /* 0x2501AE62: mov dword ptr [ebx + 0x50], 0x2515252c */
   2948     MEM32(ebx + 0x138) = 0x2515251Cu; /* 0x2501AE69: mov dword ptr [ebx + 0x138], 0x2515251c */
   2949     MEM32(ebx + 0x150) = 0x2515250Cu; /* 0x2501AE73: mov dword ptr [ebx + 0x150], 0x2515250c */
   2950     eax = ebx; /* 0x2501AE7D: mov eax, ebx */
   2951     ebx = POP32_VAL(esp); /* 0x2501AE7F: pop ebx */
   2952     ebp = POP32_VAL(esp); /* 0x2501AE80: pop ebp */
   2953     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501AE81: ret 4 */
   2954     RECOMP_REGS_OUT();
   2955 }
   2956 
   2957 void sub_2501AE90(void) {
   2958     int _fpu_cmp = 0;
   2959     uint32_t _cf = 0;
   2960     int _df = 1;
   2961     uint32_t _flag_k = FK_NONE;
   2962     uint32_t _flag_a = 0, _flag_b = 0;
   2963     uint32_t _itail_tgt = 0;
   2964     RECOMP_REGS_LOCALS
   2965     RECOMP_ENTER(0x2501AE90u);
   2966 
   2967 L_2501AE90:
   2968     PUSH32(esp, ebp); /* 0x2501AE90: push ebp */
   2969     ebp = esp; /* 0x2501AE91: mov ebp, esp */
   2970     PUSH32(esp, ecx); /* 0x2501AE93: push ecx */
   2971     PUSH32(esp, ebx); /* 0x2501AE94: push ebx */
   2972     ebx = MEM32(ebp + 0x8); /* 0x2501AE95: mov ebx, dword ptr [ebp + 8] */
   2973     /* test ebx, ebx */ /* 0x2501AE98: test ebx, ebx */
   2974     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   2975     _cf = 0;
   2976     _flag_k = FK_TEST;
   2977     eax = MEM32(ebx + 0x4); /* 0x2501AE9A: mov eax, dword ptr [ebx + 4] */
   2978     PUSH32(esp, esi); /* 0x2501AE9D: push esi */
   2979     PUSH32(esp, edi); /* 0x2501AE9E: push edi */
   2980     edi = ecx; /* 0x2501AE9F: mov edi, ecx */
   2981     MEM32(ebp + (-0x4)) = edi; /* 0x2501AEA1: mov dword ptr [ebp - 4], edi */
   2982     MEM32(edi + 0x4) = eax; /* 0x2501AEA4: mov dword ptr [edi + 4], eax */
   2983     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AEAE; /* 0x2501AEA7: je 0x2501aeae */
   2984 L_2501AEA9:
   2985     eax = ebx + 0x8; /* 0x2501AEA9: lea eax, [ebx + 8] */
   2986     goto L_2501AEB0; /* 0x2501AEAC: jmp 0x2501aeb0 */
   2987 L_2501AEAE:
   2988     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2989     eax = 0; /* 0x2501AEAE: xor eax, eax */
   2990     _cf = 0;
   2991     _flag_k = FK_TEST;
   2992 L_2501AEB0:
   2993     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2995     eax = eax + 4; /* 0x2501AEB0: add eax, 4 */
   2996     _flag_k = FK_ADD;
   2997     PUSH32(esp, eax); /* 0x2501AEB3: push eax */
   2998     ecx = edi + 0xC; /* 0x2501AEB4: lea ecx, [edi + 0xc] */
   2999     RECOMP_ICALL(0x2500B8C0u); /* 0x2501AEB7: call 0x2500b8c0 */ /* not lifted */
   3000     RECOMP_FLAGS_IN();
   3001     /* test ebx, ebx */ /* 0x2501AEBC: test ebx, ebx */
   3002     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3003     _cf = 0;
   3004     _flag_k = FK_TEST;
   3005     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AEC5; /* 0x2501AEBE: je 0x2501aec5 */
   3006 L_2501AEC0:
   3007     eax = ebx + 0x20; /* 0x2501AEC0: lea eax, [ebx + 0x20] */
   3008     goto L_2501AEC7; /* 0x2501AEC3: jmp 0x2501aec7 */
   3009 L_2501AEC5:
   3010     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3011     eax = 0; /* 0x2501AEC5: xor eax, eax */
   3012     _cf = 0;
   3013     _flag_k = FK_TEST;
   3014 L_2501AEC7:
   3015     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3016     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3017     eax = eax + 4; /* 0x2501AEC7: add eax, 4 */
   3018     _flag_k = FK_ADD;
   3019     PUSH32(esp, eax); /* 0x2501AECA: push eax */
   3020     ecx = edi + 0x24; /* 0x2501AECB: lea ecx, [edi + 0x24] */
   3021     RECOMP_ICALL(0x2500BA40u); /* 0x2501AECE: call 0x2500ba40 */ /* not lifted */
   3022     RECOMP_FLAGS_IN();
   3023     /* test ebx, ebx */ /* 0x2501AED3: test ebx, ebx */
   3024     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3025     _cf = 0;
   3026     _flag_k = FK_TEST;
   3027     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AEDC; /* 0x2501AED5: je 0x2501aedc */
   3028 L_2501AED7:
   3029     eax = ebx + 0x38; /* 0x2501AED7: lea eax, [ebx + 0x38] */
   3030     goto L_2501AEDE; /* 0x2501AEDA: jmp 0x2501aede */
   3031 L_2501AEDC:
   3032     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3033     eax = 0; /* 0x2501AEDC: xor eax, eax */
   3034     _cf = 0;
   3035     _flag_k = FK_TEST;
   3036 L_2501AEDE:
   3037     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3038     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3039     eax = eax + 4; /* 0x2501AEDE: add eax, 4 */
   3040     _flag_k = FK_ADD;
   3041     PUSH32(esp, eax); /* 0x2501AEE1: push eax */
   3042     ecx = edi + 0x3C; /* 0x2501AEE2: lea ecx, [edi + 0x3c] */
   3043     RECOMP_ICALL(0x2500BBC0u); /* 0x2501AEE5: call 0x2500bbc0 */ /* not lifted */
   3044     RECOMP_FLAGS_IN();
   3045     /* test ebx, ebx */ /* 0x2501AEEA: test ebx, ebx */
   3046     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3047     _cf = 0;
   3048     _flag_k = FK_TEST;
   3049     if (TEST_Z(_flag_a, _flag_b)) goto L_2501AEF3; /* 0x2501AEEC: je 0x2501aef3 */
   3050 L_2501AEEE:
   3051     eax = ebx + 0x50; /* 0x2501AEEE: lea eax, [ebx + 0x50] */
   3052     goto L_2501AEF5; /* 0x2501AEF1: jmp 0x2501aef5 */
   3053 L_2501AEF3:
   3054     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3055     eax = 0; /* 0x2501AEF3: xor eax, eax */
   3056     _cf = 0;
   3057     _flag_k = FK_TEST;
   3058 L_2501AEF5:
   3059     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3060     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3061     eax = eax + 4; /* 0x2501AEF5: add eax, 4 */
   3062     _flag_k = FK_ADD;
   3063     PUSH32(esp, eax); /* 0x2501AEF8: push eax */
   3064     ecx = edi + 0x54; /* 0x2501AEF9: lea ecx, [edi + 0x54] */
   3065     RECOMP_ICALL(0x2500BD40u); /* 0x2501AEFC: call 0x2500bd40 */ /* not lifted */
   3066     RECOMP_FLAGS_IN();
   3067     SET_LO8(ecx, MEM8(ebx + 0x68)); /* 0x2501AF01: mov cl, byte ptr [ebx + 0x68] */
   3068     MEM8(edi + 0x68) = (uint8_t)(LO8(ecx)); /* 0x2501AF04: mov byte ptr [edi + 0x68], cl */
   3069     SET_LO8(edx, MEM8(ebx + 0x69)); /* 0x2501AF07: mov dl, byte ptr [ebx + 0x69] */
   3070     MEM8(edi + 0x69) = (uint8_t)(LO8(edx)); /* 0x2501AF0A: mov byte ptr [edi + 0x69], dl */
   3071     SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x2501AF0D: mov al, byte ptr [ebx + 0x6a] */
   3072     MEM8(edi + 0x6A) = (uint8_t)(LO8(eax)); /* 0x2501AF10: mov byte ptr [edi + 0x6a], al */
   3073     SET_LO8(ecx, MEM8(ebx + 0x6B)); /* 0x2501AF13: mov cl, byte ptr [ebx + 0x6b] */
   3074     MEM8(edi + 0x6B) = (uint8_t)(LO8(ecx)); /* 0x2501AF16: mov byte ptr [edi + 0x6b], cl */
   3075     edx = MEM32(ebx + 0x6C); /* 0x2501AF19: mov edx, dword ptr [ebx + 0x6c] */
   3076     MEM32(edi + 0x6C) = edx; /* 0x2501AF1C: mov dword ptr [edi + 0x6c], edx */
   3077     eax = MEM32(ebx + 0x70); /* 0x2501AF1F: mov eax, dword ptr [ebx + 0x70] */
   3078     MEM32(edi + 0x70) = eax; /* 0x2501AF22: mov dword ptr [edi + 0x70], eax */
   3079     ecx = MEM32(ebx + 0x74); /* 0x2501AF25: mov ecx, dword ptr [ebx + 0x74] */
   3080     MEM32(edi + 0x74) = ecx; /* 0x2501AF28: mov dword ptr [edi + 0x74], ecx */
   3081     eax = edi + 0x78; /* 0x2501AF2B: lea eax, [edi + 0x78] */
   3082     edx = ebx + 0x78; /* 0x2501AF2E: lea edx, [ebx + 0x78] */
   3083     ecx = MEM32(edx); /* 0x2501AF31: mov ecx, dword ptr [edx] */
   3084     MEM32(eax) = ecx; /* 0x2501AF33: mov dword ptr [eax], ecx */
   3085     ecx = MEM32(edx + 0x4); /* 0x2501AF35: mov ecx, dword ptr [edx + 4] */
   3086     MEM32(eax + 0x4) = ecx; /* 0x2501AF38: mov dword ptr [eax + 4], ecx */
   3087     edx = MEM32(edx + 0x8); /* 0x2501AF3B: mov edx, dword ptr [edx + 8] */
   3088     MEM32(eax + 0x8) = edx; /* 0x2501AF3E: mov dword ptr [eax + 8], edx */
   3089     ecx = edi + 0x84; /* 0x2501AF41: lea ecx, [edi + 0x84] */
   3090     eax = ebx + 0x84; /* 0x2501AF47: lea eax, [ebx + 0x84] */
   3091     edx = MEM32(eax); /* 0x2501AF4D: mov edx, dword ptr [eax] */
   3092     MEM32(ecx) = edx; /* 0x2501AF4F: mov dword ptr [ecx], edx */
   3093     edx = MEM32(eax + 0x4); /* 0x2501AF51: mov edx, dword ptr [eax + 4] */
   3094     MEM32(ecx + 0x4) = edx; /* 0x2501AF54: mov dword ptr [ecx + 4], edx */
   3095     edx = MEM32(eax + 0x8); /* 0x2501AF57: mov edx, dword ptr [eax + 8] */
   3096     MEM32(ecx + 0x8) = edx; /* 0x2501AF5A: mov dword ptr [ecx + 8], edx */
   3097     eax = MEM32(eax + 0xC); /* 0x2501AF5D: mov eax, dword ptr [eax + 0xc] */
   3098     MEM32(ecx + 0xC) = eax; /* 0x2501AF60: mov dword ptr [ecx + 0xc], eax */
   3099     ecx = MEM32(ebx + 0x94); /* 0x2501AF63: mov ecx, dword ptr [ebx + 0x94] */
   3100     eax = MEM32(ebp + (-0x4)); /* 0x2501AF69: mov eax, dword ptr [ebp - 4] */
   3101     MEM32(edi + 0x94) = ecx; /* 0x2501AF6C: mov dword ptr [edi + 0x94], ecx */
   3102     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x98u);
   3103     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3104     edi = edi + 0x98u; /* 0x2501AF72: add edi, 0x98 */
   3105     _flag_k = FK_ADD;
   3106     /* test ebx, ebx */ /* 0x2501AF78: test ebx, ebx */
   3107     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3108     _cf = 0;
   3109     _flag_k = FK_TEST;
   3110     esi = ebx + 0x98; /* 0x2501AF7A: lea esi, [ebx + 0x98] */
   3111     ecx = 0x10u; /* 0x2501AF80: mov ecx, 0x10 */
   3112     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501AF85: 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; }
   3113     esi = ebx + 0xD8; /* 0x2501AF87: lea esi, [ebx + 0xd8] */
   3114     edi = eax + 0xD8; /* 0x2501AF8D: lea edi, [eax + 0xd8] */
   3115     ecx = 0x10u; /* 0x2501AF93: mov ecx, 0x10 */
   3116     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501AF98: 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; }
   3117     edx = MEM32(ebx + 0x118); /* 0x2501AF9A: mov edx, dword ptr [ebx + 0x118] */
   3118     MEM32(eax + 0x118) = edx; /* 0x2501AFA0: mov dword ptr [eax + 0x118], edx */
   3119     ecx = MEM32(ebx + 0x11C); /* 0x2501AFA6: mov ecx, dword ptr [ebx + 0x11c] */
   3120     MEM32(eax + 0x11C) = ecx; /* 0x2501AFAC: mov dword ptr [eax + 0x11c], ecx */
   3121     SET_LO8(edx, MEM8(ebx + 0x120)); /* 0x2501AFB2: mov dl, byte ptr [ebx + 0x120] */
   3122     MEM8(eax + 0x120) = (uint8_t)(LO8(edx)); /* 0x2501AFB8: mov byte ptr [eax + 0x120], dl */
   3123     ecx = MEM32(ebx + 0x124); /* 0x2501AFBE: mov ecx, dword ptr [ebx + 0x124] */
   3124     MEM32(eax + 0x124) = ecx; /* 0x2501AFC4: mov dword ptr [eax + 0x124], ecx */
   3125     edx = MEM32(ebx + 0x128); /* 0x2501AFCA: mov edx, dword ptr [ebx + 0x128] */
   3126     MEM32(eax + 0x128) = edx; /* 0x2501AFD0: mov dword ptr [eax + 0x128], edx */
   3127     ecx = MEM32(ebx + 0x12C); /* 0x2501AFD6: mov ecx, dword ptr [ebx + 0x12c] */
   3128     MEM32(eax + 0x12C) = ecx; /* 0x2501AFDC: mov dword ptr [eax + 0x12c], ecx */
   3129     SET_LO8(edx, MEM8(ebx + 0x130)); /* 0x2501AFE2: mov dl, byte ptr [ebx + 0x130] */
   3130     MEM8(eax + 0x130) = (uint8_t)(LO8(edx)); /* 0x2501AFE8: mov byte ptr [eax + 0x130], dl */
   3131     SET_LO8(ecx, MEM8(ebx + 0x131)); /* 0x2501AFEE: mov cl, byte ptr [ebx + 0x131] */
   3132     MEM8(eax + 0x131) = (uint8_t)(LO8(ecx)); /* 0x2501AFF4: mov byte ptr [eax + 0x131], cl */
   3133     SET_LO8(edx, MEM8(ebx + 0x132)); /* 0x2501AFFA: mov dl, byte ptr [ebx + 0x132] */
   3134     MEM8(eax + 0x132) = (uint8_t)(LO8(edx)); /* 0x2501B000: mov byte ptr [eax + 0x132], dl */
   3135     ecx = MEM32(ebx + 0x134); /* 0x2501B006: mov ecx, dword ptr [ebx + 0x134] */
   3136     MEM32(eax + 0x134) = ecx; /* 0x2501B00C: mov dword ptr [eax + 0x134], ecx */
   3137     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B01C; /* 0x2501B012: je 0x2501b01c */
   3138 L_2501B014:
   3139     ecx = ebx + 0x138; /* 0x2501B014: lea ecx, [ebx + 0x138] */
   3140     goto L_2501B01E; /* 0x2501B01A: jmp 0x2501b01e */
   3141 L_2501B01C:
   3142     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3143     ecx = 0; /* 0x2501B01C: xor ecx, ecx */
   3144     _cf = 0;
   3145     _flag_k = FK_TEST;
   3146 L_2501B01E:
   3147     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   3148     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3149     ecx = ecx + 4; /* 0x2501B01E: add ecx, 4 */
   3150     _flag_k = FK_ADD;
   3151     PUSH32(esp, ecx); /* 0x2501B021: push ecx */
   3152     ecx = eax + 0x13C; /* 0x2501B022: lea ecx, [eax + 0x13c] */
   3153     RECOMP_ICALL(0x25009590u); /* 0x2501B028: call 0x25009590 */ /* not lifted */
   3154     RECOMP_FLAGS_IN();
   3155     /* test ebx, ebx */ /* 0x2501B02D: test ebx, ebx */
   3156     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3157     _cf = 0;
   3158     _flag_k = FK_TEST;
   3159     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B039; /* 0x2501B02F: je 0x2501b039 */
   3160 L_2501B031:
   3161     eax = ebx + 0x150; /* 0x2501B031: lea eax, [ebx + 0x150] */
   3162     goto L_2501B03B; /* 0x2501B037: jmp 0x2501b03b */
   3163 L_2501B039:
   3164     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3165     eax = 0; /* 0x2501B039: xor eax, eax */
   3166     _cf = 0;
   3167     _flag_k = FK_TEST;
   3168 L_2501B03B:
   3169     edi = MEM32(ebp + (-0x4)); /* 0x2501B03B: mov edi, dword ptr [ebp - 4] */
   3170     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3171     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3172     eax = eax + 4; /* 0x2501B03E: add eax, 4 */
   3173     _flag_k = FK_ADD;
   3174     PUSH32(esp, eax); /* 0x2501B041: push eax */
   3175     ecx = edi + 0x154; /* 0x2501B042: lea ecx, [edi + 0x154] */
   3176     RECOMP_ICALL(0x25009710u); /* 0x2501B048: call 0x25009710 */ /* not lifted */
   3177     RECOMP_FLAGS_IN();
   3178     edx = MEM32(ebx + 0x168); /* 0x2501B04D: mov edx, dword ptr [ebx + 0x168] */
   3179     MEM32(edi + 0x168) = edx; /* 0x2501B053: mov dword ptr [edi + 0x168], edx */
   3180     edx = ebx; /* 0x2501B059: mov edx, ebx */
   3181     ecx = ebx + 0x16C; /* 0x2501B05B: lea ecx, [ebx + 0x16c] */
   3182     eax = edi + 0x170; /* 0x2501B061: lea eax, [edi + 0x170] */
   3183     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   3184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3185     edx = edx - edi; /* 0x2501B067: sub edx, edi */
   3186     _flag_k = FK_CMP;
   3187     MEM32(ebp + 0x8) = 8; /* 0x2501B069: mov dword ptr [ebp + 8], 8 */
   3188 L_2501B070:
   3189     esi = MEM32(ecx); /* 0x2501B070: mov esi, dword ptr [ecx] */
   3190     MEM32(eax + (-0x4)) = esi; /* 0x2501B072: mov dword ptr [eax - 4], esi */
   3191     esi = MEM32(edx + eax); /* 0x2501B075: mov esi, dword ptr [edx + eax] */
   3192     MEM32(eax) = esi; /* 0x2501B078: mov dword ptr [eax], esi */
   3193     esi = MEM32(ebp + 0x8); /* 0x2501B07A: mov esi, dword ptr [ebp + 8] */
   3194     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3195     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3196     ecx = ecx + 8; /* 0x2501B07D: add ecx, 8 */
   3197     _flag_k = FK_ADD;
   3198     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   3199     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3200     eax = eax + 8; /* 0x2501B080: add eax, 8 */
   3201     _flag_k = FK_ADD;
   3202     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
   3203     esi = esi - 1; /* 0x2501B083: dec esi */
   3204     _flag_k = FK_DEC;
   3205     MEM32(ebp + 0x8) = esi; /* 0x2501B084: mov dword ptr [ebp + 8], esi */
   3206     RECOMP_BACKEDGE();
   3207     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501B070; /* 0x2501B087: jne 0x2501b070 */
   3208 L_2501B089:
   3209     SET_LO8(eax, MEM8(ebx + 0x1AC)); /* 0x2501B089: mov al, byte ptr [ebx + 0x1ac] */
   3210     MEM8(edi + 0x1AC) = (uint8_t)(LO8(eax)); /* 0x2501B08F: mov byte ptr [edi + 0x1ac], al */
   3211     SET_LO8(ecx, MEM8(ebx + 0x1AD)); /* 0x2501B095: mov cl, byte ptr [ebx + 0x1ad] */
   3212     MEM8(edi + 0x1AD) = (uint8_t)(LO8(ecx)); /* 0x2501B09B: mov byte ptr [edi + 0x1ad], cl */
   3213     SET_LO8(edx, MEM8(ebx + 0x1AE)); /* 0x2501B0A1: mov dl, byte ptr [ebx + 0x1ae] */
   3214     MEM8(edi + 0x1AE) = (uint8_t)(LO8(edx)); /* 0x2501B0A7: mov byte ptr [edi + 0x1ae], dl */
   3215     eax = MEM32(ebx + 0x1B0); /* 0x2501B0AD: mov eax, dword ptr [ebx + 0x1b0] */
   3216     MEM32(edi + 0x1B0) = eax; /* 0x2501B0B3: mov dword ptr [edi + 0x1b0], eax */
   3217     ecx = MEM32(ebx + 0x1B4); /* 0x2501B0B9: mov ecx, dword ptr [ebx + 0x1b4] */
   3218     edx = ebx + 0x1B8; /* 0x2501B0BF: lea edx, [ebx + 0x1b8] */
   3219     MEM32(edi + 0x1B4) = ecx; /* 0x2501B0C5: mov dword ptr [edi + 0x1b4], ecx */
   3220     PUSH32(esp, edx); /* 0x2501B0CB: push edx */
   3221     ecx = edi + 0x1B8; /* 0x2501B0CC: lea ecx, [edi + 0x1b8] */
   3222     RECOMP_ICALL(0x25005990u); /* 0x2501B0D2: call 0x25005990 */ /* not lifted */
   3223     RECOMP_FLAGS_IN();
   3224     eax = MEM32(ebx + 0x1C8); /* 0x2501B0D7: mov eax, dword ptr [ebx + 0x1c8] */
   3225     MEM32(edi + 0x1C8) = eax; /* 0x2501B0DD: mov dword ptr [edi + 0x1c8], eax */
   3226     SET_LO8(ecx, MEM8(ebx + 0x1CC)); /* 0x2501B0E3: mov cl, byte ptr [ebx + 0x1cc] */
   3227     MEM8(edi + 0x1CC) = (uint8_t)(LO8(ecx)); /* 0x2501B0E9: mov byte ptr [edi + 0x1cc], cl */
   3228     edx = MEM32(ebx + 0x1D0); /* 0x2501B0EF: mov edx, dword ptr [ebx + 0x1d0] */
   3229     MEM32(edi + 0x1D0) = edx; /* 0x2501B0F5: mov dword ptr [edi + 0x1d0], edx */
   3230     eax = MEM32(ebx + 0x1D4); /* 0x2501B0FB: mov eax, dword ptr [ebx + 0x1d4] */
   3231     MEM32(edi + 0x1D4) = eax; /* 0x2501B101: mov dword ptr [edi + 0x1d4], eax */
   3232     ecx = MEM32(ebx + 0x1D8); /* 0x2501B107: mov ecx, dword ptr [ebx + 0x1d8] */
   3233     MEM32(edi + 0x1D8) = ecx; /* 0x2501B10D: mov dword ptr [edi + 0x1d8], ecx */
   3234     edx = MEM32(ebx + 0x1DC); /* 0x2501B113: mov edx, dword ptr [ebx + 0x1dc] */
   3235     MEM32(edi + 0x1DC) = edx; /* 0x2501B119: mov dword ptr [edi + 0x1dc], edx */
   3236     eax = MEM32(ebx + 0x1E0); /* 0x2501B11F: mov eax, dword ptr [ebx + 0x1e0] */
   3237     MEM32(edi + 0x1E0) = eax; /* 0x2501B125: mov dword ptr [edi + 0x1e0], eax */
   3238     ecx = MEM32(ebx + 0x1E4); /* 0x2501B12B: mov ecx, dword ptr [ebx + 0x1e4] */
   3239     MEM32(edi + 0x1E4) = ecx; /* 0x2501B131: mov dword ptr [edi + 0x1e4], ecx */
   3240     edx = MEM32(ebx + 0x1E8); /* 0x2501B137: mov edx, dword ptr [ebx + 0x1e8] */
   3241     MEM32(edi + 0x1E8) = edx; /* 0x2501B13D: mov dword ptr [edi + 0x1e8], edx */
   3242     eax = MEM32(ebx + 0x1EC); /* 0x2501B143: mov eax, dword ptr [ebx + 0x1ec] */
   3243     MEM32(edi + 0x1EC) = eax; /* 0x2501B149: mov dword ptr [edi + 0x1ec], eax */
   3244     ecx = MEM32(ebx + 0x1F0); /* 0x2501B14F: mov ecx, dword ptr [ebx + 0x1f0] */
   3245     MEM32(edi + 0x1F0) = ecx; /* 0x2501B155: mov dword ptr [edi + 0x1f0], ecx */
   3246     edx = MEM32(ebx + 0x1F4); /* 0x2501B15B: mov edx, dword ptr [ebx + 0x1f4] */
   3247     MEM32(edi + 0x1F4) = edx; /* 0x2501B161: mov dword ptr [edi + 0x1f4], edx */
   3248     eax = MEM32(ebx + 0x1F8); /* 0x2501B167: mov eax, dword ptr [ebx + 0x1f8] */
   3249     MEM32(edi + 0x1F8) = eax; /* 0x2501B16D: mov dword ptr [edi + 0x1f8], eax */
   3250     eax = MEM32(ebp + (-0x4)); /* 0x2501B173: mov eax, dword ptr [ebp - 4] */
   3251     esi = ebx + 0x1FC; /* 0x2501B176: lea esi, [ebx + 0x1fc] */
   3252     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1FCu);
   3253     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3254     edi = edi + 0x1FCu; /* 0x2501B17C: add edi, 0x1fc */
   3255     _flag_k = FK_ADD;
   3256     ecx = 0x1Du; /* 0x2501B182: mov ecx, 0x1d */
   3257     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501B187: 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; }
   3258     ecx = MEM32(ebx + 0x270); /* 0x2501B189: mov ecx, dword ptr [ebx + 0x270] */
   3259     MEM32(eax + 0x270) = ecx; /* 0x2501B18F: mov dword ptr [eax + 0x270], ecx */
   3260     edx = MEM32(ebx + 0x274); /* 0x2501B195: mov edx, dword ptr [ebx + 0x274] */
   3261     MEM32(eax + 0x274) = edx; /* 0x2501B19B: mov dword ptr [eax + 0x274], edx */
   3262     ecx = MEM32(ebx + 0x278); /* 0x2501B1A1: mov ecx, dword ptr [ebx + 0x278] */
   3263     edi = POP32_VAL(esp); /* 0x2501B1A7: pop edi */
   3264     MEM32(eax + 0x278) = ecx; /* 0x2501B1A8: mov dword ptr [eax + 0x278], ecx */
   3265     edx = MEM32(ebx + 0x27C); /* 0x2501B1AE: mov edx, dword ptr [ebx + 0x27c] */
   3266     esi = POP32_VAL(esp); /* 0x2501B1B4: pop esi */
   3267     MEM32(eax + 0x27C) = edx; /* 0x2501B1B5: mov dword ptr [eax + 0x27c], edx */
   3268     ebx = POP32_VAL(esp); /* 0x2501B1BB: pop ebx */
   3269     esp = ebp; /* 0x2501B1BC: mov esp, ebp */
   3270     ebp = POP32_VAL(esp); /* 0x2501B1BE: pop ebp */
   3271     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B1BF: ret 4 */
   3272     RECOMP_REGS_OUT();
   3273 }
   3274 
   3275 void sub_2501B1D0(void) {
   3276     int _fpu_cmp = 0;
   3277     uint32_t _cf = 0;
   3278     int _df = 1;
   3279     uint32_t _flag_k = FK_NONE;
   3280     uint32_t _flag_a = 0, _flag_b = 0;
   3281     uint32_t _itail_tgt = 0;
   3282     RECOMP_REGS_LOCALS
   3283     RECOMP_ENTER(0x2501B1D0u);
   3284 
   3285 L_2501B1D0:
   3286     PUSH32(esp, 1); /* 0x2501B1D0: push 1 */
   3287     PUSH32(esp, 0); /* 0x2501B1D2: push 0 */
   3288     PUSH32(esp, 0); /* 0x2501B1D4: push 0 */
   3289     RECOMP_ICALL(0x2501B240u); /* 0x2501B1D6: call 0x2501b240 */ /* not lifted */
   3290     RECOMP_FLAGS_IN();
   3291     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501B1DB: ret  */
   3292     RECOMP_REGS_OUT();
   3293 }
   3294 
   3295 void sub_2501B1E0(void) {
   3296     int _fpu_cmp = 0;
   3297     uint32_t _cf = 0;
   3298     int _df = 1;
   3299     uint32_t _flag_k = FK_NONE;
   3300     uint32_t _flag_a = 0, _flag_b = 0;
   3301     uint32_t _itail_tgt = 0;
   3302     RECOMP_REGS_LOCALS
   3303     RECOMP_ENTER(0x2501B1E0u);
   3304 
   3305 L_2501B1E0:
   3306     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   3307     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   3308     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   3309     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   3310     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   3311     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3312     _cf = 0;
   3313     _flag_k = FK_NARROW(FK_TEST, 24);
   3314     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   3315     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   3316     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   3317 L_2501B1EF:
   3318     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   3319     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   3320     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   3321     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   3322     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   3323     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   3324     PUSH32(esp, esi); /* 0x2501B201: push esi */
   3325     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   3326     RECOMP_FLAGS_IN();
   3327     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   3328     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3329     _cf = 0;
   3330     _flag_k = FK_NARROW(FK_TEST, 24);
   3331     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   3332 L_2501B20C:
   3333     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   3334     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   3335     RECOMP_FLAGS_IN();
   3336     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3337     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3338     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   3339     _flag_k = FK_ADD;
   3340 L_2501B215:
   3341     eax = edi; /* 0x2501B215: mov eax, edi */
   3342     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   3343     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   3344     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   3345     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   3346     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   3347 L_2501B21E:
   3348     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   3349     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   3350     RECOMP_FLAGS_IN();
   3351     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   3352     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3353     _cf = 0;
   3354     _flag_k = FK_NARROW(FK_TEST, 24);
   3355     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   3356 L_2501B22A:
   3357     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   3358     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   3359     RECOMP_FLAGS_IN();
   3360     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3361     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3362     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   3363     _flag_k = FK_ADD;
   3364 L_2501B233:
   3365     eax = esi; /* 0x2501B233: mov eax, esi */
   3366     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   3367     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   3368     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   3369     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   3370     RECOMP_REGS_OUT();
   3371 }
   3372 
   3373 void sub_2501B240(void) {
   3374     int _fpu_cmp = 0;
   3375     uint32_t _cf = 0;
   3376     int _df = 1;
   3377     uint32_t _flag_k = FK_NONE;
   3378     uint32_t _flag_a = 0, _flag_b = 0;
   3379     uint32_t _itail_tgt = 0;
   3380     RECOMP_REGS_LOCALS
   3381     RECOMP_ENTER(0x2501B240u);
   3382 
   3383 L_2501B240:
   3384     PUSH32(esp, ebp); /* 0x2501B240: push ebp */
   3385     ebp = esp; /* 0x2501B241: mov ebp, esp */
   3386     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501B243: push -1 */
   3387     PUSH32(esp, 0x251459F3u); /* 0x2501B245: push 0x251459f3 */
   3388     eax = MEM32(FS_BASE + (0)); /* 0x2501B24A: mov eax, dword ptr fs:[0] */
   3389     PUSH32(esp, eax); /* 0x2501B250: push eax */
   3390     MEM32(FS_BASE + (0)) = esp; /* 0x2501B251: mov dword ptr fs:[0], esp */
   3391     PUSH32(esp, ecx); /* 0x2501B258: push ecx */
   3392     eax = MEM32(ebp + 0x8); /* 0x2501B259: mov eax, dword ptr [ebp + 8] */
   3393     PUSH32(esp, ebx); /* 0x2501B25C: push ebx */
   3394     PUSH32(esp, esi); /* 0x2501B25D: push esi */
   3395     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3396     ebx = 0; /* 0x2501B25E: xor ebx, ebx */
   3397     _cf = 0;
   3398     _flag_k = FK_TEST;
   3399     PUSH32(esp, ebx); /* 0x2501B260: push ebx */
   3400     PUSH32(esp, ebx); /* 0x2501B261: push ebx */
   3401     PUSH32(esp, ebx); /* 0x2501B262: push ebx */
   3402     esi = ecx; /* 0x2501B263: mov esi, ecx */
   3403     PUSH32(esp, eax); /* 0x2501B265: push eax */
   3404     MEM32(ebp + (-0x10)) = esi; /* 0x2501B266: mov dword ptr [ebp - 0x10], esi */
   3405     RECOMP_ICALL(0x2500B4B0u); /* 0x2501B269: call 0x2500b4b0 */ /* not lifted */
   3406     RECOMP_FLAGS_IN();
   3407     MEM32(esi + 0x1FC) = ebx; /* 0x2501B26E: mov dword ptr [esi + 0x1fc], ebx */
   3408     MEM32(esi + 0x200) = ebx; /* 0x2501B274: mov dword ptr [esi + 0x200], ebx */
   3409     MEM32(esi + 0x204) = ebx; /* 0x2501B27A: mov dword ptr [esi + 0x204], ebx */
   3410     MEM32(esi + 0x208) = ebx; /* 0x2501B280: mov dword ptr [esi + 0x208], ebx */
   3411     MEM32(esi + 0x20C) = ebx; /* 0x2501B286: mov dword ptr [esi + 0x20c], ebx */
   3412     MEM32(esi + 0x210) = ebx; /* 0x2501B28C: mov dword ptr [esi + 0x210], ebx */
   3413     MEM32(esi + 0x214) = ebx; /* 0x2501B292: mov dword ptr [esi + 0x214], ebx */
   3414     MEM32(esi + 0x218) = ebx; /* 0x2501B298: mov dword ptr [esi + 0x218], ebx */
   3415     MEM32(esi + 0x21C) = ebx; /* 0x2501B29E: mov dword ptr [esi + 0x21c], ebx */
   3416     MEM32(esi + 0x220) = ebx; /* 0x2501B2A4: mov dword ptr [esi + 0x220], ebx */
   3417     MEM32(esi + 0x224) = ebx; /* 0x2501B2AA: mov dword ptr [esi + 0x224], ebx */
   3418     MEM32(esi + 0x228) = ebx; /* 0x2501B2B0: mov dword ptr [esi + 0x228], ebx */
   3419     PUSH32(esp, 7); /* 0x2501B2B6: push 7 */
   3420     ecx = esi; /* 0x2501B2B8: mov ecx, esi */
   3421     MEM32(ebp + (-0x4)) = ebx; /* 0x2501B2BA: mov dword ptr [ebp - 4], ebx */
   3422     MEM32(esi) = 0x2515256Cu; /* 0x2501B2BD: mov dword ptr [esi], 0x2515256c */
   3423     MEM32(esi + 0x8) = 0x2515255Cu; /* 0x2501B2C3: mov dword ptr [esi + 8], 0x2515255c */
   3424     MEM32(esi + 0x20) = 0x2515254Cu; /* 0x2501B2CA: mov dword ptr [esi + 0x20], 0x2515254c */
   3425     MEM32(esi + 0x38) = 0x2515253Cu; /* 0x2501B2D1: mov dword ptr [esi + 0x38], 0x2515253c */
   3426     MEM32(esi + 0x50) = 0x2515252Cu; /* 0x2501B2D8: mov dword ptr [esi + 0x50], 0x2515252c */
   3427     MEM32(esi + 0x138) = 0x2515251Cu; /* 0x2501B2DF: mov dword ptr [esi + 0x138], 0x2515251c */
   3428     MEM32(esi + 0x150) = 0x2515250Cu; /* 0x2501B2E9: mov dword ptr [esi + 0x150], 0x2515250c */
   3429     RECOMP_ICALL(0x250DDB50u); /* 0x2501B2F3: call 0x250ddb50 */ /* not lifted */
   3430     RECOMP_FLAGS_IN();
   3431     eax = MEM32(ebp + 0xC); /* 0x2501B2F8: mov eax, dword ptr [ebp + 0xc] */
   3432     /* cmp eax, ebx */ /* 0x2501B2FB: cmp eax, ebx */
   3433     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3435     _flag_k = FK_CMP;
   3436     MEM32(esi + 0x168) = eax; /* 0x2501B2FD: mov dword ptr [esi + 0x168], eax */
   3437     if (CMP_NE(_flag_a, _flag_b)) goto L_2501B47E; /* 0x2501B303: jne 0x2501b47e */
   3438 L_2501B309:
   3439     PUSH32(esp, 0xDCu); /* 0x2501B309: push 0xdc */
   3440     RECOMP_ICALL(0x251380D0u); /* 0x2501B30E: call 0x251380d0 */ /* not lifted */
   3441     RECOMP_FLAGS_IN();
   3442     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3443     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3444     esp = esp + 4; /* 0x2501B313: add esp, 4 */
   3445     _flag_k = FK_ADD;
   3446     MEM32(ebp + 0x8) = eax; /* 0x2501B316: mov dword ptr [ebp + 8], eax */
   3447     /* cmp eax, ebx */ /* 0x2501B319: cmp eax, ebx */
   3448     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3450     _flag_k = FK_CMP;
   3451     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501B31B: mov byte ptr [ebp - 4], 1 */
   3452     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501B32F; /* 0x2501B31F: je 0x2501b32f */
   3453 L_2501B321:
   3454     PUSH32(esp, 0x251B2658u); /* 0x2501B321: push 0x251b2658 */
   3455     ecx = eax; /* 0x2501B326: mov ecx, eax */
   3456     RECOMP_ICALL(0x250E96B0u); /* 0x2501B328: call 0x250e96b0 */ /* not lifted */
   3457     RECOMP_FLAGS_IN();
   3458     goto L_2501B331; /* 0x2501B32D: jmp 0x2501b331 */
   3459 L_2501B32F:
   3460     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3461     eax = 0; /* 0x2501B32F: xor eax, eax */
   3462     _cf = 0;
   3463     _flag_k = FK_TEST;
   3464 L_2501B331:
   3465     PUSH32(esp, 1); /* 0x2501B331: push 1 */
   3466     PUSH32(esp, 0x88u); /* 0x2501B333: push 0x88 */
   3467     ecx = eax; /* 0x2501B338: mov ecx, eax */
   3468     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2501B33A: mov byte ptr [ebp - 4], bl */
   3469     MEM32(esi + 0x168) = eax; /* 0x2501B33D: mov dword ptr [esi + 0x168], eax */
   3470     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B343: call 0x250e9fa0 */ /* not lifted */
   3471     RECOMP_FLAGS_IN();
   3472     ecx = MEM32(esi + 0x168); /* 0x2501B348: mov ecx, dword ptr [esi + 0x168] */
   3473     PUSH32(esp, ebx); /* 0x2501B34E: push ebx */
   3474     PUSH32(esp, 0x89u); /* 0x2501B34F: push 0x89 */
   3475     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B354: call 0x250e9fa0 */ /* not lifted */
   3476     RECOMP_FLAGS_IN();
   3477     ecx = MEM32(esi + 0x168); /* 0x2501B359: mov ecx, dword ptr [esi + 0x168] */
   3478     PUSH32(esp, ebx); /* 0x2501B35F: push ebx */
   3479     PUSH32(esp, 0xEu); /* 0x2501B360: push 0xe */
   3480     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B362: call 0x250e9fa0 */ /* not lifted */
   3481     RECOMP_FLAGS_IN();
   3482     ecx = MEM32(esi + 0x168); /* 0x2501B367: mov ecx, dword ptr [esi + 0x168] */
   3483     PUSH32(esp, 1); /* 0x2501B36D: push 1 */
   3484     PUSH32(esp, 0x8Du); /* 0x2501B36F: push 0x8d */
   3485     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B374: call 0x250e9fa0 */ /* not lifted */
   3486     RECOMP_FLAGS_IN();
   3487     ecx = MEM32(esi + 0x168); /* 0x2501B379: mov ecx, dword ptr [esi + 0x168] */
   3488     PUSH32(esp, 1); /* 0x2501B37F: push 1 */
   3489     PUSH32(esp, 0x16u); /* 0x2501B381: push 0x16 */
   3490     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B383: call 0x250e9fa0 */ /* not lifted */
   3491     RECOMP_FLAGS_IN();
   3492     ecx = MEM32(esi + 0x168); /* 0x2501B388: mov ecx, dword ptr [esi + 0x168] */
   3493     PUSH32(esp, 1); /* 0x2501B38E: push 1 */
   3494     PUSH32(esp, 0x94u); /* 0x2501B390: push 0x94 */
   3495     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B395: call 0x250e9fa0 */ /* not lifted */
   3496     RECOMP_FLAGS_IN();
   3497     /* cmp MEM32(esi + 0x1D8), ebx */ /* 0x2501B39A: cmp dword ptr [esi + 0x1d8], ebx */
   3498     _flag_a = (uint32_t)(MEM32(esi + 0x1D8)); _flag_b = (uint32_t)(ebx);
   3499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3500     _flag_k = FK_CMP;
   3501     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501B3F6; /* 0x2501B3A0: je 0x2501b3f6 */
   3502 L_2501B3A2:
   3503     ecx = MEM32(esi + 0x168); /* 0x2501B3A2: mov ecx, dword ptr [esi + 0x168] */
   3504     PUSH32(esp, 6); /* 0x2501B3A8: push 6 */
   3505     PUSH32(esp, 1); /* 0x2501B3AA: push 1 */
   3506     PUSH32(esp, ebx); /* 0x2501B3AC: push ebx */
   3507     RECOMP_ICALL(0x250EA080u); /* 0x2501B3AD: call 0x250ea080 */ /* not lifted */
   3508     RECOMP_FLAGS_IN();
   3509     ecx = MEM32(esi + 0x168); /* 0x2501B3B2: mov ecx, dword ptr [esi + 0x168] */
   3510     PUSH32(esp, 2); /* 0x2501B3B8: push 2 */
   3511     PUSH32(esp, 2); /* 0x2501B3BA: push 2 */
   3512     PUSH32(esp, ebx); /* 0x2501B3BC: push ebx */
   3513     RECOMP_ICALL(0x250EA080u); /* 0x2501B3BD: call 0x250ea080 */ /* not lifted */
   3514     RECOMP_FLAGS_IN();
   3515     ecx = MEM32(esi + 0x168); /* 0x2501B3C2: mov ecx, dword ptr [esi + 0x168] */
   3516     PUSH32(esp, ebx); /* 0x2501B3C8: push ebx */
   3517     PUSH32(esp, 3); /* 0x2501B3C9: push 3 */
   3518     PUSH32(esp, ebx); /* 0x2501B3CB: push ebx */
   3519     RECOMP_ICALL(0x250EA080u); /* 0x2501B3CC: call 0x250ea080 */ /* not lifted */
   3520     RECOMP_FLAGS_IN();
   3521     ecx = MEM32(esi + 0x168); /* 0x2501B3D1: mov ecx, dword ptr [esi + 0x168] */
   3522     PUSH32(esp, 6); /* 0x2501B3D7: push 6 */
   3523     PUSH32(esp, 4); /* 0x2501B3D9: push 4 */
   3524     PUSH32(esp, ebx); /* 0x2501B3DB: push ebx */
   3525     RECOMP_ICALL(0x250EA080u); /* 0x2501B3DC: call 0x250ea080 */ /* not lifted */
   3526     RECOMP_FLAGS_IN();
   3527     ecx = MEM32(esi + 0x168); /* 0x2501B3E1: mov ecx, dword ptr [esi + 0x168] */
   3528     PUSH32(esp, 2); /* 0x2501B3E7: push 2 */
   3529     PUSH32(esp, 5); /* 0x2501B3E9: push 5 */
   3530     PUSH32(esp, ebx); /* 0x2501B3EB: push ebx */
   3531     RECOMP_ICALL(0x250EA080u); /* 0x2501B3EC: call 0x250ea080 */ /* not lifted */
   3532     RECOMP_FLAGS_IN();
   3533     PUSH32(esp, ebx); /* 0x2501B3F1: push ebx */
   3534     PUSH32(esp, 6); /* 0x2501B3F2: push 6 */
   3535     goto L_2501B428; /* 0x2501B3F4: jmp 0x2501b428 */
   3536 L_2501B3F6:
   3537     ecx = MEM32(esi + 0x168); /* 0x2501B3F6: mov ecx, dword ptr [esi + 0x168] */
   3538     PUSH32(esp, 2); /* 0x2501B3FC: push 2 */
   3539     PUSH32(esp, 1); /* 0x2501B3FE: push 1 */
   3540     PUSH32(esp, ebx); /* 0x2501B400: push ebx */
   3541     RECOMP_ICALL(0x250EA080u); /* 0x2501B401: call 0x250ea080 */ /* not lifted */
   3542     RECOMP_FLAGS_IN();
   3543     ecx = MEM32(esi + 0x168); /* 0x2501B406: mov ecx, dword ptr [esi + 0x168] */
   3544     PUSH32(esp, ebx); /* 0x2501B40C: push ebx */
   3545     PUSH32(esp, 2); /* 0x2501B40D: push 2 */
   3546     PUSH32(esp, ebx); /* 0x2501B40F: push ebx */
   3547     RECOMP_ICALL(0x250EA080u); /* 0x2501B410: call 0x250ea080 */ /* not lifted */
   3548     RECOMP_FLAGS_IN();
   3549     ecx = MEM32(esi + 0x168); /* 0x2501B415: mov ecx, dword ptr [esi + 0x168] */
   3550     PUSH32(esp, 2); /* 0x2501B41B: push 2 */
   3551     PUSH32(esp, 4); /* 0x2501B41D: push 4 */
   3552     PUSH32(esp, ebx); /* 0x2501B41F: push ebx */
   3553     RECOMP_ICALL(0x250EA080u); /* 0x2501B420: call 0x250ea080 */ /* not lifted */
   3554     RECOMP_FLAGS_IN();
   3555     PUSH32(esp, ebx); /* 0x2501B425: push ebx */
   3556     PUSH32(esp, 5); /* 0x2501B426: push 5 */
   3557 L_2501B428:
   3558     ecx = MEM32(esi + 0x168); /* 0x2501B428: mov ecx, dword ptr [esi + 0x168] */
   3559     PUSH32(esp, ebx); /* 0x2501B42E: push ebx */
   3560     RECOMP_ICALL(0x250EA080u); /* 0x2501B42F: call 0x250ea080 */ /* not lifted */
   3561     RECOMP_FLAGS_IN();
   3562     /* cmp MEM8(ebp + 0x10), LO8(ebx) */ /* 0x2501B434: cmp byte ptr [ebp + 0x10], bl */
   3563     _flag_a = (uint32_t)(MEM8(ebp + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3565     _flag_k = FK_NARROW(FK_CMP, 24);
   3566     ecx = MEM32(esi + 0x168); /* 0x2501B437: mov ecx, dword ptr [esi + 0x168] */
   3567     PUSH32(esp, 1); /* 0x2501B43D: push 1 */
   3568     PUSH32(esp, 0x1Bu); /* 0x2501B43F: push 0x1b */
   3569     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501B45B; /* 0x2501B441: je 0x2501b45b */
   3570 L_2501B443:
   3571     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B443: call 0x250e9fa0 */ /* not lifted */
   3572     RECOMP_FLAGS_IN();
   3573     ecx = MEM32(esi + 0x168); /* 0x2501B448: mov ecx, dword ptr [esi + 0x168] */
   3574     PUSH32(esp, 5); /* 0x2501B44E: push 5 */
   3575     PUSH32(esp, 0x13u); /* 0x2501B450: push 0x13 */
   3576     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B452: call 0x250e9fa0 */ /* not lifted */
   3577     RECOMP_FLAGS_IN();
   3578     PUSH32(esp, 2); /* 0x2501B457: push 2 */
   3579     goto L_2501B471; /* 0x2501B459: jmp 0x2501b471 */
   3580 L_2501B45B:
   3581     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B45B: call 0x250e9fa0 */ /* not lifted */
   3582     RECOMP_FLAGS_IN();
   3583     ecx = MEM32(esi + 0x168); /* 0x2501B460: mov ecx, dword ptr [esi + 0x168] */
   3584     PUSH32(esp, 5); /* 0x2501B466: push 5 */
   3585     PUSH32(esp, 0x13u); /* 0x2501B468: push 0x13 */
   3586     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B46A: call 0x250e9fa0 */ /* not lifted */
   3587     RECOMP_FLAGS_IN();
   3588     PUSH32(esp, 6); /* 0x2501B46F: push 6 */
   3589 L_2501B471:
   3590     ecx = MEM32(esi + 0x168); /* 0x2501B471: mov ecx, dword ptr [esi + 0x168] */
   3591     PUSH32(esp, 0x14u); /* 0x2501B477: push 0x14 */
   3592     RECOMP_ICALL(0x250E9FA0u); /* 0x2501B479: call 0x250e9fa0 */ /* not lifted */
   3593     RECOMP_FLAGS_IN();
   3594 L_2501B47E:
   3595     ecx = MEM32(ebp + (-0xC)); /* 0x2501B47E: mov ecx, dword ptr [ebp - 0xc] */
   3596     MEM32(esi + 0x278) = ebx; /* 0x2501B481: mov dword ptr [esi + 0x278], ebx */
   3597     MEM32(esi + 0x27C) = ebx; /* 0x2501B487: mov dword ptr [esi + 0x27c], ebx */
   3598     eax = esi; /* 0x2501B48D: mov eax, esi */
   3599     esi = POP32_VAL(esp); /* 0x2501B48F: pop esi */
   3600     ebx = POP32_VAL(esp); /* 0x2501B490: pop ebx */
   3601     MEM32(FS_BASE + (0)) = ecx; /* 0x2501B491: mov dword ptr fs:[0], ecx */
   3602     esp = ebp; /* 0x2501B498: mov esp, ebp */
   3603     ebp = POP32_VAL(esp); /* 0x2501B49A: pop ebp */
   3604     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2501B49B: ret 0xc */
   3605     RECOMP_REGS_OUT();
   3606 }
   3607 
   3608 void sub_2501B4A0(void) {
   3609     int _fpu_cmp = 0;
   3610     uint32_t _cf = 0;
   3611     int _df = 1;
   3612     uint32_t _flag_k = FK_NONE;
   3613     uint32_t _flag_a = 0, _flag_b = 0;
   3614     uint32_t _itail_tgt = 0;
   3615     RECOMP_REGS_LOCALS
   3616     RECOMP_ENTER(0x2501B4A0u);
   3617 
   3618 L_2501B4A0:
   3619     PUSH32(esp, ebp); /* 0x2501B4A0: push ebp */
   3620     ebp = esp; /* 0x2501B4A1: mov ebp, esp */
   3621     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501B4A3: push -1 */
   3622     PUSH32(esp, 0x25145A08u); /* 0x2501B4A5: push 0x25145a08 */
   3623     eax = MEM32(FS_BASE + (0)); /* 0x2501B4AA: mov eax, dword ptr fs:[0] */
   3624     PUSH32(esp, eax); /* 0x2501B4B0: push eax */
   3625     MEM32(FS_BASE + (0)) = esp; /* 0x2501B4B1: mov dword ptr fs:[0], esp */
   3626     PUSH32(esp, ecx); /* 0x2501B4B8: push ecx */
   3627     PUSH32(esp, esi); /* 0x2501B4B9: push esi */
   3628     esi = ecx; /* 0x2501B4BA: mov esi, ecx */
   3629     MEM32(ebp + (-0x10)) = esi; /* 0x2501B4BC: mov dword ptr [ebp - 0x10], esi */
   3630     MEM32(esi) = 0x2515256Cu; /* 0x2501B4BF: mov dword ptr [esi], 0x2515256c */
   3631     MEM32(esi + 0x8) = 0x2515255Cu; /* 0x2501B4C5: mov dword ptr [esi + 8], 0x2515255c */
   3632     MEM32(esi + 0x20) = 0x2515254Cu; /* 0x2501B4CC: mov dword ptr [esi + 0x20], 0x2515254c */
   3633     MEM32(esi + 0x38) = 0x2515253Cu; /* 0x2501B4D3: mov dword ptr [esi + 0x38], 0x2515253c */
   3634     MEM32(esi + 0x50) = 0x2515252Cu; /* 0x2501B4DA: mov dword ptr [esi + 0x50], 0x2515252c */
   3635     MEM32(esi + 0x138) = 0x2515251Cu; /* 0x2501B4E1: mov dword ptr [esi + 0x138], 0x2515251c */
   3636     MEM32(esi + 0x150) = 0x2515250Cu; /* 0x2501B4EB: mov dword ptr [esi + 0x150], 0x2515250c */
   3637     MEM32(ebp + (-0x4)) = 0; /* 0x2501B4F5: mov dword ptr [ebp - 4], 0 */
   3638     RECOMP_ICALL(0x2501AA40u); /* 0x2501B4FC: call 0x2501aa40 */ /* not lifted */
   3639     RECOMP_FLAGS_IN();
   3640     ecx = esi; /* 0x2501B501: mov ecx, esi */
   3641     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501B503: mov dword ptr [ebp - 4], 0xffffffff */
   3642     RECOMP_ICALL(0x2500B5A0u); /* 0x2501B50A: call 0x2500b5a0 */ /* not lifted */
   3643     RECOMP_FLAGS_IN();
   3644     ecx = MEM32(ebp + (-0xC)); /* 0x2501B50F: mov ecx, dword ptr [ebp - 0xc] */
   3645     esi = POP32_VAL(esp); /* 0x2501B512: pop esi */
   3646     MEM32(FS_BASE + (0)) = ecx; /* 0x2501B513: mov dword ptr fs:[0], ecx */
   3647     esp = ebp; /* 0x2501B51A: mov esp, ebp */
   3648     ebp = POP32_VAL(esp); /* 0x2501B51C: pop ebp */
   3649     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501B51D: ret  */
   3650     RECOMP_REGS_OUT();
   3651 }
   3652 
   3653 void sub_2501B520(void) {
   3654     int _fpu_cmp = 0;
   3655     uint32_t _cf = 0;
   3656     int _df = 1;
   3657     uint32_t _flag_k = FK_NONE;
   3658     uint32_t _flag_a = 0, _flag_b = 0;
   3659     uint32_t _itail_tgt = 0;
   3660     RECOMP_REGS_LOCALS
   3661     RECOMP_ENTER(0x2501B520u);
   3662 
   3663 L_2501B520:
   3664     PUSH32(esp, ebp); /* 0x2501B520: push ebp */
   3665     ebp = esp; /* 0x2501B521: mov ebp, esp */
   3666     eax = MEM32(ebp + 0x8); /* 0x2501B523: mov eax, dword ptr [ebp + 8] */
   3667     PUSH32(esp, eax); /* 0x2501B526: push eax */
   3668     RECOMP_ICALL(0x2501B530u); /* 0x2501B527: call 0x2501b530 */ /* not lifted */
   3669     RECOMP_FLAGS_IN();
   3670     ebp = POP32_VAL(esp); /* 0x2501B52C: pop ebp */
   3671     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B52D: ret 4 */
   3672     RECOMP_REGS_OUT();
   3673 }
   3674 
   3675 void sub_2501B530(void) {
   3676     int _fpu_cmp = 0;
   3677     uint32_t _cf = 0;
   3678     int _df = 1;
   3679     uint32_t _flag_k = FK_NONE;
   3680     uint32_t _flag_a = 0, _flag_b = 0;
   3681     uint32_t _itail_tgt = 0;
   3682     RECOMP_REGS_LOCALS
   3683     RECOMP_ENTER(0x2501B530u);
   3684 
   3685 L_2501B530:
   3686     PUSH32(esp, ebp); /* 0x2501B530: push ebp */
   3687     ebp = esp; /* 0x2501B531: mov ebp, esp */
   3688     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501B533: push -1 */
   3689     PUSH32(esp, 0x25145A44u); /* 0x2501B535: push 0x25145a44 */
   3690     eax = MEM32(FS_BASE + (0)); /* 0x2501B53A: mov eax, dword ptr fs:[0] */
   3691     PUSH32(esp, eax); /* 0x2501B540: push eax */
   3692     MEM32(FS_BASE + (0)) = esp; /* 0x2501B541: mov dword ptr fs:[0], esp */
   3693     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x194u);
   3694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3695     esp = esp - 0x194u; /* 0x2501B548: sub esp, 0x194 */
   3696     _flag_k = FK_CMP;
   3697     PUSH32(esp, ebx); /* 0x2501B54E: push ebx */
   3698     ebx = ecx; /* 0x2501B54F: mov ebx, ecx */
   3699     eax = MEM32(ebx + 0x1D4); /* 0x2501B551: mov eax, dword ptr [ebx + 0x1d4] */
   3700     PUSH32(esp, edi); /* 0x2501B557: push edi */
   3701     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3702     edi = 0; /* 0x2501B558: xor edi, edi */
   3703     _cf = 0;
   3704     _flag_k = FK_TEST;
   3705     /* cmp eax, edi */ /* 0x2501B55A: cmp eax, edi */
   3706     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   3707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3708     _flag_k = FK_CMP;
   3709     if (CMP_NE(_flag_a, _flag_b)) goto L_2501BD32; /* 0x2501B55C: jne 0x2501bd32 */
   3710 L_2501B562:
   3711     /* cmp MEM32(ebx + 0x27C), edi */ /* 0x2501B562: cmp dword ptr [ebx + 0x27c], edi */
   3712     _flag_a = (uint32_t)(MEM32(ebx + 0x27C)); _flag_b = (uint32_t)(edi);
   3713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3714     _flag_k = FK_CMP;
   3715     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BD32; /* 0x2501B568: je 0x2501bd32 */
   3716 L_2501B56E:
   3717     PUSH32(esp, esi); /* 0x2501B56E: push esi */
   3718     esi = MEM32(ebp + 0x8); /* 0x2501B56F: mov esi, dword ptr [ebp + 8] */
   3719     PUSH32(esp, esi); /* 0x2501B572: push esi */
   3720     RECOMP_ICALL(0x2500E820u); /* 0x2501B573: call 0x2500e820 */ /* not lifted */
   3721     RECOMP_FLAGS_IN();
   3722     eax = MEM32(ebx + 0x1D8); /* 0x2501B578: mov eax, dword ptr [ebx + 0x1d8] */
   3723     PUSH32(esp, eax); /* 0x2501B57E: push eax */
   3724     ecx = esi; /* 0x2501B57F: mov ecx, esi */
   3725     RECOMP_ICALL(0x250DFDA0u); /* 0x2501B581: call 0x250dfda0 */ /* not lifted */
   3726     RECOMP_FLAGS_IN();
   3727     edx = MEM32(ebx); /* 0x2501B586: mov edx, dword ptr [ebx] */
   3728     PUSH32(esp, esi); /* 0x2501B588: push esi */
   3729     ecx = ebx; /* 0x2501B589: mov ecx, ebx */
   3730     RECOMP_ICALL(MEM32(edx + 0x3C)); /* 0x2501B58B: call dword ptr [edx + 0x3c] */
   3731     RECOMP_FLAGS_IN();
   3732     eax = MEM32(ebx); /* 0x2501B58E: mov eax, dword ptr [ebx] */
   3733     PUSH32(esp, esi); /* 0x2501B590: push esi */
   3734     ecx = ebx; /* 0x2501B591: mov ecx, ebx */
   3735     RECOMP_ICALL(MEM32(eax + 0x40)); /* 0x2501B593: call dword ptr [eax + 0x40] */
   3736     RECOMP_FLAGS_IN();
   3737     ecx = esi; /* 0x2501B596: mov ecx, esi */
   3738     RECOMP_ICALL(0x250E05D0u); /* 0x2501B598: call 0x250e05d0 */ /* not lifted */
   3739     RECOMP_FLAGS_IN();
   3740     MEM32(ebp + (-0x20)) = edi; /* 0x2501B59D: mov dword ptr [ebp - 0x20], edi */
   3741     MEM32(ebp + (-0x90)) = edi; /* 0x2501B5A0: mov dword ptr [ebp - 0x90], edi */
   3742     MEM32(ebp + (-0x108)) = 0x3F800000u; /* 0x2501B5A6: mov dword ptr [ebp - 0x108], 0x3f800000 */
   3743     MEM32(ebp + (-0x104)) = edi; /* 0x2501B5B0: mov dword ptr [ebp - 0x104], edi */
   3744     MEM32(ebp + (-0x100)) = edi; /* 0x2501B5B6: mov dword ptr [ebp - 0x100], edi */
   3745     MEM32(ebp + (-0xFC)) = edi; /* 0x2501B5BC: mov dword ptr [ebp - 0xfc], edi */
   3746     MEM32(ebp + (-0xF8)) = edi; /* 0x2501B5C2: mov dword ptr [ebp - 0xf8], edi */
   3747     MEM32(ebp + (-0xF4)) = 0x3F800000u; /* 0x2501B5C8: mov dword ptr [ebp - 0xf4], 0x3f800000 */
   3748     MEM32(ebp + (-0xF0)) = edi; /* 0x2501B5D2: mov dword ptr [ebp - 0xf0], edi */
   3749     MEM32(ebp + (-0xEC)) = edi; /* 0x2501B5D8: mov dword ptr [ebp - 0xec], edi */
   3750     MEM32(ebp + (-0xE8)) = edi; /* 0x2501B5DE: mov dword ptr [ebp - 0xe8], edi */
   3751     MEM32(ebp + (-0xE4)) = edi; /* 0x2501B5E4: mov dword ptr [ebp - 0xe4], edi */
   3752     MEM32(ebp + (-0xE0)) = 0x3F800000u; /* 0x2501B5EA: mov dword ptr [ebp - 0xe0], 0x3f800000 */
   3753     MEM32(ebp + (-0xDC)) = edi; /* 0x2501B5F4: mov dword ptr [ebp - 0xdc], edi */
   3754     MEM32(ebp + (-0xD8)) = edi; /* 0x2501B5FA: mov dword ptr [ebp - 0xd8], edi */
   3755     MEM32(ebp + (-0xD4)) = edi; /* 0x2501B600: mov dword ptr [ebp - 0xd4], edi */
   3756     MEM32(ebp + (-0xD0)) = edi; /* 0x2501B606: mov dword ptr [ebp - 0xd0], edi */
   3757     MEM32(ebp + (-0xCC)) = 0x3F800000u; /* 0x2501B60C: mov dword ptr [ebp - 0xcc], 0x3f800000 */
   3758     ecx = ebx; /* 0x2501B616: mov ecx, ebx */
   3759     MEM32(ebp + (-0x4)) = edi; /* 0x2501B618: mov dword ptr [ebp - 4], edi */
   3760     RECOMP_ICALL(0x250E2EC0u); /* 0x2501B61B: call 0x250e2ec0 */ /* not lifted */
   3761     RECOMP_FLAGS_IN();
   3762     fp_push(*(float*)&MEM32(eax + 0x38)); /* 0x2501B620: fld dword ptr [eax + 0x38] */
   3763     fp_push(*(float*)&MEM32(eax + 0x34)); /* 0x2501B623: fld dword ptr [eax + 0x34] */
   3764     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
   3765     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3766     eax = eax + 0x30u; /* 0x2501B626: add eax, 0x30 */
   3767     _flag_k = FK_ADD;
   3768     fp_push(*(float*)&MEM32(eax)); /* 0x2501B629: fld dword ptr [eax] */
   3769     ecx = ebp + (-0x108); /* 0x2501B62B: lea ecx, [ebp - 0x108] */
   3770     fp_push(*(float*)&MEM32(ebp + (-0xD8))); /* 0x2501B631: fld dword ptr [ebp - 0xd8] */
   3771     PUSH32(esp, ecx); /* 0x2501B637: push ecx */
   3772     _st[0] += _st[1]; /* 0x2501B638: fadd st(1) */
   3773     ecx = MEM32(0x25238B58); /* 0x2501B63A: mov ecx, dword ptr [0x25238b58] */
   3774     PUSH32(esp, 1); /* 0x2501B640: push 1 */
   3775     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD8)) = _v; } /* 0x2501B642: fstp dword ptr [ebp - 0xd8] */
   3776     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B648: fstp st(0) */
   3777     fp_push(*(float*)&MEM32(ebp + (-0xD4))); /* 0x2501B64A: fld dword ptr [ebp - 0xd4] */
   3778     _st[0] += _st[1]; /* 0x2501B650: fadd st(1) */
   3779     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501B652: fstp dword ptr [ebp - 0xd4] */
   3780     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B658: fstp st(0) */
   3781     fp_push(*(float*)&MEM32(ebp + (-0xD0))); /* 0x2501B65A: fld dword ptr [ebp - 0xd0] */
   3782     _st[0] += _st[1]; /* 0x2501B660: fadd st(1) */
   3783     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD0)) = _v; } /* 0x2501B662: fstp dword ptr [ebp - 0xd0] */
   3784     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B668: fstp st(0) */
   3785     RECOMP_ICALL(0x250E8950u); /* 0x2501B66A: call 0x250e8950 */ /* not lifted */
   3786     RECOMP_FLAGS_IN();
   3787     ecx = 0x10u; /* 0x2501B66F: mov ecx, 0x10 */
   3788     esi = 0x2524C5B8u; /* 0x2501B674: mov esi, 0x2524c5b8 */
   3789     edi = ebp + (-0x160); /* 0x2501B679: lea edi, [ebp - 0x160] */
   3790     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501B67F: 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; }
   3791     ecx = ebp + (-0x160); /* 0x2501B681: lea ecx, [ebp - 0x160] */
   3792     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501B687: mov byte ptr [ebp - 4], 1 */
   3793     RECOMP_ICALL(MEM32(0x25151514)); /* 0x2501B68B: call dword ptr [0x25151514] */
   3794     RECOMP_FLAGS_IN();
   3795     MEM32(ebp + (-0x5C)) = 0x3F800000u; /* 0x2501B691: mov dword ptr [ebp - 0x5c], 0x3f800000 */
   3796     edx = MEM32(ebp + (-0x5C)); /* 0x2501B698: mov edx, dword ptr [ebp - 0x5c] */
   3797     MEM32(ebp + (-0x58)) = 0; /* 0x2501B69B: mov dword ptr [ebp - 0x58], 0 */
   3798     eax = MEM32(ebp + (-0x58)); /* 0x2501B6A2: mov eax, dword ptr [ebp - 0x58] */
   3799     MEM32(ebp + (-0x54)) = 0; /* 0x2501B6A5: mov dword ptr [ebp - 0x54], 0 */
   3800     ecx = MEM32(ebp + (-0x54)); /* 0x2501B6AC: mov ecx, dword ptr [ebp - 0x54] */
   3801     MEM32(ebp + (-0x130)) = 0; /* 0x2501B6AF: mov dword ptr [ebp - 0x130], 0 */
   3802     MEM32(ebp + (-0x12C)) = 0; /* 0x2501B6B9: mov dword ptr [ebp - 0x12c], 0 */
   3803     MEM32(ebp + (-0x128)) = 0; /* 0x2501B6C3: mov dword ptr [ebp - 0x128], 0 */
   3804     MEM32(ebp + (-0x44)) = edx; /* 0x2501B6CD: mov dword ptr [ebp - 0x44], edx */
   3805     MEM32(ebp + (-0x40)) = eax; /* 0x2501B6D0: mov dword ptr [ebp - 0x40], eax */
   3806     MEM32(ebp + (-0x3C)) = ecx; /* 0x2501B6D3: mov dword ptr [ebp - 0x3c], ecx */
   3807     edx = ebp + (-0x160); /* 0x2501B6D6: lea edx, [ebp - 0x160] */
   3808     PUSH32(esp, edx); /* 0x2501B6DC: push edx */
   3809     ecx = ebp + (-0x44); /* 0x2501B6DD: lea ecx, [ebp - 0x44] */
   3810     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B6E0: call dword ptr [0x2515151c] */
   3811     RECOMP_FLAGS_IN();
   3812     ecx = MEM32(eax); /* 0x2501B6E6: mov ecx, dword ptr [eax] */
   3813     edx = MEM32(eax + 0x4); /* 0x2501B6E8: mov edx, dword ptr [eax + 4] */
   3814     eax = MEM32(eax + 0x8); /* 0x2501B6EB: mov eax, dword ptr [eax + 8] */
   3815     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501B6EE: mov dword ptr [ebp - 0x5c], ecx */
   3816     MEM32(ebp + (-0x50)) = 0; /* 0x2501B6F1: mov dword ptr [ebp - 0x50], 0 */
   3817     ecx = MEM32(ebp + (-0x50)); /* 0x2501B6F8: mov ecx, dword ptr [ebp - 0x50] */
   3818     MEM32(ebp + (-0x44)) = ecx; /* 0x2501B6FB: mov dword ptr [ebp - 0x44], ecx */
   3819     ecx = ebp + (-0x160); /* 0x2501B6FE: lea ecx, [ebp - 0x160] */
   3820     MEM32(ebp + (-0x58)) = edx; /* 0x2501B704: mov dword ptr [ebp - 0x58], edx */
   3821     MEM32(ebp + (-0x54)) = eax; /* 0x2501B707: mov dword ptr [ebp - 0x54], eax */
   3822     MEM32(ebp + (-0x4C)) = 0x3F800000u; /* 0x2501B70A: mov dword ptr [ebp - 0x4c], 0x3f800000 */
   3823     edx = MEM32(ebp + (-0x4C)); /* 0x2501B711: mov edx, dword ptr [ebp - 0x4c] */
   3824     MEM32(ebp + (-0x48)) = 0; /* 0x2501B714: mov dword ptr [ebp - 0x48], 0 */
   3825     eax = MEM32(ebp + (-0x48)); /* 0x2501B71B: mov eax, dword ptr [ebp - 0x48] */
   3826     PUSH32(esp, ecx); /* 0x2501B71E: push ecx */
   3827     ecx = ebp + (-0x44); /* 0x2501B71F: lea ecx, [ebp - 0x44] */
   3828     MEM32(ebp + (-0x40)) = edx; /* 0x2501B722: mov dword ptr [ebp - 0x40], edx */
   3829     MEM32(ebp + (-0x3C)) = eax; /* 0x2501B725: mov dword ptr [ebp - 0x3c], eax */
   3830     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B728: call dword ptr [0x2515151c] */
   3831     RECOMP_FLAGS_IN();
   3832     edx = MEM32(eax); /* 0x2501B72E: mov edx, dword ptr [eax] */
   3833     ecx = MEM32(eax + 0x4); /* 0x2501B730: mov ecx, dword ptr [eax + 4] */
   3834     MEM32(ebp + (-0x50)) = edx; /* 0x2501B733: mov dword ptr [ebp - 0x50], edx */
   3835     edx = MEM32(eax + 0x8); /* 0x2501B736: mov edx, dword ptr [eax + 8] */
   3836     MEM32(ebp + (-0x4C)) = ecx; /* 0x2501B739: mov dword ptr [ebp - 0x4c], ecx */
   3837     MEM32(ebp + (-0x48)) = edx; /* 0x2501B73C: mov dword ptr [ebp - 0x48], edx */
   3838     MEM32(ebp + (-0x38)) = 0; /* 0x2501B73F: mov dword ptr [ebp - 0x38], 0 */
   3839     eax = MEM32(ebp + (-0x38)); /* 0x2501B746: mov eax, dword ptr [ebp - 0x38] */
   3840     ecx = 0x10u; /* 0x2501B749: mov ecx, 0x10 */
   3841     esi = 0x2524C5B8u; /* 0x2501B74E: mov esi, 0x2524c5b8 */
   3842     edi = ebp + (-0x1A0); /* 0x2501B753: lea edi, [ebp - 0x1a0] */
   3843     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501B759: 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; }
   3844     MEM32(ebp + (-0x74)) = eax; /* 0x2501B75B: mov dword ptr [ebp - 0x74], eax */
   3845     eax = MEM32(ebx + 0x274); /* 0x2501B75E: mov eax, dword ptr [ebx + 0x274] */
   3846     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3847     esi = 0; /* 0x2501B764: xor esi, esi */
   3848     _cf = 0;
   3849     _flag_k = FK_TEST;
   3850     /* cmp eax, esi */ /* 0x2501B766: cmp eax, esi */
   3851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3853     _flag_k = FK_CMP;
   3854     MEM32(ebp + (-0x34)) = 0; /* 0x2501B768: mov dword ptr [ebp - 0x34], 0 */
   3855     ecx = MEM32(ebp + (-0x34)); /* 0x2501B76F: mov ecx, dword ptr [ebp - 0x34] */
   3856     MEM32(ebp + (-0x30)) = 0; /* 0x2501B772: mov dword ptr [ebp - 0x30], 0 */
   3857     edx = MEM32(ebp + (-0x30)); /* 0x2501B779: mov edx, dword ptr [ebp - 0x30] */
   3858     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501B77C: mov byte ptr [ebp - 4], 2 */
   3859     MEM8(ebp + (-0xD)) = (uint8_t)(1); /* 0x2501B780: mov byte ptr [ebp - 0xd], 1 */
   3860     MEM32(ebp + (-0x2C)) = 0; /* 0x2501B784: mov dword ptr [ebp - 0x2c], 0 */
   3861     MEM32(ebp + (-0x28)) = 0; /* 0x2501B78B: mov dword ptr [ebp - 0x28], 0 */
   3862     MEM32(ebp + (-0x24)) = 0; /* 0x2501B792: mov dword ptr [ebp - 0x24], 0 */
   3863     MEM32(ebp + (-0x70)) = ecx; /* 0x2501B799: mov dword ptr [ebp - 0x70], ecx */
   3864     MEM32(ebp + (-0x6C)) = edx; /* 0x2501B79C: mov dword ptr [ebp - 0x6c], edx */
   3865     MEM32(ebp + (-0xC8)) = esi; /* 0x2501B79F: mov dword ptr [ebp - 0xc8], esi */
   3866     if (CMP_LE(_flag_a, _flag_b)) goto L_2501BCF5; /* 0x2501B7A5: jle 0x2501bcf5 */
   3867 L_2501B7AB:
   3868     eax = MEM32(ebx + 0x278); /* 0x2501B7AB: mov eax, dword ptr [ebx + 0x278] */
   3869     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3870     edi = 0; /* 0x2501B7B1: xor edi, edi */
   3871     _cf = 0;
   3872     _flag_k = FK_TEST;
   3873     MEM32(ebp + (-0xC4)) = 4; /* 0x2501B7B3: mov dword ptr [ebp - 0xc4], 4 */
   3874 L_2501B7BD:
   3875     SET_LO8(ecx, MEM8(eax + edi + 0x70)); /* 0x2501B7BD: mov cl, byte ptr [eax + edi + 0x70] */
   3876     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7C1: test cl, cl */
   3877     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   3878     _cf = 0;
   3879     _flag_k = FK_NARROW(FK_TEST, 24);
   3880     if (TEST_Z(_flag_a, _flag_b)) goto L_2501BCD7; /* 0x2501B7C3: je 0x2501bcd7 */
   3881 L_2501B7C9:
   3882     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2501B7C9: mov cl, byte ptr [ebp - 0xd] */
   3883     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7CC: test cl, cl */
   3884     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   3885     _cf = 0;
   3886     _flag_k = FK_NARROW(FK_TEST, 24);
   3887     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B7EE; /* 0x2501B7CE: je 0x2501b7ee */
   3888 L_2501B7D0:
   3889     ecx = eax + edi + 0x18; /* 0x2501B7D0: lea ecx, [eax + edi + 0x18] */
   3890     edx = MEM32(ecx); /* 0x2501B7D4: mov edx, dword ptr [ecx] */
   3891     MEM32(ebp + (-0x2C)) = edx; /* 0x2501B7D6: mov dword ptr [ebp - 0x2c], edx */
   3892     edx = MEM32(ecx + 0x4); /* 0x2501B7D9: mov edx, dword ptr [ecx + 4] */
   3893     ecx = MEM32(ecx + 0x8); /* 0x2501B7DC: mov ecx, dword ptr [ecx + 8] */
   3894     MEM8(ebp + (-0xD)) = (uint8_t)(0); /* 0x2501B7DF: mov byte ptr [ebp - 0xd], 0 */
   3895     MEM32(ebp + (-0x28)) = edx; /* 0x2501B7E3: mov dword ptr [ebp - 0x28], edx */
   3896     MEM32(ebp + (-0x24)) = ecx; /* 0x2501B7E6: mov dword ptr [ebp - 0x24], ecx */
   3897     goto L_2501BCD7; /* 0x2501B7E9: jmp 0x2501bcd7 */
   3898 L_2501B7EE:
   3899     edx = MEM32(ebp + (-0x2C)); /* 0x2501B7EE: mov edx, dword ptr [ebp - 0x2c] */
   3900     ecx = MEM32(ebp + (-0x24)); /* 0x2501B7F1: mov ecx, dword ptr [ebp - 0x24] */
   3901     eax = MEM32(ebp + (-0x28)); /* 0x2501B7F4: mov eax, dword ptr [ebp - 0x28] */
   3902     MEM32(ebp + (-0x120)) = edx; /* 0x2501B7F7: mov dword ptr [ebp - 0x120], edx */
   3903     edx = ebp + (-0x1A0); /* 0x2501B7FD: lea edx, [ebp - 0x1a0] */
   3904     MEM32(ebp + (-0x118)) = ecx; /* 0x2501B803: mov dword ptr [ebp - 0x118], ecx */
   3905     PUSH32(esp, edx); /* 0x2501B809: push edx */
   3906     ecx = ebp + (-0x120); /* 0x2501B80A: lea ecx, [ebp - 0x120] */
   3907     MEM32(ebp + (-0x11C)) = eax; /* 0x2501B810: mov dword ptr [ebp - 0x11c], eax */
   3908     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B816: call dword ptr [0x2515151c] */
   3909     RECOMP_FLAGS_IN();
   3910     ecx = MEM32(eax); /* 0x2501B81C: mov ecx, dword ptr [eax] */
   3911     edx = MEM32(eax + 0x4); /* 0x2501B81E: mov edx, dword ptr [eax + 4] */
   3912     eax = MEM32(eax + 0x8); /* 0x2501B821: mov eax, dword ptr [eax + 8] */
   3913     MEM32(ebp + (-0x44)) = ecx; /* 0x2501B824: mov dword ptr [ebp - 0x44], ecx */
   3914     ecx = MEM32(ebx + 0x278); /* 0x2501B827: mov ecx, dword ptr [ebx + 0x278] */
   3915     MEM32(ebp + (-0x40)) = edx; /* 0x2501B82D: mov dword ptr [ebp - 0x40], edx */
   3916     edx = ecx + edi + 0x18; /* 0x2501B830: lea edx, [ecx + edi + 0x18] */
   3917     MEM32(ebp + (-0x3C)) = eax; /* 0x2501B834: mov dword ptr [ebp - 0x3c], eax */
   3918     eax = MEM32(edx); /* 0x2501B837: mov eax, dword ptr [edx] */
   3919     ecx = MEM32(edx + 0x4); /* 0x2501B839: mov ecx, dword ptr [edx + 4] */
   3920     edx = MEM32(edx + 0x8); /* 0x2501B83C: mov edx, dword ptr [edx + 8] */
   3921     MEM32(ebp + (-0x114)) = eax; /* 0x2501B83F: mov dword ptr [ebp - 0x114], eax */
   3922     eax = ebp + (-0x1A0); /* 0x2501B845: lea eax, [ebp - 0x1a0] */
   3923     MEM32(ebp + (-0x110)) = ecx; /* 0x2501B84B: mov dword ptr [ebp - 0x110], ecx */
   3924     PUSH32(esp, eax); /* 0x2501B851: push eax */
   3925     ecx = ebp + (-0x114); /* 0x2501B852: lea ecx, [ebp - 0x114] */
   3926     MEM32(ebp + (-0x10C)) = edx; /* 0x2501B858: mov dword ptr [ebp - 0x10c], edx */
   3927     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B85E: call dword ptr [0x2515151c] */
   3928     RECOMP_FLAGS_IN();
   3929     ecx = MEM32(eax); /* 0x2501B864: mov ecx, dword ptr [eax] */
   3930     edx = MEM32(eax + 0x4); /* 0x2501B866: mov edx, dword ptr [eax + 4] */
   3931     eax = MEM32(eax + 0x8); /* 0x2501B869: mov eax, dword ptr [eax + 8] */
   3932     MEM32(ebp + (-0x9C)) = ecx; /* 0x2501B86C: mov dword ptr [ebp - 0x9c], ecx */
   3933     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501B872: fld dword ptr [ebp - 0x9c] */
   3934     _st[0] -= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501B878: fsub dword ptr [ebp - 0x44] */
   3935     MEM32(ebp + (-0x98)) = edx; /* 0x2501B87B: mov dword ptr [ebp - 0x98], edx */
   3936     MEM32(ebp + (-0x94)) = eax; /* 0x2501B881: mov dword ptr [ebp - 0x94], eax */
   3937     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501B887: fstp dword ptr [ebp - 0x9c] */
   3938     ecx = MEM32(ebp + (-0x9C)); /* 0x2501B88D: mov ecx, dword ptr [ebp - 0x9c] */
   3939     fp_push(*(float*)&MEM32(ebp + (-0x98))); /* 0x2501B893: fld dword ptr [ebp - 0x98] */
   3940     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B899: mov dword ptr [ebp - 0x1c], ecx */
   3941     _st[0] -= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501B89C: fsub dword ptr [ebp - 0x40] */
   3942     PUSH32(esp, ecx); /* 0x2501B89F: push ecx */
   3943     ecx = ebp + (-0x1C); /* 0x2501B8A0: lea ecx, [ebp - 0x1c] */
   3944     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501B8A3: fstp dword ptr [ebp - 0x98] */
   3945     edx = MEM32(ebp + (-0x98)); /* 0x2501B8A9: mov edx, dword ptr [ebp - 0x98] */
   3946     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501B8AF: fld dword ptr [ebp - 0x94] */
   3947     MEM32(ebp + (-0x18)) = edx; /* 0x2501B8B5: mov dword ptr [ebp - 0x18], edx */
   3948     _st[0] -= (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x2501B8B8: fsub dword ptr [ebp - 0x3c] */
   3949     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x2501B8BB: fstp dword ptr [ebp - 0x94] */
   3950     eax = MEM32(ebp + (-0x94)); /* 0x2501B8C1: mov eax, dword ptr [ebp - 0x94] */
   3951     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501B8C7: fld dword ptr [ebp - 0x18] */
   3952     MEM32(ebp + (-0x14)) = eax; /* 0x2501B8CA: mov dword ptr [ebp - 0x14], eax */
   3953     fp_push(_st[0]); /* 0x2501B8CD: fld st(0) */
   3954     MEM32(ebp + (-0x14)) = 0; /* 0x2501B8CF: mov dword ptr [ebp - 0x14], 0 */
   3955     { double _v = fp_pop(); _st[0] *= _v; } /* 0x2501B8D6: fmulp st(1) */
   3956     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501B8D8: fld dword ptr [ebp - 0x1c] */
   3957     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8DB: fmul dword ptr [ebp - 0x1c] */
   3958     { double _v = fp_pop(); _st[0] += _v; } /* 0x2501B8DE: faddp st(1) */
   3959     _st[0] = sqrt(_st[0]); /* 0x2501B8E0: fsqrt  */
   3960     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501B8E2: fdivr dword ptr [0x251517a4] */
   3961     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2501B8E8: fstp dword ptr [esp] */
   3962     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2501B8EB: call dword ptr [0x25151510] */
   3963     RECOMP_FLAGS_IN();
   3964     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501B8F1: fld dword ptr [ebp - 0x50] */
   3965     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8F4: fmul dword ptr [ebp - 0x1c] */
   3966     edx = MEM32(ebp + (-0x4C)); /* 0x2501B8F7: mov edx, dword ptr [ebp - 0x4c] */
   3967     eax = MEM32(ebp + (-0x48)); /* 0x2501B8FA: mov eax, dword ptr [ebp - 0x48] */
   3968     ecx = MEM32(ebp + (-0x50)); /* 0x2501B8FD: mov ecx, dword ptr [ebp - 0x50] */
   3969     MEM32(ebp + (-0x34)) = edx; /* 0x2501B900: mov dword ptr [ebp - 0x34], edx */
   3970     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501B903: fld dword ptr [ebp - 0x34] */
   3971     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B906: fmul dword ptr [ebp - 0x1c] */
   3972     edx = MEM32(ebp + (-0x58)); /* 0x2501B909: mov edx, dword ptr [ebp - 0x58] */
   3973     MEM32(ebp + (-0x30)) = eax; /* 0x2501B90C: mov dword ptr [ebp - 0x30], eax */
   3974     MEM32(ebp + (-0x38)) = ecx; /* 0x2501B90F: mov dword ptr [ebp - 0x38], ecx */
   3975     ecx = MEM32(ebp + (-0x5C)); /* 0x2501B912: mov ecx, dword ptr [ebp - 0x5c] */
   3976     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501B915: fstp dword ptr [ebp - 0x34] */
   3977     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501B918: fld dword ptr [ebp - 0x30] */
   3978     MEM32(ebp + (-0x80)) = ecx; /* 0x2501B91B: mov dword ptr [ebp - 0x80], ecx */
   3979     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B91E: fmul dword ptr [ebp - 0x1c] */
   3980     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501B921: fstp dword ptr [ebp - 0x30] */
   3981     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501B924: fld dword ptr [ebp - 0x5c] */
   3982     eax = MEM32(ebp + (-0x54)); /* 0x2501B927: mov eax, dword ptr [ebp - 0x54] */
   3983     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B92A: fmul dword ptr [ebp - 0x18] */
   3984     MEM32(ebp + (-0x7C)) = edx; /* 0x2501B92D: mov dword ptr [ebp - 0x7c], edx */
   3985     MEM32(ebp + (-0x78)) = eax; /* 0x2501B930: mov dword ptr [ebp - 0x78], eax */
   3986     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501B933: fstp dword ptr [ebp - 0x80] */
   3987     ecx = MEM32(ebp + (-0x80)); /* 0x2501B936: mov ecx, dword ptr [ebp - 0x80] */
   3988     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501B939: fld dword ptr [ebp - 0x7c] */
   3989     MEM32(ebp + (-0xA8)) = ecx; /* 0x2501B93C: mov dword ptr [ebp - 0xa8], ecx */
   3990     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B942: fmul dword ptr [ebp - 0x18] */
   3991     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501B945: fstp dword ptr [ebp - 0x7c] */
   3992     edx = MEM32(ebp + (-0x7C)); /* 0x2501B948: mov edx, dword ptr [ebp - 0x7c] */
   3993     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501B94B: fld dword ptr [ebp - 0x78] */
   3994     MEM32(ebp + (-0xA4)) = edx; /* 0x2501B94E: mov dword ptr [ebp - 0xa4], edx */
   3995     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B954: fmul dword ptr [ebp - 0x18] */
   3996     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501B957: fstp dword ptr [ebp - 0x78] */
   3997     eax = MEM32(ebp + (-0x78)); /* 0x2501B95A: mov eax, dword ptr [ebp - 0x78] */
   3998     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501B95D: fld dword ptr [ebp - 0x80] */
   3999     MEM32(ebp + (-0xA0)) = eax; /* 0x2501B960: mov dword ptr [ebp - 0xa0], eax */
   4000     _st[0] -= _st[1]; /* 0x2501B966: fsub st(1) */
   4001     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501B968: fstp dword ptr [ebp - 0xa8] */
   4002     ecx = MEM32(ebp + (-0xA8)); /* 0x2501B96E: mov ecx, dword ptr [ebp - 0xa8] */
   4003     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B974: mov dword ptr [ebp - 0x1c], ecx */
   4004     ecx = MEM32(ebx + 0x278); /* 0x2501B977: mov ecx, dword ptr [ebx + 0x278] */
   4005     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B97D: fstp st(0) */
   4006     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501B97F: fld dword ptr [ebp - 0xa4] */
   4007     _st[0] -= (double)*(float*)ADDR(ebp + (-0x34)); /* 0x2501B985: fsub dword ptr [ebp - 0x34] */
   4008     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501B988: fstp dword ptr [ebp - 0xa4] */
   4009     edx = MEM32(ebp + (-0xA4)); /* 0x2501B98E: mov edx, dword ptr [ebp - 0xa4] */
   4010     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501B994: fld dword ptr [ebp - 0xa0] */
   4011     MEM32(ebp + (-0x18)) = edx; /* 0x2501B99A: mov dword ptr [ebp - 0x18], edx */
   4012     _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501B99D: fsub dword ptr [ebp - 0x30] */
   4013     edx = MEM32(0x251C2748); /* 0x2501B9A0: mov edx, dword ptr [0x251c2748] */
   4014     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501B9A6: fstp dword ptr [ebp - 0xa0] */
   4015     eax = MEM32(ebp + (-0xA0)); /* 0x2501B9AC: mov eax, dword ptr [ebp - 0xa0] */
   4016     MEM32(ebp + (-0x14)) = eax; /* 0x2501B9B2: mov dword ptr [ebp - 0x14], eax */
   4017     fp_push(*(float*)&MEM32(ecx + edi + 0x30)); /* 0x2501B9B5: fld dword ptr [ecx + edi + 0x30] */
   4018     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501B9B9: fld dword ptr [ebp - 0xa8] */
   4019     eax = MEM32(ebp + (-0xC4)); /* 0x2501B9BF: mov eax, dword ptr [ebp - 0xc4] */
   4020     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9C5: mov ecx, dword ptr [ebp - 0x20] */
   4021     _st[0] *= _st[1]; /* 0x2501B9C8: fmul st(1) */
   4022     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501B9CA: fstp dword ptr [ebp - 0x1c] */
   4023     fp_push(_st[0]); /* 0x2501B9CD: fld st(0) */
   4024     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B9CF: fmul dword ptr [ebp - 0x18] */
   4025     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501B9D2: fstp dword ptr [ebp - 0x18] */
   4026     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501B9D5: fmul dword ptr [ebp - 0x14] */
   4027     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501B9D8: fstp dword ptr [ebp - 0x14] */
   4028     MEM16(eax + edx + (-0x4)) = (uint16_t)(LO16(ecx)); /* 0x2501B9DB: mov word ptr [eax + edx - 4], cx */
   4029     edx = MEM32(0x251C2748); /* 0x2501B9E0: mov edx, dword ptr [0x251c2748] */
   4030     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501B9E6: fld dword ptr [ebp - 0x2c] */
   4031     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4032     ecx = ecx + 1; /* 0x2501B9E9: inc ecx */
   4033     _flag_k = FK_INC;
   4034     _st[0] -= (double)*(float*)ADDR(ebp + (-0x74)); /* 0x2501B9EA: fsub dword ptr [ebp - 0x74] */
   4035     MEM16(eax + edx + (-0x2)) = (uint16_t)(LO16(ecx)); /* 0x2501B9ED: mov word ptr [eax + edx - 2], cx */
   4036     edx = MEM32(0x251C2748); /* 0x2501B9F2: mov edx, dword ptr [0x251c2748] */
   4037     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9F8: mov ecx, dword ptr [ebp - 0x20] */
   4038     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4039     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4040     ecx = ecx + 2; /* 0x2501B9FB: add ecx, 2 */
   4041     _flag_k = FK_ADD;
   4042     MEM16(eax + edx) = (uint16_t)(LO16(ecx)); /* 0x2501B9FE: mov word ptr [eax + edx], cx */
   4043     edx = MEM32(0x251C2748); /* 0x2501BA02: mov edx, dword ptr [0x251c2748] */
   4044     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA08: mov ecx, dword ptr [ebp - 0x20] */
   4045     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4046     ecx = ecx + 1; /* 0x2501BA0B: inc ecx */
   4047     _flag_k = FK_INC;
   4048     MEM16(eax + edx + 0x2) = (uint16_t)(LO16(ecx)); /* 0x2501BA0C: mov word ptr [eax + edx + 2], cx */
   4049     edx = MEM32(0x251C2748); /* 0x2501BA11: mov edx, dword ptr [0x251c2748] */
   4050     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA17: mov ecx, dword ptr [ebp - 0x20] */
   4051     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4052     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4053     ecx = ecx + 2; /* 0x2501BA1A: add ecx, 2 */
   4054     _flag_k = FK_ADD;
   4055     MEM16(eax + edx + 0x4) = (uint16_t)(LO16(ecx)); /* 0x2501BA1D: mov word ptr [eax + edx + 4], cx */
   4056     edx = MEM32(ebp + (-0x20)); /* 0x2501BA22: mov edx, dword ptr [ebp - 0x20] */
   4057     ecx = MEM32(0x251C2748); /* 0x2501BA25: mov ecx, dword ptr [0x251c2748] */
   4058     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3);
   4059     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4060     edx = edx + 3; /* 0x2501BA2B: add edx, 3 */
   4061     _flag_k = FK_ADD;
   4062     MEM16(eax + ecx + 0x6) = (uint16_t)(LO16(edx)); /* 0x2501BA2E: mov word ptr [eax + ecx + 6], dx */
   4063     edx = MEM32(ebp + (-0x90)); /* 0x2501BA33: mov edx, dword ptr [ebp - 0x90] */
   4064     ecx = MEM32(ebp + (-0x2C)); /* 0x2501BA39: mov ecx, dword ptr [ebp - 0x2c] */
   4065     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   4066     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4067     edx = edx + 6; /* 0x2501BA3C: add edx, 6 */
   4068     _flag_k = FK_ADD;
   4069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   4070     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4071     eax = eax + 0xCu; /* 0x2501BA3F: add eax, 0xc */
   4072     _flag_k = FK_ADD;
   4073     MEM32(ebp + (-0x90)) = edx; /* 0x2501BA42: mov dword ptr [ebp - 0x90], edx */
   4074     edx = MEM32(ebp + (-0x28)); /* 0x2501BA48: mov edx, dword ptr [ebp - 0x28] */
   4075     MEM32(ebp + (-0xC4)) = eax; /* 0x2501BA4B: mov dword ptr [ebp - 0xc4], eax */
   4076     eax = MEM32(ebp + (-0x24)); /* 0x2501BA51: mov eax, dword ptr [ebp - 0x24] */
   4077     MEM32(ebp + (-0xB4)) = ecx; /* 0x2501BA54: mov dword ptr [ebp - 0xb4], ecx */
   4078     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501BA5A: fstp dword ptr [ebp - 0xb4] */
   4079     MEM32(ebp + (-0xB0)) = edx; /* 0x2501BA60: mov dword ptr [ebp - 0xb0], edx */
   4080     MEM32(ebp + (-0xAC)) = eax; /* 0x2501BA66: mov dword ptr [ebp - 0xac], eax */
   4081     edx = MEM32(0x251C2744); /* 0x2501BA6C: mov edx, dword ptr [0x251c2744] */
   4082     fp_push(*(float*)&MEM32(ebp + (-0xB0))); /* 0x2501BA72: fld dword ptr [ebp - 0xb0] */
   4083     _st[0] -= (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BA78: fsub dword ptr [ebp - 0x70] */
   4084     eax = esi + edx; /* 0x2501BA7B: lea eax, [esi + edx] */
   4085     edx = MEM32(ebp + (-0xB4)); /* 0x2501BA7E: mov edx, dword ptr [ebp - 0xb4] */
   4086     MEM32(eax) = edx; /* 0x2501BA84: mov dword ptr [eax], edx */
   4087     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501BA86: fstp dword ptr [ebp - 0xb0] */
   4088     edx = MEM32(ebp + (-0xB0)); /* 0x2501BA8C: mov edx, dword ptr [ebp - 0xb0] */
   4089     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501BA92: fld dword ptr [ebp - 0xac] */
   4090     MEM32(eax + 0x4) = edx; /* 0x2501BA98: mov dword ptr [eax + 4], edx */
   4091     _st[0] -= (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BA9B: fsub dword ptr [ebp - 0x6c] */
   4092     MEM32(ebp + (-0xC0)) = ecx; /* 0x2501BA9E: mov dword ptr [ebp - 0xc0], ecx */
   4093     ecx = MEM32(ebp + (-0x28)); /* 0x2501BAA4: mov ecx, dword ptr [ebp - 0x28] */
   4094     MEM32(ebp + (-0xBC)) = ecx; /* 0x2501BAA7: mov dword ptr [ebp - 0xbc], ecx */
   4095     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501BAAD: fstp dword ptr [ebp - 0xac] */
   4096     edx = MEM32(ebp + (-0xAC)); /* 0x2501BAB3: mov edx, dword ptr [ebp - 0xac] */
   4097     MEM32(eax + 0x8) = edx; /* 0x2501BAB9: mov dword ptr [eax + 8], edx */
   4098     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501BABC: fld dword ptr [ebp - 0x74] */
   4099     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501BABF: fadd dword ptr [ebp - 0x2c] */
   4100     eax = MEM32(ebx + 0x278); /* 0x2501BAC2: mov eax, dword ptr [ebx + 0x278] */
   4101     edx = MEM32(eax + edi + 0x44); /* 0x2501BAC8: mov edx, dword ptr [eax + edi + 0x44] */
   4102     eax = MEM32(0x251C2744); /* 0x2501BACC: mov eax, dword ptr [0x251c2744] */
   4103     MEM32(esi + eax + 0xC) = edx; /* 0x2501BAD1: mov dword ptr [esi + eax + 0xc], edx */
   4104     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC0)) = _v; } /* 0x2501BAD5: fstp dword ptr [ebp - 0xc0] */
   4105     edx = MEM32(0x251C2744); /* 0x2501BADB: mov edx, dword ptr [0x251c2744] */
   4106     fp_push(*(float*)&MEM32(ebp + (-0xBC))); /* 0x2501BAE1: fld dword ptr [ebp - 0xbc] */
   4107     _st[0] += (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BAE7: fadd dword ptr [ebp - 0x70] */
   4108     MEM32(esi + edx + 0x10) = 0; /* 0x2501BAEA: mov dword ptr [esi + edx + 0x10], 0 */
   4109     eax = MEM32(0x251C2744); /* 0x2501BAF2: mov eax, dword ptr [0x251c2744] */
   4110     edx = MEM32(ebp + (-0x24)); /* 0x2501BAF7: mov edx, dword ptr [ebp - 0x24] */
   4111     MEM32(esi + eax + 0x14) = 0x3E800000u; /* 0x2501BAFA: mov dword ptr [esi + eax + 0x14], 0x3e800000 */
   4112     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501BB02: fstp dword ptr [ebp - 0xbc] */
   4113     ecx = MEM32(0x251C2744); /* 0x2501BB08: mov ecx, dword ptr [0x251c2744] */
   4114     MEM32(ebp + (-0xB8)) = edx; /* 0x2501BB0E: mov dword ptr [ebp - 0xb8], edx */
   4115     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501BB14: fld dword ptr [ebp - 0xb8] */
   4116     _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BB1A: fadd dword ptr [ebp - 0x6c] */
   4117     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4119     esi = esi + 0x18u; /* 0x2501BB1D: add esi, 0x18 */
   4120     _flag_k = FK_ADD;
   4121     edx = esi + ecx; /* 0x2501BB20: lea edx, [esi + ecx] */
   4122     ecx = MEM32(ebp + (-0xC0)); /* 0x2501BB23: mov ecx, dword ptr [ebp - 0xc0] */
   4123     MEM32(edx) = ecx; /* 0x2501BB29: mov dword ptr [edx], ecx */
   4124     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501BB2B: fstp dword ptr [ebp - 0xb8] */
   4125     ecx = MEM32(ebp + (-0xBC)); /* 0x2501BB31: mov ecx, dword ptr [ebp - 0xbc] */
   4126     MEM32(edx + 0x4) = ecx; /* 0x2501BB37: mov dword ptr [edx + 4], ecx */
   4127     ecx = MEM32(ebp + (-0xB8)); /* 0x2501BB3A: mov ecx, dword ptr [ebp - 0xb8] */
   4128     MEM32(edx + 0x8) = ecx; /* 0x2501BB40: mov dword ptr [edx + 8], ecx */
   4129     edx = MEM32(ebx + 0x278); /* 0x2501BB43: mov edx, dword ptr [ebx + 0x278] */
   4130     ecx = MEM32(edx + edi + 0x44); /* 0x2501BB49: mov ecx, dword ptr [edx + edi + 0x44] */
   4131     edx = MEM32(0x251C2744); /* 0x2501BB4D: mov edx, dword ptr [0x251c2744] */
   4132     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BB53: mov dword ptr [esi + edx + 0xc], ecx */
   4133     ecx = MEM32(0x251C2744); /* 0x2501BB57: mov ecx, dword ptr [0x251c2744] */
   4134     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BB5D: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   4135     edx = MEM32(0x251C2744); /* 0x2501BB65: mov edx, dword ptr [0x251c2744] */
   4136     eax = MEM32(ebp + (-0x20)); /* 0x2501BB6B: mov eax, dword ptr [ebp - 0x20] */
   4137     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BB6E: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4138     ecx = MEM32(ebx + 0x278); /* 0x2501BB76: mov ecx, dword ptr [ebx + 0x278] */
   4139     edx = ecx + edi + 0x18; /* 0x2501BB7C: lea edx, [ecx + edi + 0x18] */
   4140     ecx = MEM32(edx); /* 0x2501BB80: mov ecx, dword ptr [edx] */
   4141     MEM32(ebp + (-0x8C)) = ecx; /* 0x2501BB82: mov dword ptr [ebp - 0x8c], ecx */
   4142     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501BB88: fld dword ptr [ebp - 0x8c] */
   4143     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BB8E: fsub dword ptr [ebp - 0x1c] */
   4144     ecx = MEM32(edx + 0x4); /* 0x2501BB91: mov ecx, dword ptr [edx + 4] */
   4145     edx = MEM32(edx + 0x8); /* 0x2501BB94: mov edx, dword ptr [edx + 8] */
   4146     MEM32(ebp + (-0x88)) = ecx; /* 0x2501BB97: mov dword ptr [ebp - 0x88], ecx */
   4147     ecx = MEM32(0x251C2744); /* 0x2501BB9D: mov ecx, dword ptr [0x251c2744] */
   4148     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501BBA3: fstp dword ptr [ebp - 0x8c] */
   4149     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501BBA9: fld dword ptr [ebp - 0x88] */
   4150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4151     eax = eax + 1; /* 0x2501BBAF: inc eax */
   4152     _flag_k = FK_INC;
   4153     _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BBB0: fsub dword ptr [ebp - 0x18] */
   4154     MEM32(ebp + (-0x84)) = edx; /* 0x2501BBB3: mov dword ptr [ebp - 0x84], edx */
   4155     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4156     eax = eax + 1; /* 0x2501BBB9: inc eax */
   4157     _flag_k = FK_INC;
   4158     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4159     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4160     esi = esi + 0x18u; /* 0x2501BBBA: add esi, 0x18 */
   4161     _flag_k = FK_ADD;
   4162     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501BBBD: fstp dword ptr [ebp - 0x88] */
   4163     edx = esi + ecx; /* 0x2501BBC3: lea edx, [esi + ecx] */
   4164     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501BBC6: fld dword ptr [ebp - 0x84] */
   4165     ecx = MEM32(ebp + (-0x8C)); /* 0x2501BBCC: mov ecx, dword ptr [ebp - 0x8c] */
   4166     _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BBD2: fsub dword ptr [ebp - 0x14] */
   4167     MEM32(edx) = ecx; /* 0x2501BBD5: mov dword ptr [edx], ecx */
   4168     ecx = MEM32(ebp + (-0x88)); /* 0x2501BBD7: mov ecx, dword ptr [ebp - 0x88] */
   4169     MEM32(edx + 0x4) = ecx; /* 0x2501BBDD: mov dword ptr [edx + 4], ecx */
   4170     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501BBE0: fstp dword ptr [ebp - 0x84] */
   4171     ecx = MEM32(ebp + (-0x84)); /* 0x2501BBE6: mov ecx, dword ptr [ebp - 0x84] */
   4172     MEM32(edx + 0x8) = ecx; /* 0x2501BBEC: mov dword ptr [edx + 8], ecx */
   4173     edx = MEM32(ebx + 0x278); /* 0x2501BBEF: mov edx, dword ptr [ebx + 0x278] */
   4174     ecx = MEM32(edx + edi + 0x44); /* 0x2501BBF5: mov ecx, dword ptr [edx + edi + 0x44] */
   4175     edx = MEM32(0x251C2744); /* 0x2501BBF9: mov edx, dword ptr [0x251c2744] */
   4176     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BBFF: mov dword ptr [esi + edx + 0xc], ecx */
   4177     ecx = MEM32(0x251C2744); /* 0x2501BC03: mov ecx, dword ptr [0x251c2744] */
   4178     MEM32(esi + ecx + 0x10) = 0; /* 0x2501BC09: mov dword ptr [esi + ecx + 0x10], 0 */
   4179     edx = MEM32(0x251C2744); /* 0x2501BC11: mov edx, dword ptr [0x251c2744] */
   4180     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC17: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4181     ecx = MEM32(ebx + 0x278); /* 0x2501BC1F: mov ecx, dword ptr [ebx + 0x278] */
   4182     edx = ecx + edi + 0x18; /* 0x2501BC25: lea edx, [ecx + edi + 0x18] */
   4183     ecx = MEM32(edx); /* 0x2501BC29: mov ecx, dword ptr [edx] */
   4184     MEM32(ebp + (-0x68)) = ecx; /* 0x2501BC2B: mov dword ptr [ebp - 0x68], ecx */
   4185     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501BC2E: fld dword ptr [ebp - 0x68] */
   4186     ecx = MEM32(edx + 0x4); /* 0x2501BC31: mov ecx, dword ptr [edx + 4] */
   4187     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BC34: fadd dword ptr [ebp - 0x1c] */
   4188     edx = MEM32(edx + 0x8); /* 0x2501BC37: mov edx, dword ptr [edx + 8] */
   4189     MEM32(ebp + (-0x64)) = ecx; /* 0x2501BC3A: mov dword ptr [ebp - 0x64], ecx */
   4190     ecx = MEM32(0x251C2744); /* 0x2501BC3D: mov ecx, dword ptr [0x251c2744] */
   4191     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501BC43: fstp dword ptr [ebp - 0x68] */
   4192     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501BC46: fld dword ptr [ebp - 0x64] */
   4193     MEM32(ebp + (-0x60)) = edx; /* 0x2501BC49: mov dword ptr [ebp - 0x60], edx */
   4194     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BC4C: fadd dword ptr [ebp - 0x18] */
   4195     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4196     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4197     esi = esi + 0x18u; /* 0x2501BC4F: add esi, 0x18 */
   4198     _flag_k = FK_ADD;
   4199     edx = esi + ecx; /* 0x2501BC52: lea edx, [esi + ecx] */
   4200     ecx = MEM32(ebp + (-0x68)); /* 0x2501BC55: mov ecx, dword ptr [ebp - 0x68] */
   4201     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501BC58: fstp dword ptr [ebp - 0x64] */
   4202     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4203     eax = eax + 1; /* 0x2501BC5B: inc eax */
   4204     _flag_k = FK_INC;
   4205     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501BC5C: fld dword ptr [ebp - 0x60] */
   4206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4207     eax = eax + 1; /* 0x2501BC5F: inc eax */
   4208     _flag_k = FK_INC;
   4209     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BC60: fadd dword ptr [ebp - 0x14] */
   4210     MEM32(edx) = ecx; /* 0x2501BC63: mov dword ptr [edx], ecx */
   4211     ecx = MEM32(ebp + (-0x64)); /* 0x2501BC65: mov ecx, dword ptr [ebp - 0x64] */
   4212     MEM32(edx + 0x4) = ecx; /* 0x2501BC68: mov dword ptr [edx + 4], ecx */
   4213     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501BC6B: fstp dword ptr [ebp - 0x60] */
   4214     ecx = MEM32(ebp + (-0x60)); /* 0x2501BC6E: mov ecx, dword ptr [ebp - 0x60] */
   4215     MEM32(edx + 0x8) = ecx; /* 0x2501BC71: mov dword ptr [edx + 8], ecx */
   4216     edx = MEM32(ebx + 0x278); /* 0x2501BC74: mov edx, dword ptr [ebx + 0x278] */
   4217     ecx = MEM32(edx + edi + 0x44); /* 0x2501BC7A: mov ecx, dword ptr [edx + edi + 0x44] */
   4218     edx = MEM32(0x251C2744); /* 0x2501BC7E: mov edx, dword ptr [0x251c2744] */
   4219     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BC84: mov dword ptr [esi + edx + 0xc], ecx */
   4220     ecx = MEM32(0x251C2744); /* 0x2501BC88: mov ecx, dword ptr [0x251c2744] */
   4221     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BC8E: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   4222     edx = MEM32(0x251C2744); /* 0x2501BC96: mov edx, dword ptr [0x251c2744] */
   4223     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC9C: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4224     MEM32(ebp + (-0x20)) = eax; /* 0x2501BCA4: mov dword ptr [ebp - 0x20], eax */
   4225     eax = MEM32(ebx + 0x278); /* 0x2501BCA7: mov eax, dword ptr [ebx + 0x278] */
   4226     ecx = eax + edi + 0x18; /* 0x2501BCAD: lea ecx, [eax + edi + 0x18] */
   4227     edx = MEM32(ecx); /* 0x2501BCB1: mov edx, dword ptr [ecx] */
   4228     MEM32(ebp + (-0x2C)) = edx; /* 0x2501BCB3: mov dword ptr [ebp - 0x2c], edx */
   4229     edx = MEM32(ecx + 0x4); /* 0x2501BCB6: mov edx, dword ptr [ecx + 4] */
   4230     ecx = MEM32(ecx + 0x8); /* 0x2501BCB9: mov ecx, dword ptr [ecx + 8] */
   4231     MEM32(ebp + (-0x28)) = edx; /* 0x2501BCBC: mov dword ptr [ebp - 0x28], edx */
   4232     edx = MEM32(ebp + (-0x1C)); /* 0x2501BCBF: mov edx, dword ptr [ebp - 0x1c] */
   4233     MEM32(ebp + (-0x24)) = ecx; /* 0x2501BCC2: mov dword ptr [ebp - 0x24], ecx */
   4234     ecx = MEM32(ebp + (-0x18)); /* 0x2501BCC5: mov ecx, dword ptr [ebp - 0x18] */
   4235     MEM32(ebp + (-0x74)) = edx; /* 0x2501BCC8: mov dword ptr [ebp - 0x74], edx */
   4236     edx = MEM32(ebp + (-0x14)); /* 0x2501BCCB: mov edx, dword ptr [ebp - 0x14] */
   4237     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4238     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4239     esi = esi + 0x18u; /* 0x2501BCCE: add esi, 0x18 */
   4240     _flag_k = FK_ADD;
   4241     MEM32(ebp + (-0x70)) = ecx; /* 0x2501BCD1: mov dword ptr [ebp - 0x70], ecx */
   4242     MEM32(ebp + (-0x6C)) = edx; /* 0x2501BCD4: mov dword ptr [ebp - 0x6c], edx */
   4243 L_2501BCD7:
   4244     ecx = MEM32(ebp + (-0xC8)); /* 0x2501BCD7: mov ecx, dword ptr [ebp - 0xc8] */
   4245     edx = MEM32(ebx + 0x274); /* 0x2501BCDD: mov edx, dword ptr [ebx + 0x274] */
   4246     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4247     ecx = ecx + 1; /* 0x2501BCE3: inc ecx */
   4248     _flag_k = FK_INC;
   4249     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x74u);
   4250     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4251     edi = edi + 0x74u; /* 0x2501BCE4: add edi, 0x74 */
   4252     _flag_k = FK_ADD;
   4253     /* cmp ecx, edx */ /* 0x2501BCE7: cmp ecx, edx */
   4254     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4256     _flag_k = FK_CMP;
   4257     MEM32(ebp + (-0xC8)) = ecx; /* 0x2501BCE9: mov dword ptr [ebp - 0xc8], ecx */
   4258     RECOMP_BACKEDGE();
   4259     if (CMP_L(_flag_a, _flag_b)) goto L_2501B7BD; /* 0x2501BCEF: jl 0x2501b7bd */
   4260 L_2501BCF5:
   4261     eax = MEM32(ebp + (-0x90)); /* 0x2501BCF5: mov eax, dword ptr [ebp - 0x90] */
   4262     ecx = MEM32(0x251C2748); /* 0x2501BCFB: mov ecx, dword ptr [0x251c2748] */
   4263     edx = MEM32(ebp + (-0x20)); /* 0x2501BD01: mov edx, dword ptr [ebp - 0x20] */
   4264     PUSH32(esp, 0); /* 0x2501BD04: push 0 */
   4265     PUSH32(esp, eax); /* 0x2501BD06: push eax */
   4266     eax = MEM32(0x251C2744); /* 0x2501BD07: mov eax, dword ptr [0x251c2744] */
   4267     PUSH32(esp, ecx); /* 0x2501BD0C: push ecx */
   4268     ecx = MEM32(0x25238B58); /* 0x2501BD0D: mov ecx, dword ptr [0x25238b58] */
   4269     PUSH32(esp, edx); /* 0x2501BD13: push edx */
   4270     PUSH32(esp, eax); /* 0x2501BD14: push eax */
   4271     PUSH32(esp, 0x142u); /* 0x2501BD15: push 0x142 */
   4272     RECOMP_ICALL(0x250E7010u); /* 0x2501BD1A: call 0x250e7010 */ /* not lifted */
   4273     RECOMP_FLAGS_IN();
   4274     esi = MEM32(ebp + 0x8); /* 0x2501BD1F: mov esi, dword ptr [ebp + 8] */
   4275     edx = MEM32(ebx); /* 0x2501BD22: mov edx, dword ptr [ebx] */
   4276     PUSH32(esp, esi); /* 0x2501BD24: push esi */
   4277     ecx = ebx; /* 0x2501BD25: mov ecx, ebx */
   4278     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x2501BD27: call dword ptr [edx + 0x44] */
   4279     RECOMP_FLAGS_IN();
   4280     ecx = esi; /* 0x2501BD2A: mov ecx, esi */
   4281     RECOMP_ICALL(0x250E0360u); /* 0x2501BD2C: call 0x250e0360 */ /* not lifted */
   4282     RECOMP_FLAGS_IN();
   4283     esi = POP32_VAL(esp); /* 0x2501BD31: pop esi */
   4284 L_2501BD32:
   4285     ecx = MEM32(ebp + (-0xC)); /* 0x2501BD32: mov ecx, dword ptr [ebp - 0xc] */
   4286     edi = POP32_VAL(esp); /* 0x2501BD35: pop edi */
   4287     ebx = POP32_VAL(esp); /* 0x2501BD36: pop ebx */
   4288     MEM32(FS_BASE + (0)) = ecx; /* 0x2501BD37: mov dword ptr fs:[0], ecx */
   4289     esp = ebp; /* 0x2501BD3E: mov esp, ebp */
   4290     ebp = POP32_VAL(esp); /* 0x2501BD40: pop ebp */
   4291     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501BD41: ret 4 */
   4292     RECOMP_REGS_OUT();
   4293 }
   4294 
   4295 void sub_2501B7BD(void) {
   4296     int _fpu_cmp = 0;
   4297     uint32_t _cf = 0;
   4298     int _df = 1;
   4299     uint32_t _flag_k = FK_NONE;
   4300     uint32_t _flag_a = 0, _flag_b = 0;
   4301     uint32_t _itail_tgt = 0;
   4302     RECOMP_REGS_LOCALS
   4303     RECOMP_ENTER(0x2501B7BDu);
   4304 
   4305 L_2501B7BD:
   4306     SET_LO8(ecx, MEM8(eax + edi + 0x70)); /* 0x2501B7BD: mov cl, byte ptr [eax + edi + 0x70] */
   4307     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7C1: test cl, cl */
   4308     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4309     _cf = 0;
   4310     _flag_k = FK_NARROW(FK_TEST, 24);
   4311     if (TEST_Z(_flag_a, _flag_b)) goto L_2501BCD7; /* 0x2501B7C3: je 0x2501bcd7 */
   4312 L_2501B7C9:
   4313     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2501B7C9: mov cl, byte ptr [ebp - 0xd] */
   4314     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7CC: test cl, cl */
   4315     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4316     _cf = 0;
   4317     _flag_k = FK_NARROW(FK_TEST, 24);
   4318     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B7EE; /* 0x2501B7CE: je 0x2501b7ee */
   4319 L_2501B7D0:
   4320     ecx = eax + edi + 0x18; /* 0x2501B7D0: lea ecx, [eax + edi + 0x18] */
   4321     edx = MEM32(ecx); /* 0x2501B7D4: mov edx, dword ptr [ecx] */
   4322     MEM32(ebp + (-0x2C)) = edx; /* 0x2501B7D6: mov dword ptr [ebp - 0x2c], edx */
   4323     edx = MEM32(ecx + 0x4); /* 0x2501B7D9: mov edx, dword ptr [ecx + 4] */
   4324     ecx = MEM32(ecx + 0x8); /* 0x2501B7DC: mov ecx, dword ptr [ecx + 8] */
   4325     MEM8(ebp + (-0xD)) = (uint8_t)(0); /* 0x2501B7DF: mov byte ptr [ebp - 0xd], 0 */
   4326     MEM32(ebp + (-0x28)) = edx; /* 0x2501B7E3: mov dword ptr [ebp - 0x28], edx */
   4327     MEM32(ebp + (-0x24)) = ecx; /* 0x2501B7E6: mov dword ptr [ebp - 0x24], ecx */
   4328     goto L_2501BCD7; /* 0x2501B7E9: jmp 0x2501bcd7 */
   4329 L_2501B7EE:
   4330     edx = MEM32(ebp + (-0x2C)); /* 0x2501B7EE: mov edx, dword ptr [ebp - 0x2c] */
   4331     ecx = MEM32(ebp + (-0x24)); /* 0x2501B7F1: mov ecx, dword ptr [ebp - 0x24] */
   4332     eax = MEM32(ebp + (-0x28)); /* 0x2501B7F4: mov eax, dword ptr [ebp - 0x28] */
   4333     MEM32(ebp + (-0x120)) = edx; /* 0x2501B7F7: mov dword ptr [ebp - 0x120], edx */
   4334     edx = ebp + (-0x1A0); /* 0x2501B7FD: lea edx, [ebp - 0x1a0] */
   4335     MEM32(ebp + (-0x118)) = ecx; /* 0x2501B803: mov dword ptr [ebp - 0x118], ecx */
   4336     PUSH32(esp, edx); /* 0x2501B809: push edx */
   4337     ecx = ebp + (-0x120); /* 0x2501B80A: lea ecx, [ebp - 0x120] */
   4338     MEM32(ebp + (-0x11C)) = eax; /* 0x2501B810: mov dword ptr [ebp - 0x11c], eax */
   4339     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B816: call dword ptr [0x2515151c] */
   4340     RECOMP_FLAGS_IN();
   4341     ecx = MEM32(eax); /* 0x2501B81C: mov ecx, dword ptr [eax] */
   4342     edx = MEM32(eax + 0x4); /* 0x2501B81E: mov edx, dword ptr [eax + 4] */
   4343     eax = MEM32(eax + 0x8); /* 0x2501B821: mov eax, dword ptr [eax + 8] */
   4344     MEM32(ebp + (-0x44)) = ecx; /* 0x2501B824: mov dword ptr [ebp - 0x44], ecx */
   4345     ecx = MEM32(ebx + 0x278); /* 0x2501B827: mov ecx, dword ptr [ebx + 0x278] */
   4346     MEM32(ebp + (-0x40)) = edx; /* 0x2501B82D: mov dword ptr [ebp - 0x40], edx */
   4347     edx = ecx + edi + 0x18; /* 0x2501B830: lea edx, [ecx + edi + 0x18] */
   4348     MEM32(ebp + (-0x3C)) = eax; /* 0x2501B834: mov dword ptr [ebp - 0x3c], eax */
   4349     eax = MEM32(edx); /* 0x2501B837: mov eax, dword ptr [edx] */
   4350     ecx = MEM32(edx + 0x4); /* 0x2501B839: mov ecx, dword ptr [edx + 4] */
   4351     edx = MEM32(edx + 0x8); /* 0x2501B83C: mov edx, dword ptr [edx + 8] */
   4352     MEM32(ebp + (-0x114)) = eax; /* 0x2501B83F: mov dword ptr [ebp - 0x114], eax */
   4353     eax = ebp + (-0x1A0); /* 0x2501B845: lea eax, [ebp - 0x1a0] */
   4354     MEM32(ebp + (-0x110)) = ecx; /* 0x2501B84B: mov dword ptr [ebp - 0x110], ecx */
   4355     PUSH32(esp, eax); /* 0x2501B851: push eax */
   4356     ecx = ebp + (-0x114); /* 0x2501B852: lea ecx, [ebp - 0x114] */
   4357     MEM32(ebp + (-0x10C)) = edx; /* 0x2501B858: mov dword ptr [ebp - 0x10c], edx */
   4358     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B85E: call dword ptr [0x2515151c] */
   4359     RECOMP_FLAGS_IN();
   4360     ecx = MEM32(eax); /* 0x2501B864: mov ecx, dword ptr [eax] */
   4361     edx = MEM32(eax + 0x4); /* 0x2501B866: mov edx, dword ptr [eax + 4] */
   4362     eax = MEM32(eax + 0x8); /* 0x2501B869: mov eax, dword ptr [eax + 8] */
   4363     MEM32(ebp + (-0x9C)) = ecx; /* 0x2501B86C: mov dword ptr [ebp - 0x9c], ecx */
   4364     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501B872: fld dword ptr [ebp - 0x9c] */
   4365     _st[0] -= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501B878: fsub dword ptr [ebp - 0x44] */
   4366     MEM32(ebp + (-0x98)) = edx; /* 0x2501B87B: mov dword ptr [ebp - 0x98], edx */
   4367     MEM32(ebp + (-0x94)) = eax; /* 0x2501B881: mov dword ptr [ebp - 0x94], eax */
   4368     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501B887: fstp dword ptr [ebp - 0x9c] */
   4369     ecx = MEM32(ebp + (-0x9C)); /* 0x2501B88D: mov ecx, dword ptr [ebp - 0x9c] */
   4370     fp_push(*(float*)&MEM32(ebp + (-0x98))); /* 0x2501B893: fld dword ptr [ebp - 0x98] */
   4371     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B899: mov dword ptr [ebp - 0x1c], ecx */
   4372     _st[0] -= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501B89C: fsub dword ptr [ebp - 0x40] */
   4373     PUSH32(esp, ecx); /* 0x2501B89F: push ecx */
   4374     ecx = ebp + (-0x1C); /* 0x2501B8A0: lea ecx, [ebp - 0x1c] */
   4375     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501B8A3: fstp dword ptr [ebp - 0x98] */
   4376     edx = MEM32(ebp + (-0x98)); /* 0x2501B8A9: mov edx, dword ptr [ebp - 0x98] */
   4377     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501B8AF: fld dword ptr [ebp - 0x94] */
   4378     MEM32(ebp + (-0x18)) = edx; /* 0x2501B8B5: mov dword ptr [ebp - 0x18], edx */
   4379     _st[0] -= (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x2501B8B8: fsub dword ptr [ebp - 0x3c] */
   4380     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x2501B8BB: fstp dword ptr [ebp - 0x94] */
   4381     eax = MEM32(ebp + (-0x94)); /* 0x2501B8C1: mov eax, dword ptr [ebp - 0x94] */
   4382     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501B8C7: fld dword ptr [ebp - 0x18] */
   4383     MEM32(ebp + (-0x14)) = eax; /* 0x2501B8CA: mov dword ptr [ebp - 0x14], eax */
   4384     fp_push(_st[0]); /* 0x2501B8CD: fld st(0) */
   4385     MEM32(ebp + (-0x14)) = 0; /* 0x2501B8CF: mov dword ptr [ebp - 0x14], 0 */
   4386     { double _v = fp_pop(); _st[0] *= _v; } /* 0x2501B8D6: fmulp st(1) */
   4387     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501B8D8: fld dword ptr [ebp - 0x1c] */
   4388     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8DB: fmul dword ptr [ebp - 0x1c] */
   4389     { double _v = fp_pop(); _st[0] += _v; } /* 0x2501B8DE: faddp st(1) */
   4390     _st[0] = sqrt(_st[0]); /* 0x2501B8E0: fsqrt  */
   4391     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501B8E2: fdivr dword ptr [0x251517a4] */
   4392     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2501B8E8: fstp dword ptr [esp] */
   4393     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2501B8EB: call dword ptr [0x25151510] */
   4394     RECOMP_FLAGS_IN();
   4395     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501B8F1: fld dword ptr [ebp - 0x50] */
   4396     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8F4: fmul dword ptr [ebp - 0x1c] */
   4397     edx = MEM32(ebp + (-0x4C)); /* 0x2501B8F7: mov edx, dword ptr [ebp - 0x4c] */
   4398     eax = MEM32(ebp + (-0x48)); /* 0x2501B8FA: mov eax, dword ptr [ebp - 0x48] */
   4399     ecx = MEM32(ebp + (-0x50)); /* 0x2501B8FD: mov ecx, dword ptr [ebp - 0x50] */
   4400     MEM32(ebp + (-0x34)) = edx; /* 0x2501B900: mov dword ptr [ebp - 0x34], edx */
   4401     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501B903: fld dword ptr [ebp - 0x34] */
   4402     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B906: fmul dword ptr [ebp - 0x1c] */
   4403     edx = MEM32(ebp + (-0x58)); /* 0x2501B909: mov edx, dword ptr [ebp - 0x58] */
   4404     MEM32(ebp + (-0x30)) = eax; /* 0x2501B90C: mov dword ptr [ebp - 0x30], eax */
   4405     MEM32(ebp + (-0x38)) = ecx; /* 0x2501B90F: mov dword ptr [ebp - 0x38], ecx */
   4406     ecx = MEM32(ebp + (-0x5C)); /* 0x2501B912: mov ecx, dword ptr [ebp - 0x5c] */
   4407     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501B915: fstp dword ptr [ebp - 0x34] */
   4408     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501B918: fld dword ptr [ebp - 0x30] */
   4409     MEM32(ebp + (-0x80)) = ecx; /* 0x2501B91B: mov dword ptr [ebp - 0x80], ecx */
   4410     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B91E: fmul dword ptr [ebp - 0x1c] */
   4411     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501B921: fstp dword ptr [ebp - 0x30] */
   4412     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501B924: fld dword ptr [ebp - 0x5c] */
   4413     eax = MEM32(ebp + (-0x54)); /* 0x2501B927: mov eax, dword ptr [ebp - 0x54] */
   4414     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B92A: fmul dword ptr [ebp - 0x18] */
   4415     MEM32(ebp + (-0x7C)) = edx; /* 0x2501B92D: mov dword ptr [ebp - 0x7c], edx */
   4416     MEM32(ebp + (-0x78)) = eax; /* 0x2501B930: mov dword ptr [ebp - 0x78], eax */
   4417     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501B933: fstp dword ptr [ebp - 0x80] */
   4418     ecx = MEM32(ebp + (-0x80)); /* 0x2501B936: mov ecx, dword ptr [ebp - 0x80] */
   4419     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501B939: fld dword ptr [ebp - 0x7c] */
   4420     MEM32(ebp + (-0xA8)) = ecx; /* 0x2501B93C: mov dword ptr [ebp - 0xa8], ecx */
   4421     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B942: fmul dword ptr [ebp - 0x18] */
   4422     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501B945: fstp dword ptr [ebp - 0x7c] */
   4423     edx = MEM32(ebp + (-0x7C)); /* 0x2501B948: mov edx, dword ptr [ebp - 0x7c] */
   4424     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501B94B: fld dword ptr [ebp - 0x78] */
   4425     MEM32(ebp + (-0xA4)) = edx; /* 0x2501B94E: mov dword ptr [ebp - 0xa4], edx */
   4426     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B954: fmul dword ptr [ebp - 0x18] */
   4427     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501B957: fstp dword ptr [ebp - 0x78] */
   4428     eax = MEM32(ebp + (-0x78)); /* 0x2501B95A: mov eax, dword ptr [ebp - 0x78] */
   4429     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501B95D: fld dword ptr [ebp - 0x80] */
   4430     MEM32(ebp + (-0xA0)) = eax; /* 0x2501B960: mov dword ptr [ebp - 0xa0], eax */
   4431     _st[0] -= _st[1]; /* 0x2501B966: fsub st(1) */
   4432     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501B968: fstp dword ptr [ebp - 0xa8] */
   4433     ecx = MEM32(ebp + (-0xA8)); /* 0x2501B96E: mov ecx, dword ptr [ebp - 0xa8] */
   4434     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B974: mov dword ptr [ebp - 0x1c], ecx */
   4435     ecx = MEM32(ebx + 0x278); /* 0x2501B977: mov ecx, dword ptr [ebx + 0x278] */
   4436     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B97D: fstp st(0) */
   4437     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501B97F: fld dword ptr [ebp - 0xa4] */
   4438     _st[0] -= (double)*(float*)ADDR(ebp + (-0x34)); /* 0x2501B985: fsub dword ptr [ebp - 0x34] */
   4439     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501B988: fstp dword ptr [ebp - 0xa4] */
   4440     edx = MEM32(ebp + (-0xA4)); /* 0x2501B98E: mov edx, dword ptr [ebp - 0xa4] */
   4441     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501B994: fld dword ptr [ebp - 0xa0] */
   4442     MEM32(ebp + (-0x18)) = edx; /* 0x2501B99A: mov dword ptr [ebp - 0x18], edx */
   4443     _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501B99D: fsub dword ptr [ebp - 0x30] */
   4444     edx = MEM32(0x251C2748); /* 0x2501B9A0: mov edx, dword ptr [0x251c2748] */
   4445     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501B9A6: fstp dword ptr [ebp - 0xa0] */
   4446     eax = MEM32(ebp + (-0xA0)); /* 0x2501B9AC: mov eax, dword ptr [ebp - 0xa0] */
   4447     MEM32(ebp + (-0x14)) = eax; /* 0x2501B9B2: mov dword ptr [ebp - 0x14], eax */
   4448     fp_push(*(float*)&MEM32(ecx + edi + 0x30)); /* 0x2501B9B5: fld dword ptr [ecx + edi + 0x30] */
   4449     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501B9B9: fld dword ptr [ebp - 0xa8] */
   4450     eax = MEM32(ebp + (-0xC4)); /* 0x2501B9BF: mov eax, dword ptr [ebp - 0xc4] */
   4451     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9C5: mov ecx, dword ptr [ebp - 0x20] */
   4452     _st[0] *= _st[1]; /* 0x2501B9C8: fmul st(1) */
   4453     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501B9CA: fstp dword ptr [ebp - 0x1c] */
   4454     fp_push(_st[0]); /* 0x2501B9CD: fld st(0) */
   4455     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B9CF: fmul dword ptr [ebp - 0x18] */
   4456     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501B9D2: fstp dword ptr [ebp - 0x18] */
   4457     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501B9D5: fmul dword ptr [ebp - 0x14] */
   4458     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501B9D8: fstp dword ptr [ebp - 0x14] */
   4459     MEM16(eax + edx + (-0x4)) = (uint16_t)(LO16(ecx)); /* 0x2501B9DB: mov word ptr [eax + edx - 4], cx */
   4460     edx = MEM32(0x251C2748); /* 0x2501B9E0: mov edx, dword ptr [0x251c2748] */
   4461     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501B9E6: fld dword ptr [ebp - 0x2c] */
   4462     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4463     ecx = ecx + 1; /* 0x2501B9E9: inc ecx */
   4464     _flag_k = FK_INC;
   4465     _st[0] -= (double)*(float*)ADDR(ebp + (-0x74)); /* 0x2501B9EA: fsub dword ptr [ebp - 0x74] */
   4466     MEM16(eax + edx + (-0x2)) = (uint16_t)(LO16(ecx)); /* 0x2501B9ED: mov word ptr [eax + edx - 2], cx */
   4467     edx = MEM32(0x251C2748); /* 0x2501B9F2: mov edx, dword ptr [0x251c2748] */
   4468     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9F8: mov ecx, dword ptr [ebp - 0x20] */
   4469     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4470     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4471     ecx = ecx + 2; /* 0x2501B9FB: add ecx, 2 */
   4472     _flag_k = FK_ADD;
   4473     MEM16(eax + edx) = (uint16_t)(LO16(ecx)); /* 0x2501B9FE: mov word ptr [eax + edx], cx */
   4474     edx = MEM32(0x251C2748); /* 0x2501BA02: mov edx, dword ptr [0x251c2748] */
   4475     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA08: mov ecx, dword ptr [ebp - 0x20] */
   4476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4477     ecx = ecx + 1; /* 0x2501BA0B: inc ecx */
   4478     _flag_k = FK_INC;
   4479     MEM16(eax + edx + 0x2) = (uint16_t)(LO16(ecx)); /* 0x2501BA0C: mov word ptr [eax + edx + 2], cx */
   4480     edx = MEM32(0x251C2748); /* 0x2501BA11: mov edx, dword ptr [0x251c2748] */
   4481     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA17: mov ecx, dword ptr [ebp - 0x20] */
   4482     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4483     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4484     ecx = ecx + 2; /* 0x2501BA1A: add ecx, 2 */
   4485     _flag_k = FK_ADD;
   4486     MEM16(eax + edx + 0x4) = (uint16_t)(LO16(ecx)); /* 0x2501BA1D: mov word ptr [eax + edx + 4], cx */
   4487     edx = MEM32(ebp + (-0x20)); /* 0x2501BA22: mov edx, dword ptr [ebp - 0x20] */
   4488     ecx = MEM32(0x251C2748); /* 0x2501BA25: mov ecx, dword ptr [0x251c2748] */
   4489     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3);
   4490     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4491     edx = edx + 3; /* 0x2501BA2B: add edx, 3 */
   4492     _flag_k = FK_ADD;
   4493     MEM16(eax + ecx + 0x6) = (uint16_t)(LO16(edx)); /* 0x2501BA2E: mov word ptr [eax + ecx + 6], dx */
   4494     edx = MEM32(ebp + (-0x90)); /* 0x2501BA33: mov edx, dword ptr [ebp - 0x90] */
   4495     ecx = MEM32(ebp + (-0x2C)); /* 0x2501BA39: mov ecx, dword ptr [ebp - 0x2c] */
   4496     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   4497     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4498     edx = edx + 6; /* 0x2501BA3C: add edx, 6 */
   4499     _flag_k = FK_ADD;
   4500     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   4501     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4502     eax = eax + 0xCu; /* 0x2501BA3F: add eax, 0xc */
   4503     _flag_k = FK_ADD;
   4504     MEM32(ebp + (-0x90)) = edx; /* 0x2501BA42: mov dword ptr [ebp - 0x90], edx */
   4505     edx = MEM32(ebp + (-0x28)); /* 0x2501BA48: mov edx, dword ptr [ebp - 0x28] */
   4506     MEM32(ebp + (-0xC4)) = eax; /* 0x2501BA4B: mov dword ptr [ebp - 0xc4], eax */
   4507     eax = MEM32(ebp + (-0x24)); /* 0x2501BA51: mov eax, dword ptr [ebp - 0x24] */
   4508     MEM32(ebp + (-0xB4)) = ecx; /* 0x2501BA54: mov dword ptr [ebp - 0xb4], ecx */
   4509     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501BA5A: fstp dword ptr [ebp - 0xb4] */
   4510     MEM32(ebp + (-0xB0)) = edx; /* 0x2501BA60: mov dword ptr [ebp - 0xb0], edx */
   4511     MEM32(ebp + (-0xAC)) = eax; /* 0x2501BA66: mov dword ptr [ebp - 0xac], eax */
   4512     edx = MEM32(0x251C2744); /* 0x2501BA6C: mov edx, dword ptr [0x251c2744] */
   4513     fp_push(*(float*)&MEM32(ebp + (-0xB0))); /* 0x2501BA72: fld dword ptr [ebp - 0xb0] */
   4514     _st[0] -= (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BA78: fsub dword ptr [ebp - 0x70] */
   4515     eax = esi + edx; /* 0x2501BA7B: lea eax, [esi + edx] */
   4516     edx = MEM32(ebp + (-0xB4)); /* 0x2501BA7E: mov edx, dword ptr [ebp - 0xb4] */
   4517     MEM32(eax) = edx; /* 0x2501BA84: mov dword ptr [eax], edx */
   4518     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501BA86: fstp dword ptr [ebp - 0xb0] */
   4519     edx = MEM32(ebp + (-0xB0)); /* 0x2501BA8C: mov edx, dword ptr [ebp - 0xb0] */
   4520     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501BA92: fld dword ptr [ebp - 0xac] */
   4521     MEM32(eax + 0x4) = edx; /* 0x2501BA98: mov dword ptr [eax + 4], edx */
   4522     _st[0] -= (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BA9B: fsub dword ptr [ebp - 0x6c] */
   4523     MEM32(ebp + (-0xC0)) = ecx; /* 0x2501BA9E: mov dword ptr [ebp - 0xc0], ecx */
   4524     ecx = MEM32(ebp + (-0x28)); /* 0x2501BAA4: mov ecx, dword ptr [ebp - 0x28] */
   4525     MEM32(ebp + (-0xBC)) = ecx; /* 0x2501BAA7: mov dword ptr [ebp - 0xbc], ecx */
   4526     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501BAAD: fstp dword ptr [ebp - 0xac] */
   4527     edx = MEM32(ebp + (-0xAC)); /* 0x2501BAB3: mov edx, dword ptr [ebp - 0xac] */
   4528     MEM32(eax + 0x8) = edx; /* 0x2501BAB9: mov dword ptr [eax + 8], edx */
   4529     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501BABC: fld dword ptr [ebp - 0x74] */
   4530     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501BABF: fadd dword ptr [ebp - 0x2c] */
   4531     eax = MEM32(ebx + 0x278); /* 0x2501BAC2: mov eax, dword ptr [ebx + 0x278] */
   4532     edx = MEM32(eax + edi + 0x44); /* 0x2501BAC8: mov edx, dword ptr [eax + edi + 0x44] */
   4533     eax = MEM32(0x251C2744); /* 0x2501BACC: mov eax, dword ptr [0x251c2744] */
   4534     MEM32(esi + eax + 0xC) = edx; /* 0x2501BAD1: mov dword ptr [esi + eax + 0xc], edx */
   4535     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC0)) = _v; } /* 0x2501BAD5: fstp dword ptr [ebp - 0xc0] */
   4536     edx = MEM32(0x251C2744); /* 0x2501BADB: mov edx, dword ptr [0x251c2744] */
   4537     fp_push(*(float*)&MEM32(ebp + (-0xBC))); /* 0x2501BAE1: fld dword ptr [ebp - 0xbc] */
   4538     _st[0] += (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BAE7: fadd dword ptr [ebp - 0x70] */
   4539     MEM32(esi + edx + 0x10) = 0; /* 0x2501BAEA: mov dword ptr [esi + edx + 0x10], 0 */
   4540     eax = MEM32(0x251C2744); /* 0x2501BAF2: mov eax, dword ptr [0x251c2744] */
   4541     edx = MEM32(ebp + (-0x24)); /* 0x2501BAF7: mov edx, dword ptr [ebp - 0x24] */
   4542     MEM32(esi + eax + 0x14) = 0x3E800000u; /* 0x2501BAFA: mov dword ptr [esi + eax + 0x14], 0x3e800000 */
   4543     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501BB02: fstp dword ptr [ebp - 0xbc] */
   4544     ecx = MEM32(0x251C2744); /* 0x2501BB08: mov ecx, dword ptr [0x251c2744] */
   4545     MEM32(ebp + (-0xB8)) = edx; /* 0x2501BB0E: mov dword ptr [ebp - 0xb8], edx */
   4546     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501BB14: fld dword ptr [ebp - 0xb8] */
   4547     _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BB1A: fadd dword ptr [ebp - 0x6c] */
   4548     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4549     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4550     esi = esi + 0x18u; /* 0x2501BB1D: add esi, 0x18 */
   4551     _flag_k = FK_ADD;
   4552     edx = esi + ecx; /* 0x2501BB20: lea edx, [esi + ecx] */
   4553     ecx = MEM32(ebp + (-0xC0)); /* 0x2501BB23: mov ecx, dword ptr [ebp - 0xc0] */
   4554     MEM32(edx) = ecx; /* 0x2501BB29: mov dword ptr [edx], ecx */
   4555     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501BB2B: fstp dword ptr [ebp - 0xb8] */
   4556     ecx = MEM32(ebp + (-0xBC)); /* 0x2501BB31: mov ecx, dword ptr [ebp - 0xbc] */
   4557     MEM32(edx + 0x4) = ecx; /* 0x2501BB37: mov dword ptr [edx + 4], ecx */
   4558     ecx = MEM32(ebp + (-0xB8)); /* 0x2501BB3A: mov ecx, dword ptr [ebp - 0xb8] */
   4559     MEM32(edx + 0x8) = ecx; /* 0x2501BB40: mov dword ptr [edx + 8], ecx */
   4560     edx = MEM32(ebx + 0x278); /* 0x2501BB43: mov edx, dword ptr [ebx + 0x278] */
   4561     ecx = MEM32(edx + edi + 0x44); /* 0x2501BB49: mov ecx, dword ptr [edx + edi + 0x44] */
   4562     edx = MEM32(0x251C2744); /* 0x2501BB4D: mov edx, dword ptr [0x251c2744] */
   4563     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BB53: mov dword ptr [esi + edx + 0xc], ecx */
   4564     ecx = MEM32(0x251C2744); /* 0x2501BB57: mov ecx, dword ptr [0x251c2744] */
   4565     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BB5D: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   4566     edx = MEM32(0x251C2744); /* 0x2501BB65: mov edx, dword ptr [0x251c2744] */
   4567     eax = MEM32(ebp + (-0x20)); /* 0x2501BB6B: mov eax, dword ptr [ebp - 0x20] */
   4568     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BB6E: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4569     ecx = MEM32(ebx + 0x278); /* 0x2501BB76: mov ecx, dword ptr [ebx + 0x278] */
   4570     edx = ecx + edi + 0x18; /* 0x2501BB7C: lea edx, [ecx + edi + 0x18] */
   4571     ecx = MEM32(edx); /* 0x2501BB80: mov ecx, dword ptr [edx] */
   4572     MEM32(ebp + (-0x8C)) = ecx; /* 0x2501BB82: mov dword ptr [ebp - 0x8c], ecx */
   4573     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501BB88: fld dword ptr [ebp - 0x8c] */
   4574     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BB8E: fsub dword ptr [ebp - 0x1c] */
   4575     ecx = MEM32(edx + 0x4); /* 0x2501BB91: mov ecx, dword ptr [edx + 4] */
   4576     edx = MEM32(edx + 0x8); /* 0x2501BB94: mov edx, dword ptr [edx + 8] */
   4577     MEM32(ebp + (-0x88)) = ecx; /* 0x2501BB97: mov dword ptr [ebp - 0x88], ecx */
   4578     ecx = MEM32(0x251C2744); /* 0x2501BB9D: mov ecx, dword ptr [0x251c2744] */
   4579     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501BBA3: fstp dword ptr [ebp - 0x8c] */
   4580     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501BBA9: fld dword ptr [ebp - 0x88] */
   4581     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4582     eax = eax + 1; /* 0x2501BBAF: inc eax */
   4583     _flag_k = FK_INC;
   4584     _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BBB0: fsub dword ptr [ebp - 0x18] */
   4585     MEM32(ebp + (-0x84)) = edx; /* 0x2501BBB3: mov dword ptr [ebp - 0x84], edx */
   4586     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4587     eax = eax + 1; /* 0x2501BBB9: inc eax */
   4588     _flag_k = FK_INC;
   4589     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4590     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4591     esi = esi + 0x18u; /* 0x2501BBBA: add esi, 0x18 */
   4592     _flag_k = FK_ADD;
   4593     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501BBBD: fstp dword ptr [ebp - 0x88] */
   4594     edx = esi + ecx; /* 0x2501BBC3: lea edx, [esi + ecx] */
   4595     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501BBC6: fld dword ptr [ebp - 0x84] */
   4596     ecx = MEM32(ebp + (-0x8C)); /* 0x2501BBCC: mov ecx, dword ptr [ebp - 0x8c] */
   4597     _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BBD2: fsub dword ptr [ebp - 0x14] */
   4598     MEM32(edx) = ecx; /* 0x2501BBD5: mov dword ptr [edx], ecx */
   4599     ecx = MEM32(ebp + (-0x88)); /* 0x2501BBD7: mov ecx, dword ptr [ebp - 0x88] */
   4600     MEM32(edx + 0x4) = ecx; /* 0x2501BBDD: mov dword ptr [edx + 4], ecx */
   4601     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501BBE0: fstp dword ptr [ebp - 0x84] */
   4602     ecx = MEM32(ebp + (-0x84)); /* 0x2501BBE6: mov ecx, dword ptr [ebp - 0x84] */
   4603     MEM32(edx + 0x8) = ecx; /* 0x2501BBEC: mov dword ptr [edx + 8], ecx */
   4604     edx = MEM32(ebx + 0x278); /* 0x2501BBEF: mov edx, dword ptr [ebx + 0x278] */
   4605     ecx = MEM32(edx + edi + 0x44); /* 0x2501BBF5: mov ecx, dword ptr [edx + edi + 0x44] */
   4606     edx = MEM32(0x251C2744); /* 0x2501BBF9: mov edx, dword ptr [0x251c2744] */
   4607     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BBFF: mov dword ptr [esi + edx + 0xc], ecx */
   4608     ecx = MEM32(0x251C2744); /* 0x2501BC03: mov ecx, dword ptr [0x251c2744] */
   4609     MEM32(esi + ecx + 0x10) = 0; /* 0x2501BC09: mov dword ptr [esi + ecx + 0x10], 0 */
   4610     edx = MEM32(0x251C2744); /* 0x2501BC11: mov edx, dword ptr [0x251c2744] */
   4611     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC17: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4612     ecx = MEM32(ebx + 0x278); /* 0x2501BC1F: mov ecx, dword ptr [ebx + 0x278] */
   4613     edx = ecx + edi + 0x18; /* 0x2501BC25: lea edx, [ecx + edi + 0x18] */
   4614     ecx = MEM32(edx); /* 0x2501BC29: mov ecx, dword ptr [edx] */
   4615     MEM32(ebp + (-0x68)) = ecx; /* 0x2501BC2B: mov dword ptr [ebp - 0x68], ecx */
   4616     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501BC2E: fld dword ptr [ebp - 0x68] */
   4617     ecx = MEM32(edx + 0x4); /* 0x2501BC31: mov ecx, dword ptr [edx + 4] */
   4618     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BC34: fadd dword ptr [ebp - 0x1c] */
   4619     edx = MEM32(edx + 0x8); /* 0x2501BC37: mov edx, dword ptr [edx + 8] */
   4620     MEM32(ebp + (-0x64)) = ecx; /* 0x2501BC3A: mov dword ptr [ebp - 0x64], ecx */
   4621     ecx = MEM32(0x251C2744); /* 0x2501BC3D: mov ecx, dword ptr [0x251c2744] */
   4622     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501BC43: fstp dword ptr [ebp - 0x68] */
   4623     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501BC46: fld dword ptr [ebp - 0x64] */
   4624     MEM32(ebp + (-0x60)) = edx; /* 0x2501BC49: mov dword ptr [ebp - 0x60], edx */
   4625     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BC4C: fadd dword ptr [ebp - 0x18] */
   4626     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4627     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4628     esi = esi + 0x18u; /* 0x2501BC4F: add esi, 0x18 */
   4629     _flag_k = FK_ADD;
   4630     edx = esi + ecx; /* 0x2501BC52: lea edx, [esi + ecx] */
   4631     ecx = MEM32(ebp + (-0x68)); /* 0x2501BC55: mov ecx, dword ptr [ebp - 0x68] */
   4632     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501BC58: fstp dword ptr [ebp - 0x64] */
   4633     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4634     eax = eax + 1; /* 0x2501BC5B: inc eax */
   4635     _flag_k = FK_INC;
   4636     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501BC5C: fld dword ptr [ebp - 0x60] */
   4637     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4638     eax = eax + 1; /* 0x2501BC5F: inc eax */
   4639     _flag_k = FK_INC;
   4640     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BC60: fadd dword ptr [ebp - 0x14] */
   4641     MEM32(edx) = ecx; /* 0x2501BC63: mov dword ptr [edx], ecx */
   4642     ecx = MEM32(ebp + (-0x64)); /* 0x2501BC65: mov ecx, dword ptr [ebp - 0x64] */
   4643     MEM32(edx + 0x4) = ecx; /* 0x2501BC68: mov dword ptr [edx + 4], ecx */
   4644     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501BC6B: fstp dword ptr [ebp - 0x60] */
   4645     ecx = MEM32(ebp + (-0x60)); /* 0x2501BC6E: mov ecx, dword ptr [ebp - 0x60] */
   4646     MEM32(edx + 0x8) = ecx; /* 0x2501BC71: mov dword ptr [edx + 8], ecx */
   4647     edx = MEM32(ebx + 0x278); /* 0x2501BC74: mov edx, dword ptr [ebx + 0x278] */
   4648     ecx = MEM32(edx + edi + 0x44); /* 0x2501BC7A: mov ecx, dword ptr [edx + edi + 0x44] */
   4649     edx = MEM32(0x251C2744); /* 0x2501BC7E: mov edx, dword ptr [0x251c2744] */
   4650     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BC84: mov dword ptr [esi + edx + 0xc], ecx */
   4651     ecx = MEM32(0x251C2744); /* 0x2501BC88: mov ecx, dword ptr [0x251c2744] */
   4652     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BC8E: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   4653     edx = MEM32(0x251C2744); /* 0x2501BC96: mov edx, dword ptr [0x251c2744] */
   4654     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC9C: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   4655     MEM32(ebp + (-0x20)) = eax; /* 0x2501BCA4: mov dword ptr [ebp - 0x20], eax */
   4656     eax = MEM32(ebx + 0x278); /* 0x2501BCA7: mov eax, dword ptr [ebx + 0x278] */
   4657     ecx = eax + edi + 0x18; /* 0x2501BCAD: lea ecx, [eax + edi + 0x18] */
   4658     edx = MEM32(ecx); /* 0x2501BCB1: mov edx, dword ptr [ecx] */
   4659     MEM32(ebp + (-0x2C)) = edx; /* 0x2501BCB3: mov dword ptr [ebp - 0x2c], edx */
   4660     edx = MEM32(ecx + 0x4); /* 0x2501BCB6: mov edx, dword ptr [ecx + 4] */
   4661     ecx = MEM32(ecx + 0x8); /* 0x2501BCB9: mov ecx, dword ptr [ecx + 8] */
   4662     MEM32(ebp + (-0x28)) = edx; /* 0x2501BCBC: mov dword ptr [ebp - 0x28], edx */
   4663     edx = MEM32(ebp + (-0x1C)); /* 0x2501BCBF: mov edx, dword ptr [ebp - 0x1c] */
   4664     MEM32(ebp + (-0x24)) = ecx; /* 0x2501BCC2: mov dword ptr [ebp - 0x24], ecx */
   4665     ecx = MEM32(ebp + (-0x18)); /* 0x2501BCC5: mov ecx, dword ptr [ebp - 0x18] */
   4666     MEM32(ebp + (-0x74)) = edx; /* 0x2501BCC8: mov dword ptr [ebp - 0x74], edx */
   4667     edx = MEM32(ebp + (-0x14)); /* 0x2501BCCB: mov edx, dword ptr [ebp - 0x14] */
   4668     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4669     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4670     esi = esi + 0x18u; /* 0x2501BCCE: add esi, 0x18 */
   4671     _flag_k = FK_ADD;
   4672     MEM32(ebp + (-0x70)) = ecx; /* 0x2501BCD1: mov dword ptr [ebp - 0x70], ecx */
   4673     MEM32(ebp + (-0x6C)) = edx; /* 0x2501BCD4: mov dword ptr [ebp - 0x6c], edx */
   4674 L_2501BCD7:
   4675     ecx = MEM32(ebp + (-0xC8)); /* 0x2501BCD7: mov ecx, dword ptr [ebp - 0xc8] */
   4676     edx = MEM32(ebx + 0x274); /* 0x2501BCDD: mov edx, dword ptr [ebx + 0x274] */
   4677     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4678     ecx = ecx + 1; /* 0x2501BCE3: inc ecx */
   4679     _flag_k = FK_INC;
   4680     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x74u);
   4681     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4682     edi = edi + 0x74u; /* 0x2501BCE4: add edi, 0x74 */
   4683     _flag_k = FK_ADD;
   4684     /* cmp ecx, edx */ /* 0x2501BCE7: cmp ecx, edx */
   4685     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4686     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4687     _flag_k = FK_CMP;
   4688     MEM32(ebp + (-0xC8)) = ecx; /* 0x2501BCE9: mov dword ptr [ebp - 0xc8], ecx */
   4689     RECOMP_BACKEDGE();
   4690     if (CMP_L(_flag_a, _flag_b)) goto L_2501B7BD; /* 0x2501BCEF: jl 0x2501b7bd */
   4691 L_2501BCF5:
   4692     eax = MEM32(ebp + (-0x90)); /* 0x2501BCF5: mov eax, dword ptr [ebp - 0x90] */
   4693     ecx = MEM32(0x251C2748); /* 0x2501BCFB: mov ecx, dword ptr [0x251c2748] */
   4694     edx = MEM32(ebp + (-0x20)); /* 0x2501BD01: mov edx, dword ptr [ebp - 0x20] */
   4695     PUSH32(esp, 0); /* 0x2501BD04: push 0 */
   4696     PUSH32(esp, eax); /* 0x2501BD06: push eax */
   4697     eax = MEM32(0x251C2744); /* 0x2501BD07: mov eax, dword ptr [0x251c2744] */
   4698     PUSH32(esp, ecx); /* 0x2501BD0C: push ecx */
   4699     ecx = MEM32(0x25238B58); /* 0x2501BD0D: mov ecx, dword ptr [0x25238b58] */
   4700     PUSH32(esp, edx); /* 0x2501BD13: push edx */
   4701     PUSH32(esp, eax); /* 0x2501BD14: push eax */
   4702     PUSH32(esp, 0x142u); /* 0x2501BD15: push 0x142 */
   4703     RECOMP_ICALL(0x250E7010u); /* 0x2501BD1A: call 0x250e7010 */ /* not lifted */
   4704     RECOMP_FLAGS_IN();
   4705     esi = MEM32(ebp + 0x8); /* 0x2501BD1F: mov esi, dword ptr [ebp + 8] */
   4706     edx = MEM32(ebx); /* 0x2501BD22: mov edx, dword ptr [ebx] */
   4707     PUSH32(esp, esi); /* 0x2501BD24: push esi */
   4708     ecx = ebx; /* 0x2501BD25: mov ecx, ebx */
   4709     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x2501BD27: call dword ptr [edx + 0x44] */
   4710     RECOMP_FLAGS_IN();
   4711     ecx = esi; /* 0x2501BD2A: mov ecx, esi */
   4712     RECOMP_ICALL(0x250E0360u); /* 0x2501BD2C: call 0x250e0360 */ /* not lifted */
   4713     RECOMP_FLAGS_IN();
   4714     esi = POP32_VAL(esp); /* 0x2501BD31: pop esi */
   4715     ecx = MEM32(ebp + (-0xC)); /* 0x2501BD32: mov ecx, dword ptr [ebp - 0xc] */
   4716     edi = POP32_VAL(esp); /* 0x2501BD35: pop edi */
   4717     ebx = POP32_VAL(esp); /* 0x2501BD36: pop ebx */
   4718     MEM32(FS_BASE + (0)) = ecx; /* 0x2501BD37: mov dword ptr fs:[0], ecx */
   4719     esp = ebp; /* 0x2501BD3E: mov esp, ebp */
   4720     ebp = POP32_VAL(esp); /* 0x2501BD40: pop ebp */
   4721     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501BD41: ret 4 */
   4722     RECOMP_REGS_OUT();
   4723 }
   4724 
   4725 void sub_2501BCD7(void) {
   4726     int _fpu_cmp = 0;
   4727     uint32_t _cf = 0;
   4728     int _df = 1;
   4729     uint32_t _flag_k = FK_NONE;
   4730     uint32_t _flag_a = 0, _flag_b = 0;
   4731     uint32_t _itail_tgt = 0;
   4732     RECOMP_REGS_LOCALS
   4733     RECOMP_ENTER(0x2501BCD7u);
   4734 
   4735     goto L_2501BCD7;
   4736 L_2501B7BD:
   4737     SET_LO8(ecx, MEM8(eax + edi + 0x70)); /* 0x2501B7BD: mov cl, byte ptr [eax + edi + 0x70] */
   4738     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7C1: test cl, cl */
   4739     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4740     _cf = 0;
   4741     _flag_k = FK_NARROW(FK_TEST, 24);
   4742     if (TEST_Z(_flag_a, _flag_b)) goto L_2501BCD7; /* 0x2501B7C3: je 0x2501bcd7 */
   4743 L_2501B7C9:
   4744     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2501B7C9: mov cl, byte ptr [ebp - 0xd] */
   4745     /* test LO8(ecx), LO8(ecx) */ /* 0x2501B7CC: test cl, cl */
   4746     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4747     _cf = 0;
   4748     _flag_k = FK_NARROW(FK_TEST, 24);
   4749     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B7EE; /* 0x2501B7CE: je 0x2501b7ee */
   4750 L_2501B7D0:
   4751     ecx = eax + edi + 0x18; /* 0x2501B7D0: lea ecx, [eax + edi + 0x18] */
   4752     edx = MEM32(ecx); /* 0x2501B7D4: mov edx, dword ptr [ecx] */
   4753     MEM32(ebp + (-0x2C)) = edx; /* 0x2501B7D6: mov dword ptr [ebp - 0x2c], edx */
   4754     edx = MEM32(ecx + 0x4); /* 0x2501B7D9: mov edx, dword ptr [ecx + 4] */
   4755     ecx = MEM32(ecx + 0x8); /* 0x2501B7DC: mov ecx, dword ptr [ecx + 8] */
   4756     MEM8(ebp + (-0xD)) = (uint8_t)(0); /* 0x2501B7DF: mov byte ptr [ebp - 0xd], 0 */
   4757     MEM32(ebp + (-0x28)) = edx; /* 0x2501B7E3: mov dword ptr [ebp - 0x28], edx */
   4758     MEM32(ebp + (-0x24)) = ecx; /* 0x2501B7E6: mov dword ptr [ebp - 0x24], ecx */
   4759     goto L_2501BCD7; /* 0x2501B7E9: jmp 0x2501bcd7 */
   4760 L_2501B7EE:
   4761     edx = MEM32(ebp + (-0x2C)); /* 0x2501B7EE: mov edx, dword ptr [ebp - 0x2c] */
   4762     ecx = MEM32(ebp + (-0x24)); /* 0x2501B7F1: mov ecx, dword ptr [ebp - 0x24] */
   4763     eax = MEM32(ebp + (-0x28)); /* 0x2501B7F4: mov eax, dword ptr [ebp - 0x28] */
   4764     MEM32(ebp + (-0x120)) = edx; /* 0x2501B7F7: mov dword ptr [ebp - 0x120], edx */
   4765     edx = ebp + (-0x1A0); /* 0x2501B7FD: lea edx, [ebp - 0x1a0] */
   4766     MEM32(ebp + (-0x118)) = ecx; /* 0x2501B803: mov dword ptr [ebp - 0x118], ecx */
   4767     PUSH32(esp, edx); /* 0x2501B809: push edx */
   4768     ecx = ebp + (-0x120); /* 0x2501B80A: lea ecx, [ebp - 0x120] */
   4769     MEM32(ebp + (-0x11C)) = eax; /* 0x2501B810: mov dword ptr [ebp - 0x11c], eax */
   4770     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B816: call dword ptr [0x2515151c] */
   4771     RECOMP_FLAGS_IN();
   4772     ecx = MEM32(eax); /* 0x2501B81C: mov ecx, dword ptr [eax] */
   4773     edx = MEM32(eax + 0x4); /* 0x2501B81E: mov edx, dword ptr [eax + 4] */
   4774     eax = MEM32(eax + 0x8); /* 0x2501B821: mov eax, dword ptr [eax + 8] */
   4775     MEM32(ebp + (-0x44)) = ecx; /* 0x2501B824: mov dword ptr [ebp - 0x44], ecx */
   4776     ecx = MEM32(ebx + 0x278); /* 0x2501B827: mov ecx, dword ptr [ebx + 0x278] */
   4777     MEM32(ebp + (-0x40)) = edx; /* 0x2501B82D: mov dword ptr [ebp - 0x40], edx */
   4778     edx = ecx + edi + 0x18; /* 0x2501B830: lea edx, [ecx + edi + 0x18] */
   4779     MEM32(ebp + (-0x3C)) = eax; /* 0x2501B834: mov dword ptr [ebp - 0x3c], eax */
   4780     eax = MEM32(edx); /* 0x2501B837: mov eax, dword ptr [edx] */
   4781     ecx = MEM32(edx + 0x4); /* 0x2501B839: mov ecx, dword ptr [edx + 4] */
   4782     edx = MEM32(edx + 0x8); /* 0x2501B83C: mov edx, dword ptr [edx + 8] */
   4783     MEM32(ebp + (-0x114)) = eax; /* 0x2501B83F: mov dword ptr [ebp - 0x114], eax */
   4784     eax = ebp + (-0x1A0); /* 0x2501B845: lea eax, [ebp - 0x1a0] */
   4785     MEM32(ebp + (-0x110)) = ecx; /* 0x2501B84B: mov dword ptr [ebp - 0x110], ecx */
   4786     PUSH32(esp, eax); /* 0x2501B851: push eax */
   4787     ecx = ebp + (-0x114); /* 0x2501B852: lea ecx, [ebp - 0x114] */
   4788     MEM32(ebp + (-0x10C)) = edx; /* 0x2501B858: mov dword ptr [ebp - 0x10c], edx */
   4789     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501B85E: call dword ptr [0x2515151c] */
   4790     RECOMP_FLAGS_IN();
   4791     ecx = MEM32(eax); /* 0x2501B864: mov ecx, dword ptr [eax] */
   4792     edx = MEM32(eax + 0x4); /* 0x2501B866: mov edx, dword ptr [eax + 4] */
   4793     eax = MEM32(eax + 0x8); /* 0x2501B869: mov eax, dword ptr [eax + 8] */
   4794     MEM32(ebp + (-0x9C)) = ecx; /* 0x2501B86C: mov dword ptr [ebp - 0x9c], ecx */
   4795     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501B872: fld dword ptr [ebp - 0x9c] */
   4796     _st[0] -= (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501B878: fsub dword ptr [ebp - 0x44] */
   4797     MEM32(ebp + (-0x98)) = edx; /* 0x2501B87B: mov dword ptr [ebp - 0x98], edx */
   4798     MEM32(ebp + (-0x94)) = eax; /* 0x2501B881: mov dword ptr [ebp - 0x94], eax */
   4799     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501B887: fstp dword ptr [ebp - 0x9c] */
   4800     ecx = MEM32(ebp + (-0x9C)); /* 0x2501B88D: mov ecx, dword ptr [ebp - 0x9c] */
   4801     fp_push(*(float*)&MEM32(ebp + (-0x98))); /* 0x2501B893: fld dword ptr [ebp - 0x98] */
   4802     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B899: mov dword ptr [ebp - 0x1c], ecx */
   4803     _st[0] -= (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501B89C: fsub dword ptr [ebp - 0x40] */
   4804     PUSH32(esp, ecx); /* 0x2501B89F: push ecx */
   4805     ecx = ebp + (-0x1C); /* 0x2501B8A0: lea ecx, [ebp - 0x1c] */
   4806     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501B8A3: fstp dword ptr [ebp - 0x98] */
   4807     edx = MEM32(ebp + (-0x98)); /* 0x2501B8A9: mov edx, dword ptr [ebp - 0x98] */
   4808     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501B8AF: fld dword ptr [ebp - 0x94] */
   4809     MEM32(ebp + (-0x18)) = edx; /* 0x2501B8B5: mov dword ptr [ebp - 0x18], edx */
   4810     _st[0] -= (double)*(float*)ADDR(ebp + (-0x3C)); /* 0x2501B8B8: fsub dword ptr [ebp - 0x3c] */
   4811     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x2501B8BB: fstp dword ptr [ebp - 0x94] */
   4812     eax = MEM32(ebp + (-0x94)); /* 0x2501B8C1: mov eax, dword ptr [ebp - 0x94] */
   4813     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501B8C7: fld dword ptr [ebp - 0x18] */
   4814     MEM32(ebp + (-0x14)) = eax; /* 0x2501B8CA: mov dword ptr [ebp - 0x14], eax */
   4815     fp_push(_st[0]); /* 0x2501B8CD: fld st(0) */
   4816     MEM32(ebp + (-0x14)) = 0; /* 0x2501B8CF: mov dword ptr [ebp - 0x14], 0 */
   4817     { double _v = fp_pop(); _st[0] *= _v; } /* 0x2501B8D6: fmulp st(1) */
   4818     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501B8D8: fld dword ptr [ebp - 0x1c] */
   4819     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8DB: fmul dword ptr [ebp - 0x1c] */
   4820     { double _v = fp_pop(); _st[0] += _v; } /* 0x2501B8DE: faddp st(1) */
   4821     _st[0] = sqrt(_st[0]); /* 0x2501B8E0: fsqrt  */
   4822     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501B8E2: fdivr dword ptr [0x251517a4] */
   4823     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2501B8E8: fstp dword ptr [esp] */
   4824     RECOMP_ICALL(MEM32(0x25151510)); /* 0x2501B8EB: call dword ptr [0x25151510] */
   4825     RECOMP_FLAGS_IN();
   4826     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501B8F1: fld dword ptr [ebp - 0x50] */
   4827     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B8F4: fmul dword ptr [ebp - 0x1c] */
   4828     edx = MEM32(ebp + (-0x4C)); /* 0x2501B8F7: mov edx, dword ptr [ebp - 0x4c] */
   4829     eax = MEM32(ebp + (-0x48)); /* 0x2501B8FA: mov eax, dword ptr [ebp - 0x48] */
   4830     ecx = MEM32(ebp + (-0x50)); /* 0x2501B8FD: mov ecx, dword ptr [ebp - 0x50] */
   4831     MEM32(ebp + (-0x34)) = edx; /* 0x2501B900: mov dword ptr [ebp - 0x34], edx */
   4832     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501B903: fld dword ptr [ebp - 0x34] */
   4833     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B906: fmul dword ptr [ebp - 0x1c] */
   4834     edx = MEM32(ebp + (-0x58)); /* 0x2501B909: mov edx, dword ptr [ebp - 0x58] */
   4835     MEM32(ebp + (-0x30)) = eax; /* 0x2501B90C: mov dword ptr [ebp - 0x30], eax */
   4836     MEM32(ebp + (-0x38)) = ecx; /* 0x2501B90F: mov dword ptr [ebp - 0x38], ecx */
   4837     ecx = MEM32(ebp + (-0x5C)); /* 0x2501B912: mov ecx, dword ptr [ebp - 0x5c] */
   4838     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501B915: fstp dword ptr [ebp - 0x34] */
   4839     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501B918: fld dword ptr [ebp - 0x30] */
   4840     MEM32(ebp + (-0x80)) = ecx; /* 0x2501B91B: mov dword ptr [ebp - 0x80], ecx */
   4841     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501B91E: fmul dword ptr [ebp - 0x1c] */
   4842     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501B921: fstp dword ptr [ebp - 0x30] */
   4843     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501B924: fld dword ptr [ebp - 0x5c] */
   4844     eax = MEM32(ebp + (-0x54)); /* 0x2501B927: mov eax, dword ptr [ebp - 0x54] */
   4845     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B92A: fmul dword ptr [ebp - 0x18] */
   4846     MEM32(ebp + (-0x7C)) = edx; /* 0x2501B92D: mov dword ptr [ebp - 0x7c], edx */
   4847     MEM32(ebp + (-0x78)) = eax; /* 0x2501B930: mov dword ptr [ebp - 0x78], eax */
   4848     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501B933: fstp dword ptr [ebp - 0x80] */
   4849     ecx = MEM32(ebp + (-0x80)); /* 0x2501B936: mov ecx, dword ptr [ebp - 0x80] */
   4850     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501B939: fld dword ptr [ebp - 0x7c] */
   4851     MEM32(ebp + (-0xA8)) = ecx; /* 0x2501B93C: mov dword ptr [ebp - 0xa8], ecx */
   4852     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B942: fmul dword ptr [ebp - 0x18] */
   4853     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501B945: fstp dword ptr [ebp - 0x7c] */
   4854     edx = MEM32(ebp + (-0x7C)); /* 0x2501B948: mov edx, dword ptr [ebp - 0x7c] */
   4855     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501B94B: fld dword ptr [ebp - 0x78] */
   4856     MEM32(ebp + (-0xA4)) = edx; /* 0x2501B94E: mov dword ptr [ebp - 0xa4], edx */
   4857     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B954: fmul dword ptr [ebp - 0x18] */
   4858     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501B957: fstp dword ptr [ebp - 0x78] */
   4859     eax = MEM32(ebp + (-0x78)); /* 0x2501B95A: mov eax, dword ptr [ebp - 0x78] */
   4860     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501B95D: fld dword ptr [ebp - 0x80] */
   4861     MEM32(ebp + (-0xA0)) = eax; /* 0x2501B960: mov dword ptr [ebp - 0xa0], eax */
   4862     _st[0] -= _st[1]; /* 0x2501B966: fsub st(1) */
   4863     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501B968: fstp dword ptr [ebp - 0xa8] */
   4864     ecx = MEM32(ebp + (-0xA8)); /* 0x2501B96E: mov ecx, dword ptr [ebp - 0xa8] */
   4865     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501B974: mov dword ptr [ebp - 0x1c], ecx */
   4866     ecx = MEM32(ebx + 0x278); /* 0x2501B977: mov ecx, dword ptr [ebx + 0x278] */
   4867     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501B97D: fstp st(0) */
   4868     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501B97F: fld dword ptr [ebp - 0xa4] */
   4869     _st[0] -= (double)*(float*)ADDR(ebp + (-0x34)); /* 0x2501B985: fsub dword ptr [ebp - 0x34] */
   4870     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501B988: fstp dword ptr [ebp - 0xa4] */
   4871     edx = MEM32(ebp + (-0xA4)); /* 0x2501B98E: mov edx, dword ptr [ebp - 0xa4] */
   4872     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501B994: fld dword ptr [ebp - 0xa0] */
   4873     MEM32(ebp + (-0x18)) = edx; /* 0x2501B99A: mov dword ptr [ebp - 0x18], edx */
   4874     _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501B99D: fsub dword ptr [ebp - 0x30] */
   4875     edx = MEM32(0x251C2748); /* 0x2501B9A0: mov edx, dword ptr [0x251c2748] */
   4876     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501B9A6: fstp dword ptr [ebp - 0xa0] */
   4877     eax = MEM32(ebp + (-0xA0)); /* 0x2501B9AC: mov eax, dword ptr [ebp - 0xa0] */
   4878     MEM32(ebp + (-0x14)) = eax; /* 0x2501B9B2: mov dword ptr [ebp - 0x14], eax */
   4879     fp_push(*(float*)&MEM32(ecx + edi + 0x30)); /* 0x2501B9B5: fld dword ptr [ecx + edi + 0x30] */
   4880     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501B9B9: fld dword ptr [ebp - 0xa8] */
   4881     eax = MEM32(ebp + (-0xC4)); /* 0x2501B9BF: mov eax, dword ptr [ebp - 0xc4] */
   4882     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9C5: mov ecx, dword ptr [ebp - 0x20] */
   4883     _st[0] *= _st[1]; /* 0x2501B9C8: fmul st(1) */
   4884     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501B9CA: fstp dword ptr [ebp - 0x1c] */
   4885     fp_push(_st[0]); /* 0x2501B9CD: fld st(0) */
   4886     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501B9CF: fmul dword ptr [ebp - 0x18] */
   4887     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501B9D2: fstp dword ptr [ebp - 0x18] */
   4888     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501B9D5: fmul dword ptr [ebp - 0x14] */
   4889     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501B9D8: fstp dword ptr [ebp - 0x14] */
   4890     MEM16(eax + edx + (-0x4)) = (uint16_t)(LO16(ecx)); /* 0x2501B9DB: mov word ptr [eax + edx - 4], cx */
   4891     edx = MEM32(0x251C2748); /* 0x2501B9E0: mov edx, dword ptr [0x251c2748] */
   4892     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501B9E6: fld dword ptr [ebp - 0x2c] */
   4893     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4894     ecx = ecx + 1; /* 0x2501B9E9: inc ecx */
   4895     _flag_k = FK_INC;
   4896     _st[0] -= (double)*(float*)ADDR(ebp + (-0x74)); /* 0x2501B9EA: fsub dword ptr [ebp - 0x74] */
   4897     MEM16(eax + edx + (-0x2)) = (uint16_t)(LO16(ecx)); /* 0x2501B9ED: mov word ptr [eax + edx - 2], cx */
   4898     edx = MEM32(0x251C2748); /* 0x2501B9F2: mov edx, dword ptr [0x251c2748] */
   4899     ecx = MEM32(ebp + (-0x20)); /* 0x2501B9F8: mov ecx, dword ptr [ebp - 0x20] */
   4900     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4901     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4902     ecx = ecx + 2; /* 0x2501B9FB: add ecx, 2 */
   4903     _flag_k = FK_ADD;
   4904     MEM16(eax + edx) = (uint16_t)(LO16(ecx)); /* 0x2501B9FE: mov word ptr [eax + edx], cx */
   4905     edx = MEM32(0x251C2748); /* 0x2501BA02: mov edx, dword ptr [0x251c2748] */
   4906     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA08: mov ecx, dword ptr [ebp - 0x20] */
   4907     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4908     ecx = ecx + 1; /* 0x2501BA0B: inc ecx */
   4909     _flag_k = FK_INC;
   4910     MEM16(eax + edx + 0x2) = (uint16_t)(LO16(ecx)); /* 0x2501BA0C: mov word ptr [eax + edx + 2], cx */
   4911     edx = MEM32(0x251C2748); /* 0x2501BA11: mov edx, dword ptr [0x251c2748] */
   4912     ecx = MEM32(ebp + (-0x20)); /* 0x2501BA17: mov ecx, dword ptr [ebp - 0x20] */
   4913     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   4914     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4915     ecx = ecx + 2; /* 0x2501BA1A: add ecx, 2 */
   4916     _flag_k = FK_ADD;
   4917     MEM16(eax + edx + 0x4) = (uint16_t)(LO16(ecx)); /* 0x2501BA1D: mov word ptr [eax + edx + 4], cx */
   4918     edx = MEM32(ebp + (-0x20)); /* 0x2501BA22: mov edx, dword ptr [ebp - 0x20] */
   4919     ecx = MEM32(0x251C2748); /* 0x2501BA25: mov ecx, dword ptr [0x251c2748] */
   4920     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3);
   4921     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4922     edx = edx + 3; /* 0x2501BA2B: add edx, 3 */
   4923     _flag_k = FK_ADD;
   4924     MEM16(eax + ecx + 0x6) = (uint16_t)(LO16(edx)); /* 0x2501BA2E: mov word ptr [eax + ecx + 6], dx */
   4925     edx = MEM32(ebp + (-0x90)); /* 0x2501BA33: mov edx, dword ptr [ebp - 0x90] */
   4926     ecx = MEM32(ebp + (-0x2C)); /* 0x2501BA39: mov ecx, dword ptr [ebp - 0x2c] */
   4927     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   4928     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4929     edx = edx + 6; /* 0x2501BA3C: add edx, 6 */
   4930     _flag_k = FK_ADD;
   4931     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   4932     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4933     eax = eax + 0xCu; /* 0x2501BA3F: add eax, 0xc */
   4934     _flag_k = FK_ADD;
   4935     MEM32(ebp + (-0x90)) = edx; /* 0x2501BA42: mov dword ptr [ebp - 0x90], edx */
   4936     edx = MEM32(ebp + (-0x28)); /* 0x2501BA48: mov edx, dword ptr [ebp - 0x28] */
   4937     MEM32(ebp + (-0xC4)) = eax; /* 0x2501BA4B: mov dword ptr [ebp - 0xc4], eax */
   4938     eax = MEM32(ebp + (-0x24)); /* 0x2501BA51: mov eax, dword ptr [ebp - 0x24] */
   4939     MEM32(ebp + (-0xB4)) = ecx; /* 0x2501BA54: mov dword ptr [ebp - 0xb4], ecx */
   4940     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501BA5A: fstp dword ptr [ebp - 0xb4] */
   4941     MEM32(ebp + (-0xB0)) = edx; /* 0x2501BA60: mov dword ptr [ebp - 0xb0], edx */
   4942     MEM32(ebp + (-0xAC)) = eax; /* 0x2501BA66: mov dword ptr [ebp - 0xac], eax */
   4943     edx = MEM32(0x251C2744); /* 0x2501BA6C: mov edx, dword ptr [0x251c2744] */
   4944     fp_push(*(float*)&MEM32(ebp + (-0xB0))); /* 0x2501BA72: fld dword ptr [ebp - 0xb0] */
   4945     _st[0] -= (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BA78: fsub dword ptr [ebp - 0x70] */
   4946     eax = esi + edx; /* 0x2501BA7B: lea eax, [esi + edx] */
   4947     edx = MEM32(ebp + (-0xB4)); /* 0x2501BA7E: mov edx, dword ptr [ebp - 0xb4] */
   4948     MEM32(eax) = edx; /* 0x2501BA84: mov dword ptr [eax], edx */
   4949     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501BA86: fstp dword ptr [ebp - 0xb0] */
   4950     edx = MEM32(ebp + (-0xB0)); /* 0x2501BA8C: mov edx, dword ptr [ebp - 0xb0] */
   4951     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501BA92: fld dword ptr [ebp - 0xac] */
   4952     MEM32(eax + 0x4) = edx; /* 0x2501BA98: mov dword ptr [eax + 4], edx */
   4953     _st[0] -= (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BA9B: fsub dword ptr [ebp - 0x6c] */
   4954     MEM32(ebp + (-0xC0)) = ecx; /* 0x2501BA9E: mov dword ptr [ebp - 0xc0], ecx */
   4955     ecx = MEM32(ebp + (-0x28)); /* 0x2501BAA4: mov ecx, dword ptr [ebp - 0x28] */
   4956     MEM32(ebp + (-0xBC)) = ecx; /* 0x2501BAA7: mov dword ptr [ebp - 0xbc], ecx */
   4957     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501BAAD: fstp dword ptr [ebp - 0xac] */
   4958     edx = MEM32(ebp + (-0xAC)); /* 0x2501BAB3: mov edx, dword ptr [ebp - 0xac] */
   4959     MEM32(eax + 0x8) = edx; /* 0x2501BAB9: mov dword ptr [eax + 8], edx */
   4960     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501BABC: fld dword ptr [ebp - 0x74] */
   4961     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501BABF: fadd dword ptr [ebp - 0x2c] */
   4962     eax = MEM32(ebx + 0x278); /* 0x2501BAC2: mov eax, dword ptr [ebx + 0x278] */
   4963     edx = MEM32(eax + edi + 0x44); /* 0x2501BAC8: mov edx, dword ptr [eax + edi + 0x44] */
   4964     eax = MEM32(0x251C2744); /* 0x2501BACC: mov eax, dword ptr [0x251c2744] */
   4965     MEM32(esi + eax + 0xC) = edx; /* 0x2501BAD1: mov dword ptr [esi + eax + 0xc], edx */
   4966     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC0)) = _v; } /* 0x2501BAD5: fstp dword ptr [ebp - 0xc0] */
   4967     edx = MEM32(0x251C2744); /* 0x2501BADB: mov edx, dword ptr [0x251c2744] */
   4968     fp_push(*(float*)&MEM32(ebp + (-0xBC))); /* 0x2501BAE1: fld dword ptr [ebp - 0xbc] */
   4969     _st[0] += (double)*(float*)ADDR(ebp + (-0x70)); /* 0x2501BAE7: fadd dword ptr [ebp - 0x70] */
   4970     MEM32(esi + edx + 0x10) = 0; /* 0x2501BAEA: mov dword ptr [esi + edx + 0x10], 0 */
   4971     eax = MEM32(0x251C2744); /* 0x2501BAF2: mov eax, dword ptr [0x251c2744] */
   4972     edx = MEM32(ebp + (-0x24)); /* 0x2501BAF7: mov edx, dword ptr [ebp - 0x24] */
   4973     MEM32(esi + eax + 0x14) = 0x3E800000u; /* 0x2501BAFA: mov dword ptr [esi + eax + 0x14], 0x3e800000 */
   4974     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501BB02: fstp dword ptr [ebp - 0xbc] */
   4975     ecx = MEM32(0x251C2744); /* 0x2501BB08: mov ecx, dword ptr [0x251c2744] */
   4976     MEM32(ebp + (-0xB8)) = edx; /* 0x2501BB0E: mov dword ptr [ebp - 0xb8], edx */
   4977     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501BB14: fld dword ptr [ebp - 0xb8] */
   4978     _st[0] += (double)*(float*)ADDR(ebp + (-0x6C)); /* 0x2501BB1A: fadd dword ptr [ebp - 0x6c] */
   4979     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   4980     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4981     esi = esi + 0x18u; /* 0x2501BB1D: add esi, 0x18 */
   4982     _flag_k = FK_ADD;
   4983     edx = esi + ecx; /* 0x2501BB20: lea edx, [esi + ecx] */
   4984     ecx = MEM32(ebp + (-0xC0)); /* 0x2501BB23: mov ecx, dword ptr [ebp - 0xc0] */
   4985     MEM32(edx) = ecx; /* 0x2501BB29: mov dword ptr [edx], ecx */
   4986     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501BB2B: fstp dword ptr [ebp - 0xb8] */
   4987     ecx = MEM32(ebp + (-0xBC)); /* 0x2501BB31: mov ecx, dword ptr [ebp - 0xbc] */
   4988     MEM32(edx + 0x4) = ecx; /* 0x2501BB37: mov dword ptr [edx + 4], ecx */
   4989     ecx = MEM32(ebp + (-0xB8)); /* 0x2501BB3A: mov ecx, dword ptr [ebp - 0xb8] */
   4990     MEM32(edx + 0x8) = ecx; /* 0x2501BB40: mov dword ptr [edx + 8], ecx */
   4991     edx = MEM32(ebx + 0x278); /* 0x2501BB43: mov edx, dword ptr [ebx + 0x278] */
   4992     ecx = MEM32(edx + edi + 0x44); /* 0x2501BB49: mov ecx, dword ptr [edx + edi + 0x44] */
   4993     edx = MEM32(0x251C2744); /* 0x2501BB4D: mov edx, dword ptr [0x251c2744] */
   4994     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BB53: mov dword ptr [esi + edx + 0xc], ecx */
   4995     ecx = MEM32(0x251C2744); /* 0x2501BB57: mov ecx, dword ptr [0x251c2744] */
   4996     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BB5D: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   4997     edx = MEM32(0x251C2744); /* 0x2501BB65: mov edx, dword ptr [0x251c2744] */
   4998     eax = MEM32(ebp + (-0x20)); /* 0x2501BB6B: mov eax, dword ptr [ebp - 0x20] */
   4999     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BB6E: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   5000     ecx = MEM32(ebx + 0x278); /* 0x2501BB76: mov ecx, dword ptr [ebx + 0x278] */
   5001     edx = ecx + edi + 0x18; /* 0x2501BB7C: lea edx, [ecx + edi + 0x18] */
   5002     ecx = MEM32(edx); /* 0x2501BB80: mov ecx, dword ptr [edx] */
   5003     MEM32(ebp + (-0x8C)) = ecx; /* 0x2501BB82: mov dword ptr [ebp - 0x8c], ecx */
   5004     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501BB88: fld dword ptr [ebp - 0x8c] */
   5005     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BB8E: fsub dword ptr [ebp - 0x1c] */
   5006     ecx = MEM32(edx + 0x4); /* 0x2501BB91: mov ecx, dword ptr [edx + 4] */
   5007     edx = MEM32(edx + 0x8); /* 0x2501BB94: mov edx, dword ptr [edx + 8] */
   5008     MEM32(ebp + (-0x88)) = ecx; /* 0x2501BB97: mov dword ptr [ebp - 0x88], ecx */
   5009     ecx = MEM32(0x251C2744); /* 0x2501BB9D: mov ecx, dword ptr [0x251c2744] */
   5010     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501BBA3: fstp dword ptr [ebp - 0x8c] */
   5011     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501BBA9: fld dword ptr [ebp - 0x88] */
   5012     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5013     eax = eax + 1; /* 0x2501BBAF: inc eax */
   5014     _flag_k = FK_INC;
   5015     _st[0] -= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BBB0: fsub dword ptr [ebp - 0x18] */
   5016     MEM32(ebp + (-0x84)) = edx; /* 0x2501BBB3: mov dword ptr [ebp - 0x84], edx */
   5017     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5018     eax = eax + 1; /* 0x2501BBB9: inc eax */
   5019     _flag_k = FK_INC;
   5020     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   5021     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5022     esi = esi + 0x18u; /* 0x2501BBBA: add esi, 0x18 */
   5023     _flag_k = FK_ADD;
   5024     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501BBBD: fstp dword ptr [ebp - 0x88] */
   5025     edx = esi + ecx; /* 0x2501BBC3: lea edx, [esi + ecx] */
   5026     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501BBC6: fld dword ptr [ebp - 0x84] */
   5027     ecx = MEM32(ebp + (-0x8C)); /* 0x2501BBCC: mov ecx, dword ptr [ebp - 0x8c] */
   5028     _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BBD2: fsub dword ptr [ebp - 0x14] */
   5029     MEM32(edx) = ecx; /* 0x2501BBD5: mov dword ptr [edx], ecx */
   5030     ecx = MEM32(ebp + (-0x88)); /* 0x2501BBD7: mov ecx, dword ptr [ebp - 0x88] */
   5031     MEM32(edx + 0x4) = ecx; /* 0x2501BBDD: mov dword ptr [edx + 4], ecx */
   5032     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501BBE0: fstp dword ptr [ebp - 0x84] */
   5033     ecx = MEM32(ebp + (-0x84)); /* 0x2501BBE6: mov ecx, dword ptr [ebp - 0x84] */
   5034     MEM32(edx + 0x8) = ecx; /* 0x2501BBEC: mov dword ptr [edx + 8], ecx */
   5035     edx = MEM32(ebx + 0x278); /* 0x2501BBEF: mov edx, dword ptr [ebx + 0x278] */
   5036     ecx = MEM32(edx + edi + 0x44); /* 0x2501BBF5: mov ecx, dword ptr [edx + edi + 0x44] */
   5037     edx = MEM32(0x251C2744); /* 0x2501BBF9: mov edx, dword ptr [0x251c2744] */
   5038     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BBFF: mov dword ptr [esi + edx + 0xc], ecx */
   5039     ecx = MEM32(0x251C2744); /* 0x2501BC03: mov ecx, dword ptr [0x251c2744] */
   5040     MEM32(esi + ecx + 0x10) = 0; /* 0x2501BC09: mov dword ptr [esi + ecx + 0x10], 0 */
   5041     edx = MEM32(0x251C2744); /* 0x2501BC11: mov edx, dword ptr [0x251c2744] */
   5042     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC17: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   5043     ecx = MEM32(ebx + 0x278); /* 0x2501BC1F: mov ecx, dword ptr [ebx + 0x278] */
   5044     edx = ecx + edi + 0x18; /* 0x2501BC25: lea edx, [ecx + edi + 0x18] */
   5045     ecx = MEM32(edx); /* 0x2501BC29: mov ecx, dword ptr [edx] */
   5046     MEM32(ebp + (-0x68)) = ecx; /* 0x2501BC2B: mov dword ptr [ebp - 0x68], ecx */
   5047     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501BC2E: fld dword ptr [ebp - 0x68] */
   5048     ecx = MEM32(edx + 0x4); /* 0x2501BC31: mov ecx, dword ptr [edx + 4] */
   5049     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501BC34: fadd dword ptr [ebp - 0x1c] */
   5050     edx = MEM32(edx + 0x8); /* 0x2501BC37: mov edx, dword ptr [edx + 8] */
   5051     MEM32(ebp + (-0x64)) = ecx; /* 0x2501BC3A: mov dword ptr [ebp - 0x64], ecx */
   5052     ecx = MEM32(0x251C2744); /* 0x2501BC3D: mov ecx, dword ptr [0x251c2744] */
   5053     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501BC43: fstp dword ptr [ebp - 0x68] */
   5054     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501BC46: fld dword ptr [ebp - 0x64] */
   5055     MEM32(ebp + (-0x60)) = edx; /* 0x2501BC49: mov dword ptr [ebp - 0x60], edx */
   5056     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501BC4C: fadd dword ptr [ebp - 0x18] */
   5057     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   5058     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5059     esi = esi + 0x18u; /* 0x2501BC4F: add esi, 0x18 */
   5060     _flag_k = FK_ADD;
   5061     edx = esi + ecx; /* 0x2501BC52: lea edx, [esi + ecx] */
   5062     ecx = MEM32(ebp + (-0x68)); /* 0x2501BC55: mov ecx, dword ptr [ebp - 0x68] */
   5063     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501BC58: fstp dword ptr [ebp - 0x64] */
   5064     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5065     eax = eax + 1; /* 0x2501BC5B: inc eax */
   5066     _flag_k = FK_INC;
   5067     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501BC5C: fld dword ptr [ebp - 0x60] */
   5068     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5069     eax = eax + 1; /* 0x2501BC5F: inc eax */
   5070     _flag_k = FK_INC;
   5071     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2501BC60: fadd dword ptr [ebp - 0x14] */
   5072     MEM32(edx) = ecx; /* 0x2501BC63: mov dword ptr [edx], ecx */
   5073     ecx = MEM32(ebp + (-0x64)); /* 0x2501BC65: mov ecx, dword ptr [ebp - 0x64] */
   5074     MEM32(edx + 0x4) = ecx; /* 0x2501BC68: mov dword ptr [edx + 4], ecx */
   5075     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501BC6B: fstp dword ptr [ebp - 0x60] */
   5076     ecx = MEM32(ebp + (-0x60)); /* 0x2501BC6E: mov ecx, dword ptr [ebp - 0x60] */
   5077     MEM32(edx + 0x8) = ecx; /* 0x2501BC71: mov dword ptr [edx + 8], ecx */
   5078     edx = MEM32(ebx + 0x278); /* 0x2501BC74: mov edx, dword ptr [ebx + 0x278] */
   5079     ecx = MEM32(edx + edi + 0x44); /* 0x2501BC7A: mov ecx, dword ptr [edx + edi + 0x44] */
   5080     edx = MEM32(0x251C2744); /* 0x2501BC7E: mov edx, dword ptr [0x251c2744] */
   5081     MEM32(esi + edx + 0xC) = ecx; /* 0x2501BC84: mov dword ptr [esi + edx + 0xc], ecx */
   5082     ecx = MEM32(0x251C2744); /* 0x2501BC88: mov ecx, dword ptr [0x251c2744] */
   5083     MEM32(esi + ecx + 0x10) = 0x3F800000u; /* 0x2501BC8E: mov dword ptr [esi + ecx + 0x10], 0x3f800000 */
   5084     edx = MEM32(0x251C2744); /* 0x2501BC96: mov edx, dword ptr [0x251c2744] */
   5085     MEM32(esi + edx + 0x14) = 0x3E800000u; /* 0x2501BC9C: mov dword ptr [esi + edx + 0x14], 0x3e800000 */
   5086     MEM32(ebp + (-0x20)) = eax; /* 0x2501BCA4: mov dword ptr [ebp - 0x20], eax */
   5087     eax = MEM32(ebx + 0x278); /* 0x2501BCA7: mov eax, dword ptr [ebx + 0x278] */
   5088     ecx = eax + edi + 0x18; /* 0x2501BCAD: lea ecx, [eax + edi + 0x18] */
   5089     edx = MEM32(ecx); /* 0x2501BCB1: mov edx, dword ptr [ecx] */
   5090     MEM32(ebp + (-0x2C)) = edx; /* 0x2501BCB3: mov dword ptr [ebp - 0x2c], edx */
   5091     edx = MEM32(ecx + 0x4); /* 0x2501BCB6: mov edx, dword ptr [ecx + 4] */
   5092     ecx = MEM32(ecx + 0x8); /* 0x2501BCB9: mov ecx, dword ptr [ecx + 8] */
   5093     MEM32(ebp + (-0x28)) = edx; /* 0x2501BCBC: mov dword ptr [ebp - 0x28], edx */
   5094     edx = MEM32(ebp + (-0x1C)); /* 0x2501BCBF: mov edx, dword ptr [ebp - 0x1c] */
   5095     MEM32(ebp + (-0x24)) = ecx; /* 0x2501BCC2: mov dword ptr [ebp - 0x24], ecx */
   5096     ecx = MEM32(ebp + (-0x18)); /* 0x2501BCC5: mov ecx, dword ptr [ebp - 0x18] */
   5097     MEM32(ebp + (-0x74)) = edx; /* 0x2501BCC8: mov dword ptr [ebp - 0x74], edx */
   5098     edx = MEM32(ebp + (-0x14)); /* 0x2501BCCB: mov edx, dword ptr [ebp - 0x14] */
   5099     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   5100     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5101     esi = esi + 0x18u; /* 0x2501BCCE: add esi, 0x18 */
   5102     _flag_k = FK_ADD;
   5103     MEM32(ebp + (-0x70)) = ecx; /* 0x2501BCD1: mov dword ptr [ebp - 0x70], ecx */
   5104     MEM32(ebp + (-0x6C)) = edx; /* 0x2501BCD4: mov dword ptr [ebp - 0x6c], edx */
   5105 L_2501BCD7:
   5106     ecx = MEM32(ebp + (-0xC8)); /* 0x2501BCD7: mov ecx, dword ptr [ebp - 0xc8] */
   5107     edx = MEM32(ebx + 0x274); /* 0x2501BCDD: mov edx, dword ptr [ebx + 0x274] */
   5108     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5109     ecx = ecx + 1; /* 0x2501BCE3: inc ecx */
   5110     _flag_k = FK_INC;
   5111     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x74u);
   5112     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5113     edi = edi + 0x74u; /* 0x2501BCE4: add edi, 0x74 */
   5114     _flag_k = FK_ADD;
   5115     /* cmp ecx, edx */ /* 0x2501BCE7: cmp ecx, edx */
   5116     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   5117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5118     _flag_k = FK_CMP;
   5119     MEM32(ebp + (-0xC8)) = ecx; /* 0x2501BCE9: mov dword ptr [ebp - 0xc8], ecx */
   5120     RECOMP_BACKEDGE();
   5121     if (CMP_L(_flag_a, _flag_b)) goto L_2501B7BD; /* 0x2501BCEF: jl 0x2501b7bd */
   5122 L_2501BCF5:
   5123     eax = MEM32(ebp + (-0x90)); /* 0x2501BCF5: mov eax, dword ptr [ebp - 0x90] */
   5124     ecx = MEM32(0x251C2748); /* 0x2501BCFB: mov ecx, dword ptr [0x251c2748] */
   5125     edx = MEM32(ebp + (-0x20)); /* 0x2501BD01: mov edx, dword ptr [ebp - 0x20] */
   5126     PUSH32(esp, 0); /* 0x2501BD04: push 0 */
   5127     PUSH32(esp, eax); /* 0x2501BD06: push eax */
   5128     eax = MEM32(0x251C2744); /* 0x2501BD07: mov eax, dword ptr [0x251c2744] */
   5129     PUSH32(esp, ecx); /* 0x2501BD0C: push ecx */
   5130     ecx = MEM32(0x25238B58); /* 0x2501BD0D: mov ecx, dword ptr [0x25238b58] */
   5131     PUSH32(esp, edx); /* 0x2501BD13: push edx */
   5132     PUSH32(esp, eax); /* 0x2501BD14: push eax */
   5133     PUSH32(esp, 0x142u); /* 0x2501BD15: push 0x142 */
   5134     RECOMP_ICALL(0x250E7010u); /* 0x2501BD1A: call 0x250e7010 */ /* not lifted */
   5135     RECOMP_FLAGS_IN();
   5136     esi = MEM32(ebp + 0x8); /* 0x2501BD1F: mov esi, dword ptr [ebp + 8] */
   5137     edx = MEM32(ebx); /* 0x2501BD22: mov edx, dword ptr [ebx] */
   5138     PUSH32(esp, esi); /* 0x2501BD24: push esi */
   5139     ecx = ebx; /* 0x2501BD25: mov ecx, ebx */
   5140     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x2501BD27: call dword ptr [edx + 0x44] */
   5141     RECOMP_FLAGS_IN();
   5142     ecx = esi; /* 0x2501BD2A: mov ecx, esi */
   5143     RECOMP_ICALL(0x250E0360u); /* 0x2501BD2C: call 0x250e0360 */ /* not lifted */
   5144     RECOMP_FLAGS_IN();
   5145     esi = POP32_VAL(esp); /* 0x2501BD31: pop esi */
   5146     ecx = MEM32(ebp + (-0xC)); /* 0x2501BD32: mov ecx, dword ptr [ebp - 0xc] */
   5147     edi = POP32_VAL(esp); /* 0x2501BD35: pop edi */
   5148     ebx = POP32_VAL(esp); /* 0x2501BD36: pop ebx */
   5149     MEM32(FS_BASE + (0)) = ecx; /* 0x2501BD37: mov dword ptr fs:[0], ecx */
   5150     esp = ebp; /* 0x2501BD3E: mov esp, ebp */
   5151     ebp = POP32_VAL(esp); /* 0x2501BD40: pop ebp */
   5152     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501BD41: ret 4 */
   5153     RECOMP_REGS_OUT();
   5154 }
   5155 
   5156 void sub_2501BD50(void) {
   5157     int _fpu_cmp = 0;
   5158     uint32_t _cf = 0;
   5159     int _df = 1;
   5160     uint32_t _flag_k = FK_NONE;
   5161     uint32_t _flag_a = 0, _flag_b = 0;
   5162     uint32_t _itail_tgt = 0;
   5163     RECOMP_REGS_LOCALS
   5164     RECOMP_ENTER(0x2501BD50u);
   5165 
   5166 L_2501BD50:
   5167     PUSH32(esp, ebp); /* 0x2501BD50: push ebp */
   5168     ebp = esp; /* 0x2501BD51: mov ebp, esp */
   5169     PUSH32(esp, ebx); /* 0x2501BD53: push ebx */
   5170     PUSH32(esp, esi); /* 0x2501BD54: push esi */
   5171     PUSH32(esp, edi); /* 0x2501BD55: push edi */
   5172     edi = MEM32(ebp + 0x8); /* 0x2501BD56: mov edi, dword ptr [ebp + 8] */
   5173     esi = ecx; /* 0x2501BD59: mov esi, ecx */
   5174     eax = edi * 8; /* 0x2501BD5B: lea eax, [edi*8] */
   5175     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5177     eax = eax - edi; /* 0x2501BD62: sub eax, edi */
   5178     _flag_k = FK_CMP;
   5179     ecx = edi + eax * 4; /* 0x2501BD64: lea ecx, [edi + eax*4] */
   5180     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2501BD67: shl ecx, 2 */
   5181     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5182     ecx = ecx << 2u; /* 0x2501BD67: shl ecx, 2 */
   5183     PUSH32(esp, ecx); /* 0x2501BD6A: push ecx */
   5184     MEM32(esi + 0x274) = edi; /* 0x2501BD6B: mov dword ptr [esi + 0x274], edi */
   5185     RECOMP_ICALL(0x251380D0u); /* 0x2501BD71: call 0x251380d0 */ /* not lifted */
   5186     RECOMP_FLAGS_IN();
   5187     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5188     ebx = 0; /* 0x2501BD76: xor ebx, ebx */
   5189     _cf = 0;
   5190     _flag_k = FK_TEST;
   5191     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5192     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5193     esp = esp + 4; /* 0x2501BD78: add esp, 4 */
   5194     _flag_k = FK_ADD;
   5195     /* cmp eax, ebx */ /* 0x2501BD7B: cmp eax, ebx */
   5196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5197     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5198     _flag_k = FK_CMP;
   5199     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BDB5; /* 0x2501BD7D: je 0x2501bdb5 */
   5200 L_2501BD7F:
   5201     edx = edi + (-0x1); /* 0x2501BD7F: lea edx, [edi - 1] */
   5202     /* cmp edx, ebx */ /* 0x2501BD82: cmp edx, ebx */
   5203     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   5204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5205     _flag_k = FK_CMP;
   5206     if (CMP_L(_flag_a, _flag_b)) goto L_2501BDB7; /* 0x2501BD84: jl 0x2501bdb7 */
   5207 L_2501BD86:
   5208     ecx = eax + 0x14; /* 0x2501BD86: lea ecx, [eax + 0x14] */
   5209     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   5210     edx = edx + 1; /* 0x2501BD89: inc edx */
   5211     _flag_k = FK_INC;
   5212 L_2501BD8A:
   5213     MEM32(ecx + (-0x14)) = ebx; /* 0x2501BD8A: mov dword ptr [ecx - 0x14], ebx */
   5214     MEM32(ecx + (-0x10)) = ebx; /* 0x2501BD8D: mov dword ptr [ecx - 0x10], ebx */
   5215     MEM32(ecx + (-0xC)) = ebx; /* 0x2501BD90: mov dword ptr [ecx - 0xc], ebx */
   5216     MEM32(ecx + (-0x8)) = ebx; /* 0x2501BD93: mov dword ptr [ecx - 8], ebx */
   5217     MEM32(ecx + (-0x4)) = ebx; /* 0x2501BD96: mov dword ptr [ecx - 4], ebx */
   5218     MEM32(ecx) = ebx; /* 0x2501BD99: mov dword ptr [ecx], ebx */
   5219     MEM32(ecx + 0x4) = ebx; /* 0x2501BD9B: mov dword ptr [ecx + 4], ebx */
   5220     MEM32(ecx + 0x8) = ebx; /* 0x2501BD9E: mov dword ptr [ecx + 8], ebx */
   5221     MEM32(ecx + 0xC) = ebx; /* 0x2501BDA1: mov dword ptr [ecx + 0xc], ebx */
   5222     MEM32(ecx + 0x10) = ebx; /* 0x2501BDA4: mov dword ptr [ecx + 0x10], ebx */
   5223     MEM32(ecx + 0x14) = ebx; /* 0x2501BDA7: mov dword ptr [ecx + 0x14], ebx */
   5224     MEM32(ecx + 0x18) = ebx; /* 0x2501BDAA: mov dword ptr [ecx + 0x18], ebx */
   5225     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x74u);
   5226     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5227     ecx = ecx + 0x74u; /* 0x2501BDAD: add ecx, 0x74 */
   5228     _flag_k = FK_ADD;
   5229     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   5230     edx = edx - 1; /* 0x2501BDB0: dec edx */
   5231     _flag_k = FK_DEC;
   5232     RECOMP_BACKEDGE();
   5233     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501BD8A; /* 0x2501BDB1: jne 0x2501bd8a */
   5234 L_2501BDB3:
   5235     goto L_2501BDB7; /* 0x2501BDB3: jmp 0x2501bdb7 */
   5236 L_2501BDB5:
   5237     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5238     eax = 0; /* 0x2501BDB5: xor eax, eax */
   5239     _cf = 0;
   5240     _flag_k = FK_TEST;
   5241 L_2501BDB7:
   5242     ecx = MEM32(esi + 0x274); /* 0x2501BDB7: mov ecx, dword ptr [esi + 0x274] */
   5243     MEM32(esi + 0x278) = eax; /* 0x2501BDBD: mov dword ptr [esi + 0x278], eax */
   5244     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5245     eax = 0; /* 0x2501BDC3: xor eax, eax */
   5246     _cf = 0;
   5247     _flag_k = FK_TEST;
   5248     /* cmp ecx, ebx */ /* 0x2501BDC5: cmp ecx, ebx */
   5249     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   5250     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5251     _flag_k = FK_CMP;
   5252     if (CMP_LE(_flag_a, _flag_b)) goto L_2501BDE3; /* 0x2501BDC7: jle 0x2501bde3 */
   5253 L_2501BDC9:
   5254     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5255     ecx = 0; /* 0x2501BDC9: xor ecx, ecx */
   5256     _cf = 0;
   5257     _flag_k = FK_TEST;
   5258 L_2501BDCB:
   5259     edx = MEM32(esi + 0x278); /* 0x2501BDCB: mov edx, dword ptr [esi + 0x278] */
   5260     MEM8(ecx + edx + 0x70) = (uint8_t)(LO8(ebx)); /* 0x2501BDD1: mov byte ptr [ecx + edx + 0x70], bl */
   5261     edx = MEM32(esi + 0x274); /* 0x2501BDD5: mov edx, dword ptr [esi + 0x274] */
   5262     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5263     eax = eax + 1; /* 0x2501BDDB: inc eax */
   5264     _flag_k = FK_INC;
   5265     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x74u);
   5266     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5267     ecx = ecx + 0x74u; /* 0x2501BDDC: add ecx, 0x74 */
   5268     _flag_k = FK_ADD;
   5269     /* cmp eax, edx */ /* 0x2501BDDF: cmp eax, edx */
   5270     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5272     _flag_k = FK_CMP;
   5273     RECOMP_BACKEDGE();
   5274     if (CMP_L(_flag_a, _flag_b)) goto L_2501BDCB; /* 0x2501BDE1: jl 0x2501bdcb */
   5275 L_2501BDE3:
   5276     esi = MEM32(esi + 0x274); /* 0x2501BDE3: mov esi, dword ptr [esi + 0x274] */
   5277     /* cmp esi, MEM32(0x251C274C) */ /* 0x2501BDE9: cmp esi, dword ptr [0x251c274c] */
   5278     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(0x251C274C));
   5279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5280     _flag_k = FK_CMP;
   5281     if (CMP_LE(_flag_a, _flag_b)) goto L_2501BE79; /* 0x2501BDEF: jle 0x2501be79 */
   5282 L_2501BDF5:
   5283     eax = MEM32(0x251C2744); /* 0x2501BDF5: mov eax, dword ptr [0x251c2744] */
   5284     /* cmp eax, ebx */ /* 0x2501BDFA: cmp eax, ebx */
   5285     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5287     _flag_k = FK_CMP;
   5288     MEM32(0x251C274C) = esi; /* 0x2501BDFC: mov dword ptr [0x251c274c], esi */
   5289     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BE0D; /* 0x2501BE02: je 0x2501be0d */
   5290 L_2501BE04:
   5291     PUSH32(esp, eax); /* 0x2501BE04: push eax */
   5292     RECOMP_ICALL(0x25137EECu); /* 0x2501BE05: call 0x25137eec */ /* not lifted */
   5293     RECOMP_FLAGS_IN();
   5294     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5295     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5296     esp = esp + 4; /* 0x2501BE0A: add esp, 4 */
   5297     _flag_k = FK_ADD;
   5298 L_2501BE0D:
   5299     eax = MEM32(0x251C2748); /* 0x2501BE0D: mov eax, dword ptr [0x251c2748] */
   5300     /* cmp eax, ebx */ /* 0x2501BE12: cmp eax, ebx */
   5301     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5302     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5303     _flag_k = FK_CMP;
   5304     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BE1F; /* 0x2501BE14: je 0x2501be1f */
   5305 L_2501BE16:
   5306     PUSH32(esp, eax); /* 0x2501BE16: push eax */
   5307     RECOMP_ICALL(0x25137EECu); /* 0x2501BE17: call 0x25137eec */ /* not lifted */
   5308     RECOMP_FLAGS_IN();
   5309     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5310     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5311     esp = esp + 4; /* 0x2501BE1C: add esp, 4 */
   5312     _flag_k = FK_ADD;
   5313 L_2501BE1F:
   5314     eax = MEM32(0x251C274C); /* 0x2501BE1F: mov eax, dword ptr [0x251c274c] */
   5315     esi = eax * 4; /* 0x2501BE24: lea esi, [eax*4] */
   5316     ecx = esi + esi * 2; /* 0x2501BE2B: lea ecx, [esi + esi*2] */
   5317     if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x2501BE2E: shl ecx, 3 */
   5318     if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5319     ecx = ecx << 3u; /* 0x2501BE2E: shl ecx, 3 */
   5320     PUSH32(esp, ecx); /* 0x2501BE31: push ecx */
   5321     RECOMP_ICALL(0x251380D0u); /* 0x2501BE32: call 0x251380d0 */ /* not lifted */
   5322     RECOMP_FLAGS_IN();
   5323     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5324     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5325     esp = esp + 4; /* 0x2501BE37: add esp, 4 */
   5326     _flag_k = FK_ADD;
   5327     /* cmp eax, ebx */ /* 0x2501BE3A: cmp eax, ebx */
   5328     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5330     _flag_k = FK_CMP;
   5331     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BE59; /* 0x2501BE3C: je 0x2501be59 */
   5332 L_2501BE3E:
   5333     edx = esi + (-0x1); /* 0x2501BE3E: lea edx, [esi - 1] */
   5334     /* cmp edx, ebx */ /* 0x2501BE41: cmp edx, ebx */
   5335     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   5336     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5337     _flag_k = FK_CMP;
   5338     if (CMP_L(_flag_a, _flag_b)) goto L_2501BE5B; /* 0x2501BE43: jl 0x2501be5b */
   5339 L_2501BE45:
   5340     ecx = eax + 0x8; /* 0x2501BE45: lea ecx, [eax + 8] */
   5341     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   5342     edx = edx + 1; /* 0x2501BE48: inc edx */
   5343     _flag_k = FK_INC;
   5344 L_2501BE49:
   5345     MEM32(ecx + (-0x8)) = ebx; /* 0x2501BE49: mov dword ptr [ecx - 8], ebx */
   5346     MEM32(ecx + (-0x4)) = ebx; /* 0x2501BE4C: mov dword ptr [ecx - 4], ebx */
   5347     MEM32(ecx) = ebx; /* 0x2501BE4F: mov dword ptr [ecx], ebx */
   5348     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   5349     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5350     ecx = ecx + 0x18u; /* 0x2501BE51: add ecx, 0x18 */
   5351     _flag_k = FK_ADD;
   5352     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   5353     edx = edx - 1; /* 0x2501BE54: dec edx */
   5354     _flag_k = FK_DEC;
   5355     RECOMP_BACKEDGE();
   5356     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501BE49; /* 0x2501BE55: jne 0x2501be49 */
   5357 L_2501BE57:
   5358     goto L_2501BE5B; /* 0x2501BE57: jmp 0x2501be5b */
   5359 L_2501BE59:
   5360     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5361     eax = 0; /* 0x2501BE59: xor eax, eax */
   5362     _cf = 0;
   5363     _flag_k = FK_TEST;
   5364 L_2501BE5B:
   5365     MEM32(0x251C2744) = eax; /* 0x2501BE5B: mov dword ptr [0x251c2744], eax */
   5366     eax = MEM32(0x251C274C); /* 0x2501BE60: mov eax, dword ptr [0x251c274c] */
   5367     edx = eax + eax * 2; /* 0x2501BE65: lea edx, [eax + eax*2] */
   5368     if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2501BE68: shl edx, 2 */
   5369     if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5370     edx = edx << 2u; /* 0x2501BE68: shl edx, 2 */
   5371     PUSH32(esp, edx); /* 0x2501BE6B: push edx */
   5372     RECOMP_ICALL(0x251380D0u); /* 0x2501BE6C: call 0x251380d0 */ /* not lifted */
   5373     RECOMP_FLAGS_IN();
   5374     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5376     esp = esp + 4; /* 0x2501BE71: add esp, 4 */
   5377     _flag_k = FK_ADD;
   5378     MEM32(0x251C2748) = eax; /* 0x2501BE74: mov dword ptr [0x251c2748], eax */
   5379 L_2501BE79:
   5380     edi = POP32_VAL(esp); /* 0x2501BE79: pop edi */
   5381     esi = POP32_VAL(esp); /* 0x2501BE7A: pop esi */
   5382     ebx = POP32_VAL(esp); /* 0x2501BE7B: pop ebx */
   5383     ebp = POP32_VAL(esp); /* 0x2501BE7C: pop ebp */
   5384     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501BE7D: ret 4 */
   5385     RECOMP_REGS_OUT();
   5386 }
   5387 
   5388 void sub_2501BE80(void) {
   5389     int _fpu_cmp = 0;
   5390     uint32_t _cf = 0;
   5391     int _df = 1;
   5392     uint32_t _flag_k = FK_NONE;
   5393     uint32_t _flag_a = 0, _flag_b = 0;
   5394     uint32_t _itail_tgt = 0;
   5395     RECOMP_REGS_LOCALS
   5396     RECOMP_ENTER(0x2501BE80u);
   5397 
   5398 L_2501BE80:
   5399     PUSH32(esp, ebp); /* 0x2501BE80: push ebp */
   5400     ebp = esp; /* 0x2501BE81: mov ebp, esp */
   5401     edx = MEM32(ebp + 0x8); /* 0x2501BE83: mov edx, dword ptr [ebp + 8] */
   5402     PUSH32(esp, esi); /* 0x2501BE86: push esi */
   5403     esi = MEM32(edx); /* 0x2501BE87: mov esi, dword ptr [edx] */
   5404     eax = ecx + 0x1FC; /* 0x2501BE89: lea eax, [ecx + 0x1fc] */
   5405     MEM32(eax) = esi; /* 0x2501BE8F: mov dword ptr [eax], esi */
   5406     esi = MEM32(edx + 0x4); /* 0x2501BE91: mov esi, dword ptr [edx + 4] */
   5407     MEM32(eax + 0x4) = esi; /* 0x2501BE94: mov dword ptr [eax + 4], esi */
   5408     edx = MEM32(edx + 0x8); /* 0x2501BE97: mov edx, dword ptr [edx + 8] */
   5409     MEM32(eax + 0x8) = edx; /* 0x2501BE9A: mov dword ptr [eax + 8], edx */
   5410     edx = MEM32(ebp + 0xC); /* 0x2501BE9D: mov edx, dword ptr [ebp + 0xc] */
   5411     esi = MEM32(edx); /* 0x2501BEA0: mov esi, dword ptr [edx] */
   5412     eax = ecx + 0x208; /* 0x2501BEA2: lea eax, [ecx + 0x208] */
   5413     MEM32(eax) = esi; /* 0x2501BEA8: mov dword ptr [eax], esi */
   5414     esi = MEM32(edx + 0x4); /* 0x2501BEAA: mov esi, dword ptr [edx + 4] */
   5415     MEM32(eax + 0x4) = esi; /* 0x2501BEAD: mov dword ptr [eax + 4], esi */
   5416     edx = MEM32(edx + 0x8); /* 0x2501BEB0: mov edx, dword ptr [edx + 8] */
   5417     MEM32(eax + 0x8) = edx; /* 0x2501BEB3: mov dword ptr [eax + 8], edx */
   5418     edx = MEM32(ebp + 0x10); /* 0x2501BEB6: mov edx, dword ptr [ebp + 0x10] */
   5419     esi = MEM32(edx); /* 0x2501BEB9: mov esi, dword ptr [edx] */
   5420     eax = ecx + 0x214; /* 0x2501BEBB: lea eax, [ecx + 0x214] */
   5421     MEM32(eax) = esi; /* 0x2501BEC1: mov dword ptr [eax], esi */
   5422     esi = MEM32(edx + 0x4); /* 0x2501BEC3: mov esi, dword ptr [edx + 4] */
   5423     MEM32(eax + 0x4) = esi; /* 0x2501BEC6: mov dword ptr [eax + 4], esi */
   5424     edx = MEM32(edx + 0x8); /* 0x2501BEC9: mov edx, dword ptr [edx + 8] */
   5425     MEM32(eax + 0x8) = edx; /* 0x2501BECC: mov dword ptr [eax + 8], edx */
   5426     edx = MEM32(ebp + 0x14); /* 0x2501BECF: mov edx, dword ptr [ebp + 0x14] */
   5427     esi = MEM32(edx); /* 0x2501BED2: mov esi, dword ptr [edx] */
   5428     eax = ecx + 0x220; /* 0x2501BED4: lea eax, [ecx + 0x220] */
   5429     MEM32(eax) = esi; /* 0x2501BEDA: mov dword ptr [eax], esi */
   5430     esi = MEM32(edx + 0x4); /* 0x2501BEDC: mov esi, dword ptr [edx + 4] */
   5431     MEM32(eax + 0x4) = esi; /* 0x2501BEDF: mov dword ptr [eax + 4], esi */
   5432     edx = MEM32(edx + 0x8); /* 0x2501BEE2: mov edx, dword ptr [edx + 8] */
   5433     MEM32(eax + 0x8) = edx; /* 0x2501BEE5: mov dword ptr [eax + 8], edx */
   5434     eax = MEM32(ebp + 0x18); /* 0x2501BEE8: mov eax, dword ptr [ebp + 0x18] */
   5435     edx = MEM32(ebp + 0x1C); /* 0x2501BEEB: mov edx, dword ptr [ebp + 0x1c] */
   5436     MEM32(ecx + 0x22C) = eax; /* 0x2501BEEE: mov dword ptr [ecx + 0x22c], eax */
   5437     eax = MEM32(ebp + 0x20); /* 0x2501BEF4: mov eax, dword ptr [ebp + 0x20] */
   5438     MEM32(ecx + 0x230) = edx; /* 0x2501BEF7: mov dword ptr [ecx + 0x230], edx */
   5439     edx = MEM32(ebp + 0x24); /* 0x2501BEFD: mov edx, dword ptr [ebp + 0x24] */
   5440     MEM32(ecx + 0x234) = eax; /* 0x2501BF00: mov dword ptr [ecx + 0x234], eax */
   5441     eax = MEM32(ebp + 0x28); /* 0x2501BF06: mov eax, dword ptr [ebp + 0x28] */
   5442     MEM32(ecx + 0x238) = edx; /* 0x2501BF09: mov dword ptr [ecx + 0x238], edx */
   5443     edx = MEM32(ebp + 0x2C); /* 0x2501BF0F: mov edx, dword ptr [ebp + 0x2c] */
   5444     MEM32(ecx + 0x23C) = eax; /* 0x2501BF12: mov dword ptr [ecx + 0x23c], eax */
   5445     eax = MEM32(ebp + 0x30); /* 0x2501BF18: mov eax, dword ptr [ebp + 0x30] */
   5446     MEM32(ecx + 0x240) = edx; /* 0x2501BF1B: mov dword ptr [ecx + 0x240], edx */
   5447     edx = MEM32(ebp + 0x34); /* 0x2501BF21: mov edx, dword ptr [ebp + 0x34] */
   5448     MEM32(ecx + 0x244) = eax; /* 0x2501BF24: mov dword ptr [ecx + 0x244], eax */
   5449     eax = MEM32(ebp + 0x38); /* 0x2501BF2A: mov eax, dword ptr [ebp + 0x38] */
   5450     MEM32(ecx + 0x248) = edx; /* 0x2501BF2D: mov dword ptr [ecx + 0x248], edx */
   5451     edx = MEM32(ebp + 0x3C); /* 0x2501BF33: mov edx, dword ptr [ebp + 0x3c] */
   5452     MEM32(ecx + 0x24C) = eax; /* 0x2501BF36: mov dword ptr [ecx + 0x24c], eax */
   5453     eax = MEM32(ebp + 0x40); /* 0x2501BF3C: mov eax, dword ptr [ebp + 0x40] */
   5454     MEM32(ecx + 0x250) = edx; /* 0x2501BF3F: mov dword ptr [ecx + 0x250], edx */
   5455     edx = MEM32(ebp + 0x44); /* 0x2501BF45: mov edx, dword ptr [ebp + 0x44] */
   5456     MEM32(ecx + 0x254) = eax; /* 0x2501BF48: mov dword ptr [ecx + 0x254], eax */
   5457     eax = MEM32(ebp + 0x48); /* 0x2501BF4E: mov eax, dword ptr [ebp + 0x48] */
   5458     MEM32(ecx + 0x258) = edx; /* 0x2501BF51: mov dword ptr [ecx + 0x258], edx */
   5459     edx = MEM32(ebp + 0x4C); /* 0x2501BF57: mov edx, dword ptr [ebp + 0x4c] */
   5460     MEM32(ecx + 0x25C) = eax; /* 0x2501BF5A: mov dword ptr [ecx + 0x25c], eax */
   5461     eax = MEM32(ebp + 0x50); /* 0x2501BF60: mov eax, dword ptr [ebp + 0x50] */
   5462     MEM32(ecx + 0x260) = edx; /* 0x2501BF63: mov dword ptr [ecx + 0x260], edx */
   5463     edx = MEM32(ebp + 0x54); /* 0x2501BF69: mov edx, dword ptr [ebp + 0x54] */
   5464     MEM32(ecx + 0x264) = eax; /* 0x2501BF6C: mov dword ptr [ecx + 0x264], eax */
   5465     SET_LO8(eax, MEM8(ebp + 0x58)); /* 0x2501BF72: mov al, byte ptr [ebp + 0x58] */
   5466     MEM32(ecx + 0x268) = edx; /* 0x2501BF75: mov dword ptr [ecx + 0x268], edx */
   5467     edx = MEM32(ebp + 0x5C); /* 0x2501BF7B: mov edx, dword ptr [ebp + 0x5c] */
   5468     MEM8(ecx + 0x26C) = (uint8_t)(LO8(eax)); /* 0x2501BF7E: mov byte ptr [ecx + 0x26c], al */
   5469     MEM32(ecx + 0x270) = edx; /* 0x2501BF84: mov dword ptr [ecx + 0x270], edx */
   5470     esi = POP32_VAL(esp); /* 0x2501BF8A: pop esi */
   5471     ebp = POP32_VAL(esp); /* 0x2501BF8B: pop ebp */
   5472     RECOMP_FLAGS_OUT(); esp += 92; { RECOMP_REGS_OUT(); return; } /* 0x2501BF8C: ret 0x58 */
   5473     RECOMP_REGS_OUT();
   5474 }
   5475 
   5476 void sub_2501BF90(void) {
   5477     int _fpu_cmp = 0;
   5478     uint32_t _cf = 0;
   5479     int _df = 1;
   5480     uint32_t _flag_k = FK_NONE;
   5481     uint32_t _flag_a = 0, _flag_b = 0;
   5482     uint32_t _itail_tgt = 0;
   5483     RECOMP_REGS_LOCALS
   5484     RECOMP_ENTER(0x2501BF90u);
   5485 
   5486 L_2501BF90:
   5487     PUSH32(esp, ebp); /* 0x2501BF90: push ebp */
   5488     ebp = esp; /* 0x2501BF91: mov ebp, esp */
   5489     PUSH32(esp, esi); /* 0x2501BF93: push esi */
   5490     esi = MEM32(ecx + 0x274); /* 0x2501BF94: mov esi, dword ptr [ecx + 0x274] */
   5491     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5492     eax = 0; /* 0x2501BF9A: xor eax, eax */
   5493     _cf = 0;
   5494     _flag_k = FK_TEST;
   5495     /* test esi, esi */ /* 0x2501BF9C: test esi, esi */
   5496     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   5497     _cf = 0;
   5498     _flag_k = FK_TEST;
   5499     PUSH32(esp, edi); /* 0x2501BF9E: push edi */
   5500     if (TEST_LE(_flag_a, _flag_b)) goto L_2501C119; /* 0x2501BF9F: jle 0x2501c119 */
   5501 L_2501BFA5:
   5502     edi = MEM32(ecx + 0x278); /* 0x2501BFA5: mov edi, dword ptr [ecx + 0x278] */
   5503     edx = edi + 0x70; /* 0x2501BFAB: lea edx, [edi + 0x70] */
   5504 L_2501BFAE:
   5505     /* cmp MEM8(edx), 0 */ /* 0x2501BFAE: cmp byte ptr [edx], 0 */
   5506     _flag_a = (uint32_t)(MEM8(edx)) << 24; _flag_b = (uint32_t)(0) << 24;
   5507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5508     _flag_k = FK_NARROW(FK_CMP, 24);
   5509     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501BFC1; /* 0x2501BFB1: je 0x2501bfc1 */
   5510 L_2501BFB3:
   5511     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5512     eax = eax + 1; /* 0x2501BFB3: inc eax */
   5513     _flag_k = FK_INC;
   5514     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x74u);
   5515     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5516     edx = edx + 0x74u; /* 0x2501BFB4: add edx, 0x74 */
   5517     _flag_k = FK_ADD;
   5518     /* cmp eax, esi */ /* 0x2501BFB7: cmp eax, esi */
   5519     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5521     _flag_k = FK_CMP;
   5522     RECOMP_BACKEDGE();
   5523     if (CMP_L(_flag_a, _flag_b)) goto L_2501BFAE; /* 0x2501BFB9: jl 0x2501bfae */
   5524 L_2501BFBB:
   5525     edi = POP32_VAL(esp); /* 0x2501BFBB: pop edi */
   5526     esi = POP32_VAL(esp); /* 0x2501BFBC: pop esi */
   5527     ebp = POP32_VAL(esp); /* 0x2501BFBD: pop ebp */
   5528     RECOMP_FLAGS_OUT(); esp += 88; { RECOMP_REGS_OUT(); return; } /* 0x2501BFBE: ret 0x54 */
   5529 L_2501BFC1:
   5530     edx = eax * 8; /* 0x2501BFC1: lea edx, [eax*8] */
   5531     fp_push(*(float*)&MEM32(ebp + 0x18)); /* 0x2501BFC8: fld dword ptr [ebp + 0x18] */
   5532     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   5533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5534     edx = edx - eax; /* 0x2501BFCB: sub edx, eax */
   5535     _flag_k = FK_CMP;
   5536     eax = eax + edx * 4; /* 0x2501BFCD: lea eax, [eax + edx*4] */
   5537     edx = MEM32(ebp + 0x8); /* 0x2501BFD0: mov edx, dword ptr [ebp + 8] */
   5538     esi = MEM32(edx); /* 0x2501BFD3: mov esi, dword ptr [edx] */
   5539     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2501BFD5: shl eax, 2 */
   5540     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5541     eax = eax << 2u; /* 0x2501BFD5: shl eax, 2 */
   5542     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5543     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5544     edi = edi + eax; /* 0x2501BFD8: add edi, eax */
   5545     _flag_k = FK_ADD;
   5546     MEM32(edi) = esi; /* 0x2501BFDA: mov dword ptr [edi], esi */
   5547     esi = MEM32(edx + 0x4); /* 0x2501BFDC: mov esi, dword ptr [edx + 4] */
   5548     MEM32(edi + 0x4) = esi; /* 0x2501BFDF: mov dword ptr [edi + 4], esi */
   5549     edx = MEM32(edx + 0x8); /* 0x2501BFE2: mov edx, dword ptr [edx + 8] */
   5550     MEM32(edi + 0x8) = edx; /* 0x2501BFE5: mov dword ptr [edi + 8], edx */
   5551     edx = MEM32(ecx + 0x278); /* 0x2501BFE8: mov edx, dword ptr [ecx + 0x278] */
   5552     esi = MEM32(ebp + 0xC); /* 0x2501BFEE: mov esi, dword ptr [ebp + 0xc] */
   5553     edi = MEM32(esi); /* 0x2501BFF1: mov edi, dword ptr [esi] */
   5554     edx = eax + edx + 0xC; /* 0x2501BFF3: lea edx, [eax + edx + 0xc] */
   5555     MEM32(edx) = edi; /* 0x2501BFF7: mov dword ptr [edx], edi */
   5556     edi = MEM32(esi + 0x4); /* 0x2501BFF9: mov edi, dword ptr [esi + 4] */
   5557     MEM32(edx + 0x4) = edi; /* 0x2501BFFC: mov dword ptr [edx + 4], edi */
   5558     esi = MEM32(esi + 0x8); /* 0x2501BFFF: mov esi, dword ptr [esi + 8] */
   5559     MEM32(edx + 0x8) = esi; /* 0x2501C002: mov dword ptr [edx + 8], esi */
   5560     edx = MEM32(ecx + 0x278); /* 0x2501C005: mov edx, dword ptr [ecx + 0x278] */
   5561     esi = MEM32(ebp + 0x10); /* 0x2501C00B: mov esi, dword ptr [ebp + 0x10] */
   5562     edi = MEM32(esi); /* 0x2501C00E: mov edi, dword ptr [esi] */
   5563     edx = eax + edx + 0x18; /* 0x2501C010: lea edx, [eax + edx + 0x18] */
   5564     MEM32(edx) = edi; /* 0x2501C014: mov dword ptr [edx], edi */
   5565     edi = MEM32(esi + 0x4); /* 0x2501C016: mov edi, dword ptr [esi + 4] */
   5566     MEM32(edx + 0x4) = edi; /* 0x2501C019: mov dword ptr [edx + 4], edi */
   5567     esi = MEM32(esi + 0x8); /* 0x2501C01C: mov esi, dword ptr [esi + 8] */
   5568     MEM32(edx + 0x8) = esi; /* 0x2501C01F: mov dword ptr [edx + 8], esi */
   5569     edx = MEM32(ecx + 0x278); /* 0x2501C022: mov edx, dword ptr [ecx + 0x278] */
   5570     esi = MEM32(ebp + 0x14); /* 0x2501C028: mov esi, dword ptr [ebp + 0x14] */
   5571     edi = MEM32(esi); /* 0x2501C02B: mov edi, dword ptr [esi] */
   5572     edx = eax + edx + 0x24; /* 0x2501C02D: lea edx, [eax + edx + 0x24] */
   5573     MEM32(edx) = edi; /* 0x2501C031: mov dword ptr [edx], edi */
   5574     edi = MEM32(esi + 0x4); /* 0x2501C033: mov edi, dword ptr [esi + 4] */
   5575     MEM32(edx + 0x4) = edi; /* 0x2501C036: mov dword ptr [edx + 4], edi */
   5576     esi = MEM32(esi + 0x8); /* 0x2501C039: mov esi, dword ptr [esi + 8] */
   5577     MEM32(edx + 0x8) = esi; /* 0x2501C03C: mov dword ptr [edx + 8], esi */
   5578     edx = MEM32(ecx + 0x278); /* 0x2501C03F: mov edx, dword ptr [ecx + 0x278] */
   5579     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x30) = _v; } /* 0x2501C045: fstp dword ptr [eax + edx + 0x30] */
   5580     edx = MEM32(ecx + 0x278); /* 0x2501C049: mov edx, dword ptr [ecx + 0x278] */
   5581     fp_push(*(float*)&MEM32(ebp + 0x1C)); /* 0x2501C04F: fld dword ptr [ebp + 0x1c] */
   5582     esi = MEM32(ebp + 0x2C); /* 0x2501C052: mov esi, dword ptr [ebp + 0x2c] */
   5583     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x34) = _v; } /* 0x2501C055: fstp dword ptr [eax + edx + 0x34] */
   5584     edx = MEM32(ecx + 0x278); /* 0x2501C059: mov edx, dword ptr [ecx + 0x278] */
   5585     fp_push(*(float*)&MEM32(ebp + 0x20)); /* 0x2501C05F: fld dword ptr [ebp + 0x20] */
   5586     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x38) = _v; } /* 0x2501C062: fstp dword ptr [eax + edx + 0x38] */
   5587     edx = MEM32(ecx + 0x278); /* 0x2501C066: mov edx, dword ptr [ecx + 0x278] */
   5588     fp_push(*(float*)&MEM32(ebp + 0x24)); /* 0x2501C06C: fld dword ptr [ebp + 0x24] */
   5589     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x3C) = _v; } /* 0x2501C06F: fstp dword ptr [eax + edx + 0x3c] */
   5590     edx = MEM32(ecx + 0x278); /* 0x2501C073: mov edx, dword ptr [ecx + 0x278] */
   5591     fp_push(*(float*)&MEM32(ebp + 0x28)); /* 0x2501C079: fld dword ptr [ebp + 0x28] */
   5592     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x40) = _v; } /* 0x2501C07C: fstp dword ptr [eax + edx + 0x40] */
   5593     edx = MEM32(ecx + 0x278); /* 0x2501C080: mov edx, dword ptr [ecx + 0x278] */
   5594     fp_push(*(float*)&MEM32(ebp + 0x30)); /* 0x2501C086: fld dword ptr [ebp + 0x30] */
   5595     MEM32(eax + edx + 0x44) = esi; /* 0x2501C089: mov dword ptr [eax + edx + 0x44], esi */
   5596     edx = MEM32(ecx + 0x278); /* 0x2501C08D: mov edx, dword ptr [ecx + 0x278] */
   5597     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x48) = _v; } /* 0x2501C093: fstp dword ptr [eax + edx + 0x48] */
   5598     edx = MEM32(ecx + 0x278); /* 0x2501C097: mov edx, dword ptr [ecx + 0x278] */
   5599     fp_push(*(float*)&MEM32(ebp + 0x34)); /* 0x2501C09D: fld dword ptr [ebp + 0x34] */
   5600     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x4C) = _v; } /* 0x2501C0A0: fstp dword ptr [eax + edx + 0x4c] */
   5601     edx = MEM32(ecx + 0x278); /* 0x2501C0A4: mov edx, dword ptr [ecx + 0x278] */
   5602     fp_push(*(float*)&MEM32(ebp + 0x38)); /* 0x2501C0AA: fld dword ptr [ebp + 0x38] */
   5603     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x50) = _v; } /* 0x2501C0AD: fstp dword ptr [eax + edx + 0x50] */
   5604     edx = MEM32(ecx + 0x278); /* 0x2501C0B1: mov edx, dword ptr [ecx + 0x278] */
   5605     fp_push(*(float*)&MEM32(ebp + 0x3C)); /* 0x2501C0B7: fld dword ptr [ebp + 0x3c] */
   5606     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x54) = _v; } /* 0x2501C0BA: fstp dword ptr [eax + edx + 0x54] */
   5607     edx = MEM32(ecx + 0x278); /* 0x2501C0BE: mov edx, dword ptr [ecx + 0x278] */
   5608     fp_push(*(float*)&MEM32(ebp + 0x40)); /* 0x2501C0C4: fld dword ptr [ebp + 0x40] */
   5609     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x58) = _v; } /* 0x2501C0C7: fstp dword ptr [eax + edx + 0x58] */
   5610     edx = MEM32(ecx + 0x278); /* 0x2501C0CB: mov edx, dword ptr [ecx + 0x278] */
   5611     fp_push(*(float*)&MEM32(ebp + 0x44)); /* 0x2501C0D1: fld dword ptr [ebp + 0x44] */
   5612     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x5C) = _v; } /* 0x2501C0D4: fstp dword ptr [eax + edx + 0x5c] */
   5613     edx = MEM32(ecx + 0x278); /* 0x2501C0D8: mov edx, dword ptr [ecx + 0x278] */
   5614     fp_push(*(float*)&MEM32(ebp + 0x48)); /* 0x2501C0DE: fld dword ptr [ebp + 0x48] */
   5615     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x60) = _v; } /* 0x2501C0E1: fstp dword ptr [eax + edx + 0x60] */
   5616     edx = MEM32(ecx + 0x278); /* 0x2501C0E5: mov edx, dword ptr [ecx + 0x278] */
   5617     fp_push(*(float*)&MEM32(ebp + 0x4C)); /* 0x2501C0EB: fld dword ptr [ebp + 0x4c] */
   5618     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x64) = _v; } /* 0x2501C0EE: fstp dword ptr [eax + edx + 0x64] */
   5619     edx = MEM32(ecx + 0x278); /* 0x2501C0F2: mov edx, dword ptr [ecx + 0x278] */
   5620     fp_push(*(float*)&MEM32(ebp + 0x50)); /* 0x2501C0F8: fld dword ptr [ebp + 0x50] */
   5621     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x68) = _v; } /* 0x2501C0FB: fstp dword ptr [eax + edx + 0x68] */
   5622     edx = MEM32(ecx + 0x278); /* 0x2501C0FF: mov edx, dword ptr [ecx + 0x278] */
   5623     fp_push(*(float*)&MEM32(ebp + 0x54)); /* 0x2501C105: fld dword ptr [ebp + 0x54] */
   5624     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x6C) = _v; } /* 0x2501C108: fstp dword ptr [eax + edx + 0x6c] */
   5625     ecx = MEM32(ecx + 0x278); /* 0x2501C10C: mov ecx, dword ptr [ecx + 0x278] */
   5626     SET_LO8(edx, MEM8(ebp + 0x58)); /* 0x2501C112: mov dl, byte ptr [ebp + 0x58] */
   5627     MEM8(eax + ecx + 0x70) = (uint8_t)(LO8(edx)); /* 0x2501C115: mov byte ptr [eax + ecx + 0x70], dl */
   5628 L_2501C119:
   5629     edi = POP32_VAL(esp); /* 0x2501C119: pop edi */
   5630     esi = POP32_VAL(esp); /* 0x2501C11A: pop esi */
   5631     ebp = POP32_VAL(esp); /* 0x2501C11B: pop ebp */
   5632     RECOMP_FLAGS_OUT(); esp += 88; { RECOMP_REGS_OUT(); return; } /* 0x2501C11C: ret 0x54 */
   5633     RECOMP_REGS_OUT();
   5634 }
   5635 
   5636 void sub_2501C120(void) {
   5637     int _fpu_cmp = 0;
   5638     uint32_t _cf = 0;
   5639     int _df = 1;
   5640     uint32_t _flag_k = FK_NONE;
   5641     uint32_t _flag_a = 0, _flag_b = 0;
   5642     uint32_t _itail_tgt = 0;
   5643     RECOMP_REGS_LOCALS
   5644     RECOMP_ENTER(0x2501C120u);
   5645 
   5646 L_2501C120:
   5647     PUSH32(esp, ebp); /* 0x2501C120: push ebp */
   5648     ebp = esp; /* 0x2501C121: mov ebp, esp */
   5649     eax = MEM32(ebp + 0x8); /* 0x2501C123: mov eax, dword ptr [ebp + 8] */
   5650     PUSH32(esp, eax); /* 0x2501C126: push eax */
   5651     RECOMP_ICALL(0x2501C130u); /* 0x2501C127: call 0x2501c130 */ /* not lifted */
   5652     RECOMP_FLAGS_IN();
   5653     ebp = POP32_VAL(esp); /* 0x2501C12C: pop ebp */
   5654     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C12D: ret 4 */
   5655     RECOMP_REGS_OUT();
   5656 }
   5657 
   5658 void sub_2501C130(void) {
   5659     int _fpu_cmp = 0;
   5660     uint32_t _cf = 0;
   5661     int _df = 1;
   5662     uint32_t _flag_k = FK_NONE;
   5663     uint32_t _flag_a = 0, _flag_b = 0;
   5664     uint32_t _itail_tgt = 0;
   5665     RECOMP_REGS_LOCALS
   5666     RECOMP_ENTER(0x2501C130u);
   5667 
   5668 L_2501C130:
   5669     PUSH32(esp, ebp); /* 0x2501C130: push ebp */
   5670     ebp = esp; /* 0x2501C131: mov ebp, esp */
   5671     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u);
   5672     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5673     esp = esp - 0x38u; /* 0x2501C133: sub esp, 0x38 */
   5674     _flag_k = FK_CMP;
   5675     PUSH32(esp, ebx); /* 0x2501C136: push ebx */
   5676     PUSH32(esp, esi); /* 0x2501C137: push esi */
   5677     esi = ecx; /* 0x2501C138: mov esi, ecx */
   5678     eax = MEM32(esi + 0x274); /* 0x2501C13A: mov eax, dword ptr [esi + 0x274] */
   5679     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5680     ebx = 0; /* 0x2501C140: xor ebx, ebx */
   5681     _cf = 0;
   5682     _flag_k = FK_TEST;
   5683     /* cmp eax, ebx */ /* 0x2501C142: cmp eax, ebx */
   5684     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5685     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5686     _flag_k = FK_CMP;
   5687     MEM32(esi + 0x27C) = ebx; /* 0x2501C144: mov dword ptr [esi + 0x27c], ebx */
   5688     if (CMP_LE(_flag_a, _flag_b)) goto L_2501C2F3; /* 0x2501C14A: jle 0x2501c2f3 */
   5689 L_2501C150:
   5690     PUSH32(esp, edi); /* 0x2501C150: push edi */
   5691     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5692     edi = 0; /* 0x2501C151: xor edi, edi */
   5693     _cf = 0;
   5694     _flag_k = FK_TEST;
   5695 L_2501C153:
   5696     eax = MEM32(esi + 0x278); /* 0x2501C153: mov eax, dword ptr [esi + 0x278] */
   5697     SET_LO8(ecx, MEM8(eax + edi + 0x70)); /* 0x2501C159: mov cl, byte ptr [eax + edi + 0x70] */
   5698     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5699     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5700     eax = eax + edi; /* 0x2501C15D: add eax, edi */
   5701     _flag_k = FK_ADD;
   5702     /* cmp LO8(ecx), 1 */ /* 0x2501C15F: cmp cl, 1 */
   5703     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5705     _flag_k = FK_NARROW(FK_CMP, 24);
   5706     if (CMP_NE(_flag_a, _flag_b)) goto L_2501C2E0; /* 0x2501C162: jne 0x2501c2e0 */
   5707 L_2501C168:
   5708     fp_push(*(float*)&MEM32(eax + 0x48)); /* 0x2501C168: fld dword ptr [eax + 0x48] */
   5709     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501C16B: fmul dword ptr [0x25151928] */
   5710     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501C171: fstp dword ptr [ebp - 4] */
   5711     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501C174: fld dword ptr [ebp - 4] */
   5712     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501C177: fsub qword ptr [0x25151b60] */
   5713     MEM32(ebp + (-0x8)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501C17D: fistp dword ptr [ebp - 8] */
   5714     ecx = MEM32(esi + 0x278); /* 0x2501C180: mov ecx, dword ptr [esi + 0x278] */
   5715     fp_push(*(float*)&MEM32(ecx + edi + 0x4C)); /* 0x2501C186: fld dword ptr [ecx + edi + 0x4c] */
   5716     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501C18A: fmul dword ptr [0x25151928] */
   5717     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501C190: fstp dword ptr [ebp - 4] */
   5718     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501C193: fld dword ptr [ebp - 4] */
   5719     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501C196: fsub qword ptr [0x25151b60] */
   5720     MEM32(ebp + (-0xC)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501C19C: fistp dword ptr [ebp - 0xc] */
   5721     edx = MEM32(esi + 0x278); /* 0x2501C19F: mov edx, dword ptr [esi + 0x278] */
   5722     fp_push(*(float*)&MEM32(edx + edi + 0x50)); /* 0x2501C1A5: fld dword ptr [edx + edi + 0x50] */
   5723     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501C1A9: fmul dword ptr [0x25151928] */
   5724     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501C1AF: fstp dword ptr [ebp - 4] */
   5725     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501C1B2: fld dword ptr [ebp - 4] */
   5726     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501C1B5: fsub qword ptr [0x25151b60] */
   5727     MEM32(ebp + (-0x10)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501C1BB: fistp dword ptr [ebp - 0x10] */
   5728     eax = MEM32(esi + 0x278); /* 0x2501C1BE: mov eax, dword ptr [esi + 0x278] */
   5729     fp_push(*(float*)&MEM32(eax + edi + 0x54)); /* 0x2501C1C4: fld dword ptr [eax + edi + 0x54] */
   5730     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501C1C8: fmul dword ptr [0x25151928] */
   5731     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501C1CE: fstp dword ptr [ebp - 4] */
   5732     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501C1D1: fld dword ptr [ebp - 4] */
   5733     _st[0] -= *(double*)ADDR(0x25151B60); /* 0x2501C1D4: fsub qword ptr [0x25151b60] */
   5734     MEM32(ebp + (-0x14)) = (uint32_t)(int32_t)fp_to_int(fp_pop()); /* 0x2501C1DA: fistp dword ptr [ebp - 0x14] */
   5735     ecx = MEM32(ebp + (-0x8)); /* 0x2501C1DD: mov ecx, dword ptr [ebp - 8] */
   5736     edx = MEM32(ebp + (-0xC)); /* 0x2501C1E0: mov edx, dword ptr [ebp - 0xc] */
   5737     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2501C1E3: shl ecx, 8 */
   5738     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5739     ecx = ecx << 8u; /* 0x2501C1E3: shl ecx, 8 */
   5740     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   5741     ecx = ecx | edx; /* 0x2501C1E6: or ecx, edx */
   5742     _cf = 0;
   5743     _flag_k = FK_TEST;
   5744     edx = MEM32(ebp + (-0x10)); /* 0x2501C1E8: mov edx, dword ptr [ebp - 0x10] */
   5745     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2501C1EB: shl ecx, 8 */
   5746     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5747     ecx = ecx << 8u; /* 0x2501C1EB: shl ecx, 8 */
   5748     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   5749     ecx = ecx | edx; /* 0x2501C1EE: or ecx, edx */
   5750     _cf = 0;
   5751     _flag_k = FK_TEST;
   5752     edx = MEM32(ebp + (-0x14)); /* 0x2501C1F0: mov edx, dword ptr [ebp - 0x14] */
   5753     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x2501C1F3: shl ecx, 8 */
   5754     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5755     ecx = ecx << 8u; /* 0x2501C1F3: shl ecx, 8 */
   5756     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   5757     ecx = ecx | edx; /* 0x2501C1F6: or ecx, edx */
   5758     _cf = 0;
   5759     _flag_k = FK_TEST;
   5760     edx = MEM32(esi + 0x278); /* 0x2501C1F8: mov edx, dword ptr [esi + 0x278] */
   5761     MEM32(edx + edi + 0x44) = ecx; /* 0x2501C1FE: mov dword ptr [edx + edi + 0x44], ecx */
   5762     ecx = 0x252385D0u; /* 0x2501C202: mov ecx, 0x252385d0 */
   5763     RECOMP_ICALL(0x250BC8C0u); /* 0x2501C207: call 0x250bc8c0 */ /* not lifted */
   5764     RECOMP_FLAGS_IN();
   5765     _st[0] += _st[0]; /* 0x2501C20C: fadd st(0), st(0) */
   5766     ecx = 0x252385D0u; /* 0x2501C20E: mov ecx, 0x252385d0 */
   5767     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501C213: fsub dword ptr [0x251517a4] */
   5768     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501C219: fstp dword ptr [ebp - 4] */
   5769     RECOMP_ICALL(0x250BC8C0u); /* 0x2501C21C: call 0x250bc8c0 */ /* not lifted */
   5770     RECOMP_FLAGS_IN();
   5771     _st[0] += _st[0]; /* 0x2501C221: fadd st(0), st(0) */
   5772     eax = MEM32(ebp + (-0x4)); /* 0x2501C223: mov eax, dword ptr [ebp - 4] */
   5773     ecx = 0x252385D0u; /* 0x2501C226: mov ecx, 0x252385d0 */
   5774     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501C22B: fsub dword ptr [0x251517a4] */
   5775     MEM32(ebp + (-0x38)) = eax; /* 0x2501C231: mov dword ptr [ebp - 0x38], eax */
   5776     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501C234: fstp dword ptr [ebp - 0x34] */
   5777     RECOMP_ICALL(0x250BC8C0u); /* 0x2501C237: call 0x250bc8c0 */ /* not lifted */
   5778     RECOMP_FLAGS_IN();
   5779     _st[0] += _st[0]; /* 0x2501C23C: fadd st(0), st(0) */
   5780     ecx = MEM32(ebp + (-0x38)); /* 0x2501C23E: mov ecx, dword ptr [ebp - 0x38] */
   5781     edx = MEM32(ebp + (-0x34)); /* 0x2501C241: mov edx, dword ptr [ebp - 0x34] */
   5782     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501C244: fsub dword ptr [0x251517a4] */
   5783     MEM32(ebp + (-0x1C)) = edx; /* 0x2501C24A: mov dword ptr [ebp - 0x1c], edx */
   5784     MEM32(ebp + (-0x20)) = ecx; /* 0x2501C24D: mov dword ptr [ebp - 0x20], ecx */
   5785     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501C250: fstp dword ptr [ebp - 0x30] */
   5786     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2501C253: fld dword ptr [ebp - 4] */
   5787     eax = MEM32(ebp + (-0x30)); /* 0x2501C256: mov eax, dword ptr [ebp - 0x30] */
   5788     _st[0] *= (double)*(float*)ADDR(0x25151860); /* 0x2501C259: fmul dword ptr [0x25151860] */
   5789     MEM32(ebp + (-0x18)) = eax; /* 0x2501C25F: mov dword ptr [ebp - 0x18], eax */
   5790     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501C262: fstp dword ptr [ebp - 0x20] */
   5791     ecx = MEM32(ebp + (-0x20)); /* 0x2501C265: mov ecx, dword ptr [ebp - 0x20] */
   5792     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501C268: fld dword ptr [ebp - 0x1c] */
   5793     MEM32(ebp + (-0x38)) = ecx; /* 0x2501C26B: mov dword ptr [ebp - 0x38], ecx */
   5794     _st[0] *= (double)*(float*)ADDR(0x25151860); /* 0x2501C26E: fmul dword ptr [0x25151860] */
   5795     ecx = MEM32(esi + 0x278); /* 0x2501C274: mov ecx, dword ptr [esi + 0x278] */
   5796     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501C27A: fstp dword ptr [ebp - 0x1c] */
   5797     edx = MEM32(ebp + (-0x1C)); /* 0x2501C27D: mov edx, dword ptr [ebp - 0x1c] */
   5798     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501C280: fld dword ptr [ebp - 0x18] */
   5799     MEM32(ebp + (-0x34)) = edx; /* 0x2501C283: mov dword ptr [ebp - 0x34], edx */
   5800     _st[0] *= (double)*(float*)ADDR(0x25151860); /* 0x2501C286: fmul dword ptr [0x25151860] */
   5801     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501C28C: fstp dword ptr [ebp - 0x18] */
   5802     eax = MEM32(ebp + (-0x18)); /* 0x2501C28F: mov eax, dword ptr [ebp - 0x18] */
   5803     MEM32(ebp + (-0x30)) = eax; /* 0x2501C292: mov dword ptr [ebp - 0x30], eax */
   5804     eax = ecx + edi; /* 0x2501C295: lea eax, [ecx + edi] */
   5805     edx = eax; /* 0x2501C298: mov edx, eax */
   5806     ecx = MEM32(edx); /* 0x2501C29A: mov ecx, dword ptr [edx] */
   5807     MEM32(ebp + (-0x2C)) = ecx; /* 0x2501C29C: mov dword ptr [ebp - 0x2c], ecx */
   5808     ecx = MEM32(edx + 0x4); /* 0x2501C29F: mov ecx, dword ptr [edx + 4] */
   5809     edx = MEM32(edx + 0x8); /* 0x2501C2A2: mov edx, dword ptr [edx + 8] */
   5810     MEM32(ebp + (-0x28)) = ecx; /* 0x2501C2A5: mov dword ptr [ebp - 0x28], ecx */
   5811     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501C2A8: fld dword ptr [ebp - 0x2c] */
   5812     MEM32(ebp + (-0x24)) = edx; /* 0x2501C2AB: mov dword ptr [ebp - 0x24], edx */
   5813     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501C2AE: fadd dword ptr [ebp - 0x20] */
   5814     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   5815     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5816     eax = eax + 0x18u; /* 0x2501C2B1: add eax, 0x18 */
   5817     _flag_k = FK_ADD;
   5818     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501C2B4: fstp dword ptr [ebp - 0x2c] */
   5819     ecx = MEM32(ebp + (-0x2C)); /* 0x2501C2B7: mov ecx, dword ptr [ebp - 0x2c] */
   5820     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501C2BA: fld dword ptr [ebp - 0x28] */
   5821     MEM32(eax) = ecx; /* 0x2501C2BD: mov dword ptr [eax], ecx */
   5822     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501C2BF: fadd dword ptr [ebp - 0x1c] */
   5823     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501C2C2: fstp dword ptr [ebp - 0x28] */
   5824     edx = MEM32(ebp + (-0x28)); /* 0x2501C2C5: mov edx, dword ptr [ebp - 0x28] */
   5825     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501C2C8: fld dword ptr [ebp - 0x24] */
   5826     MEM32(eax + 0x4) = edx; /* 0x2501C2CB: mov dword ptr [eax + 4], edx */
   5827     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501C2CE: fadd dword ptr [ebp - 0x18] */
   5828     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501C2D1: fstp dword ptr [ebp - 0x24] */
   5829     ecx = MEM32(ebp + (-0x24)); /* 0x2501C2D4: mov ecx, dword ptr [ebp - 0x24] */
   5830     MEM32(eax + 0x8) = ecx; /* 0x2501C2D7: mov dword ptr [eax + 8], ecx */
   5831     _flag_a = (uint32_t)(MEM32(esi + 0x27C)); _flag_b = (uint32_t)(1);
   5832     MEM32(esi + 0x27C) = MEM32(esi + 0x27C) + 1; /* 0x2501C2DA: inc dword ptr [esi + 0x27c] */
   5833     _flag_k = FK_INC;
   5834 L_2501C2E0:
   5835     eax = MEM32(esi + 0x274); /* 0x2501C2E0: mov eax, dword ptr [esi + 0x274] */
   5836     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   5837     ebx = ebx + 1; /* 0x2501C2E6: inc ebx */
   5838     _flag_k = FK_INC;
   5839     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x74u);
   5840     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5841     edi = edi + 0x74u; /* 0x2501C2E7: add edi, 0x74 */
   5842     _flag_k = FK_ADD;
   5843     /* cmp ebx, eax */ /* 0x2501C2EA: cmp ebx, eax */
   5844     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5845     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5846     _flag_k = FK_CMP;
   5847     RECOMP_BACKEDGE();
   5848     if (CMP_L(_flag_a, _flag_b)) goto L_2501C153; /* 0x2501C2EC: jl 0x2501c153 */
   5849 L_2501C2F2:
   5850     edi = POP32_VAL(esp); /* 0x2501C2F2: pop edi */
   5851 L_2501C2F3:
   5852     esi = POP32_VAL(esp); /* 0x2501C2F3: pop esi */
   5853     ebx = POP32_VAL(esp); /* 0x2501C2F4: pop ebx */
   5854     esp = ebp; /* 0x2501C2F5: mov esp, ebp */
   5855     ebp = POP32_VAL(esp); /* 0x2501C2F7: pop ebp */
   5856     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C2F8: ret 4 */
   5857     RECOMP_REGS_OUT();
   5858 }
   5859 
   5860 void sub_2501C300(void) {
   5861     int _fpu_cmp = 0;
   5862     uint32_t _cf = 0;
   5863     int _df = 1;
   5864     uint32_t _flag_k = FK_NONE;
   5865     uint32_t _flag_a = 0, _flag_b = 0;
   5866     uint32_t _itail_tgt = 0;
   5867     RECOMP_REGS_LOCALS
   5868     RECOMP_ENTER(0x2501C300u);
   5869 
   5870 L_2501C300:
   5871     eax = MEM32(0x251C2744); /* 0x2501C300: mov eax, dword ptr [0x251c2744] */
   5872     PUSH32(esp, esi); /* 0x2501C305: push esi */
   5873     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5874     esi = 0; /* 0x2501C306: xor esi, esi */
   5875     _cf = 0;
   5876     _flag_k = FK_TEST;
   5877     /* cmp eax, esi */ /* 0x2501C308: cmp eax, esi */
   5878     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5880     _flag_k = FK_CMP;
   5881     MEM32(0x251C274C) = esi; /* 0x2501C30A: mov dword ptr [0x251c274c], esi */
   5882     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C31B; /* 0x2501C310: je 0x2501c31b */
   5883 L_2501C312:
   5884     PUSH32(esp, eax); /* 0x2501C312: push eax */
   5885     RECOMP_ICALL(0x25137EECu); /* 0x2501C313: call 0x25137eec */ /* not lifted */
   5886     RECOMP_FLAGS_IN();
   5887     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5888     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5889     esp = esp + 4; /* 0x2501C318: add esp, 4 */
   5890     _flag_k = FK_ADD;
   5891 L_2501C31B:
   5892     eax = MEM32(0x251C2748); /* 0x2501C31B: mov eax, dword ptr [0x251c2748] */
   5893     /* cmp eax, esi */ /* 0x2501C320: cmp eax, esi */
   5894     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   5895     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5896     _flag_k = FK_CMP;
   5897     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C32D; /* 0x2501C322: je 0x2501c32d */
   5898 L_2501C324:
   5899     PUSH32(esp, eax); /* 0x2501C324: push eax */
   5900     RECOMP_ICALL(0x25137EECu); /* 0x2501C325: call 0x25137eec */ /* not lifted */
   5901     RECOMP_FLAGS_IN();
   5902     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5903     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5904     esp = esp + 4; /* 0x2501C32A: add esp, 4 */
   5905     _flag_k = FK_ADD;
   5906 L_2501C32D:
   5907     MEM32(0x251C2744) = esi; /* 0x2501C32D: mov dword ptr [0x251c2744], esi */
   5908     MEM32(0x251C2748) = esi; /* 0x2501C333: mov dword ptr [0x251c2748], esi */
   5909     esi = POP32_VAL(esp); /* 0x2501C339: pop esi */
   5910     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C33A: ret  */
   5911     RECOMP_REGS_OUT();
   5912 }
   5913 
   5914 void sub_2501C340(void) {
   5915     int _fpu_cmp = 0;
   5916     uint32_t _cf = 0;
   5917     int _df = 1;
   5918     uint32_t _flag_k = FK_NONE;
   5919     uint32_t _flag_a = 0, _flag_b = 0;
   5920     uint32_t _itail_tgt = 0;
   5921     RECOMP_REGS_LOCALS
   5922     RECOMP_ENTER(0x2501C340u);
   5923 
   5924     goto L_2501C340;
   5925 L_2501B1E0:
   5926     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   5927     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   5928     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   5929     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   5930     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   5931     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5932     _cf = 0;
   5933     _flag_k = FK_NARROW(FK_TEST, 24);
   5934     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   5935     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   5936     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   5937 L_2501B1EF:
   5938     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   5939     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   5940     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   5941     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   5942     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   5943     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   5944     PUSH32(esp, esi); /* 0x2501B201: push esi */
   5945     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   5946     RECOMP_FLAGS_IN();
   5947     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   5948     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5949     _cf = 0;
   5950     _flag_k = FK_NARROW(FK_TEST, 24);
   5951     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   5952 L_2501B20C:
   5953     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   5954     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   5955     RECOMP_FLAGS_IN();
   5956     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5957     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5958     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   5959     _flag_k = FK_ADD;
   5960 L_2501B215:
   5961     eax = edi; /* 0x2501B215: mov eax, edi */
   5962     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   5963     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   5964     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   5965     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   5966     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   5967 L_2501B21E:
   5968     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   5969     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   5970     RECOMP_FLAGS_IN();
   5971     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   5972     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5973     _cf = 0;
   5974     _flag_k = FK_NARROW(FK_TEST, 24);
   5975     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   5976 L_2501B22A:
   5977     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   5978     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   5979     RECOMP_FLAGS_IN();
   5980     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5981     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5982     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   5983     _flag_k = FK_ADD;
   5984 L_2501B233:
   5985     eax = esi; /* 0x2501B233: mov eax, esi */
   5986     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   5987     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   5988     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   5989     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   5990 L_2501C340:
   5991     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   5992     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5993     ecx = ecx - 8; /* 0x2501C340: sub ecx, 8 */
   5994     _flag_k = FK_CMP;
   5995     RECOMP_BACKEDGE();
   5996     goto L_2501B1E0; /* 0x2501C343: jmp 0x2501b1e0 */
   5997     { RECOMP_REGS_OUT(); return; } /* end of function */
   5998     RECOMP_REGS_OUT();
   5999 }
   6000 
   6001 void sub_2501C350(void) {
   6002     int _fpu_cmp = 0;
   6003     uint32_t _cf = 0;
   6004     int _df = 1;
   6005     uint32_t _flag_k = FK_NONE;
   6006     uint32_t _flag_a = 0, _flag_b = 0;
   6007     uint32_t _itail_tgt = 0;
   6008     RECOMP_REGS_LOCALS
   6009     RECOMP_ENTER(0x2501C350u);
   6010 
   6011     goto L_2501C350;
   6012 L_2501B1E0:
   6013     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   6014     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   6015     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   6016     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   6017     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   6018     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6019     _cf = 0;
   6020     _flag_k = FK_NARROW(FK_TEST, 24);
   6021     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   6022     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   6023     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   6024 L_2501B1EF:
   6025     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   6026     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   6027     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   6028     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   6029     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   6030     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   6031     PUSH32(esp, esi); /* 0x2501B201: push esi */
   6032     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   6033     RECOMP_FLAGS_IN();
   6034     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   6035     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6036     _cf = 0;
   6037     _flag_k = FK_NARROW(FK_TEST, 24);
   6038     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   6039 L_2501B20C:
   6040     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   6041     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   6042     RECOMP_FLAGS_IN();
   6043     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6044     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6045     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   6046     _flag_k = FK_ADD;
   6047 L_2501B215:
   6048     eax = edi; /* 0x2501B215: mov eax, edi */
   6049     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   6050     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   6051     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   6052     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   6053     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   6054 L_2501B21E:
   6055     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   6056     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   6057     RECOMP_FLAGS_IN();
   6058     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   6059     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6060     _cf = 0;
   6061     _flag_k = FK_NARROW(FK_TEST, 24);
   6062     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   6063 L_2501B22A:
   6064     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   6065     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   6066     RECOMP_FLAGS_IN();
   6067     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6068     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6069     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   6070     _flag_k = FK_ADD;
   6071 L_2501B233:
   6072     eax = esi; /* 0x2501B233: mov eax, esi */
   6073     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   6074     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   6075     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   6076     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   6077 L_2501C350:
   6078     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
   6079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6080     ecx = ecx - 0x20u; /* 0x2501C350: sub ecx, 0x20 */
   6081     _flag_k = FK_CMP;
   6082     RECOMP_BACKEDGE();
   6083     goto L_2501B1E0; /* 0x2501C353: jmp 0x2501b1e0 */
   6084     { RECOMP_REGS_OUT(); return; } /* end of function */
   6085     RECOMP_REGS_OUT();
   6086 }
   6087 
   6088 void sub_2501C360(void) {
   6089     int _fpu_cmp = 0;
   6090     uint32_t _cf = 0;
   6091     int _df = 1;
   6092     uint32_t _flag_k = FK_NONE;
   6093     uint32_t _flag_a = 0, _flag_b = 0;
   6094     uint32_t _itail_tgt = 0;
   6095     RECOMP_REGS_LOCALS
   6096     RECOMP_ENTER(0x2501C360u);
   6097 
   6098     goto L_2501C360;
   6099 L_2501B1E0:
   6100     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   6101     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   6102     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   6103     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   6104     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   6105     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6106     _cf = 0;
   6107     _flag_k = FK_NARROW(FK_TEST, 24);
   6108     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   6109     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   6110     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   6111 L_2501B1EF:
   6112     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   6113     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   6114     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   6115     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   6116     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   6117     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   6118     PUSH32(esp, esi); /* 0x2501B201: push esi */
   6119     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   6120     RECOMP_FLAGS_IN();
   6121     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   6122     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6123     _cf = 0;
   6124     _flag_k = FK_NARROW(FK_TEST, 24);
   6125     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   6126 L_2501B20C:
   6127     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   6128     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   6129     RECOMP_FLAGS_IN();
   6130     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6131     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6132     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   6133     _flag_k = FK_ADD;
   6134 L_2501B215:
   6135     eax = edi; /* 0x2501B215: mov eax, edi */
   6136     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   6137     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   6138     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   6139     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   6140     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   6141 L_2501B21E:
   6142     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   6143     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   6144     RECOMP_FLAGS_IN();
   6145     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   6146     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6147     _cf = 0;
   6148     _flag_k = FK_NARROW(FK_TEST, 24);
   6149     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   6150 L_2501B22A:
   6151     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   6152     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   6153     RECOMP_FLAGS_IN();
   6154     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6155     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6156     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   6157     _flag_k = FK_ADD;
   6158 L_2501B233:
   6159     eax = esi; /* 0x2501B233: mov eax, esi */
   6160     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   6161     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   6162     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   6163     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   6164 L_2501C360:
   6165     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
   6166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6167     ecx = ecx - 0x38u; /* 0x2501C360: sub ecx, 0x38 */
   6168     _flag_k = FK_CMP;
   6169     RECOMP_BACKEDGE();
   6170     goto L_2501B1E0; /* 0x2501C363: jmp 0x2501b1e0 */
   6171     { RECOMP_REGS_OUT(); return; } /* end of function */
   6172     RECOMP_REGS_OUT();
   6173 }
   6174 
   6175 void sub_2501C370(void) {
   6176     int _fpu_cmp = 0;
   6177     uint32_t _cf = 0;
   6178     int _df = 1;
   6179     uint32_t _flag_k = FK_NONE;
   6180     uint32_t _flag_a = 0, _flag_b = 0;
   6181     uint32_t _itail_tgt = 0;
   6182     RECOMP_REGS_LOCALS
   6183     RECOMP_ENTER(0x2501C370u);
   6184 
   6185     goto L_2501C370;
   6186 L_2501B1E0:
   6187     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   6188     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   6189     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   6190     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   6191     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   6192     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6193     _cf = 0;
   6194     _flag_k = FK_NARROW(FK_TEST, 24);
   6195     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   6196     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   6197     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   6198 L_2501B1EF:
   6199     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   6200     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   6201     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   6202     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   6203     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   6204     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   6205     PUSH32(esp, esi); /* 0x2501B201: push esi */
   6206     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   6207     RECOMP_FLAGS_IN();
   6208     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   6209     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6210     _cf = 0;
   6211     _flag_k = FK_NARROW(FK_TEST, 24);
   6212     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   6213 L_2501B20C:
   6214     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   6215     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   6216     RECOMP_FLAGS_IN();
   6217     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6218     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6219     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   6220     _flag_k = FK_ADD;
   6221 L_2501B215:
   6222     eax = edi; /* 0x2501B215: mov eax, edi */
   6223     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   6224     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   6225     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   6226     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   6227     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   6228 L_2501B21E:
   6229     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   6230     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   6231     RECOMP_FLAGS_IN();
   6232     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   6233     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6234     _cf = 0;
   6235     _flag_k = FK_NARROW(FK_TEST, 24);
   6236     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   6237 L_2501B22A:
   6238     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   6239     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   6240     RECOMP_FLAGS_IN();
   6241     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6242     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6243     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   6244     _flag_k = FK_ADD;
   6245 L_2501B233:
   6246     eax = esi; /* 0x2501B233: mov eax, esi */
   6247     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   6248     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   6249     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   6250     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   6251 L_2501C370:
   6252     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
   6253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6254     ecx = ecx - 0x50u; /* 0x2501C370: sub ecx, 0x50 */
   6255     _flag_k = FK_CMP;
   6256     RECOMP_BACKEDGE();
   6257     goto L_2501B1E0; /* 0x2501C373: jmp 0x2501b1e0 */
   6258     { RECOMP_REGS_OUT(); return; } /* end of function */
   6259     RECOMP_REGS_OUT();
   6260 }
   6261 
   6262 void sub_2501C380(void) {
   6263     int _fpu_cmp = 0;
   6264     uint32_t _cf = 0;
   6265     int _df = 1;
   6266     uint32_t _flag_k = FK_NONE;
   6267     uint32_t _flag_a = 0, _flag_b = 0;
   6268     uint32_t _itail_tgt = 0;
   6269     RECOMP_REGS_LOCALS
   6270     RECOMP_ENTER(0x2501C380u);
   6271 
   6272     goto L_2501C380;
   6273 L_2501B1E0:
   6274     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   6275     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   6276     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   6277     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   6278     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   6279     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6280     _cf = 0;
   6281     _flag_k = FK_NARROW(FK_TEST, 24);
   6282     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   6283     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   6284     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   6285 L_2501B1EF:
   6286     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   6287     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   6288     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   6289     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   6290     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   6291     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   6292     PUSH32(esp, esi); /* 0x2501B201: push esi */
   6293     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   6294     RECOMP_FLAGS_IN();
   6295     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   6296     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6297     _cf = 0;
   6298     _flag_k = FK_NARROW(FK_TEST, 24);
   6299     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   6300 L_2501B20C:
   6301     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   6302     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   6303     RECOMP_FLAGS_IN();
   6304     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6305     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6306     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   6307     _flag_k = FK_ADD;
   6308 L_2501B215:
   6309     eax = edi; /* 0x2501B215: mov eax, edi */
   6310     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   6311     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   6312     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   6313     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   6314     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   6315 L_2501B21E:
   6316     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   6317     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   6318     RECOMP_FLAGS_IN();
   6319     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   6320     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6321     _cf = 0;
   6322     _flag_k = FK_NARROW(FK_TEST, 24);
   6323     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   6324 L_2501B22A:
   6325     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   6326     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   6327     RECOMP_FLAGS_IN();
   6328     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6329     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6330     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   6331     _flag_k = FK_ADD;
   6332 L_2501B233:
   6333     eax = esi; /* 0x2501B233: mov eax, esi */
   6334     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   6335     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   6336     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   6337     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   6338 L_2501C380:
   6339     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
   6340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6341     ecx = ecx - 0x138u; /* 0x2501C380: sub ecx, 0x138 */
   6342     _flag_k = FK_CMP;
   6343     RECOMP_BACKEDGE();
   6344     goto L_2501B1E0; /* 0x2501C386: jmp 0x2501b1e0 */
   6345     { RECOMP_REGS_OUT(); return; } /* end of function */
   6346     RECOMP_REGS_OUT();
   6347 }
   6348 
   6349 void sub_2501C390(void) {
   6350     int _fpu_cmp = 0;
   6351     uint32_t _cf = 0;
   6352     int _df = 1;
   6353     uint32_t _flag_k = FK_NONE;
   6354     uint32_t _flag_a = 0, _flag_b = 0;
   6355     uint32_t _itail_tgt = 0;
   6356     RECOMP_REGS_LOCALS
   6357     RECOMP_ENTER(0x2501C390u);
   6358 
   6359     goto L_2501C390;
   6360 L_2501B1E0:
   6361     PUSH32(esp, ebp); /* 0x2501B1E0: push ebp */
   6362     ebp = esp; /* 0x2501B1E1: mov ebp, esp */
   6363     PUSH32(esp, ebx); /* 0x2501B1E3: push ebx */
   6364     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501B1E4: mov bl, byte ptr [ebp + 8] */
   6365     /* test LO8(ebx), 2 */ /* 0x2501B1E7: test bl, 2 */
   6366     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   6367     _cf = 0;
   6368     _flag_k = FK_NARROW(FK_TEST, 24);
   6369     PUSH32(esp, esi); /* 0x2501B1EA: push esi */
   6370     esi = ecx; /* 0x2501B1EB: mov esi, ecx */
   6371     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B21E; /* 0x2501B1ED: je 0x2501b21e */
   6372 L_2501B1EF:
   6373     eax = MEM32(esi + (-0x4)); /* 0x2501B1EF: mov eax, dword ptr [esi - 4] */
   6374     PUSH32(esp, edi); /* 0x2501B1F2: push edi */
   6375     PUSH32(esp, 0x2501B4A0u); /* 0x2501B1F3: push 0x2501b4a0 */
   6376     edi = esi + (-0x4); /* 0x2501B1F8: lea edi, [esi - 4] */
   6377     PUSH32(esp, eax); /* 0x2501B1FB: push eax */
   6378     PUSH32(esp, 0x280u); /* 0x2501B1FC: push 0x280 */
   6379     PUSH32(esp, esi); /* 0x2501B201: push esi */
   6380     RECOMP_ICALL(0x25137F92u); /* 0x2501B202: call 0x25137f92 */ /* not lifted */
   6381     RECOMP_FLAGS_IN();
   6382     /* test LO8(ebx), 1 */ /* 0x2501B207: test bl, 1 */
   6383     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6384     _cf = 0;
   6385     _flag_k = FK_NARROW(FK_TEST, 24);
   6386     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B215; /* 0x2501B20A: je 0x2501b215 */
   6387 L_2501B20C:
   6388     PUSH32(esp, edi); /* 0x2501B20C: push edi */
   6389     RECOMP_ICALL(0x25137EECu); /* 0x2501B20D: call 0x25137eec */ /* not lifted */
   6390     RECOMP_FLAGS_IN();
   6391     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6392     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6393     esp = esp + 4; /* 0x2501B212: add esp, 4 */
   6394     _flag_k = FK_ADD;
   6395 L_2501B215:
   6396     eax = edi; /* 0x2501B215: mov eax, edi */
   6397     edi = POP32_VAL(esp); /* 0x2501B217: pop edi */
   6398     esi = POP32_VAL(esp); /* 0x2501B218: pop esi */
   6399     ebx = POP32_VAL(esp); /* 0x2501B219: pop ebx */
   6400     ebp = POP32_VAL(esp); /* 0x2501B21A: pop ebp */
   6401     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B21B: ret 4 */
   6402 L_2501B21E:
   6403     ecx = esi; /* 0x2501B21E: mov ecx, esi */
   6404     RECOMP_ICALL(0x2501B4A0u); /* 0x2501B220: call 0x2501b4a0 */ /* not lifted */
   6405     RECOMP_FLAGS_IN();
   6406     /* test LO8(ebx), 1 */ /* 0x2501B225: test bl, 1 */
   6407     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   6408     _cf = 0;
   6409     _flag_k = FK_NARROW(FK_TEST, 24);
   6410     if (TEST_Z(_flag_a, _flag_b)) goto L_2501B233; /* 0x2501B228: je 0x2501b233 */
   6411 L_2501B22A:
   6412     PUSH32(esp, esi); /* 0x2501B22A: push esi */
   6413     RECOMP_ICALL(0x25137EECu); /* 0x2501B22B: call 0x25137eec */ /* not lifted */
   6414     RECOMP_FLAGS_IN();
   6415     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6416     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6417     esp = esp + 4; /* 0x2501B230: add esp, 4 */
   6418     _flag_k = FK_ADD;
   6419 L_2501B233:
   6420     eax = esi; /* 0x2501B233: mov eax, esi */
   6421     esi = POP32_VAL(esp); /* 0x2501B235: pop esi */
   6422     ebx = POP32_VAL(esp); /* 0x2501B236: pop ebx */
   6423     ebp = POP32_VAL(esp); /* 0x2501B237: pop ebp */
   6424     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501B238: ret 4 */
   6425 L_2501C390:
   6426     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
   6427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6428     ecx = ecx - 0x150u; /* 0x2501C390: sub ecx, 0x150 */
   6429     _flag_k = FK_CMP;
   6430     RECOMP_BACKEDGE();
   6431     goto L_2501B1E0; /* 0x2501C396: jmp 0x2501b1e0 */
   6432     { RECOMP_REGS_OUT(); return; } /* end of function */
   6433     RECOMP_REGS_OUT();
   6434 }
   6435 
   6436 void sub_2501C3A0(void) {
   6437     int _fpu_cmp = 0;
   6438     uint32_t _cf = 0;
   6439     int _df = 1;
   6440     uint32_t _flag_k = FK_NONE;
   6441     uint32_t _flag_a = 0, _flag_b = 0;
   6442     uint32_t _itail_tgt = 0;
   6443     RECOMP_REGS_LOCALS
   6444     RECOMP_ENTER(0x2501C3A0u);
   6445 
   6446 L_2501C3A0:
   6447     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6448     eax = 0; /* 0x2501C3A0: xor eax, eax */
   6449     _cf = 0;
   6450     _flag_k = FK_TEST;
   6451 L_2501C3A2:
   6452     MEM32(ecx + 0x224) = eax; /* 0x2501C3A2: mov dword ptr [ecx + 0x224], eax */
   6453 L_2501C3A8:
   6454     MEM32(ecx + 0x228) = eax; /* 0x2501C3A8: mov dword ptr [ecx + 0x228], eax */
   6455 L_2501C3AE:
   6456     MEM8(ecx + 0x22C) = (uint8_t)(LO8(eax)); /* 0x2501C3AE: mov byte ptr [ecx + 0x22c], al */
   6457 L_2501C3B4:
   6458     MEM32(ecx + 0x230) = eax; /* 0x2501C3B4: mov dword ptr [ecx + 0x230], eax */
   6459 L_2501C3BA:
   6460     eax = MEM32(ecx); /* 0x2501C3BA: mov eax, dword ptr [ecx] */
   6461 L_2501C3BC:
   6462     MEM32(ecx + 0x234) = 0x3F800000u; /* 0x2501C3BC: mov dword ptr [ecx + 0x234], 0x3f800000 */
   6463 L_2501C3C6:
   6464     { _itail_tgt = (uint32_t)(MEM32(eax + 0x5C)); goto _ljump; }
   6465     { RECOMP_REGS_OUT(); return; } /* end of function */
   6466   _ljump:
   6467     switch (_itail_tgt) {
   6468       case 0x2501C3A0u: goto L_2501C3A0;
   6469       case 0x2501C3A2u: goto L_2501C3A2;
   6470       case 0x2501C3A8u: goto L_2501C3A8;
   6471       case 0x2501C3AEu: goto L_2501C3AE;
   6472       case 0x2501C3B4u: goto L_2501C3B4;
   6473       case 0x2501C3BAu: goto L_2501C3BA;
   6474       case 0x2501C3BCu: goto L_2501C3BC;
   6475       case 0x2501C3C6u: goto L_2501C3C6;
   6476       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6477     }
   6478     RECOMP_REGS_OUT();
   6479 }
   6480 
   6481 void sub_2501C3D0(void) {
   6482     int _fpu_cmp = 0;
   6483     uint32_t _cf = 0;
   6484     int _df = 1;
   6485     uint32_t _flag_k = FK_NONE;
   6486     uint32_t _flag_a = 0, _flag_b = 0;
   6487     uint32_t _itail_tgt = 0;
   6488     RECOMP_REGS_LOCALS
   6489     RECOMP_ENTER(0x2501C3D0u);
   6490 
   6491 L_2501C3D0:
   6492     PUSH32(esp, ebp); /* 0x2501C3D0: push ebp */
   6493     ebp = esp; /* 0x2501C3D1: mov ebp, esp */
   6494     PUSH32(esp, esi); /* 0x2501C3D3: push esi */
   6495     PUSH32(esp, edi); /* 0x2501C3D4: push edi */
   6496     edi = MEM32(ebp + 0x8); /* 0x2501C3D5: mov edi, dword ptr [ebp + 8] */
   6497     esi = ecx; /* 0x2501C3D8: mov esi, ecx */
   6498     PUSH32(esp, edi); /* 0x2501C3DA: push edi */
   6499     RECOMP_ICALL(0x250DAB70u); /* 0x2501C3DB: call 0x250dab70 */ /* not lifted */
   6500     RECOMP_FLAGS_IN();
   6501     eax = MEM32(edi + 0x1D4); /* 0x2501C3E0: mov eax, dword ptr [edi + 0x1d4] */
   6502     MEM32(esi + 0x1D4) = eax; /* 0x2501C3E6: mov dword ptr [esi + 0x1d4], eax */
   6503     ecx = MEM32(edi + 0x1D8); /* 0x2501C3EC: mov ecx, dword ptr [edi + 0x1d8] */
   6504     MEM32(esi + 0x1D8) = ecx; /* 0x2501C3F2: mov dword ptr [esi + 0x1d8], ecx */
   6505     edx = MEM32(edi + 0x1DC); /* 0x2501C3F8: mov edx, dword ptr [edi + 0x1dc] */
   6506     MEM32(esi + 0x1DC) = edx; /* 0x2501C3FE: mov dword ptr [esi + 0x1dc], edx */
   6507     eax = MEM32(edi + 0x1E0); /* 0x2501C404: mov eax, dword ptr [edi + 0x1e0] */
   6508     MEM32(esi + 0x1E0) = eax; /* 0x2501C40A: mov dword ptr [esi + 0x1e0], eax */
   6509     ecx = MEM32(edi + 0x1E4); /* 0x2501C410: mov ecx, dword ptr [edi + 0x1e4] */
   6510     MEM32(esi + 0x1E4) = ecx; /* 0x2501C416: mov dword ptr [esi + 0x1e4], ecx */
   6511     edx = MEM32(edi + 0x1E8); /* 0x2501C41C: mov edx, dword ptr [edi + 0x1e8] */
   6512     MEM32(esi + 0x1E8) = edx; /* 0x2501C422: mov dword ptr [esi + 0x1e8], edx */
   6513     eax = MEM32(edi + 0x1EC); /* 0x2501C428: mov eax, dword ptr [edi + 0x1ec] */
   6514     MEM32(esi + 0x1EC) = eax; /* 0x2501C42E: mov dword ptr [esi + 0x1ec], eax */
   6515     ecx = MEM32(edi + 0x1F0); /* 0x2501C434: mov ecx, dword ptr [edi + 0x1f0] */
   6516     MEM32(esi + 0x1F0) = ecx; /* 0x2501C43A: mov dword ptr [esi + 0x1f0], ecx */
   6517     edx = MEM32(edi + 0x1F4); /* 0x2501C440: mov edx, dword ptr [edi + 0x1f4] */
   6518     MEM32(esi + 0x1F4) = edx; /* 0x2501C446: mov dword ptr [esi + 0x1f4], edx */
   6519     eax = MEM32(edi + 0x1F8); /* 0x2501C44C: mov eax, dword ptr [edi + 0x1f8] */
   6520     MEM32(esi + 0x1F8) = eax; /* 0x2501C452: mov dword ptr [esi + 0x1f8], eax */
   6521     SET_LO8(ecx, MEM8(edi + 0x1FC)); /* 0x2501C458: mov cl, byte ptr [edi + 0x1fc] */
   6522     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ecx)); /* 0x2501C45E: mov byte ptr [esi + 0x1fc], cl */
   6523     edx = MEM32(edi + 0x200); /* 0x2501C464: mov edx, dword ptr [edi + 0x200] */
   6524     MEM32(esi + 0x200) = edx; /* 0x2501C46A: mov dword ptr [esi + 0x200], edx */
   6525     eax = edi + 0x204; /* 0x2501C470: lea eax, [edi + 0x204] */
   6526     edx = MEM32(eax); /* 0x2501C476: mov edx, dword ptr [eax] */
   6527     ecx = esi + 0x204; /* 0x2501C478: lea ecx, [esi + 0x204] */
   6528     MEM32(ecx) = edx; /* 0x2501C47E: mov dword ptr [ecx], edx */
   6529     edx = MEM32(eax + 0x4); /* 0x2501C480: mov edx, dword ptr [eax + 4] */
   6530     MEM32(ecx + 0x4) = edx; /* 0x2501C483: mov dword ptr [ecx + 4], edx */
   6531     eax = MEM32(eax + 0x8); /* 0x2501C486: mov eax, dword ptr [eax + 8] */
   6532     MEM32(ecx + 0x8) = eax; /* 0x2501C489: mov dword ptr [ecx + 8], eax */
   6533     ecx = MEM32(edi + 0x210); /* 0x2501C48C: mov ecx, dword ptr [edi + 0x210] */
   6534     MEM32(esi + 0x210) = ecx; /* 0x2501C492: mov dword ptr [esi + 0x210], ecx */
   6535     SET_LO8(edx, MEM8(edi + 0x214)); /* 0x2501C498: mov dl, byte ptr [edi + 0x214] */
   6536     MEM8(esi + 0x214) = (uint8_t)(LO8(edx)); /* 0x2501C49E: mov byte ptr [esi + 0x214], dl */
   6537     eax = MEM32(edi + 0x218); /* 0x2501C4A4: mov eax, dword ptr [edi + 0x218] */
   6538     MEM32(esi + 0x218) = eax; /* 0x2501C4AA: mov dword ptr [esi + 0x218], eax */
   6539     ecx = MEM32(edi + 0x21C); /* 0x2501C4B0: mov ecx, dword ptr [edi + 0x21c] */
   6540     MEM32(esi + 0x21C) = ecx; /* 0x2501C4B6: mov dword ptr [esi + 0x21c], ecx */
   6541     edx = MEM32(edi + 0x220); /* 0x2501C4BC: mov edx, dword ptr [edi + 0x220] */
   6542     MEM32(esi) = 0x25152700u; /* 0x2501C4C2: mov dword ptr [esi], 0x25152700 */
   6543     MEM32(esi + 0x8) = 0x251526F0u; /* 0x2501C4C8: mov dword ptr [esi + 8], 0x251526f0 */
   6544     MEM32(esi + 0x20) = 0x251526E0u; /* 0x2501C4CF: mov dword ptr [esi + 0x20], 0x251526e0 */
   6545     MEM32(esi + 0x38) = 0x251526D0u; /* 0x2501C4D6: mov dword ptr [esi + 0x38], 0x251526d0 */
   6546     MEM32(esi + 0x50) = 0x251526C0u; /* 0x2501C4DD: mov dword ptr [esi + 0x50], 0x251526c0 */
   6547     MEM32(esi + 0x138) = 0x251526B0u; /* 0x2501C4E4: mov dword ptr [esi + 0x138], 0x251526b0 */
   6548     MEM32(esi + 0x150) = 0x251526A0u; /* 0x2501C4EE: mov dword ptr [esi + 0x150], 0x251526a0 */
   6549     MEM32(esi + 0x220) = edx; /* 0x2501C4F8: mov dword ptr [esi + 0x220], edx */
   6550     eax = MEM32(edi + 0x224); /* 0x2501C4FE: mov eax, dword ptr [edi + 0x224] */
   6551     MEM32(esi + 0x224) = eax; /* 0x2501C504: mov dword ptr [esi + 0x224], eax */
   6552     ecx = MEM32(edi + 0x228); /* 0x2501C50A: mov ecx, dword ptr [edi + 0x228] */
   6553     MEM32(esi + 0x228) = ecx; /* 0x2501C510: mov dword ptr [esi + 0x228], ecx */
   6554     SET_LO8(edx, MEM8(edi + 0x22C)); /* 0x2501C516: mov dl, byte ptr [edi + 0x22c] */
   6555     MEM8(esi + 0x22C) = (uint8_t)(LO8(edx)); /* 0x2501C51C: mov byte ptr [esi + 0x22c], dl */
   6556     eax = MEM32(edi + 0x230); /* 0x2501C522: mov eax, dword ptr [edi + 0x230] */
   6557     MEM32(esi + 0x230) = eax; /* 0x2501C528: mov dword ptr [esi + 0x230], eax */
   6558     ecx = MEM32(edi + 0x234); /* 0x2501C52E: mov ecx, dword ptr [edi + 0x234] */
   6559     edi = POP32_VAL(esp); /* 0x2501C534: pop edi */
   6560     MEM32(esi + 0x234) = ecx; /* 0x2501C535: mov dword ptr [esi + 0x234], ecx */
   6561     MEM32(esi) = 0x25152624u; /* 0x2501C53B: mov dword ptr [esi], 0x25152624 */
   6562     MEM32(esi + 0x8) = 0x25152614u; /* 0x2501C541: mov dword ptr [esi + 8], 0x25152614 */
   6563     MEM32(esi + 0x20) = 0x25152604u; /* 0x2501C548: mov dword ptr [esi + 0x20], 0x25152604 */
   6564     MEM32(esi + 0x38) = 0x251525F4u; /* 0x2501C54F: mov dword ptr [esi + 0x38], 0x251525f4 */
   6565     MEM32(esi + 0x50) = 0x251525E4u; /* 0x2501C556: mov dword ptr [esi + 0x50], 0x251525e4 */
   6566     MEM32(esi + 0x138) = 0x251525D4u; /* 0x2501C55D: mov dword ptr [esi + 0x138], 0x251525d4 */
   6567     MEM32(esi + 0x150) = 0x251525C4u; /* 0x2501C567: mov dword ptr [esi + 0x150], 0x251525c4 */
   6568     eax = esi; /* 0x2501C571: mov eax, esi */
   6569     esi = POP32_VAL(esp); /* 0x2501C573: pop esi */
   6570     ebp = POP32_VAL(esp); /* 0x2501C574: pop ebp */
   6571     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C575: ret 4 */
   6572     RECOMP_REGS_OUT();
   6573 }
   6574 
   6575 void sub_2501C580(void) {
   6576     int _fpu_cmp = 0;
   6577     uint32_t _cf = 0;
   6578     int _df = 1;
   6579     uint32_t _flag_k = FK_NONE;
   6580     uint32_t _flag_a = 0, _flag_b = 0;
   6581     uint32_t _itail_tgt = 0;
   6582     RECOMP_REGS_LOCALS
   6583     RECOMP_ENTER(0x2501C580u);
   6584 
   6585 L_2501C580:
   6586     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C580: ret  */
   6587     RECOMP_REGS_OUT();
   6588 }
   6589 
   6590 void sub_2501C590(void) {
   6591     int _fpu_cmp = 0;
   6592     uint32_t _cf = 0;
   6593     int _df = 1;
   6594     uint32_t _flag_k = FK_NONE;
   6595     uint32_t _flag_a = 0, _flag_b = 0;
   6596     uint32_t _itail_tgt = 0;
   6597     RECOMP_REGS_LOCALS
   6598     RECOMP_ENTER(0x2501C590u);
   6599 
   6600 L_2501C590:
   6601     PUSH32(esp, esi); /* 0x2501C590: push esi */
   6602     esi = ecx; /* 0x2501C591: mov esi, ecx */
   6603     eax = MEM32(esi); /* 0x2501C593: mov eax, dword ptr [esi] */
   6604     RECOMP_ICALL(MEM32(eax + 0x5C)); /* 0x2501C595: call dword ptr [eax + 0x5c] */
   6605     RECOMP_FLAGS_IN();
   6606     edx = MEM32(esi); /* 0x2501C598: mov edx, dword ptr [esi] */
   6607     ecx = esi; /* 0x2501C59A: mov ecx, esi */
   6608     RECOMP_ICALL(MEM32(edx + 0x64)); /* 0x2501C59C: call dword ptr [edx + 0x64] */
   6609     RECOMP_FLAGS_IN();
   6610     esi = POP32_VAL(esp); /* 0x2501C59F: pop esi */
   6611     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C5A0: ret  */
   6612     RECOMP_REGS_OUT();
   6613 }
   6614 
   6615 void sub_2501C5B0(void) {
   6616     int _fpu_cmp = 0;
   6617     uint32_t _cf = 0;
   6618     int _df = 1;
   6619     uint32_t _flag_k = FK_NONE;
   6620     uint32_t _flag_a = 0, _flag_b = 0;
   6621     uint32_t _itail_tgt = 0;
   6622     RECOMP_REGS_LOCALS
   6623     RECOMP_ENTER(0x2501C5B0u);
   6624 
   6625 L_2501C5B0:
   6626     eax = MEM32(ecx + 0x21C); /* 0x2501C5B0: mov eax, dword ptr [ecx + 0x21c] */
   6627     fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x2501C5B6: fld dword ptr [eax + 4] */
   6628     SET_LO8(eax, 1); /* 0x2501C5B9: mov al, 1 */
   6629     _st[0] += (double)*(float*)ADDR(ecx + 0x210); /* 0x2501C5BB: fadd dword ptr [ecx + 0x210] */
   6630     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x210) = _v; } /* 0x2501C5C1: fstp dword ptr [ecx + 0x210] */
   6631     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C5C7: ret  */
   6632     RECOMP_REGS_OUT();
   6633 }
   6634 
   6635 void sub_2501C5D0(void) {
   6636     int _fpu_cmp = 0;
   6637     uint32_t _cf = 0;
   6638     int _df = 1;
   6639     uint32_t _flag_k = FK_NONE;
   6640     uint32_t _flag_a = 0, _flag_b = 0;
   6641     uint32_t _itail_tgt = 0;
   6642     RECOMP_REGS_LOCALS
   6643     RECOMP_ENTER(0x2501C5D0u);
   6644 
   6645 L_2501C5D0:
   6646     PUSH32(esp, esi); /* 0x2501C5D0: push esi */
   6647     esi = ecx; /* 0x2501C5D1: mov esi, ecx */
   6648     SET_LO8(eax, MEM8(esi + 0x1FC)); /* 0x2501C5D3: mov al, byte ptr [esi + 0x1fc] */
   6649     /* test LO8(eax), LO8(eax) */ /* 0x2501C5D9: test al, al */
   6650     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6651     _cf = 0;
   6652     _flag_k = FK_NARROW(FK_TEST, 24);
   6653     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501C5F8; /* 0x2501C5DB: jne 0x2501c5f8 */
   6654 L_2501C5DD:
   6655     RECOMP_ICALL(0x25094150u); /* 0x2501C5DD: call 0x25094150 */ /* not lifted */
   6656     RECOMP_FLAGS_IN();
   6657     ecx = eax; /* 0x2501C5E2: mov ecx, eax */
   6658     RECOMP_ICALL(0x25094220u); /* 0x2501C5E4: call 0x25094220 */ /* not lifted */
   6659     RECOMP_FLAGS_IN();
   6660     edx = MEM32(eax); /* 0x2501C5E9: mov edx, dword ptr [eax] */
   6661     PUSH32(esp, esi); /* 0x2501C5EB: push esi */
   6662     ecx = eax; /* 0x2501C5EC: mov ecx, eax */
   6663     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2501C5EE: call dword ptr [edx + 0xc] */
   6664     RECOMP_FLAGS_IN();
   6665     MEM8(esi + 0x1FC) = (uint8_t)(1); /* 0x2501C5F1: mov byte ptr [esi + 0x1fc], 1 */
   6666 L_2501C5F8:
   6667     esi = POP32_VAL(esp); /* 0x2501C5F8: pop esi */
   6668     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C5F9: ret  */
   6669     RECOMP_REGS_OUT();
   6670 }
   6671 
   6672 void sub_2501C600(void) {
   6673     int _fpu_cmp = 0;
   6674     uint32_t _cf = 0;
   6675     int _df = 1;
   6676     uint32_t _flag_k = FK_NONE;
   6677     uint32_t _flag_a = 0, _flag_b = 0;
   6678     uint32_t _itail_tgt = 0;
   6679     RECOMP_REGS_LOCALS
   6680     RECOMP_ENTER(0x2501C600u);
   6681 
   6682 L_2501C600:
   6683     PUSH32(esp, esi); /* 0x2501C600: push esi */
   6684     esi = ecx; /* 0x2501C601: mov esi, ecx */
   6685     SET_LO8(eax, MEM8(esi + 0x1FC)); /* 0x2501C603: mov al, byte ptr [esi + 0x1fc] */
   6686     /* test LO8(eax), LO8(eax) */ /* 0x2501C609: test al, al */
   6687     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6688     _cf = 0;
   6689     _flag_k = FK_NARROW(FK_TEST, 24);
   6690     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C628; /* 0x2501C60B: je 0x2501c628 */
   6691 L_2501C60D:
   6692     RECOMP_ICALL(0x25094150u); /* 0x2501C60D: call 0x25094150 */ /* not lifted */
   6693     RECOMP_FLAGS_IN();
   6694     ecx = eax; /* 0x2501C612: mov ecx, eax */
   6695     RECOMP_ICALL(0x25094220u); /* 0x2501C614: call 0x25094220 */ /* not lifted */
   6696     RECOMP_FLAGS_IN();
   6697     edx = MEM32(eax); /* 0x2501C619: mov edx, dword ptr [eax] */
   6698     PUSH32(esp, esi); /* 0x2501C61B: push esi */
   6699     ecx = eax; /* 0x2501C61C: mov ecx, eax */
   6700     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2501C61E: call dword ptr [edx + 0x10] */
   6701     RECOMP_FLAGS_IN();
   6702     MEM8(esi + 0x1FC) = (uint8_t)(0); /* 0x2501C621: mov byte ptr [esi + 0x1fc], 0 */
   6703 L_2501C628:
   6704     esi = POP32_VAL(esp); /* 0x2501C628: pop esi */
   6705     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C629: ret  */
   6706     RECOMP_REGS_OUT();
   6707 }
   6708 
   6709 void sub_2501C630(void) {
   6710     int _fpu_cmp = 0;
   6711     uint32_t _cf = 0;
   6712     int _df = 1;
   6713     uint32_t _flag_k = FK_NONE;
   6714     uint32_t _flag_a = 0, _flag_b = 0;
   6715     uint32_t _itail_tgt = 0;
   6716     RECOMP_REGS_LOCALS
   6717     RECOMP_ENTER(0x2501C630u);
   6718 
   6719 L_2501C630:
   6720     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
   6721     ebp = esp; /* 0x2501C631: mov ebp, esp */
   6722     PUSH32(esp, esi); /* 0x2501C633: push esi */
   6723     esi = ecx; /* 0x2501C634: mov esi, ecx */
   6724     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
   6725     RECOMP_FLAGS_IN();
   6726     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
   6727     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6728     _cf = 0;
   6729     _flag_k = FK_NARROW(FK_TEST, 24);
   6730     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
   6731 L_2501C641:
   6732     PUSH32(esp, esi); /* 0x2501C641: push esi */
   6733     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
   6734     RECOMP_FLAGS_IN();
   6735     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6736     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6737     esp = esp + 4; /* 0x2501C647: add esp, 4 */
   6738     _flag_k = FK_ADD;
   6739 L_2501C64A:
   6740     eax = esi; /* 0x2501C64A: mov eax, esi */
   6741     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
   6742     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
   6743     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
   6744     RECOMP_REGS_OUT();
   6745 }
   6746 
   6747 void sub_2501C660(void) {
   6748     int _fpu_cmp = 0;
   6749     uint32_t _cf = 0;
   6750     int _df = 1;
   6751     uint32_t _flag_k = FK_NONE;
   6752     uint32_t _flag_a = 0, _flag_b = 0;
   6753     uint32_t _itail_tgt = 0;
   6754     RECOMP_REGS_LOCALS
   6755     RECOMP_ENTER(0x2501C660u);
   6756 
   6757 L_2501C660:
   6758     PUSH32(esp, ebp); /* 0x2501C660: push ebp */
   6759     ebp = esp; /* 0x2501C661: mov ebp, esp */
   6760     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501C663: push -1 */
   6761     PUSH32(esp, 0x25145A58u); /* 0x2501C665: push 0x25145a58 */
   6762     eax = MEM32(FS_BASE + (0)); /* 0x2501C66A: mov eax, dword ptr fs:[0] */
   6763     PUSH32(esp, eax); /* 0x2501C670: push eax */
   6764     MEM32(FS_BASE + (0)) = esp; /* 0x2501C671: mov dword ptr fs:[0], esp */
   6765     PUSH32(esp, ecx); /* 0x2501C678: push ecx */
   6766     PUSH32(esp, ebx); /* 0x2501C679: push ebx */
   6767     PUSH32(esp, esi); /* 0x2501C67A: push esi */
   6768     esi = ecx; /* 0x2501C67B: mov esi, ecx */
   6769     MEM32(ebp + (-0x10)) = esi; /* 0x2501C67D: mov dword ptr [ebp - 0x10], esi */
   6770     MEM32(esi) = 0x25152700u; /* 0x2501C680: mov dword ptr [esi], 0x25152700 */
   6771     MEM32(esi + 0x8) = 0x251526F0u; /* 0x2501C686: mov dword ptr [esi + 8], 0x251526f0 */
   6772     MEM32(esi + 0x20) = 0x251526E0u; /* 0x2501C68D: mov dword ptr [esi + 0x20], 0x251526e0 */
   6773     MEM32(esi + 0x38) = 0x251526D0u; /* 0x2501C694: mov dword ptr [esi + 0x38], 0x251526d0 */
   6774     MEM32(esi + 0x50) = 0x251526C0u; /* 0x2501C69B: mov dword ptr [esi + 0x50], 0x251526c0 */
   6775     MEM32(esi + 0x138) = 0x251526B0u; /* 0x2501C6A2: mov dword ptr [esi + 0x138], 0x251526b0 */
   6776     MEM32(esi + 0x150) = 0x251526A0u; /* 0x2501C6AC: mov dword ptr [esi + 0x150], 0x251526a0 */
   6777     SET_LO8(eax, MEM8(esi + 0x1FC)); /* 0x2501C6B6: mov al, byte ptr [esi + 0x1fc] */
   6778     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6779     ebx = 0; /* 0x2501C6BC: xor ebx, ebx */
   6780     _cf = 0;
   6781     _flag_k = FK_TEST;
   6782     /* cmp LO8(eax), LO8(ebx) */ /* 0x2501C6BE: cmp al, bl */
   6783     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6784     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6785     _flag_k = FK_NARROW(FK_CMP, 24);
   6786     MEM32(ebp + (-0x4)) = ebx; /* 0x2501C6C0: mov dword ptr [ebp - 4], ebx */
   6787     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C6DF; /* 0x2501C6C3: je 0x2501c6df */
   6788 L_2501C6C5:
   6789     RECOMP_ICALL(0x25094150u); /* 0x2501C6C5: call 0x25094150 */ /* not lifted */
   6790     RECOMP_FLAGS_IN();
   6791     ecx = eax; /* 0x2501C6CA: mov ecx, eax */
   6792     RECOMP_ICALL(0x25094220u); /* 0x2501C6CC: call 0x25094220 */ /* not lifted */
   6793     RECOMP_FLAGS_IN();
   6794     edx = MEM32(eax); /* 0x2501C6D1: mov edx, dword ptr [eax] */
   6795     PUSH32(esp, esi); /* 0x2501C6D3: push esi */
   6796     ecx = eax; /* 0x2501C6D4: mov ecx, eax */
   6797     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2501C6D6: call dword ptr [edx + 0x10] */
   6798     RECOMP_FLAGS_IN();
   6799     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ebx)); /* 0x2501C6D9: mov byte ptr [esi + 0x1fc], bl */
   6800 L_2501C6DF:
   6801     eax = MEM32(esi + 0x1E0); /* 0x2501C6DF: mov eax, dword ptr [esi + 0x1e0] */
   6802     /* cmp eax, ebx */ /* 0x2501C6E5: cmp eax, ebx */
   6803     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6805     _flag_k = FK_CMP;
   6806     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C6F8; /* 0x2501C6E7: je 0x2501c6f8 */
   6807 L_2501C6E9:
   6808     PUSH32(esp, eax); /* 0x2501C6E9: push eax */
   6809     RECOMP_ICALL(0x25137EECu); /* 0x2501C6EA: call 0x25137eec */ /* not lifted */
   6810     RECOMP_FLAGS_IN();
   6811     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6812     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6813     esp = esp + 4; /* 0x2501C6EF: add esp, 4 */
   6814     _flag_k = FK_ADD;
   6815     MEM32(esi + 0x1E0) = ebx; /* 0x2501C6F2: mov dword ptr [esi + 0x1e0], ebx */
   6816 L_2501C6F8:
   6817     eax = MEM32(esi + 0x1E4); /* 0x2501C6F8: mov eax, dword ptr [esi + 0x1e4] */
   6818     /* cmp eax, ebx */ /* 0x2501C6FE: cmp eax, ebx */
   6819     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6821     _flag_k = FK_CMP;
   6822     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C711; /* 0x2501C700: je 0x2501c711 */
   6823 L_2501C702:
   6824     PUSH32(esp, eax); /* 0x2501C702: push eax */
   6825     RECOMP_ICALL(0x25137EECu); /* 0x2501C703: call 0x25137eec */ /* not lifted */
   6826     RECOMP_FLAGS_IN();
   6827     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6828     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6829     esp = esp + 4; /* 0x2501C708: add esp, 4 */
   6830     _flag_k = FK_ADD;
   6831     MEM32(esi + 0x1E4) = ebx; /* 0x2501C70B: mov dword ptr [esi + 0x1e4], ebx */
   6832 L_2501C711:
   6833     eax = MEM32(esi + 0x1E8); /* 0x2501C711: mov eax, dword ptr [esi + 0x1e8] */
   6834     /* cmp eax, ebx */ /* 0x2501C717: cmp eax, ebx */
   6835     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6837     _flag_k = FK_CMP;
   6838     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C72A; /* 0x2501C719: je 0x2501c72a */
   6839 L_2501C71B:
   6840     PUSH32(esp, eax); /* 0x2501C71B: push eax */
   6841     RECOMP_ICALL(0x25137EECu); /* 0x2501C71C: call 0x25137eec */ /* not lifted */
   6842     RECOMP_FLAGS_IN();
   6843     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6844     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6845     esp = esp + 4; /* 0x2501C721: add esp, 4 */
   6846     _flag_k = FK_ADD;
   6847     MEM32(esi + 0x1E8) = ebx; /* 0x2501C724: mov dword ptr [esi + 0x1e8], ebx */
   6848 L_2501C72A:
   6849     eax = MEM32(esi + 0x1EC); /* 0x2501C72A: mov eax, dword ptr [esi + 0x1ec] */
   6850     /* cmp eax, ebx */ /* 0x2501C730: cmp eax, ebx */
   6851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6853     _flag_k = FK_CMP;
   6854     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C743; /* 0x2501C732: je 0x2501c743 */
   6855 L_2501C734:
   6856     PUSH32(esp, eax); /* 0x2501C734: push eax */
   6857     RECOMP_ICALL(0x25137EECu); /* 0x2501C735: call 0x25137eec */ /* not lifted */
   6858     RECOMP_FLAGS_IN();
   6859     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6860     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6861     esp = esp + 4; /* 0x2501C73A: add esp, 4 */
   6862     _flag_k = FK_ADD;
   6863     MEM32(esi + 0x1EC) = ebx; /* 0x2501C73D: mov dword ptr [esi + 0x1ec], ebx */
   6864 L_2501C743:
   6865     eax = MEM32(esi + 0x1F0); /* 0x2501C743: mov eax, dword ptr [esi + 0x1f0] */
   6866     /* cmp eax, ebx */ /* 0x2501C749: cmp eax, ebx */
   6867     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6869     _flag_k = FK_CMP;
   6870     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C75C; /* 0x2501C74B: je 0x2501c75c */
   6871 L_2501C74D:
   6872     PUSH32(esp, eax); /* 0x2501C74D: push eax */
   6873     RECOMP_ICALL(0x25137EECu); /* 0x2501C74E: call 0x25137eec */ /* not lifted */
   6874     RECOMP_FLAGS_IN();
   6875     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6876     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6877     esp = esp + 4; /* 0x2501C753: add esp, 4 */
   6878     _flag_k = FK_ADD;
   6879     MEM32(esi + 0x1F0) = ebx; /* 0x2501C756: mov dword ptr [esi + 0x1f0], ebx */
   6880 L_2501C75C:
   6881     eax = MEM32(esi + 0x1F4); /* 0x2501C75C: mov eax, dword ptr [esi + 0x1f4] */
   6882     /* cmp eax, ebx */ /* 0x2501C762: cmp eax, ebx */
   6883     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6885     _flag_k = FK_CMP;
   6886     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C775; /* 0x2501C764: je 0x2501c775 */
   6887 L_2501C766:
   6888     PUSH32(esp, eax); /* 0x2501C766: push eax */
   6889     RECOMP_ICALL(0x25137EECu); /* 0x2501C767: call 0x25137eec */ /* not lifted */
   6890     RECOMP_FLAGS_IN();
   6891     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6892     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6893     esp = esp + 4; /* 0x2501C76C: add esp, 4 */
   6894     _flag_k = FK_ADD;
   6895     MEM32(esi + 0x1F4) = ebx; /* 0x2501C76F: mov dword ptr [esi + 0x1f4], ebx */
   6896 L_2501C775:
   6897     eax = MEM32(esi + 0x218); /* 0x2501C775: mov eax, dword ptr [esi + 0x218] */
   6898     /* cmp eax, ebx */ /* 0x2501C77B: cmp eax, ebx */
   6899     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6901     _flag_k = FK_CMP;
   6902     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501C78E; /* 0x2501C77D: je 0x2501c78e */
   6903 L_2501C77F:
   6904     PUSH32(esp, eax); /* 0x2501C77F: push eax */
   6905     RECOMP_ICALL(0x25137EECu); /* 0x2501C780: call 0x25137eec */ /* not lifted */
   6906     RECOMP_FLAGS_IN();
   6907     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6908     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6909     esp = esp + 4; /* 0x2501C785: add esp, 4 */
   6910     _flag_k = FK_ADD;
   6911     MEM32(esi + 0x218) = ebx; /* 0x2501C788: mov dword ptr [esi + 0x218], ebx */
   6912 L_2501C78E:
   6913     ecx = esi; /* 0x2501C78E: mov ecx, esi */
   6914     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501C790: mov dword ptr [ebp - 4], 0xffffffff */
   6915     RECOMP_ICALL(0x250DB0B0u); /* 0x2501C797: call 0x250db0b0 */ /* not lifted */
   6916     RECOMP_FLAGS_IN();
   6917     ecx = MEM32(ebp + (-0xC)); /* 0x2501C79C: mov ecx, dword ptr [ebp - 0xc] */
   6918     esi = POP32_VAL(esp); /* 0x2501C79F: pop esi */
   6919     ebx = POP32_VAL(esp); /* 0x2501C7A0: pop ebx */
   6920     MEM32(FS_BASE + (0)) = ecx; /* 0x2501C7A1: mov dword ptr fs:[0], ecx */
   6921     esp = ebp; /* 0x2501C7A8: mov esp, ebp */
   6922     ebp = POP32_VAL(esp); /* 0x2501C7AA: pop ebp */
   6923     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501C7AB: ret  */
   6924     RECOMP_REGS_OUT();
   6925 }
   6926 
   6927 void sub_2501C7B0(void) {
   6928     int _fpu_cmp = 0;
   6929     uint32_t _cf = 0;
   6930     int _df = 1;
   6931     uint32_t _flag_k = FK_NONE;
   6932     uint32_t _flag_a = 0, _flag_b = 0;
   6933     uint32_t _itail_tgt = 0;
   6934     RECOMP_REGS_LOCALS
   6935     RECOMP_ENTER(0x2501C7B0u);
   6936 
   6937 L_2501C7B0:
   6938     PUSH32(esp, ebp); /* 0x2501C7B0: push ebp */
   6939     ebp = esp; /* 0x2501C7B1: mov ebp, esp */
   6940     PUSH32(esp, ecx); /* 0x2501C7B3: push ecx */
   6941     PUSH32(esp, ebx); /* 0x2501C7B4: push ebx */
   6942     ebx = MEM32(ebp + 0x8); /* 0x2501C7B5: mov ebx, dword ptr [ebp + 8] */
   6943     /* test ebx, ebx */ /* 0x2501C7B8: test ebx, ebx */
   6944     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   6945     _cf = 0;
   6946     _flag_k = FK_TEST;
   6947     eax = MEM32(ebx + 0x4); /* 0x2501C7BA: mov eax, dword ptr [ebx + 4] */
   6948     PUSH32(esp, esi); /* 0x2501C7BD: push esi */
   6949     PUSH32(esp, edi); /* 0x2501C7BE: push edi */
   6950     edi = ecx; /* 0x2501C7BF: mov edi, ecx */
   6951     MEM32(ebp + (-0x4)) = edi; /* 0x2501C7C1: mov dword ptr [ebp - 4], edi */
   6952     MEM32(edi + 0x4) = eax; /* 0x2501C7C4: mov dword ptr [edi + 4], eax */
   6953     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C7CE; /* 0x2501C7C7: je 0x2501c7ce */
   6954 L_2501C7C9:
   6955     eax = ebx + 0x8; /* 0x2501C7C9: lea eax, [ebx + 8] */
   6956     goto L_2501C7D0; /* 0x2501C7CC: jmp 0x2501c7d0 */
   6957 L_2501C7CE:
   6958     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6959     eax = 0; /* 0x2501C7CE: xor eax, eax */
   6960     _cf = 0;
   6961     _flag_k = FK_TEST;
   6962 L_2501C7D0:
   6963     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6964     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6965     eax = eax + 4; /* 0x2501C7D0: add eax, 4 */
   6966     _flag_k = FK_ADD;
   6967     PUSH32(esp, eax); /* 0x2501C7D3: push eax */
   6968     ecx = edi + 0xC; /* 0x2501C7D4: lea ecx, [edi + 0xc] */
   6969     RECOMP_ICALL(0x2500B8C0u); /* 0x2501C7D7: call 0x2500b8c0 */ /* not lifted */
   6970     RECOMP_FLAGS_IN();
   6971     /* test ebx, ebx */ /* 0x2501C7DC: test ebx, ebx */
   6972     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   6973     _cf = 0;
   6974     _flag_k = FK_TEST;
   6975     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C7E5; /* 0x2501C7DE: je 0x2501c7e5 */
   6976 L_2501C7E0:
   6977     eax = ebx + 0x20; /* 0x2501C7E0: lea eax, [ebx + 0x20] */
   6978     goto L_2501C7E7; /* 0x2501C7E3: jmp 0x2501c7e7 */
   6979 L_2501C7E5:
   6980     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6981     eax = 0; /* 0x2501C7E5: xor eax, eax */
   6982     _cf = 0;
   6983     _flag_k = FK_TEST;
   6984 L_2501C7E7:
   6985     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   6986     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6987     eax = eax + 4; /* 0x2501C7E7: add eax, 4 */
   6988     _flag_k = FK_ADD;
   6989     PUSH32(esp, eax); /* 0x2501C7EA: push eax */
   6990     ecx = edi + 0x24; /* 0x2501C7EB: lea ecx, [edi + 0x24] */
   6991     RECOMP_ICALL(0x2500BA40u); /* 0x2501C7EE: call 0x2500ba40 */ /* not lifted */
   6992     RECOMP_FLAGS_IN();
   6993     /* test ebx, ebx */ /* 0x2501C7F3: test ebx, ebx */
   6994     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   6995     _cf = 0;
   6996     _flag_k = FK_TEST;
   6997     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C7FC; /* 0x2501C7F5: je 0x2501c7fc */
   6998 L_2501C7F7:
   6999     eax = ebx + 0x38; /* 0x2501C7F7: lea eax, [ebx + 0x38] */
   7000     goto L_2501C7FE; /* 0x2501C7FA: jmp 0x2501c7fe */
   7001 L_2501C7FC:
   7002     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7003     eax = 0; /* 0x2501C7FC: xor eax, eax */
   7004     _cf = 0;
   7005     _flag_k = FK_TEST;
   7006 L_2501C7FE:
   7007     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7008     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7009     eax = eax + 4; /* 0x2501C7FE: add eax, 4 */
   7010     _flag_k = FK_ADD;
   7011     PUSH32(esp, eax); /* 0x2501C801: push eax */
   7012     ecx = edi + 0x3C; /* 0x2501C802: lea ecx, [edi + 0x3c] */
   7013     RECOMP_ICALL(0x2500BBC0u); /* 0x2501C805: call 0x2500bbc0 */ /* not lifted */
   7014     RECOMP_FLAGS_IN();
   7015     /* test ebx, ebx */ /* 0x2501C80A: test ebx, ebx */
   7016     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   7017     _cf = 0;
   7018     _flag_k = FK_TEST;
   7019     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C813; /* 0x2501C80C: je 0x2501c813 */
   7020 L_2501C80E:
   7021     eax = ebx + 0x50; /* 0x2501C80E: lea eax, [ebx + 0x50] */
   7022     goto L_2501C815; /* 0x2501C811: jmp 0x2501c815 */
   7023 L_2501C813:
   7024     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7025     eax = 0; /* 0x2501C813: xor eax, eax */
   7026     _cf = 0;
   7027     _flag_k = FK_TEST;
   7028 L_2501C815:
   7029     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7030     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7031     eax = eax + 4; /* 0x2501C815: add eax, 4 */
   7032     _flag_k = FK_ADD;
   7033     PUSH32(esp, eax); /* 0x2501C818: push eax */
   7034     ecx = edi + 0x54; /* 0x2501C819: lea ecx, [edi + 0x54] */
   7035     RECOMP_ICALL(0x2500BD40u); /* 0x2501C81C: call 0x2500bd40 */ /* not lifted */
   7036     RECOMP_FLAGS_IN();
   7037     SET_LO8(ecx, MEM8(ebx + 0x68)); /* 0x2501C821: mov cl, byte ptr [ebx + 0x68] */
   7038     MEM8(edi + 0x68) = (uint8_t)(LO8(ecx)); /* 0x2501C824: mov byte ptr [edi + 0x68], cl */
   7039     SET_LO8(edx, MEM8(ebx + 0x69)); /* 0x2501C827: mov dl, byte ptr [ebx + 0x69] */
   7040     MEM8(edi + 0x69) = (uint8_t)(LO8(edx)); /* 0x2501C82A: mov byte ptr [edi + 0x69], dl */
   7041     SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x2501C82D: mov al, byte ptr [ebx + 0x6a] */
   7042     MEM8(edi + 0x6A) = (uint8_t)(LO8(eax)); /* 0x2501C830: mov byte ptr [edi + 0x6a], al */
   7043     SET_LO8(ecx, MEM8(ebx + 0x6B)); /* 0x2501C833: mov cl, byte ptr [ebx + 0x6b] */
   7044     MEM8(edi + 0x6B) = (uint8_t)(LO8(ecx)); /* 0x2501C836: mov byte ptr [edi + 0x6b], cl */
   7045     edx = MEM32(ebx + 0x6C); /* 0x2501C839: mov edx, dword ptr [ebx + 0x6c] */
   7046     MEM32(edi + 0x6C) = edx; /* 0x2501C83C: mov dword ptr [edi + 0x6c], edx */
   7047     eax = MEM32(ebx + 0x70); /* 0x2501C83F: mov eax, dword ptr [ebx + 0x70] */
   7048     MEM32(edi + 0x70) = eax; /* 0x2501C842: mov dword ptr [edi + 0x70], eax */
   7049     ecx = MEM32(ebx + 0x74); /* 0x2501C845: mov ecx, dword ptr [ebx + 0x74] */
   7050     MEM32(edi + 0x74) = ecx; /* 0x2501C848: mov dword ptr [edi + 0x74], ecx */
   7051     eax = edi + 0x78; /* 0x2501C84B: lea eax, [edi + 0x78] */
   7052     edx = ebx + 0x78; /* 0x2501C84E: lea edx, [ebx + 0x78] */
   7053     ecx = MEM32(edx); /* 0x2501C851: mov ecx, dword ptr [edx] */
   7054     MEM32(eax) = ecx; /* 0x2501C853: mov dword ptr [eax], ecx */
   7055     ecx = MEM32(edx + 0x4); /* 0x2501C855: mov ecx, dword ptr [edx + 4] */
   7056     MEM32(eax + 0x4) = ecx; /* 0x2501C858: mov dword ptr [eax + 4], ecx */
   7057     edx = MEM32(edx + 0x8); /* 0x2501C85B: mov edx, dword ptr [edx + 8] */
   7058     MEM32(eax + 0x8) = edx; /* 0x2501C85E: mov dword ptr [eax + 8], edx */
   7059     ecx = edi + 0x84; /* 0x2501C861: lea ecx, [edi + 0x84] */
   7060     eax = ebx + 0x84; /* 0x2501C867: lea eax, [ebx + 0x84] */
   7061     edx = MEM32(eax); /* 0x2501C86D: mov edx, dword ptr [eax] */
   7062     MEM32(ecx) = edx; /* 0x2501C86F: mov dword ptr [ecx], edx */
   7063     edx = MEM32(eax + 0x4); /* 0x2501C871: mov edx, dword ptr [eax + 4] */
   7064     MEM32(ecx + 0x4) = edx; /* 0x2501C874: mov dword ptr [ecx + 4], edx */
   7065     edx = MEM32(eax + 0x8); /* 0x2501C877: mov edx, dword ptr [eax + 8] */
   7066     MEM32(ecx + 0x8) = edx; /* 0x2501C87A: mov dword ptr [ecx + 8], edx */
   7067     eax = MEM32(eax + 0xC); /* 0x2501C87D: mov eax, dword ptr [eax + 0xc] */
   7068     MEM32(ecx + 0xC) = eax; /* 0x2501C880: mov dword ptr [ecx + 0xc], eax */
   7069     ecx = MEM32(ebx + 0x94); /* 0x2501C883: mov ecx, dword ptr [ebx + 0x94] */
   7070     eax = MEM32(ebp + (-0x4)); /* 0x2501C889: mov eax, dword ptr [ebp - 4] */
   7071     MEM32(edi + 0x94) = ecx; /* 0x2501C88C: mov dword ptr [edi + 0x94], ecx */
   7072     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x98u);
   7073     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7074     edi = edi + 0x98u; /* 0x2501C892: add edi, 0x98 */
   7075     _flag_k = FK_ADD;
   7076     /* test ebx, ebx */ /* 0x2501C898: test ebx, ebx */
   7077     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   7078     _cf = 0;
   7079     _flag_k = FK_TEST;
   7080     esi = ebx + 0x98; /* 0x2501C89A: lea esi, [ebx + 0x98] */
   7081     ecx = 0x10u; /* 0x2501C8A0: mov ecx, 0x10 */
   7082     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501C8A5: 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; }
   7083     esi = ebx + 0xD8; /* 0x2501C8A7: lea esi, [ebx + 0xd8] */
   7084     edi = eax + 0xD8; /* 0x2501C8AD: lea edi, [eax + 0xd8] */
   7085     ecx = 0x10u; /* 0x2501C8B3: mov ecx, 0x10 */
   7086     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501C8B8: 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; }
   7087     edx = MEM32(ebx + 0x118); /* 0x2501C8BA: mov edx, dword ptr [ebx + 0x118] */
   7088     MEM32(eax + 0x118) = edx; /* 0x2501C8C0: mov dword ptr [eax + 0x118], edx */
   7089     ecx = MEM32(ebx + 0x11C); /* 0x2501C8C6: mov ecx, dword ptr [ebx + 0x11c] */
   7090     MEM32(eax + 0x11C) = ecx; /* 0x2501C8CC: mov dword ptr [eax + 0x11c], ecx */
   7091     SET_LO8(edx, MEM8(ebx + 0x120)); /* 0x2501C8D2: mov dl, byte ptr [ebx + 0x120] */
   7092     MEM8(eax + 0x120) = (uint8_t)(LO8(edx)); /* 0x2501C8D8: mov byte ptr [eax + 0x120], dl */
   7093     ecx = MEM32(ebx + 0x124); /* 0x2501C8DE: mov ecx, dword ptr [ebx + 0x124] */
   7094     MEM32(eax + 0x124) = ecx; /* 0x2501C8E4: mov dword ptr [eax + 0x124], ecx */
   7095     edx = MEM32(ebx + 0x128); /* 0x2501C8EA: mov edx, dword ptr [ebx + 0x128] */
   7096     MEM32(eax + 0x128) = edx; /* 0x2501C8F0: mov dword ptr [eax + 0x128], edx */
   7097     ecx = MEM32(ebx + 0x12C); /* 0x2501C8F6: mov ecx, dword ptr [ebx + 0x12c] */
   7098     MEM32(eax + 0x12C) = ecx; /* 0x2501C8FC: mov dword ptr [eax + 0x12c], ecx */
   7099     SET_LO8(edx, MEM8(ebx + 0x130)); /* 0x2501C902: mov dl, byte ptr [ebx + 0x130] */
   7100     MEM8(eax + 0x130) = (uint8_t)(LO8(edx)); /* 0x2501C908: mov byte ptr [eax + 0x130], dl */
   7101     SET_LO8(ecx, MEM8(ebx + 0x131)); /* 0x2501C90E: mov cl, byte ptr [ebx + 0x131] */
   7102     MEM8(eax + 0x131) = (uint8_t)(LO8(ecx)); /* 0x2501C914: mov byte ptr [eax + 0x131], cl */
   7103     SET_LO8(edx, MEM8(ebx + 0x132)); /* 0x2501C91A: mov dl, byte ptr [ebx + 0x132] */
   7104     MEM8(eax + 0x132) = (uint8_t)(LO8(edx)); /* 0x2501C920: mov byte ptr [eax + 0x132], dl */
   7105     ecx = MEM32(ebx + 0x134); /* 0x2501C926: mov ecx, dword ptr [ebx + 0x134] */
   7106     MEM32(eax + 0x134) = ecx; /* 0x2501C92C: mov dword ptr [eax + 0x134], ecx */
   7107     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C93C; /* 0x2501C932: je 0x2501c93c */
   7108 L_2501C934:
   7109     ecx = ebx + 0x138; /* 0x2501C934: lea ecx, [ebx + 0x138] */
   7110     goto L_2501C93E; /* 0x2501C93A: jmp 0x2501c93e */
   7111 L_2501C93C:
   7112     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7113     ecx = 0; /* 0x2501C93C: xor ecx, ecx */
   7114     _cf = 0;
   7115     _flag_k = FK_TEST;
   7116 L_2501C93E:
   7117     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   7118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7119     ecx = ecx + 4; /* 0x2501C93E: add ecx, 4 */
   7120     _flag_k = FK_ADD;
   7121     PUSH32(esp, ecx); /* 0x2501C941: push ecx */
   7122     ecx = eax + 0x13C; /* 0x2501C942: lea ecx, [eax + 0x13c] */
   7123     RECOMP_ICALL(0x25009590u); /* 0x2501C948: call 0x25009590 */ /* not lifted */
   7124     RECOMP_FLAGS_IN();
   7125     /* test ebx, ebx */ /* 0x2501C94D: test ebx, ebx */
   7126     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   7127     _cf = 0;
   7128     _flag_k = FK_TEST;
   7129     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C959; /* 0x2501C94F: je 0x2501c959 */
   7130 L_2501C951:
   7131     eax = ebx + 0x150; /* 0x2501C951: lea eax, [ebx + 0x150] */
   7132     goto L_2501C95B; /* 0x2501C957: jmp 0x2501c95b */
   7133 L_2501C959:
   7134     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7135     eax = 0; /* 0x2501C959: xor eax, eax */
   7136     _cf = 0;
   7137     _flag_k = FK_TEST;
   7138 L_2501C95B:
   7139     esi = MEM32(ebp + (-0x4)); /* 0x2501C95B: mov esi, dword ptr [ebp - 4] */
   7140     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   7141     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7142     eax = eax + 4; /* 0x2501C95E: add eax, 4 */
   7143     _flag_k = FK_ADD;
   7144     PUSH32(esp, eax); /* 0x2501C961: push eax */
   7145     ecx = esi + 0x154; /* 0x2501C962: lea ecx, [esi + 0x154] */
   7146     RECOMP_ICALL(0x25009710u); /* 0x2501C968: call 0x25009710 */ /* not lifted */
   7147     RECOMP_FLAGS_IN();
   7148     edx = MEM32(ebx + 0x168); /* 0x2501C96D: mov edx, dword ptr [ebx + 0x168] */
   7149     MEM32(esi + 0x168) = edx; /* 0x2501C973: mov dword ptr [esi + 0x168], edx */
   7150     edx = ebx; /* 0x2501C979: mov edx, ebx */
   7151     ecx = ebx + 0x16C; /* 0x2501C97B: lea ecx, [ebx + 0x16c] */
   7152     eax = esi + 0x170; /* 0x2501C981: lea eax, [esi + 0x170] */
   7153     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi);
   7154     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7155     edx = edx - esi; /* 0x2501C987: sub edx, esi */
   7156     _flag_k = FK_CMP;
   7157     MEM32(ebp + 0x8) = 8; /* 0x2501C989: mov dword ptr [ebp + 8], 8 */
   7158 L_2501C990:
   7159     edi = MEM32(ecx); /* 0x2501C990: mov edi, dword ptr [ecx] */
   7160     MEM32(eax + (-0x4)) = edi; /* 0x2501C992: mov dword ptr [eax - 4], edi */
   7161     edi = MEM32(edx + eax); /* 0x2501C995: mov edi, dword ptr [edx + eax] */
   7162     MEM32(eax) = edi; /* 0x2501C998: mov dword ptr [eax], edi */
   7163     edi = MEM32(ebp + 0x8); /* 0x2501C99A: mov edi, dword ptr [ebp + 8] */
   7164     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   7165     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7166     ecx = ecx + 8; /* 0x2501C99D: add ecx, 8 */
   7167     _flag_k = FK_ADD;
   7168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   7169     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7170     eax = eax + 8; /* 0x2501C9A0: add eax, 8 */
   7171     _flag_k = FK_ADD;
   7172     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   7173     edi = edi - 1; /* 0x2501C9A3: dec edi */
   7174     _flag_k = FK_DEC;
   7175     MEM32(ebp + 0x8) = edi; /* 0x2501C9A4: mov dword ptr [ebp + 8], edi */
   7176     RECOMP_BACKEDGE();
   7177     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501C990; /* 0x2501C9A7: jne 0x2501c990 */
   7178 L_2501C9A9:
   7179     SET_LO8(eax, MEM8(ebx + 0x1AC)); /* 0x2501C9A9: mov al, byte ptr [ebx + 0x1ac] */
   7180     MEM8(esi + 0x1AC) = (uint8_t)(LO8(eax)); /* 0x2501C9AF: mov byte ptr [esi + 0x1ac], al */
   7181     SET_LO8(ecx, MEM8(ebx + 0x1AD)); /* 0x2501C9B5: mov cl, byte ptr [ebx + 0x1ad] */
   7182     MEM8(esi + 0x1AD) = (uint8_t)(LO8(ecx)); /* 0x2501C9BB: mov byte ptr [esi + 0x1ad], cl */
   7183     SET_LO8(edx, MEM8(ebx + 0x1AE)); /* 0x2501C9C1: mov dl, byte ptr [ebx + 0x1ae] */
   7184     MEM8(esi + 0x1AE) = (uint8_t)(LO8(edx)); /* 0x2501C9C7: mov byte ptr [esi + 0x1ae], dl */
   7185     eax = MEM32(ebx + 0x1B0); /* 0x2501C9CD: mov eax, dword ptr [ebx + 0x1b0] */
   7186     MEM32(esi + 0x1B0) = eax; /* 0x2501C9D3: mov dword ptr [esi + 0x1b0], eax */
   7187     ecx = MEM32(ebx + 0x1B4); /* 0x2501C9D9: mov ecx, dword ptr [ebx + 0x1b4] */
   7188     edx = ebx + 0x1B8; /* 0x2501C9DF: lea edx, [ebx + 0x1b8] */
   7189     MEM32(esi + 0x1B4) = ecx; /* 0x2501C9E5: mov dword ptr [esi + 0x1b4], ecx */
   7190     PUSH32(esp, edx); /* 0x2501C9EB: push edx */
   7191     ecx = esi + 0x1B8; /* 0x2501C9EC: lea ecx, [esi + 0x1b8] */
   7192     RECOMP_ICALL(0x25005990u); /* 0x2501C9F2: call 0x25005990 */ /* not lifted */
   7193     RECOMP_FLAGS_IN();
   7194     eax = MEM32(ebx + 0x1C8); /* 0x2501C9F7: mov eax, dword ptr [ebx + 0x1c8] */
   7195     MEM32(esi + 0x1C8) = eax; /* 0x2501C9FD: mov dword ptr [esi + 0x1c8], eax */
   7196     SET_LO8(ecx, MEM8(ebx + 0x1CC)); /* 0x2501CA03: mov cl, byte ptr [ebx + 0x1cc] */
   7197     MEM8(esi + 0x1CC) = (uint8_t)(LO8(ecx)); /* 0x2501CA09: mov byte ptr [esi + 0x1cc], cl */
   7198     edx = MEM32(ebx + 0x1D0); /* 0x2501CA0F: mov edx, dword ptr [ebx + 0x1d0] */
   7199     MEM32(esi + 0x1D0) = edx; /* 0x2501CA15: mov dword ptr [esi + 0x1d0], edx */
   7200     eax = MEM32(ebx + 0x1D4); /* 0x2501CA1B: mov eax, dword ptr [ebx + 0x1d4] */
   7201     MEM32(esi + 0x1D4) = eax; /* 0x2501CA21: mov dword ptr [esi + 0x1d4], eax */
   7202     ecx = MEM32(ebx + 0x1D8); /* 0x2501CA27: mov ecx, dword ptr [ebx + 0x1d8] */
   7203     MEM32(esi + 0x1D8) = ecx; /* 0x2501CA2D: mov dword ptr [esi + 0x1d8], ecx */
   7204     edx = MEM32(ebx + 0x1DC); /* 0x2501CA33: mov edx, dword ptr [ebx + 0x1dc] */
   7205     MEM32(esi + 0x1DC) = edx; /* 0x2501CA39: mov dword ptr [esi + 0x1dc], edx */
   7206     eax = MEM32(ebx + 0x1E0); /* 0x2501CA3F: mov eax, dword ptr [ebx + 0x1e0] */
   7207     MEM32(esi + 0x1E0) = eax; /* 0x2501CA45: mov dword ptr [esi + 0x1e0], eax */
   7208     ecx = MEM32(ebx + 0x1E4); /* 0x2501CA4B: mov ecx, dword ptr [ebx + 0x1e4] */
   7209     MEM32(esi + 0x1E4) = ecx; /* 0x2501CA51: mov dword ptr [esi + 0x1e4], ecx */
   7210     edx = MEM32(ebx + 0x1E8); /* 0x2501CA57: mov edx, dword ptr [ebx + 0x1e8] */
   7211     MEM32(esi + 0x1E8) = edx; /* 0x2501CA5D: mov dword ptr [esi + 0x1e8], edx */
   7212     eax = MEM32(ebx + 0x1EC); /* 0x2501CA63: mov eax, dword ptr [ebx + 0x1ec] */
   7213     MEM32(esi + 0x1EC) = eax; /* 0x2501CA69: mov dword ptr [esi + 0x1ec], eax */
   7214     ecx = MEM32(ebx + 0x1F0); /* 0x2501CA6F: mov ecx, dword ptr [ebx + 0x1f0] */
   7215     MEM32(esi + 0x1F0) = ecx; /* 0x2501CA75: mov dword ptr [esi + 0x1f0], ecx */
   7216     edx = MEM32(ebx + 0x1F4); /* 0x2501CA7B: mov edx, dword ptr [ebx + 0x1f4] */
   7217     MEM32(esi + 0x1F4) = edx; /* 0x2501CA81: mov dword ptr [esi + 0x1f4], edx */
   7218     eax = MEM32(ebx + 0x1F8); /* 0x2501CA87: mov eax, dword ptr [ebx + 0x1f8] */
   7219     MEM32(esi + 0x1F8) = eax; /* 0x2501CA8D: mov dword ptr [esi + 0x1f8], eax */
   7220     SET_LO8(ecx, MEM8(ebx + 0x1FC)); /* 0x2501CA93: mov cl, byte ptr [ebx + 0x1fc] */
   7221     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ecx)); /* 0x2501CA99: mov byte ptr [esi + 0x1fc], cl */
   7222     edx = MEM32(ebx + 0x200); /* 0x2501CA9F: mov edx, dword ptr [ebx + 0x200] */
   7223     MEM32(esi + 0x200) = edx; /* 0x2501CAA5: mov dword ptr [esi + 0x200], edx */
   7224     eax = ebx + 0x204; /* 0x2501CAAB: lea eax, [ebx + 0x204] */
   7225     edx = MEM32(eax); /* 0x2501CAB1: mov edx, dword ptr [eax] */
   7226     ecx = esi + 0x204; /* 0x2501CAB3: lea ecx, [esi + 0x204] */
   7227     MEM32(ecx) = edx; /* 0x2501CAB9: mov dword ptr [ecx], edx */
   7228     edx = MEM32(eax + 0x4); /* 0x2501CABB: mov edx, dword ptr [eax + 4] */
   7229     MEM32(ecx + 0x4) = edx; /* 0x2501CABE: mov dword ptr [ecx + 4], edx */
   7230     eax = MEM32(eax + 0x8); /* 0x2501CAC1: mov eax, dword ptr [eax + 8] */
   7231     MEM32(ecx + 0x8) = eax; /* 0x2501CAC4: mov dword ptr [ecx + 8], eax */
   7232     ecx = MEM32(ebx + 0x210); /* 0x2501CAC7: mov ecx, dword ptr [ebx + 0x210] */
   7233     MEM32(esi + 0x210) = ecx; /* 0x2501CACD: mov dword ptr [esi + 0x210], ecx */
   7234     SET_LO8(edx, MEM8(ebx + 0x214)); /* 0x2501CAD3: mov dl, byte ptr [ebx + 0x214] */
   7235     MEM8(esi + 0x214) = (uint8_t)(LO8(edx)); /* 0x2501CAD9: mov byte ptr [esi + 0x214], dl */
   7236     eax = MEM32(ebx + 0x218); /* 0x2501CADF: mov eax, dword ptr [ebx + 0x218] */
   7237     MEM32(esi + 0x218) = eax; /* 0x2501CAE5: mov dword ptr [esi + 0x218], eax */
   7238     ecx = MEM32(ebx + 0x21C); /* 0x2501CAEB: mov ecx, dword ptr [ebx + 0x21c] */
   7239     MEM32(esi + 0x21C) = ecx; /* 0x2501CAF1: mov dword ptr [esi + 0x21c], ecx */
   7240     edx = MEM32(ebx + 0x220); /* 0x2501CAF7: mov edx, dword ptr [ebx + 0x220] */
   7241     MEM32(esi + 0x220) = edx; /* 0x2501CAFD: mov dword ptr [esi + 0x220], edx */
   7242     eax = MEM32(ebx + 0x224); /* 0x2501CB03: mov eax, dword ptr [ebx + 0x224] */
   7243     MEM32(esi + 0x224) = eax; /* 0x2501CB09: mov dword ptr [esi + 0x224], eax */
   7244     ecx = MEM32(ebx + 0x228); /* 0x2501CB0F: mov ecx, dword ptr [ebx + 0x228] */
   7245     MEM32(esi + 0x228) = ecx; /* 0x2501CB15: mov dword ptr [esi + 0x228], ecx */
   7246     SET_LO8(edx, MEM8(ebx + 0x22C)); /* 0x2501CB1B: mov dl, byte ptr [ebx + 0x22c] */
   7247     MEM8(esi + 0x22C) = (uint8_t)(LO8(edx)); /* 0x2501CB21: mov byte ptr [esi + 0x22c], dl */
   7248     eax = MEM32(ebx + 0x230); /* 0x2501CB27: mov eax, dword ptr [ebx + 0x230] */
   7249     MEM32(esi + 0x230) = eax; /* 0x2501CB2D: mov dword ptr [esi + 0x230], eax */
   7250     ecx = MEM32(ebx + 0x234); /* 0x2501CB33: mov ecx, dword ptr [ebx + 0x234] */
   7251     edi = POP32_VAL(esp); /* 0x2501CB39: pop edi */
   7252     MEM32(esi + 0x234) = ecx; /* 0x2501CB3A: mov dword ptr [esi + 0x234], ecx */
   7253     eax = esi; /* 0x2501CB40: mov eax, esi */
   7254     esi = POP32_VAL(esp); /* 0x2501CB42: pop esi */
   7255     ebx = POP32_VAL(esp); /* 0x2501CB43: pop ebx */
   7256     esp = ebp; /* 0x2501CB44: mov esp, ebp */
   7257     ebp = POP32_VAL(esp); /* 0x2501CB46: pop ebp */
   7258     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB47: ret 4 */
   7259     RECOMP_REGS_OUT();
   7260 }
   7261 
   7262 void sub_2501CB50(void) {
   7263     int _fpu_cmp = 0;
   7264     uint32_t _cf = 0;
   7265     int _df = 1;
   7266     uint32_t _flag_k = FK_NONE;
   7267     uint32_t _flag_a = 0, _flag_b = 0;
   7268     uint32_t _itail_tgt = 0;
   7269     RECOMP_REGS_LOCALS
   7270     RECOMP_ENTER(0x2501CB50u);
   7271 
   7272 L_2501CB50:
   7273     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
   7274     ebp = esp; /* 0x2501CB51: mov ebp, esp */
   7275     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
   7276     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
   7277     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
   7278     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   7279     _cf = 0;
   7280     _flag_k = FK_NARROW(FK_TEST, 24);
   7281     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
   7282     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
   7283     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
   7284 L_2501CB5F:
   7285     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
   7286     PUSH32(esp, edi); /* 0x2501CB62: push edi */
   7287     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
   7288     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
   7289     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
   7290     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
   7291     PUSH32(esp, esi); /* 0x2501CB71: push esi */
   7292     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
   7293     RECOMP_FLAGS_IN();
   7294     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
   7295     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7296     _cf = 0;
   7297     _flag_k = FK_NARROW(FK_TEST, 24);
   7298     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
   7299 L_2501CB7C:
   7300     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
   7301     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
   7302     RECOMP_FLAGS_IN();
   7303     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7304     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7305     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
   7306     _flag_k = FK_ADD;
   7307 L_2501CB85:
   7308     eax = edi; /* 0x2501CB85: mov eax, edi */
   7309     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
   7310     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
   7311     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
   7312     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
   7313     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
   7314 L_2501CB8E:
   7315     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
   7316     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
   7317     RECOMP_FLAGS_IN();
   7318     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
   7319     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   7320     _cf = 0;
   7321     _flag_k = FK_NARROW(FK_TEST, 24);
   7322     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
   7323 L_2501CB9A:
   7324     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
   7325     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
   7326     RECOMP_FLAGS_IN();
   7327     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7328     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7329     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
   7330     _flag_k = FK_ADD;
   7331 L_2501CBA3:
   7332     eax = esi; /* 0x2501CBA3: mov eax, esi */
   7333     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
   7334     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
   7335     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
   7336     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
   7337     RECOMP_REGS_OUT();
   7338 }
   7339 
   7340 void sub_2501CBB0(void) {
   7341     int _fpu_cmp = 0;
   7342     uint32_t _cf = 0;
   7343     int _df = 1;
   7344     uint32_t _flag_k = FK_NONE;
   7345     uint32_t _flag_a = 0, _flag_b = 0;
   7346     uint32_t _itail_tgt = 0;
   7347     RECOMP_REGS_LOCALS
   7348     RECOMP_ENTER(0x2501CBB0u);
   7349 
   7350 L_2501CBB0:
   7351     PUSH32(esp, ebp); /* 0x2501CBB0: push ebp */
   7352     ebp = esp; /* 0x2501CBB1: mov ebp, esp */
   7353     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501CBB3: push -1 */
   7354     PUSH32(esp, 0x25145A8Bu); /* 0x2501CBB5: push 0x25145a8b */
   7355     eax = MEM32(FS_BASE + (0)); /* 0x2501CBBA: mov eax, dword ptr fs:[0] */
   7356     PUSH32(esp, eax); /* 0x2501CBC0: push eax */
   7357     MEM32(FS_BASE + (0)) = esp; /* 0x2501CBC1: mov dword ptr fs:[0], esp */
   7358     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   7359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7360     esp = esp - 0x10u; /* 0x2501CBC8: sub esp, 0x10 */
   7361     _flag_k = FK_CMP;
   7362     PUSH32(esp, ebx); /* 0x2501CBCB: push ebx */
   7363     PUSH32(esp, esi); /* 0x2501CBCC: push esi */
   7364     PUSH32(esp, edi); /* 0x2501CBCD: push edi */
   7365     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7366     ebx = 0; /* 0x2501CBCE: xor ebx, ebx */
   7367     _cf = 0;
   7368     _flag_k = FK_TEST;
   7369     PUSH32(esp, ebx); /* 0x2501CBD0: push ebx */
   7370     esi = ecx; /* 0x2501CBD1: mov esi, ecx */
   7371     PUSH32(esp, ebx); /* 0x2501CBD3: push ebx */
   7372     MEM32(ebp + (-0x10)) = esi; /* 0x2501CBD4: mov dword ptr [ebp - 0x10], esi */
   7373     MEM32(ebp + (-0x1C)) = 0; /* 0x2501CBD7: mov dword ptr [ebp - 0x1c], 0 */
   7374     MEM32(ebp + (-0x18)) = 0; /* 0x2501CBDE: mov dword ptr [ebp - 0x18], 0 */
   7375     MEM32(ebp + (-0x14)) = 0; /* 0x2501CBE5: mov dword ptr [ebp - 0x14], 0 */
   7376     RECOMP_ICALL(0x250DA9D0u); /* 0x2501CBEC: call 0x250da9d0 */ /* not lifted */
   7377     RECOMP_FLAGS_IN();
   7378     eax = MEM32(ebp + 0x8); /* 0x2501CBF1: mov eax, dword ptr [ebp + 8] */
   7379     ecx = MEM32(ebp + 0xC); /* 0x2501CBF4: mov ecx, dword ptr [ebp + 0xc] */
   7380     edx = esi + 0x204; /* 0x2501CBF7: lea edx, [esi + 0x204] */
   7381     MEM32(esi + 0x1D4) = eax; /* 0x2501CBFD: mov dword ptr [esi + 0x1d4], eax */
   7382     eax = MEM32(ebp + (-0x1C)); /* 0x2501CC03: mov eax, dword ptr [ebp - 0x1c] */
   7383     edi = edx; /* 0x2501CC06: mov edi, edx */
   7384     edx = MEM32(ebp + (-0x14)); /* 0x2501CC08: mov edx, dword ptr [ebp - 0x14] */
   7385     MEM32(edi) = eax; /* 0x2501CC0B: mov dword ptr [edi], eax */
   7386     MEM32(esi + 0x1D8) = ecx; /* 0x2501CC0D: mov dword ptr [esi + 0x1d8], ecx */
   7387     ecx = MEM32(ebp + (-0x18)); /* 0x2501CC13: mov ecx, dword ptr [ebp - 0x18] */
   7388     MEM32(edi + 0x4) = ecx; /* 0x2501CC16: mov dword ptr [edi + 4], ecx */
   7389     MEM32(edi + 0x8) = edx; /* 0x2501CC19: mov dword ptr [edi + 8], edx */
   7390     edi = esi + 0x78; /* 0x2501CC1C: lea edi, [esi + 0x78] */
   7391     MEM32(edi) = eax; /* 0x2501CC1F: mov dword ptr [edi], eax */
   7392     MEM32(edi + 0x4) = ecx; /* 0x2501CC21: mov dword ptr [edi + 4], ecx */
   7393     PUSH32(esp, 1); /* 0x2501CC24: push 1 */
   7394     PUSH32(esp, 1); /* 0x2501CC26: push 1 */
   7395     ecx = esi; /* 0x2501CC28: mov ecx, esi */
   7396     MEM32(ebp + (-0x4)) = ebx; /* 0x2501CC2A: mov dword ptr [ebp - 4], ebx */
   7397     MEM32(esi + 0x1DC) = ebx; /* 0x2501CC2D: mov dword ptr [esi + 0x1dc], ebx */
   7398     MEM32(esi + 0x1E0) = ebx; /* 0x2501CC33: mov dword ptr [esi + 0x1e0], ebx */
   7399     MEM32(esi + 0x1E4) = ebx; /* 0x2501CC39: mov dword ptr [esi + 0x1e4], ebx */
   7400     MEM32(esi + 0x1E8) = ebx; /* 0x2501CC3F: mov dword ptr [esi + 0x1e8], ebx */
   7401     MEM32(esi + 0x1EC) = ebx; /* 0x2501CC45: mov dword ptr [esi + 0x1ec], ebx */
   7402     MEM32(esi + 0x1F0) = ebx; /* 0x2501CC4B: mov dword ptr [esi + 0x1f0], ebx */
   7403     MEM32(esi + 0x1F4) = ebx; /* 0x2501CC51: mov dword ptr [esi + 0x1f4], ebx */
   7404     MEM32(esi + 0x1F8) = ebx; /* 0x2501CC57: mov dword ptr [esi + 0x1f8], ebx */
   7405     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ebx)); /* 0x2501CC5D: mov byte ptr [esi + 0x1fc], bl */
   7406     MEM32(esi + 0x210) = ebx; /* 0x2501CC63: mov dword ptr [esi + 0x210], ebx */
   7407     MEM8(esi + 0x214) = (uint8_t)(LO8(ebx)); /* 0x2501CC69: mov byte ptr [esi + 0x214], bl */
   7408     MEM32(esi) = 0x25152700u; /* 0x2501CC6F: mov dword ptr [esi], 0x25152700 */
   7409     MEM32(esi + 0x8) = 0x251526F0u; /* 0x2501CC75: mov dword ptr [esi + 8], 0x251526f0 */
   7410     MEM32(esi + 0x20) = 0x251526E0u; /* 0x2501CC7C: mov dword ptr [esi + 0x20], 0x251526e0 */
   7411     MEM32(esi + 0x38) = 0x251526D0u; /* 0x2501CC83: mov dword ptr [esi + 0x38], 0x251526d0 */
   7412     MEM32(esi + 0x50) = 0x251526C0u; /* 0x2501CC8A: mov dword ptr [esi + 0x50], 0x251526c0 */
   7413     MEM32(esi + 0x138) = 0x251526B0u; /* 0x2501CC91: mov dword ptr [esi + 0x138], 0x251526b0 */
   7414     MEM32(esi + 0x150) = 0x251526A0u; /* 0x2501CC9B: mov dword ptr [esi + 0x150], 0x251526a0 */
   7415     MEM32(edi + 0x8) = edx; /* 0x2501CCA5: mov dword ptr [edi + 8], edx */
   7416     RECOMP_ICALL(MEM32(0x2515272C)); /* 0x2501CCA8: call dword ptr [0x2515272c] */
   7417     RECOMP_FLAGS_IN();
   7418     PUSH32(esp, 0x3ECu); /* 0x2501CCAE: push 0x3ec */
   7419     RECOMP_ICALL(0x251380D0u); /* 0x2501CCB3: call 0x251380d0 */ /* not lifted */
   7420     RECOMP_FLAGS_IN();
   7421     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7422     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7423     esp = esp + 4; /* 0x2501CCB8: add esp, 4 */
   7424     _flag_k = FK_ADD;
   7425     MEM32(ebp + 0x8) = eax; /* 0x2501CCBB: mov dword ptr [ebp + 8], eax */
   7426     /* cmp eax, ebx */ /* 0x2501CCBE: cmp eax, ebx */
   7427     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7429     _flag_k = FK_CMP;
   7430     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501CCC0: mov byte ptr [ebp - 4], 1 */
   7431     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CCD1; /* 0x2501CCC4: je 0x2501ccd1 */
   7432 L_2501CCC6:
   7433     PUSH32(esp, 1); /* 0x2501CCC6: push 1 */
   7434     ecx = eax; /* 0x2501CCC8: mov ecx, eax */
   7435     RECOMP_ICALL(0x250BC800u); /* 0x2501CCCA: call 0x250bc800 */ /* not lifted */
   7436     RECOMP_FLAGS_IN();
   7437     goto L_2501CCD3; /* 0x2501CCCF: jmp 0x2501ccd3 */
   7438 L_2501CCD1:
   7439     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7440     eax = 0; /* 0x2501CCD1: xor eax, eax */
   7441     _cf = 0;
   7442     _flag_k = FK_TEST;
   7443 L_2501CCD3:
   7444     MEM32(esi + 0x218) = eax; /* 0x2501CCD3: mov dword ptr [esi + 0x218], eax */
   7445     MEM32(ebp + (-0x4)) = 2; /* 0x2501CCD9: mov dword ptr [ebp - 4], 2 */
   7446     MEM32(esi) = 0x25152624u; /* 0x2501CCE0: mov dword ptr [esi], 0x25152624 */
   7447     MEM32(esi + 0x8) = 0x25152614u; /* 0x2501CCE6: mov dword ptr [esi + 8], 0x25152614 */
   7448     MEM32(esi + 0x20) = 0x25152604u; /* 0x2501CCED: mov dword ptr [esi + 0x20], 0x25152604 */
   7449     MEM32(esi + 0x38) = 0x251525F4u; /* 0x2501CCF4: mov dword ptr [esi + 0x38], 0x251525f4 */
   7450     MEM32(esi + 0x50) = 0x251525E4u; /* 0x2501CCFB: mov dword ptr [esi + 0x50], 0x251525e4 */
   7451     MEM32(esi + 0x138) = 0x251525D4u; /* 0x2501CD02: mov dword ptr [esi + 0x138], 0x251525d4 */
   7452     MEM32(esi + 0x150) = 0x251525C4u; /* 0x2501CD0C: mov dword ptr [esi + 0x150], 0x251525c4 */
   7453     RECOMP_ICALL(0x2507F900u); /* 0x2501CD16: call 0x2507f900 */ /* not lifted */
   7454     RECOMP_FLAGS_IN();
   7455     eax = MEM32(eax + 0x718); /* 0x2501CD1B: mov eax, dword ptr [eax + 0x718] */
   7456     PUSH32(esp, 7); /* 0x2501CD21: push 7 */
   7457     ecx = esi; /* 0x2501CD23: mov ecx, esi */
   7458     MEM32(esi + 0x21C) = eax; /* 0x2501CD25: mov dword ptr [esi + 0x21c], eax */
   7459     RECOMP_ICALL(0x250DDB50u); /* 0x2501CD2B: call 0x250ddb50 */ /* not lifted */
   7460     RECOMP_FLAGS_IN();
   7461     edx = MEM32(esi); /* 0x2501CD30: mov edx, dword ptr [esi] */
   7462     ecx = esi; /* 0x2501CD32: mov ecx, esi */
   7463     MEM32(esi + 0x224) = ebx; /* 0x2501CD34: mov dword ptr [esi + 0x224], ebx */
   7464     MEM32(esi + 0x228) = ebx; /* 0x2501CD3A: mov dword ptr [esi + 0x228], ebx */
   7465     MEM8(esi + 0x22C) = (uint8_t)(LO8(ebx)); /* 0x2501CD40: mov byte ptr [esi + 0x22c], bl */
   7466     MEM32(esi + 0x230) = ebx; /* 0x2501CD46: mov dword ptr [esi + 0x230], ebx */
   7467     MEM32(esi + 0x234) = 0x3F800000u; /* 0x2501CD4C: mov dword ptr [esi + 0x234], 0x3f800000 */
   7468     RECOMP_ICALL(MEM32(edx + 0x5C)); /* 0x2501CD56: call dword ptr [edx + 0x5c] */
   7469     RECOMP_FLAGS_IN();
   7470     ecx = MEM32(ebp + (-0xC)); /* 0x2501CD59: mov ecx, dword ptr [ebp - 0xc] */
   7471     edi = POP32_VAL(esp); /* 0x2501CD5C: pop edi */
   7472     eax = esi; /* 0x2501CD5D: mov eax, esi */
   7473     esi = POP32_VAL(esp); /* 0x2501CD5F: pop esi */
   7474     ebx = POP32_VAL(esp); /* 0x2501CD60: pop ebx */
   7475     MEM32(FS_BASE + (0)) = ecx; /* 0x2501CD61: mov dword ptr fs:[0], ecx */
   7476     esp = ebp; /* 0x2501CD68: mov esp, ebp */
   7477     ebp = POP32_VAL(esp); /* 0x2501CD6A: pop ebp */
   7478     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2501CD6B: ret 8 */
   7479     RECOMP_REGS_OUT();
   7480 }
   7481 
   7482 void sub_2501CBE5(void) {
   7483     int _fpu_cmp = 0;
   7484     uint32_t _cf = 0;
   7485     int _df = 1;
   7486     uint32_t _flag_k = FK_NONE;
   7487     uint32_t _flag_a = 0, _flag_b = 0;
   7488     uint32_t _itail_tgt = 0;
   7489     RECOMP_REGS_LOCALS
   7490     RECOMP_ENTER(0x2501CBE5u);
   7491 
   7492 L_2501CBE5:
   7493     MEM32(ebp + (-0x14)) = 0; /* 0x2501CBE5: mov dword ptr [ebp - 0x14], 0 */
   7494     RECOMP_ICALL(0x250DA9D0u); /* 0x2501CBEC: call 0x250da9d0 */ /* not lifted */
   7495     RECOMP_FLAGS_IN();
   7496     eax = MEM32(ebp + 0x8); /* 0x2501CBF1: mov eax, dword ptr [ebp + 8] */
   7497     ecx = MEM32(ebp + 0xC); /* 0x2501CBF4: mov ecx, dword ptr [ebp + 0xc] */
   7498     edx = esi + 0x204; /* 0x2501CBF7: lea edx, [esi + 0x204] */
   7499     MEM32(esi + 0x1D4) = eax; /* 0x2501CBFD: mov dword ptr [esi + 0x1d4], eax */
   7500     eax = MEM32(ebp + (-0x1C)); /* 0x2501CC03: mov eax, dword ptr [ebp - 0x1c] */
   7501     edi = edx; /* 0x2501CC06: mov edi, edx */
   7502     edx = MEM32(ebp + (-0x14)); /* 0x2501CC08: mov edx, dword ptr [ebp - 0x14] */
   7503     MEM32(edi) = eax; /* 0x2501CC0B: mov dword ptr [edi], eax */
   7504     MEM32(esi + 0x1D8) = ecx; /* 0x2501CC0D: mov dword ptr [esi + 0x1d8], ecx */
   7505     ecx = MEM32(ebp + (-0x18)); /* 0x2501CC13: mov ecx, dword ptr [ebp - 0x18] */
   7506     MEM32(edi + 0x4) = ecx; /* 0x2501CC16: mov dword ptr [edi + 4], ecx */
   7507     MEM32(edi + 0x8) = edx; /* 0x2501CC19: mov dword ptr [edi + 8], edx */
   7508     edi = esi + 0x78; /* 0x2501CC1C: lea edi, [esi + 0x78] */
   7509     MEM32(edi) = eax; /* 0x2501CC1F: mov dword ptr [edi], eax */
   7510     MEM32(edi + 0x4) = ecx; /* 0x2501CC21: mov dword ptr [edi + 4], ecx */
   7511     PUSH32(esp, 1); /* 0x2501CC24: push 1 */
   7512     PUSH32(esp, 1); /* 0x2501CC26: push 1 */
   7513     ecx = esi; /* 0x2501CC28: mov ecx, esi */
   7514     MEM32(ebp + (-0x4)) = ebx; /* 0x2501CC2A: mov dword ptr [ebp - 4], ebx */
   7515     MEM32(esi + 0x1DC) = ebx; /* 0x2501CC2D: mov dword ptr [esi + 0x1dc], ebx */
   7516     MEM32(esi + 0x1E0) = ebx; /* 0x2501CC33: mov dword ptr [esi + 0x1e0], ebx */
   7517     MEM32(esi + 0x1E4) = ebx; /* 0x2501CC39: mov dword ptr [esi + 0x1e4], ebx */
   7518     MEM32(esi + 0x1E8) = ebx; /* 0x2501CC3F: mov dword ptr [esi + 0x1e8], ebx */
   7519     MEM32(esi + 0x1EC) = ebx; /* 0x2501CC45: mov dword ptr [esi + 0x1ec], ebx */
   7520     MEM32(esi + 0x1F0) = ebx; /* 0x2501CC4B: mov dword ptr [esi + 0x1f0], ebx */
   7521     MEM32(esi + 0x1F4) = ebx; /* 0x2501CC51: mov dword ptr [esi + 0x1f4], ebx */
   7522     MEM32(esi + 0x1F8) = ebx; /* 0x2501CC57: mov dword ptr [esi + 0x1f8], ebx */
   7523     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ebx)); /* 0x2501CC5D: mov byte ptr [esi + 0x1fc], bl */
   7524     MEM32(esi + 0x210) = ebx; /* 0x2501CC63: mov dword ptr [esi + 0x210], ebx */
   7525     MEM8(esi + 0x214) = (uint8_t)(LO8(ebx)); /* 0x2501CC69: mov byte ptr [esi + 0x214], bl */
   7526     MEM32(esi) = 0x25152700u; /* 0x2501CC6F: mov dword ptr [esi], 0x25152700 */
   7527     MEM32(esi + 0x8) = 0x251526F0u; /* 0x2501CC75: mov dword ptr [esi + 8], 0x251526f0 */
   7528     MEM32(esi + 0x20) = 0x251526E0u; /* 0x2501CC7C: mov dword ptr [esi + 0x20], 0x251526e0 */
   7529     MEM32(esi + 0x38) = 0x251526D0u; /* 0x2501CC83: mov dword ptr [esi + 0x38], 0x251526d0 */
   7530     MEM32(esi + 0x50) = 0x251526C0u; /* 0x2501CC8A: mov dword ptr [esi + 0x50], 0x251526c0 */
   7531     MEM32(esi + 0x138) = 0x251526B0u; /* 0x2501CC91: mov dword ptr [esi + 0x138], 0x251526b0 */
   7532     MEM32(esi + 0x150) = 0x251526A0u; /* 0x2501CC9B: mov dword ptr [esi + 0x150], 0x251526a0 */
   7533     MEM32(edi + 0x8) = edx; /* 0x2501CCA5: mov dword ptr [edi + 8], edx */
   7534     RECOMP_ICALL(MEM32(0x2515272C)); /* 0x2501CCA8: call dword ptr [0x2515272c] */
   7535     RECOMP_FLAGS_IN();
   7536     PUSH32(esp, 0x3ECu); /* 0x2501CCAE: push 0x3ec */
   7537     RECOMP_ICALL(0x251380D0u); /* 0x2501CCB3: call 0x251380d0 */ /* not lifted */
   7538     RECOMP_FLAGS_IN();
   7539     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7540     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7541     esp = esp + 4; /* 0x2501CCB8: add esp, 4 */
   7542     _flag_k = FK_ADD;
   7543     MEM32(ebp + 0x8) = eax; /* 0x2501CCBB: mov dword ptr [ebp + 8], eax */
   7544     /* cmp eax, ebx */ /* 0x2501CCBE: cmp eax, ebx */
   7545     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7547     _flag_k = FK_CMP;
   7548     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501CCC0: mov byte ptr [ebp - 4], 1 */
   7549     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CCD1; /* 0x2501CCC4: je 0x2501ccd1 */
   7550 L_2501CCC6:
   7551     PUSH32(esp, 1); /* 0x2501CCC6: push 1 */
   7552     ecx = eax; /* 0x2501CCC8: mov ecx, eax */
   7553     RECOMP_ICALL(0x250BC800u); /* 0x2501CCCA: call 0x250bc800 */ /* not lifted */
   7554     RECOMP_FLAGS_IN();
   7555     goto L_2501CCD3; /* 0x2501CCCF: jmp 0x2501ccd3 */
   7556 L_2501CCD1:
   7557     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7558     eax = 0; /* 0x2501CCD1: xor eax, eax */
   7559     _cf = 0;
   7560     _flag_k = FK_TEST;
   7561 L_2501CCD3:
   7562     MEM32(esi + 0x218) = eax; /* 0x2501CCD3: mov dword ptr [esi + 0x218], eax */
   7563     MEM32(ebp + (-0x4)) = 2; /* 0x2501CCD9: mov dword ptr [ebp - 4], 2 */
   7564     MEM32(esi) = 0x25152624u; /* 0x2501CCE0: mov dword ptr [esi], 0x25152624 */
   7565     MEM32(esi + 0x8) = 0x25152614u; /* 0x2501CCE6: mov dword ptr [esi + 8], 0x25152614 */
   7566     MEM32(esi + 0x20) = 0x25152604u; /* 0x2501CCED: mov dword ptr [esi + 0x20], 0x25152604 */
   7567     MEM32(esi + 0x38) = 0x251525F4u; /* 0x2501CCF4: mov dword ptr [esi + 0x38], 0x251525f4 */
   7568     MEM32(esi + 0x50) = 0x251525E4u; /* 0x2501CCFB: mov dword ptr [esi + 0x50], 0x251525e4 */
   7569     MEM32(esi + 0x138) = 0x251525D4u; /* 0x2501CD02: mov dword ptr [esi + 0x138], 0x251525d4 */
   7570     MEM32(esi + 0x150) = 0x251525C4u; /* 0x2501CD0C: mov dword ptr [esi + 0x150], 0x251525c4 */
   7571     RECOMP_ICALL(0x2507F900u); /* 0x2501CD16: call 0x2507f900 */ /* not lifted */
   7572     RECOMP_FLAGS_IN();
   7573     eax = MEM32(eax + 0x718); /* 0x2501CD1B: mov eax, dword ptr [eax + 0x718] */
   7574     PUSH32(esp, 7); /* 0x2501CD21: push 7 */
   7575     ecx = esi; /* 0x2501CD23: mov ecx, esi */
   7576     MEM32(esi + 0x21C) = eax; /* 0x2501CD25: mov dword ptr [esi + 0x21c], eax */
   7577     RECOMP_ICALL(0x250DDB50u); /* 0x2501CD2B: call 0x250ddb50 */ /* not lifted */
   7578     RECOMP_FLAGS_IN();
   7579     edx = MEM32(esi); /* 0x2501CD30: mov edx, dword ptr [esi] */
   7580     ecx = esi; /* 0x2501CD32: mov ecx, esi */
   7581     MEM32(esi + 0x224) = ebx; /* 0x2501CD34: mov dword ptr [esi + 0x224], ebx */
   7582     MEM32(esi + 0x228) = ebx; /* 0x2501CD3A: mov dword ptr [esi + 0x228], ebx */
   7583     MEM8(esi + 0x22C) = (uint8_t)(LO8(ebx)); /* 0x2501CD40: mov byte ptr [esi + 0x22c], bl */
   7584     MEM32(esi + 0x230) = ebx; /* 0x2501CD46: mov dword ptr [esi + 0x230], ebx */
   7585     MEM32(esi + 0x234) = 0x3F800000u; /* 0x2501CD4C: mov dword ptr [esi + 0x234], 0x3f800000 */
   7586     RECOMP_ICALL(MEM32(edx + 0x5C)); /* 0x2501CD56: call dword ptr [edx + 0x5c] */
   7587     RECOMP_FLAGS_IN();
   7588     ecx = MEM32(ebp + (-0xC)); /* 0x2501CD59: mov ecx, dword ptr [ebp - 0xc] */
   7589     edi = POP32_VAL(esp); /* 0x2501CD5C: pop edi */
   7590     eax = esi; /* 0x2501CD5D: mov eax, esi */
   7591     esi = POP32_VAL(esp); /* 0x2501CD5F: pop esi */
   7592     ebx = POP32_VAL(esp); /* 0x2501CD60: pop ebx */
   7593     MEM32(FS_BASE + (0)) = ecx; /* 0x2501CD61: mov dword ptr fs:[0], ecx */
   7594     esp = ebp; /* 0x2501CD68: mov esp, ebp */
   7595     ebp = POP32_VAL(esp); /* 0x2501CD6A: pop ebp */
   7596     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2501CD6B: ret 8 */
   7597     RECOMP_REGS_OUT();
   7598 }
   7599 
   7600 void sub_2501CCD3(void) {
   7601     int _fpu_cmp = 0;
   7602     uint32_t _cf = 0;
   7603     int _df = 1;
   7604     uint32_t _flag_k = FK_NONE;
   7605     uint32_t _flag_a = 0, _flag_b = 0;
   7606     uint32_t _itail_tgt = 0;
   7607     RECOMP_REGS_LOCALS
   7608     RECOMP_ENTER(0x2501CCD3u);
   7609 
   7610 L_2501CCD3:
   7611     MEM32(esi + 0x218) = eax; /* 0x2501CCD3: mov dword ptr [esi + 0x218], eax */
   7612     MEM32(ebp + (-0x4)) = 2; /* 0x2501CCD9: mov dword ptr [ebp - 4], 2 */
   7613     MEM32(esi) = 0x25152624u; /* 0x2501CCE0: mov dword ptr [esi], 0x25152624 */
   7614     MEM32(esi + 0x8) = 0x25152614u; /* 0x2501CCE6: mov dword ptr [esi + 8], 0x25152614 */
   7615     MEM32(esi + 0x20) = 0x25152604u; /* 0x2501CCED: mov dword ptr [esi + 0x20], 0x25152604 */
   7616     MEM32(esi + 0x38) = 0x251525F4u; /* 0x2501CCF4: mov dword ptr [esi + 0x38], 0x251525f4 */
   7617     MEM32(esi + 0x50) = 0x251525E4u; /* 0x2501CCFB: mov dword ptr [esi + 0x50], 0x251525e4 */
   7618     MEM32(esi + 0x138) = 0x251525D4u; /* 0x2501CD02: mov dword ptr [esi + 0x138], 0x251525d4 */
   7619     MEM32(esi + 0x150) = 0x251525C4u; /* 0x2501CD0C: mov dword ptr [esi + 0x150], 0x251525c4 */
   7620     RECOMP_ICALL(0x2507F900u); /* 0x2501CD16: call 0x2507f900 */ /* not lifted */
   7621     RECOMP_FLAGS_IN();
   7622     eax = MEM32(eax + 0x718); /* 0x2501CD1B: mov eax, dword ptr [eax + 0x718] */
   7623     PUSH32(esp, 7); /* 0x2501CD21: push 7 */
   7624     ecx = esi; /* 0x2501CD23: mov ecx, esi */
   7625     MEM32(esi + 0x21C) = eax; /* 0x2501CD25: mov dword ptr [esi + 0x21c], eax */
   7626     RECOMP_ICALL(0x250DDB50u); /* 0x2501CD2B: call 0x250ddb50 */ /* not lifted */
   7627     RECOMP_FLAGS_IN();
   7628     edx = MEM32(esi); /* 0x2501CD30: mov edx, dword ptr [esi] */
   7629     ecx = esi; /* 0x2501CD32: mov ecx, esi */
   7630     MEM32(esi + 0x224) = ebx; /* 0x2501CD34: mov dword ptr [esi + 0x224], ebx */
   7631     MEM32(esi + 0x228) = ebx; /* 0x2501CD3A: mov dword ptr [esi + 0x228], ebx */
   7632     MEM8(esi + 0x22C) = (uint8_t)(LO8(ebx)); /* 0x2501CD40: mov byte ptr [esi + 0x22c], bl */
   7633     MEM32(esi + 0x230) = ebx; /* 0x2501CD46: mov dword ptr [esi + 0x230], ebx */
   7634     MEM32(esi + 0x234) = 0x3F800000u; /* 0x2501CD4C: mov dword ptr [esi + 0x234], 0x3f800000 */
   7635     RECOMP_ICALL(MEM32(edx + 0x5C)); /* 0x2501CD56: call dword ptr [edx + 0x5c] */
   7636     RECOMP_FLAGS_IN();
   7637     ecx = MEM32(ebp + (-0xC)); /* 0x2501CD59: mov ecx, dword ptr [ebp - 0xc] */
   7638     edi = POP32_VAL(esp); /* 0x2501CD5C: pop edi */
   7639     eax = esi; /* 0x2501CD5D: mov eax, esi */
   7640     esi = POP32_VAL(esp); /* 0x2501CD5F: pop esi */
   7641     ebx = POP32_VAL(esp); /* 0x2501CD60: pop ebx */
   7642     MEM32(FS_BASE + (0)) = ecx; /* 0x2501CD61: mov dword ptr fs:[0], ecx */
   7643     esp = ebp; /* 0x2501CD68: mov esp, ebp */
   7644     ebp = POP32_VAL(esp); /* 0x2501CD6A: pop ebp */
   7645     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2501CD6B: ret 8 */
   7646     RECOMP_REGS_OUT();
   7647 }
   7648 
   7649 void sub_2501CD70(void) {
   7650     int _fpu_cmp = 0;
   7651     uint32_t _cf = 0;
   7652     int _df = 1;
   7653     uint32_t _flag_k = FK_NONE;
   7654     uint32_t _flag_a = 0, _flag_b = 0;
   7655     uint32_t _itail_tgt = 0;
   7656     RECOMP_REGS_LOCALS
   7657     RECOMP_ENTER(0x2501CD70u);
   7658 
   7659 L_2501CD70:
   7660     PUSH32(esp, ebp); /* 0x2501CD70: push ebp */
   7661     ebp = esp; /* 0x2501CD71: mov ebp, esp */
   7662     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501CD73: push -1 */
   7663     PUSH32(esp, 0x25145AA8u); /* 0x2501CD75: push 0x25145aa8 */
   7664     eax = MEM32(FS_BASE + (0)); /* 0x2501CD7A: mov eax, dword ptr fs:[0] */
   7665     PUSH32(esp, eax); /* 0x2501CD80: push eax */
   7666     MEM32(FS_BASE + (0)) = esp; /* 0x2501CD81: mov dword ptr fs:[0], esp */
   7667     PUSH32(esp, ecx); /* 0x2501CD88: push ecx */
   7668     PUSH32(esp, ebx); /* 0x2501CD89: push ebx */
   7669     PUSH32(esp, esi); /* 0x2501CD8A: push esi */
   7670     esi = ecx; /* 0x2501CD8B: mov esi, ecx */
   7671     MEM32(ebp + (-0x10)) = esi; /* 0x2501CD8D: mov dword ptr [ebp - 0x10], esi */
   7672     MEM32(esi) = 0x25152700u; /* 0x2501CD90: mov dword ptr [esi], 0x25152700 */
   7673     MEM32(esi + 0x8) = 0x251526F0u; /* 0x2501CD96: mov dword ptr [esi + 8], 0x251526f0 */
   7674     MEM32(esi + 0x20) = 0x251526E0u; /* 0x2501CD9D: mov dword ptr [esi + 0x20], 0x251526e0 */
   7675     MEM32(esi + 0x38) = 0x251526D0u; /* 0x2501CDA4: mov dword ptr [esi + 0x38], 0x251526d0 */
   7676     MEM32(esi + 0x50) = 0x251526C0u; /* 0x2501CDAB: mov dword ptr [esi + 0x50], 0x251526c0 */
   7677     MEM32(esi + 0x138) = 0x251526B0u; /* 0x2501CDB2: mov dword ptr [esi + 0x138], 0x251526b0 */
   7678     MEM32(esi + 0x150) = 0x251526A0u; /* 0x2501CDBC: mov dword ptr [esi + 0x150], 0x251526a0 */
   7679     SET_LO8(eax, MEM8(esi + 0x1FC)); /* 0x2501CDC6: mov al, byte ptr [esi + 0x1fc] */
   7680     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7681     ebx = 0; /* 0x2501CDCC: xor ebx, ebx */
   7682     _cf = 0;
   7683     _flag_k = FK_TEST;
   7684     /* cmp LO8(eax), LO8(ebx) */ /* 0x2501CDCE: cmp al, bl */
   7685     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7686     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7687     _flag_k = FK_NARROW(FK_CMP, 24);
   7688     MEM32(ebp + (-0x4)) = ebx; /* 0x2501CDD0: mov dword ptr [ebp - 4], ebx */
   7689     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CDEF; /* 0x2501CDD3: je 0x2501cdef */
   7690 L_2501CDD5:
   7691     RECOMP_ICALL(0x25094150u); /* 0x2501CDD5: call 0x25094150 */ /* not lifted */
   7692     RECOMP_FLAGS_IN();
   7693     ecx = eax; /* 0x2501CDDA: mov ecx, eax */
   7694     RECOMP_ICALL(0x25094220u); /* 0x2501CDDC: call 0x25094220 */ /* not lifted */
   7695     RECOMP_FLAGS_IN();
   7696     edx = MEM32(eax); /* 0x2501CDE1: mov edx, dword ptr [eax] */
   7697     PUSH32(esp, esi); /* 0x2501CDE3: push esi */
   7698     ecx = eax; /* 0x2501CDE4: mov ecx, eax */
   7699     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2501CDE6: call dword ptr [edx + 0x10] */
   7700     RECOMP_FLAGS_IN();
   7701     MEM8(esi + 0x1FC) = (uint8_t)(LO8(ebx)); /* 0x2501CDE9: mov byte ptr [esi + 0x1fc], bl */
   7702 L_2501CDEF:
   7703     eax = MEM32(esi + 0x1E0); /* 0x2501CDEF: mov eax, dword ptr [esi + 0x1e0] */
   7704     /* cmp eax, ebx */ /* 0x2501CDF5: cmp eax, ebx */
   7705     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7706     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7707     _flag_k = FK_CMP;
   7708     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE08; /* 0x2501CDF7: je 0x2501ce08 */
   7709 L_2501CDF9:
   7710     PUSH32(esp, eax); /* 0x2501CDF9: push eax */
   7711     RECOMP_ICALL(0x25137EECu); /* 0x2501CDFA: call 0x25137eec */ /* not lifted */
   7712     RECOMP_FLAGS_IN();
   7713     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7714     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7715     esp = esp + 4; /* 0x2501CDFF: add esp, 4 */
   7716     _flag_k = FK_ADD;
   7717     MEM32(esi + 0x1E0) = ebx; /* 0x2501CE02: mov dword ptr [esi + 0x1e0], ebx */
   7718 L_2501CE08:
   7719     eax = MEM32(esi + 0x1E4); /* 0x2501CE08: mov eax, dword ptr [esi + 0x1e4] */
   7720     /* cmp eax, ebx */ /* 0x2501CE0E: cmp eax, ebx */
   7721     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7723     _flag_k = FK_CMP;
   7724     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE21; /* 0x2501CE10: je 0x2501ce21 */
   7725 L_2501CE12:
   7726     PUSH32(esp, eax); /* 0x2501CE12: push eax */
   7727     RECOMP_ICALL(0x25137EECu); /* 0x2501CE13: call 0x25137eec */ /* not lifted */
   7728     RECOMP_FLAGS_IN();
   7729     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7730     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7731     esp = esp + 4; /* 0x2501CE18: add esp, 4 */
   7732     _flag_k = FK_ADD;
   7733     MEM32(esi + 0x1E4) = ebx; /* 0x2501CE1B: mov dword ptr [esi + 0x1e4], ebx */
   7734 L_2501CE21:
   7735     eax = MEM32(esi + 0x1E8); /* 0x2501CE21: mov eax, dword ptr [esi + 0x1e8] */
   7736     /* cmp eax, ebx */ /* 0x2501CE27: cmp eax, ebx */
   7737     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7738     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7739     _flag_k = FK_CMP;
   7740     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE3A; /* 0x2501CE29: je 0x2501ce3a */
   7741 L_2501CE2B:
   7742     PUSH32(esp, eax); /* 0x2501CE2B: push eax */
   7743     RECOMP_ICALL(0x25137EECu); /* 0x2501CE2C: call 0x25137eec */ /* not lifted */
   7744     RECOMP_FLAGS_IN();
   7745     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7746     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7747     esp = esp + 4; /* 0x2501CE31: add esp, 4 */
   7748     _flag_k = FK_ADD;
   7749     MEM32(esi + 0x1E8) = ebx; /* 0x2501CE34: mov dword ptr [esi + 0x1e8], ebx */
   7750 L_2501CE3A:
   7751     eax = MEM32(esi + 0x1EC); /* 0x2501CE3A: mov eax, dword ptr [esi + 0x1ec] */
   7752     /* cmp eax, ebx */ /* 0x2501CE40: cmp eax, ebx */
   7753     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7754     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7755     _flag_k = FK_CMP;
   7756     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE53; /* 0x2501CE42: je 0x2501ce53 */
   7757 L_2501CE44:
   7758     PUSH32(esp, eax); /* 0x2501CE44: push eax */
   7759     RECOMP_ICALL(0x25137EECu); /* 0x2501CE45: call 0x25137eec */ /* not lifted */
   7760     RECOMP_FLAGS_IN();
   7761     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7762     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7763     esp = esp + 4; /* 0x2501CE4A: add esp, 4 */
   7764     _flag_k = FK_ADD;
   7765     MEM32(esi + 0x1EC) = ebx; /* 0x2501CE4D: mov dword ptr [esi + 0x1ec], ebx */
   7766 L_2501CE53:
   7767     eax = MEM32(esi + 0x1F0); /* 0x2501CE53: mov eax, dword ptr [esi + 0x1f0] */
   7768     /* cmp eax, ebx */ /* 0x2501CE59: cmp eax, ebx */
   7769     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7771     _flag_k = FK_CMP;
   7772     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE6C; /* 0x2501CE5B: je 0x2501ce6c */
   7773 L_2501CE5D:
   7774     PUSH32(esp, eax); /* 0x2501CE5D: push eax */
   7775     RECOMP_ICALL(0x25137EECu); /* 0x2501CE5E: call 0x25137eec */ /* not lifted */
   7776     RECOMP_FLAGS_IN();
   7777     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7778     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7779     esp = esp + 4; /* 0x2501CE63: add esp, 4 */
   7780     _flag_k = FK_ADD;
   7781     MEM32(esi + 0x1F0) = ebx; /* 0x2501CE66: mov dword ptr [esi + 0x1f0], ebx */
   7782 L_2501CE6C:
   7783     eax = MEM32(esi + 0x1F4); /* 0x2501CE6C: mov eax, dword ptr [esi + 0x1f4] */
   7784     /* cmp eax, ebx */ /* 0x2501CE72: cmp eax, ebx */
   7785     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7786     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7787     _flag_k = FK_CMP;
   7788     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE85; /* 0x2501CE74: je 0x2501ce85 */
   7789 L_2501CE76:
   7790     PUSH32(esp, eax); /* 0x2501CE76: push eax */
   7791     RECOMP_ICALL(0x25137EECu); /* 0x2501CE77: call 0x25137eec */ /* not lifted */
   7792     RECOMP_FLAGS_IN();
   7793     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7794     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7795     esp = esp + 4; /* 0x2501CE7C: add esp, 4 */
   7796     _flag_k = FK_ADD;
   7797     MEM32(esi + 0x1F4) = ebx; /* 0x2501CE7F: mov dword ptr [esi + 0x1f4], ebx */
   7798 L_2501CE85:
   7799     eax = MEM32(esi + 0x218); /* 0x2501CE85: mov eax, dword ptr [esi + 0x218] */
   7800     /* cmp eax, ebx */ /* 0x2501CE8B: cmp eax, ebx */
   7801     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7803     _flag_k = FK_CMP;
   7804     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CE9E; /* 0x2501CE8D: je 0x2501ce9e */
   7805 L_2501CE8F:
   7806     PUSH32(esp, eax); /* 0x2501CE8F: push eax */
   7807     RECOMP_ICALL(0x25137EECu); /* 0x2501CE90: call 0x25137eec */ /* not lifted */
   7808     RECOMP_FLAGS_IN();
   7809     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7810     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7811     esp = esp + 4; /* 0x2501CE95: add esp, 4 */
   7812     _flag_k = FK_ADD;
   7813     MEM32(esi + 0x218) = ebx; /* 0x2501CE98: mov dword ptr [esi + 0x218], ebx */
   7814 L_2501CE9E:
   7815     ecx = esi; /* 0x2501CE9E: mov ecx, esi */
   7816     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501CEA0: mov dword ptr [ebp - 4], 0xffffffff */
   7817     RECOMP_ICALL(0x250DB0B0u); /* 0x2501CEA7: call 0x250db0b0 */ /* not lifted */
   7818     RECOMP_FLAGS_IN();
   7819     ecx = MEM32(ebp + (-0xC)); /* 0x2501CEAC: mov ecx, dword ptr [ebp - 0xc] */
   7820     esi = POP32_VAL(esp); /* 0x2501CEAF: pop esi */
   7821     ebx = POP32_VAL(esp); /* 0x2501CEB0: pop ebx */
   7822     MEM32(FS_BASE + (0)) = ecx; /* 0x2501CEB1: mov dword ptr fs:[0], ecx */
   7823     esp = ebp; /* 0x2501CEB8: mov esp, ebp */
   7824     ebp = POP32_VAL(esp); /* 0x2501CEBA: pop ebp */
   7825     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501CEBB: ret  */
   7826     RECOMP_REGS_OUT();
   7827 }
   7828 
   7829 void sub_2501CEC0(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(0x2501CEC0u);
   7838 
   7839 L_2501CEC0:
   7840     PUSH32(esp, ebp); /* 0x2501CEC0: push ebp */
   7841     ebp = esp; /* 0x2501CEC1: mov ebp, esp */
   7842     PUSH32(esp, esi); /* 0x2501CEC3: push esi */
   7843     esi = MEM32(ebp + 0x8); /* 0x2501CEC4: mov esi, dword ptr [ebp + 8] */
   7844     PUSH32(esp, edi); /* 0x2501CEC7: push edi */
   7845     eax = ecx; /* 0x2501CEC8: mov eax, ecx */
   7846     ecx = 0x64u; /* 0x2501CECA: mov ecx, 0x64 */
   7847     edi = eax; /* 0x2501CECF: mov edi, eax */
   7848     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501CED1: 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; }
   7849     edi = POP32_VAL(esp); /* 0x2501CED3: pop edi */
   7850     esi = POP32_VAL(esp); /* 0x2501CED4: pop esi */
   7851     ebp = POP32_VAL(esp); /* 0x2501CED5: pop ebp */
   7852     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CED6: ret 4 */
   7853     RECOMP_REGS_OUT();
   7854 }
   7855 
   7856 void sub_2501CEE0(void) {
   7857     int _fpu_cmp = 0;
   7858     uint32_t _cf = 0;
   7859     int _df = 1;
   7860     uint32_t _flag_k = FK_NONE;
   7861     uint32_t _flag_a = 0, _flag_b = 0;
   7862     uint32_t _itail_tgt = 0;
   7863     RECOMP_REGS_LOCALS
   7864     RECOMP_ENTER(0x2501CEE0u);
   7865 
   7866 L_2501CEE0:
   7867     PUSH32(esp, ebp); /* 0x2501CEE0: push ebp */
   7868     ebp = esp; /* 0x2501CEE1: mov ebp, esp */
   7869     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB0u);
   7870     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7871     esp = esp - 0xB0u; /* 0x2501CEE3: sub esp, 0xb0 */
   7872     _flag_k = FK_CMP;
   7873     PUSH32(esp, ebx); /* 0x2501CEE9: push ebx */
   7874     PUSH32(esp, esi); /* 0x2501CEEA: push esi */
   7875     esi = ecx; /* 0x2501CEEB: mov esi, ecx */
   7876     PUSH32(esp, edi); /* 0x2501CEED: push edi */
   7877     MEM8(esi + 0x22C) = (uint8_t)(0); /* 0x2501CEEE: mov byte ptr [esi + 0x22c], 0 */
   7878     RECOMP_ICALL(MEM32(0x25151264)); /* 0x2501CEF5: call dword ptr [0x25151264] */
   7879     RECOMP_FLAGS_IN();
   7880     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501CEFB: cdq  */
   7881     ecx = 0xAu; /* 0x2501CEFC: mov ecx, 0xa */
   7882     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501CF01: idiv ecx */
   7883       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   7884       else { eax = 0; edx = 0; } }
   7885     MEM32(esi + 0x228) = 5; /* 0x2501CF03: mov dword ptr [esi + 0x228], 5 */
   7886     eax = edx + 0x5; /* 0x2501CF0D: lea eax, [edx + 5] */
   7887     edi = eax + eax * 8; /* 0x2501CF10: lea edi, [eax + eax*8] */
   7888     edx = edi + edi * 2; /* 0x2501CF13: lea edx, [edi + edi*2] */
   7889     if (3u) _cf = (((edx) >> 29) & 1u); /* 0x2501CF16: shl edx, 3 */
   7890     if (3u) { _flag_a = recomp_flags_pack((edx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   7891     edx = edx << 3u; /* 0x2501CF16: shl edx, 3 */
   7892     PUSH32(esp, edx); /* 0x2501CF19: push edx */
   7893     MEM32(esi + 0x224) = eax; /* 0x2501CF1A: mov dword ptr [esi + 0x224], eax */
   7894     MEM32(esi + 0x1DC) = edi; /* 0x2501CF20: mov dword ptr [esi + 0x1dc], edi */
   7895     RECOMP_ICALL(0x251380D0u); /* 0x2501CF26: call 0x251380d0 */ /* not lifted */
   7896     RECOMP_FLAGS_IN();
   7897     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7898     ebx = 0; /* 0x2501CF2B: xor ebx, ebx */
   7899     _cf = 0;
   7900     _flag_k = FK_TEST;
   7901     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7902     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7903     esp = esp + 4; /* 0x2501CF2D: add esp, 4 */
   7904     _flag_k = FK_ADD;
   7905     /* cmp eax, ebx */ /* 0x2501CF30: cmp eax, ebx */
   7906     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7908     _flag_k = FK_CMP;
   7909     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501CF51; /* 0x2501CF32: je 0x2501cf51 */
   7910 L_2501CF34:
   7911     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   7912     edi = edi - 1; /* 0x2501CF34: dec edi */
   7913     _flag_k = FK_DEC;
   7914     /* cmp edi, ebx */ /* 0x2501CF35: cmp edi, ebx */
   7915     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   7916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7917     _flag_k = FK_CMP;
   7918     if (CMP_L(_flag_a, _flag_b)) goto L_2501CF4D; /* 0x2501CF37: jl 0x2501cf4d */
   7919 L_2501CF39:
   7920     ecx = eax + 0x8; /* 0x2501CF39: lea ecx, [eax + 8] */
   7921     edx = edi + 0x1; /* 0x2501CF3C: lea edx, [edi + 1] */
   7922 L_2501CF3F:
   7923     MEM32(ecx + (-0x8)) = ebx; /* 0x2501CF3F: mov dword ptr [ecx - 8], ebx */
   7924     MEM32(ecx + (-0x4)) = ebx; /* 0x2501CF42: mov dword ptr [ecx - 4], ebx */
   7925     MEM32(ecx) = ebx; /* 0x2501CF45: mov dword ptr [ecx], ebx */
   7926     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   7927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7928     ecx = ecx + 0x18u; /* 0x2501CF47: add ecx, 0x18 */
   7929     _flag_k = FK_ADD;
   7930     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   7931     edx = edx - 1; /* 0x2501CF4A: dec edx */
   7932     _flag_k = FK_DEC;
   7933     RECOMP_BACKEDGE();
   7934     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501CF3F; /* 0x2501CF4B: jne 0x2501cf3f */
   7935 L_2501CF4D:
   7936     edi = eax; /* 0x2501CF4D: mov edi, eax */
   7937     goto L_2501CF53; /* 0x2501CF4F: jmp 0x2501cf53 */
   7938 L_2501CF51:
   7939     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7940     edi = 0; /* 0x2501CF51: xor edi, edi */
   7941     _cf = 0;
   7942     _flag_k = FK_TEST;
   7943 L_2501CF53:
   7944     eax = MEM32(esi + 0x1DC); /* 0x2501CF53: mov eax, dword ptr [esi + 0x1dc] */
   7945     ecx = eax + eax * 2; /* 0x2501CF59: lea ecx, [eax + eax*2] */
   7946     if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x2501CF5C: shl ecx, 3 */
   7947     if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   7948     ecx = ecx << 3u; /* 0x2501CF5C: shl ecx, 3 */
   7949     edx = ecx; /* 0x2501CF5F: mov edx, ecx */
   7950     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2501CF61: shr ecx, 2 */
   7951     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   7952     ecx = ecx >> 2u; /* 0x2501CF61: shr ecx, 2 */
   7953     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7954     eax = 0; /* 0x2501CF64: xor eax, eax */
   7955     _cf = 0;
   7956     _flag_k = FK_TEST;
   7957     MEM32(esi + 0x1E0) = edi; /* 0x2501CF66: mov dword ptr [esi + 0x1e0], edi */
   7958     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501CF6C: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   7959     ecx = edx; /* 0x2501CF6E: mov ecx, edx */
   7960     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   7961     ecx = ecx & 3; /* 0x2501CF70: and ecx, 3 */
   7962     _cf = 0;
   7963     _flag_k = FK_TEST;
   7964     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2501CF73: rep stosb byte ptr es:[edi], al */ if (_df > 0) { memset((void*)ADDR(edi), LO8(eax), _n); edi += _b; } else { memset((void*)ADDR(edi - _b + 1u), LO8(eax), _n); edi -= _b; } ecx = 0; }
   7965     eax = MEM32(esi + 0x224); /* 0x2501CF75: mov eax, dword ptr [esi + 0x224] */
   7966     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7967     ecx = 0; /* 0x2501CF7B: xor ecx, ecx */
   7968     _cf = 0;
   7969     _flag_k = FK_TEST;
   7970     /* cmp eax, ebx */ /* 0x2501CF7D: cmp eax, ebx */
   7971     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7973     _flag_k = FK_CMP;
   7974     if (CMP_LE(_flag_a, _flag_b)) goto L_2501CFF5; /* 0x2501CF7F: jle 0x2501cff5 */
   7975 L_2501CF81:
   7976     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7977     eax = 0; /* 0x2501CF81: xor eax, eax */
   7978     _cf = 0;
   7979     _flag_k = FK_TEST;
   7980     edi = 0x3F800000u; /* 0x2501CF83: mov edi, 0x3f800000 */
   7981     edx = 0x3F266666u; /* 0x2501CF88: mov edx, 0x3f266666 */
   7982 L_2501CF8D:
   7983     ebx = MEM32(esi + 0x1E0); /* 0x2501CF8D: mov ebx, dword ptr [esi + 0x1e0] */
   7984     MEM32(eax + ebx + 0x10) = 0; /* 0x2501CF93: mov dword ptr [eax + ebx + 0x10], 0 */
   7985     ebx = MEM32(esi + 0x1E0); /* 0x2501CF9B: mov ebx, dword ptr [esi + 0x1e0] */
   7986     MEM32(eax + ebx + 0x28) = edi; /* 0x2501CFA1: mov dword ptr [eax + ebx + 0x28], edi */
   7987     ebx = MEM32(esi + 0x1E0); /* 0x2501CFA5: mov ebx, dword ptr [esi + 0x1e0] */
   7988     MEM32(eax + ebx + 0x40) = 0; /* 0x2501CFAB: mov dword ptr [eax + ebx + 0x40], 0 */
   7989     ebx = MEM32(esi + 0x1E0); /* 0x2501CFB3: mov ebx, dword ptr [esi + 0x1e0] */
   7990     MEM32(eax + ebx + 0x58) = edi; /* 0x2501CFB9: mov dword ptr [eax + ebx + 0x58], edi */
   7991     ebx = MEM32(esi + 0x1E0); /* 0x2501CFBD: mov ebx, dword ptr [esi + 0x1e0] */
   7992     MEM32(eax + ebx + 0x14) = edx; /* 0x2501CFC3: mov dword ptr [eax + ebx + 0x14], edx */
   7993     ebx = MEM32(esi + 0x1E0); /* 0x2501CFC7: mov ebx, dword ptr [esi + 0x1e0] */
   7994     MEM32(eax + ebx + 0x2C) = edx; /* 0x2501CFCD: mov dword ptr [eax + ebx + 0x2c], edx */
   7995     ebx = MEM32(esi + 0x1E0); /* 0x2501CFD1: mov ebx, dword ptr [esi + 0x1e0] */
   7996     MEM32(eax + ebx + 0x44) = edx; /* 0x2501CFD7: mov dword ptr [eax + ebx + 0x44], edx */
   7997     ebx = MEM32(esi + 0x1E0); /* 0x2501CFDB: mov ebx, dword ptr [esi + 0x1e0] */
   7998     MEM32(eax + ebx + 0x5C) = edx; /* 0x2501CFE1: mov dword ptr [eax + ebx + 0x5c], edx */
   7999     ebx = MEM32(esi + 0x224); /* 0x2501CFE5: mov ebx, dword ptr [esi + 0x224] */
   8000     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8001     ecx = ecx + 1; /* 0x2501CFEB: inc ecx */
   8002     _flag_k = FK_INC;
   8003     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x60u);
   8004     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8005     eax = eax + 0x60u; /* 0x2501CFEC: add eax, 0x60 */
   8006     _flag_k = FK_ADD;
   8007     /* cmp ecx, ebx */ /* 0x2501CFEF: cmp ecx, ebx */
   8008     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   8009     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8010     _flag_k = FK_CMP;
   8011     RECOMP_BACKEDGE();
   8012     if (CMP_L(_flag_a, _flag_b)) goto L_2501CF8D; /* 0x2501CFF1: jl 0x2501cf8d */
   8013 L_2501CFF3:
   8014     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8015     ebx = 0; /* 0x2501CFF3: xor ebx, ebx */
   8016     _cf = 0;
   8017     _flag_k = FK_TEST;
   8018 L_2501CFF5:
   8019     eax = MEM32(esi + 0x228); /* 0x2501CFF5: mov eax, dword ptr [esi + 0x228] */
   8020     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8021     edi = 0; /* 0x2501CFFB: xor edi, edi */
   8022     _cf = 0;
   8023     _flag_k = FK_TEST;
   8024     /* cmp eax, ebx */ /* 0x2501CFFD: cmp eax, ebx */
   8025     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8027     _flag_k = FK_CMP;
   8028     MEM32(ebp + (-0x4)) = edi; /* 0x2501CFFF: mov dword ptr [ebp - 4], edi */
   8029     if (CMP_LE(_flag_a, _flag_b)) goto L_2501D062; /* 0x2501D002: jle 0x2501d062 */
   8030 L_2501D004:
   8031     ebx = 0x3F000000u; /* 0x2501D004: mov ebx, 0x3f000000 */
   8032 L_2501D009:
   8033     edx = MEM32(esi + 0x224); /* 0x2501D009: mov edx, dword ptr [esi + 0x224] */
   8034     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8035     ecx = 0; /* 0x2501D00F: xor ecx, ecx */
   8036     _cf = 0;
   8037     _flag_k = FK_TEST;
   8038     /* test edx, edx */ /* 0x2501D011: test edx, edx */
   8039     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   8040     _cf = 0;
   8041     _flag_k = FK_TEST;
   8042     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D052; /* 0x2501D013: jle 0x2501d052 */
   8043 L_2501D015:
   8044     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   8045     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8046     edi = edi + 4; /* 0x2501D015: add edi, 4 */
   8047     _flag_k = FK_ADD;
   8048 L_2501D018:
   8049     eax = edi; /* 0x2501D018: mov eax, edi */
   8050     eax = (uint32_t)((int32_t)eax * (int32_t)edx); /* 0x2501D01A: imul eax, edx */
   8051     edx = MEM32(esi + 0x1E0); /* 0x2501D01D: mov edx, dword ptr [esi + 0x1e0] */
   8052     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8053     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8054     eax = eax + ecx; /* 0x2501D023: add eax, ecx */
   8055     _flag_k = FK_ADD;
   8056     eax = eax + eax * 2; /* 0x2501D025: lea eax, [eax + eax*2] */
   8057     MEM32(edx + eax * 8 + 0x10) = ebx; /* 0x2501D028: mov dword ptr [edx + eax*8 + 0x10], ebx */
   8058     edx = MEM32(esi + 0x1E0); /* 0x2501D02C: mov edx, dword ptr [esi + 0x1e0] */
   8059     eax = edi; /* 0x2501D032: mov eax, edi */
   8060     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501D034: imul eax, dword ptr [esi + 0x224] */
   8061     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8063     eax = eax + ecx; /* 0x2501D03B: add eax, ecx */
   8064     _flag_k = FK_ADD;
   8065     eax = eax + eax * 2; /* 0x2501D03D: lea eax, [eax + eax*2] */
   8066     MEM32(edx + eax * 8 + 0x14) = ebx; /* 0x2501D040: mov dword ptr [edx + eax*8 + 0x14], ebx */
   8067     edx = MEM32(esi + 0x224); /* 0x2501D044: mov edx, dword ptr [esi + 0x224] */
   8068     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8069     ecx = ecx + 1; /* 0x2501D04A: inc ecx */
   8070     _flag_k = FK_INC;
   8071     /* cmp ecx, edx */ /* 0x2501D04B: cmp ecx, edx */
   8072     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   8073     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8074     _flag_k = FK_CMP;
   8075     RECOMP_BACKEDGE();
   8076     if (CMP_L(_flag_a, _flag_b)) goto L_2501D018; /* 0x2501D04D: jl 0x2501d018 */
   8077 L_2501D04F:
   8078     edi = MEM32(ebp + (-0x4)); /* 0x2501D04F: mov edi, dword ptr [ebp - 4] */
   8079 L_2501D052:
   8080     eax = MEM32(esi + 0x228); /* 0x2501D052: mov eax, dword ptr [esi + 0x228] */
   8081     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   8082     edi = edi + 1; /* 0x2501D058: inc edi */
   8083     _flag_k = FK_INC;
   8084     /* cmp edi, eax */ /* 0x2501D059: cmp edi, eax */
   8085     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   8086     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8087     _flag_k = FK_CMP;
   8088     MEM32(ebp + (-0x4)) = edi; /* 0x2501D05B: mov dword ptr [ebp - 4], edi */
   8089     RECOMP_BACKEDGE();
   8090     if (CMP_L(_flag_a, _flag_b)) goto L_2501D009; /* 0x2501D05E: jl 0x2501d009 */
   8091 L_2501D060:
   8092     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8093     ebx = 0; /* 0x2501D060: xor ebx, ebx */
   8094     _cf = 0;
   8095     _flag_k = FK_TEST;
   8096 L_2501D062:
   8097     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8098     eax = 0; /* 0x2501D062: xor eax, eax */
   8099     _cf = 0;
   8100     _flag_k = FK_TEST;
   8101     SET_LO8(ebx, 0xFFu); /* 0x2501D064: mov bl, 0xff */
   8102 L_2501D066:
   8103     ecx = MEM32(esi + 0x224); /* 0x2501D066: mov ecx, dword ptr [esi + 0x224] */
   8104     ecx = eax + ecx * 4; /* 0x2501D06C: lea ecx, [eax + ecx*4] */
   8105     edx = ecx + ecx * 2; /* 0x2501D06F: lea edx, [ecx + ecx*2] */
   8106     ecx = MEM32(esi + 0x1E0); /* 0x2501D072: mov ecx, dword ptr [esi + 0x1e0] */
   8107     MEM8(ecx + edx * 8 + (-0x54)) = (uint8_t)(LO8(ebx)); /* 0x2501D078: mov byte ptr [ecx + edx*8 - 0x54], bl */
   8108     edx = MEM32(esi + 0x224); /* 0x2501D07C: mov edx, dword ptr [esi + 0x224] */
   8109     ecx = eax + edx * 4; /* 0x2501D082: lea ecx, [eax + edx*4] */
   8110     edx = MEM32(esi + 0x1E0); /* 0x2501D085: mov edx, dword ptr [esi + 0x1e0] */
   8111     ecx = ecx + ecx * 2; /* 0x2501D08B: lea ecx, [ecx + ecx*2] */
   8112     MEM8(edx + ecx * 8 + (-0x53)) = (uint8_t)(0x9Bu); /* 0x2501D08E: mov byte ptr [edx + ecx*8 - 0x53], 0x9b */
   8113     ecx = MEM32(esi + 0x224); /* 0x2501D093: mov ecx, dword ptr [esi + 0x224] */
   8114     ecx = eax + ecx * 4; /* 0x2501D099: lea ecx, [eax + ecx*4] */
   8115     edx = ecx + ecx * 2; /* 0x2501D09C: lea edx, [ecx + ecx*2] */
   8116     ecx = MEM32(esi + 0x1E0); /* 0x2501D09F: mov ecx, dword ptr [esi + 0x1e0] */
   8117     MEM8(ecx + edx * 8 + (-0x52)) = (uint8_t)(0x32u); /* 0x2501D0A5: mov byte ptr [ecx + edx*8 - 0x52], 0x32 */
   8118     edx = MEM32(esi + 0x224); /* 0x2501D0AA: mov edx, dword ptr [esi + 0x224] */
   8119     ecx = eax + edx * 4; /* 0x2501D0B0: lea ecx, [eax + edx*4] */
   8120     edx = MEM32(esi + 0x1E0); /* 0x2501D0B3: mov edx, dword ptr [esi + 0x1e0] */
   8121     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8122     eax = eax + 1; /* 0x2501D0B9: inc eax */
   8123     _flag_k = FK_INC;
   8124     /* cmp eax, 4 */ /* 0x2501D0BA: cmp eax, 4 */
   8125     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   8126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8127     _flag_k = FK_CMP;
   8128     ecx = ecx + ecx * 2; /* 0x2501D0BD: lea ecx, [ecx + ecx*2] */
   8129     MEM8(edx + ecx * 8 + (-0x51)) = (uint8_t)(0); /* 0x2501D0C0: mov byte ptr [edx + ecx*8 - 0x51], 0 */
   8130     RECOMP_BACKEDGE();
   8131     if (CMP_L(_flag_a, _flag_b)) goto L_2501D066; /* 0x2501D0C5: jl 0x2501d066 */
   8132 L_2501D0C7:
   8133     eax = MEM32(esi + 0x224); /* 0x2501D0C7: mov eax, dword ptr [esi + 0x224] */
   8134     edx = eax * 4 + (-0x4); /* 0x2501D0CD: lea edx, [eax*4 - 4] */
   8135     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8136     ecx = 0; /* 0x2501D0D4: xor ecx, ecx */
   8137     _cf = 0;
   8138     _flag_k = FK_TEST;
   8139     /* test edx, edx */ /* 0x2501D0D6: test edx, edx */
   8140     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   8141     _cf = 0;
   8142     _flag_k = FK_TEST;
   8143     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D11B; /* 0x2501D0D8: jle 0x2501d11b */
   8144 L_2501D0DA:
   8145     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8146     eax = 0; /* 0x2501D0DA: xor eax, eax */
   8147     _cf = 0;
   8148     _flag_k = FK_TEST;
   8149 L_2501D0DC:
   8150     edx = MEM32(esi + 0x1E0); /* 0x2501D0DC: mov edx, dword ptr [esi + 0x1e0] */
   8151     MEM8(eax + edx + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2501D0E2: mov byte ptr [eax + edx + 0xc], bl */
   8152     edx = MEM32(esi + 0x1E0); /* 0x2501D0E6: mov edx, dword ptr [esi + 0x1e0] */
   8153     MEM8(eax + edx + 0xD) = (uint8_t)(0x9Bu); /* 0x2501D0EC: mov byte ptr [eax + edx + 0xd], 0x9b */
   8154     edx = MEM32(esi + 0x1E0); /* 0x2501D0F1: mov edx, dword ptr [esi + 0x1e0] */
   8155     MEM8(eax + edx + 0xE) = (uint8_t)(0x32u); /* 0x2501D0F7: mov byte ptr [eax + edx + 0xe], 0x32 */
   8156     edx = MEM32(esi + 0x1E0); /* 0x2501D0FC: mov edx, dword ptr [esi + 0x1e0] */
   8157     MEM8(eax + edx + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501D102: mov byte ptr [eax + edx + 0xf], bl */
   8158     edx = MEM32(esi + 0x224); /* 0x2501D106: mov edx, dword ptr [esi + 0x224] */
   8159     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8160     ecx = ecx + 1; /* 0x2501D10C: inc ecx */
   8161     _flag_k = FK_INC;
   8162     edx = edx * 4 + (-0x4); /* 0x2501D10D: lea edx, [edx*4 - 4] */
   8163     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   8164     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8165     eax = eax + 0x18u; /* 0x2501D114: add eax, 0x18 */
   8166     _flag_k = FK_ADD;
   8167     /* cmp ecx, edx */ /* 0x2501D117: cmp ecx, edx */
   8168     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   8169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8170     _flag_k = FK_CMP;
   8171     RECOMP_BACKEDGE();
   8172     if (CMP_L(_flag_a, _flag_b)) goto L_2501D0DC; /* 0x2501D119: jl 0x2501d0dc */
   8173 L_2501D11B:
   8174     eax = MEM32(esi + 0x228); /* 0x2501D11B: mov eax, dword ptr [esi + 0x228] */
   8175     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8176     edx = 0; /* 0x2501D121: xor edx, edx */
   8177     _cf = 0;
   8178     _flag_k = FK_TEST;
   8179     /* test eax, eax */ /* 0x2501D123: test eax, eax */
   8180     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8181     _cf = 0;
   8182     _flag_k = FK_TEST;
   8183     MEM32(ebp + (-0x4)) = edx; /* 0x2501D125: mov dword ptr [ebp - 4], edx */
   8184     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D1BC; /* 0x2501D128: jle 0x2501d1bc */
   8185 L_2501D12E:
   8186     edi = MEM32(esi + 0x224); /* 0x2501D12E: mov edi, dword ptr [esi + 0x224] */
   8187     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8188     ecx = 0; /* 0x2501D134: xor ecx, ecx */
   8189     _cf = 0;
   8190     _flag_k = FK_TEST;
   8191     /* test edi, edi */ /* 0x2501D136: test edi, edi */
   8192     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   8193     _cf = 0;
   8194     _flag_k = FK_TEST;
   8195     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D1AA; /* 0x2501D138: jle 0x2501d1aa */
   8196 L_2501D13A:
   8197     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4);
   8198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8199     edx = edx + 4; /* 0x2501D13A: add edx, 4 */
   8200     _flag_k = FK_ADD;
   8201 L_2501D13D:
   8202     eax = edx; /* 0x2501D13D: mov eax, edx */
   8203     eax = (uint32_t)((int32_t)eax * (int32_t)edi); /* 0x2501D13F: imul eax, edi */
   8204     edi = MEM32(esi + 0x1E0); /* 0x2501D142: mov edi, dword ptr [esi + 0x1e0] */
   8205     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8206     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8207     eax = eax + ecx; /* 0x2501D148: add eax, ecx */
   8208     _flag_k = FK_ADD;
   8209     eax = eax + eax * 2; /* 0x2501D14A: lea eax, [eax + eax*2] */
   8210     MEM8(edi + eax * 8 + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2501D14D: mov byte ptr [edi + eax*8 + 0xc], bl */
   8211     edi = MEM32(esi + 0x1E0); /* 0x2501D151: mov edi, dword ptr [esi + 0x1e0] */
   8212     eax = edx; /* 0x2501D157: mov eax, edx */
   8213     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501D159: imul eax, dword ptr [esi + 0x224] */
   8214     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8215     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8216     eax = eax + ecx; /* 0x2501D160: add eax, ecx */
   8217     _flag_k = FK_ADD;
   8218     eax = eax + eax * 2; /* 0x2501D162: lea eax, [eax + eax*2] */
   8219     MEM8(edi + eax * 8 + 0xD) = (uint8_t)(0x9Bu); /* 0x2501D165: mov byte ptr [edi + eax*8 + 0xd], 0x9b */
   8220     edi = MEM32(esi + 0x1E0); /* 0x2501D16A: mov edi, dword ptr [esi + 0x1e0] */
   8221     eax = edx; /* 0x2501D170: mov eax, edx */
   8222     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501D172: imul eax, dword ptr [esi + 0x224] */
   8223     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8225     eax = eax + ecx; /* 0x2501D179: add eax, ecx */
   8226     _flag_k = FK_ADD;
   8227     eax = eax + eax * 2; /* 0x2501D17B: lea eax, [eax + eax*2] */
   8228     MEM8(edi + eax * 8 + 0xE) = (uint8_t)(0x32u); /* 0x2501D17E: mov byte ptr [edi + eax*8 + 0xe], 0x32 */
   8229     edi = MEM32(esi + 0x1E0); /* 0x2501D183: mov edi, dword ptr [esi + 0x1e0] */
   8230     eax = edx; /* 0x2501D189: mov eax, edx */
   8231     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501D18B: imul eax, dword ptr [esi + 0x224] */
   8232     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8233     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8234     eax = eax + ecx; /* 0x2501D192: add eax, ecx */
   8235     _flag_k = FK_ADD;
   8236     eax = eax + eax * 2; /* 0x2501D194: lea eax, [eax + eax*2] */
   8237     MEM8(edi + eax * 8 + 0xF) = (uint8_t)(0); /* 0x2501D197: mov byte ptr [edi + eax*8 + 0xf], 0 */
   8238     edi = MEM32(esi + 0x224); /* 0x2501D19C: mov edi, dword ptr [esi + 0x224] */
   8239     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8240     ecx = ecx + 1; /* 0x2501D1A2: inc ecx */
   8241     _flag_k = FK_INC;
   8242     /* cmp ecx, edi */ /* 0x2501D1A3: cmp ecx, edi */
   8243     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   8244     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8245     _flag_k = FK_CMP;
   8246     RECOMP_BACKEDGE();
   8247     if (CMP_L(_flag_a, _flag_b)) goto L_2501D13D; /* 0x2501D1A5: jl 0x2501d13d */
   8248 L_2501D1A7:
   8249     edx = MEM32(ebp + (-0x4)); /* 0x2501D1A7: mov edx, dword ptr [ebp - 4] */
   8250 L_2501D1AA:
   8251     eax = MEM32(esi + 0x228); /* 0x2501D1AA: mov eax, dword ptr [esi + 0x228] */
   8252     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8253     edx = edx + 1; /* 0x2501D1B0: inc edx */
   8254     _flag_k = FK_INC;
   8255     /* cmp edx, eax */ /* 0x2501D1B1: cmp edx, eax */
   8256     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   8257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8258     _flag_k = FK_CMP;
   8259     MEM32(ebp + (-0x4)) = edx; /* 0x2501D1B3: mov dword ptr [ebp - 4], edx */
   8260     RECOMP_BACKEDGE();
   8261     if (CMP_L(_flag_a, _flag_b)) goto L_2501D12E; /* 0x2501D1B6: jl 0x2501d12e */
   8262 L_2501D1BC:
   8263     eax = MEM32(esi + 0x224); /* 0x2501D1BC: mov eax, dword ptr [esi + 0x224] */
   8264     ecx = eax + eax * 2; /* 0x2501D1C2: lea ecx, [eax + eax*2] */
   8265     edx = ecx + ecx + (-0x6); /* 0x2501D1C5: lea edx, [ecx + ecx - 6] */
   8266     ecx = MEM32(esi + 0x228); /* 0x2501D1C9: mov ecx, dword ptr [esi + 0x228] */
   8267     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8268     ecx = ecx - 1; /* 0x2501D1CF: dec ecx */
   8269     _flag_k = FK_DEC;
   8270     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D1D0: imul edx, ecx */
   8271     eax = eax + eax * 2; /* 0x2501D1D3: lea eax, [eax + eax*2] */
   8272     eax = edx + eax * 4 + (-0xC); /* 0x2501D1D6: lea eax, [edx + eax*4 - 0xc] */
   8273     ecx = eax + eax; /* 0x2501D1DA: lea ecx, [eax + eax] */
   8274     PUSH32(esp, ecx); /* 0x2501D1DD: push ecx */
   8275     MEM32(esi + 0x1F8) = eax; /* 0x2501D1DE: mov dword ptr [esi + 0x1f8], eax */
   8276     RECOMP_ICALL(0x251380D0u); /* 0x2501D1E4: call 0x251380d0 */ /* not lifted */
   8277     RECOMP_FLAGS_IN();
   8278     MEM32(esi + 0x1F4) = eax; /* 0x2501D1E9: mov dword ptr [esi + 0x1f4], eax */
   8279     eax = MEM32(esi + 0x224); /* 0x2501D1EF: mov eax, dword ptr [esi + 0x224] */
   8280     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8281     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8282     esp = esp + 4; /* 0x2501D1F5: add esp, 4 */
   8283     _flag_k = FK_ADD;
   8284     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8285     edx = 0; /* 0x2501D1F8: xor edx, edx */
   8286     _cf = 0;
   8287     _flag_k = FK_TEST;
   8288     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8289     eax = eax - 1; /* 0x2501D1FA: dec eax */
   8290     _flag_k = FK_DEC;
   8291     /* test eax, eax */ /* 0x2501D1FB: test eax, eax */
   8292     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8293     _cf = 0;
   8294     _flag_k = FK_TEST;
   8295     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D2CF; /* 0x2501D1FD: jle 0x2501d2cf */
   8296 L_2501D203:
   8297     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8298     eax = 0; /* 0x2501D203: xor eax, eax */
   8299     _cf = 0;
   8300     _flag_k = FK_TEST;
   8301 L_2501D205:
   8302     edi = MEM32(esi + 0x1F4); /* 0x2501D205: mov edi, dword ptr [esi + 0x1f4] */
   8303     ecx = edx * 4; /* 0x2501D20B: lea ecx, [edx*4] */
   8304     MEM16(edi + eax) = (uint16_t)(LO16(ecx)); /* 0x2501D212: mov word ptr [edi + eax], cx */
   8305     ebx = MEM32(esi + 0x1F4); /* 0x2501D216: mov ebx, dword ptr [esi + 0x1f4] */
   8306     edi = ecx + 0x1; /* 0x2501D21C: lea edi, [ecx + 1] */
   8307     MEM16(ebx + eax + 0x2) = (uint16_t)(LO16(edi)); /* 0x2501D21F: mov word ptr [ebx + eax + 2], di */
   8308     ebx = MEM32(esi + 0x1F4); /* 0x2501D224: mov ebx, dword ptr [esi + 0x1f4] */
   8309     edi = edx * 4 + 0x4; /* 0x2501D22A: lea edi, [edx*4 + 4] */
   8310     MEM16(ebx + eax + 0x4) = (uint16_t)(LO16(edi)); /* 0x2501D231: mov word ptr [ebx + eax + 4], di */
   8311     ebx = MEM32(esi + 0x1F4); /* 0x2501D236: mov ebx, dword ptr [esi + 0x1f4] */
   8312     edi = ecx + 0x1; /* 0x2501D23C: lea edi, [ecx + 1] */
   8313     MEM16(ebx + eax + 0x6) = (uint16_t)(LO16(edi)); /* 0x2501D23F: mov word ptr [ebx + eax + 6], di */
   8314     ebx = MEM32(esi + 0x1F4); /* 0x2501D244: mov ebx, dword ptr [esi + 0x1f4] */
   8315     edi = ecx + 0x5; /* 0x2501D24A: lea edi, [ecx + 5] */
   8316     MEM16(ebx + eax + 0x8) = (uint16_t)(LO16(edi)); /* 0x2501D24D: mov word ptr [ebx + eax + 8], di */
   8317     ebx = MEM32(esi + 0x1F4); /* 0x2501D252: mov ebx, dword ptr [esi + 0x1f4] */
   8318     edi = edx * 4 + 0x4; /* 0x2501D258: lea edi, [edx*4 + 4] */
   8319     MEM16(ebx + eax + 0xA) = (uint16_t)(LO16(edi)); /* 0x2501D25F: mov word ptr [ebx + eax + 0xa], di */
   8320     ebx = MEM32(esi + 0x1F4); /* 0x2501D264: mov ebx, dword ptr [esi + 0x1f4] */
   8321     edi = ecx + 0x2; /* 0x2501D26A: lea edi, [ecx + 2] */
   8322     MEM16(ebx + eax + 0xC) = (uint16_t)(LO16(edi)); /* 0x2501D26D: mov word ptr [ebx + eax + 0xc], di */
   8323     ebx = MEM32(esi + 0x1F4); /* 0x2501D272: mov ebx, dword ptr [esi + 0x1f4] */
   8324     edi = ecx + 0x3; /* 0x2501D278: lea edi, [ecx + 3] */
   8325     MEM16(ebx + eax + 0xE) = (uint16_t)(LO16(edi)); /* 0x2501D27B: mov word ptr [ebx + eax + 0xe], di */
   8326     ebx = MEM32(esi + 0x1F4); /* 0x2501D280: mov ebx, dword ptr [esi + 0x1f4] */
   8327     edi = ecx + 0x6; /* 0x2501D286: lea edi, [ecx + 6] */
   8328     MEM16(ebx + eax + 0x10) = (uint16_t)(LO16(edi)); /* 0x2501D289: mov word ptr [ebx + eax + 0x10], di */
   8329     ebx = MEM32(esi + 0x1F4); /* 0x2501D28E: mov ebx, dword ptr [esi + 0x1f4] */
   8330     MEM32(ebp + (-0x8)) = edi; /* 0x2501D294: mov dword ptr [ebp - 8], edi */
   8331     edi = ecx + 0x3; /* 0x2501D297: lea edi, [ecx + 3] */
   8332     MEM16(ebx + eax + 0x12) = (uint16_t)(LO16(edi)); /* 0x2501D29A: mov word ptr [ebx + eax + 0x12], di */
   8333     edi = MEM32(esi + 0x1F4); /* 0x2501D29F: mov edi, dword ptr [esi + 0x1f4] */
   8334     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(7);
   8335     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8336     ecx = ecx + 7; /* 0x2501D2A5: add ecx, 7 */
   8337     _flag_k = FK_ADD;
   8338     MEM16(edi + eax + 0x14) = (uint16_t)(LO16(ecx)); /* 0x2501D2A8: mov word ptr [edi + eax + 0x14], cx */
   8339     ecx = MEM32(esi + 0x1F4); /* 0x2501D2AD: mov ecx, dword ptr [esi + 0x1f4] */
   8340     SET_LO16(edi, MEM16(ebp + (-0x8))); /* 0x2501D2B3: mov di, word ptr [ebp - 8] */
   8341     MEM16(ecx + eax + 0x16) = (uint16_t)(LO16(edi)); /* 0x2501D2B7: mov word ptr [ecx + eax + 0x16], di */
   8342     ecx = MEM32(esi + 0x224); /* 0x2501D2BC: mov ecx, dword ptr [esi + 0x224] */
   8343     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8344     edx = edx + 1; /* 0x2501D2C2: inc edx */
   8345     _flag_k = FK_INC;
   8346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   8347     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8348     eax = eax + 0x18u; /* 0x2501D2C3: add eax, 0x18 */
   8349     _flag_k = FK_ADD;
   8350     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8351     ecx = ecx - 1; /* 0x2501D2C6: dec ecx */
   8352     _flag_k = FK_DEC;
   8353     /* cmp edx, ecx */ /* 0x2501D2C7: cmp edx, ecx */
   8354     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   8355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8356     _flag_k = FK_CMP;
   8357     RECOMP_BACKEDGE();
   8358     if (CMP_L(_flag_a, _flag_b)) goto L_2501D205; /* 0x2501D2C9: jl 0x2501d205 */
   8359 L_2501D2CF:
   8360     edx = MEM32(esi + 0x228); /* 0x2501D2CF: mov edx, dword ptr [esi + 0x228] */
   8361     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8362     ecx = 0; /* 0x2501D2D5: xor ecx, ecx */
   8363     _cf = 0;
   8364     _flag_k = FK_TEST;
   8365     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8366     edx = edx - 1; /* 0x2501D2D7: dec edx */
   8367     _flag_k = FK_DEC;
   8368     /* test edx, edx */ /* 0x2501D2D8: test edx, edx */
   8369     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   8370     _cf = 0;
   8371     _flag_k = FK_TEST;
   8372     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D428; /* 0x2501D2DA: jle 0x2501d428 */
   8373 L_2501D2E0:
   8374     edx = MEM32(esi + 0x224); /* 0x2501D2E0: mov edx, dword ptr [esi + 0x224] */
   8375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8376     eax = 0; /* 0x2501D2E6: xor eax, eax */
   8377     _cf = 0;
   8378     _flag_k = FK_TEST;
   8379     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8380     edx = edx - 1; /* 0x2501D2E8: dec edx */
   8381     _flag_k = FK_DEC;
   8382     /* test edx, edx */ /* 0x2501D2E9: test edx, edx */
   8383     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   8384     _cf = 0;
   8385     _flag_k = FK_TEST;
   8386     if (TEST_LE(_flag_a, _flag_b)) goto L_2501D418; /* 0x2501D2EB: jle 0x2501d418 */
   8387 L_2501D2F1:
   8388     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D2F1: imul edx, ecx */
   8389     edi = ecx + 0x4; /* 0x2501D2F4: lea edi, [ecx + 4] */
   8390     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)MEM16(esi + 0x224))); /* 0x2501D2F7: imul di, word ptr [esi + 0x224] */
   8391     ebx = eax; /* 0x2501D2FF: mov ebx, eax */
   8392     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8393     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8394     ebx = ebx + edx; /* 0x2501D301: add ebx, edx */
   8395     _flag_k = FK_ADD;
   8396     edx = MEM32(esi + 0x224); /* 0x2501D303: mov edx, dword ptr [esi + 0x224] */
   8397     edx = ebx + edx * 2 + (-0x2); /* 0x2501D309: lea edx, [ebx + edx*2 - 2] */
   8398     ebx = MEM32(esi + 0x1F4); /* 0x2501D30D: mov ebx, dword ptr [esi + 0x1f4] */
   8399     edx = edx + edx * 2; /* 0x2501D313: lea edx, [edx + edx*2] */
   8400     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   8401     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8402     edi = edi + eax; /* 0x2501D316: add edi, eax */
   8403     _flag_k = FK_ADD;
   8404     MEM16(ebx + edx * 4) = (uint16_t)(LO16(edi)); /* 0x2501D318: mov word ptr [ebx + edx*4], di */
   8405     edx = MEM32(esi + 0x224); /* 0x2501D31C: mov edx, dword ptr [esi + 0x224] */
   8406     edi = ecx + 0x5; /* 0x2501D322: lea edi, [ecx + 5] */
   8407     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)LO16(edx))); /* 0x2501D325: imul di, dx */
   8408     ebx = eax; /* 0x2501D329: mov ebx, eax */
   8409     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   8410     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8411     edi = edi + eax; /* 0x2501D32B: add edi, eax */
   8412     _flag_k = FK_ADD;
   8413     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8414     edx = edx - 1; /* 0x2501D32D: dec edx */
   8415     _flag_k = FK_DEC;
   8416     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D32E: imul edx, ecx */
   8417     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8418     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8419     ebx = ebx + edx; /* 0x2501D331: add ebx, edx */
   8420     _flag_k = FK_ADD;
   8421     edx = MEM32(esi + 0x224); /* 0x2501D333: mov edx, dword ptr [esi + 0x224] */
   8422     edx = ebx + edx * 2; /* 0x2501D339: lea edx, [ebx + edx*2] */
   8423     ebx = MEM32(esi + 0x1F4); /* 0x2501D33C: mov ebx, dword ptr [esi + 0x1f4] */
   8424     edx = edx + edx * 2; /* 0x2501D342: lea edx, [edx + edx*2] */
   8425     MEM16(ebx + edx * 4 + (-0x16)) = (uint16_t)(LO16(edi)); /* 0x2501D345: mov word ptr [ebx + edx*4 - 0x16], di */
   8426     edx = MEM32(esi + 0x224); /* 0x2501D34A: mov edx, dword ptr [esi + 0x224] */
   8427     edi = ecx + 0x4; /* 0x2501D350: lea edi, [ecx + 4] */
   8428     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)LO16(edx))); /* 0x2501D353: imul di, dx */
   8429     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8430     edx = edx - 1; /* 0x2501D357: dec edx */
   8431     _flag_k = FK_DEC;
   8432     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D358: imul edx, ecx */
   8433     edi = edi + eax + 0x1; /* 0x2501D35B: lea edi, [edi + eax + 1] */
   8434     ebx = eax; /* 0x2501D35F: mov ebx, eax */
   8435     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8436     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8437     ebx = ebx + edx; /* 0x2501D361: add ebx, edx */
   8438     _flag_k = FK_ADD;
   8439     edx = MEM32(esi + 0x224); /* 0x2501D363: mov edx, dword ptr [esi + 0x224] */
   8440     edx = ebx + edx * 2; /* 0x2501D369: lea edx, [ebx + edx*2] */
   8441     ebx = MEM32(esi + 0x1F4); /* 0x2501D36C: mov ebx, dword ptr [esi + 0x1f4] */
   8442     edx = edx + edx * 2; /* 0x2501D372: lea edx, [edx + edx*2] */
   8443     MEM16(ebx + edx * 4 + (-0x14)) = (uint16_t)(LO16(edi)); /* 0x2501D375: mov word ptr [ebx + edx*4 - 0x14], di */
   8444     edx = MEM32(esi + 0x224); /* 0x2501D37A: mov edx, dword ptr [esi + 0x224] */
   8445     edi = ecx + 0x5; /* 0x2501D380: lea edi, [ecx + 5] */
   8446     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)LO16(edx))); /* 0x2501D383: imul di, dx */
   8447     ebx = eax; /* 0x2501D387: mov ebx, eax */
   8448     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   8449     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8450     edi = edi + eax; /* 0x2501D389: add edi, eax */
   8451     _flag_k = FK_ADD;
   8452     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8453     edx = edx - 1; /* 0x2501D38B: dec edx */
   8454     _flag_k = FK_DEC;
   8455     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D38C: imul edx, ecx */
   8456     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8457     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8458     ebx = ebx + edx; /* 0x2501D38F: add ebx, edx */
   8459     _flag_k = FK_ADD;
   8460     edx = MEM32(esi + 0x224); /* 0x2501D391: mov edx, dword ptr [esi + 0x224] */
   8461     edx = ebx + edx * 2; /* 0x2501D397: lea edx, [ebx + edx*2] */
   8462     ebx = MEM32(esi + 0x1F4); /* 0x2501D39A: mov ebx, dword ptr [esi + 0x1f4] */
   8463     edx = edx + edx * 2; /* 0x2501D3A0: lea edx, [edx + edx*2] */
   8464     MEM16(ebx + edx * 4 + (-0x12)) = (uint16_t)(LO16(edi)); /* 0x2501D3A3: mov word ptr [ebx + edx*4 - 0x12], di */
   8465     edx = MEM32(esi + 0x224); /* 0x2501D3A8: mov edx, dword ptr [esi + 0x224] */
   8466     edi = ecx + 0x5; /* 0x2501D3AE: lea edi, [ecx + 5] */
   8467     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)LO16(edx))); /* 0x2501D3B1: imul di, dx */
   8468     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8469     edx = edx - 1; /* 0x2501D3B5: dec edx */
   8470     _flag_k = FK_DEC;
   8471     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D3B6: imul edx, ecx */
   8472     ebx = eax; /* 0x2501D3B9: mov ebx, eax */
   8473     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8474     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8475     ebx = ebx + edx; /* 0x2501D3BB: add ebx, edx */
   8476     _flag_k = FK_ADD;
   8477     edx = MEM32(esi + 0x224); /* 0x2501D3BD: mov edx, dword ptr [esi + 0x224] */
   8478     edx = ebx + edx * 2; /* 0x2501D3C3: lea edx, [ebx + edx*2] */
   8479     ebx = MEM32(esi + 0x1F4); /* 0x2501D3C6: mov ebx, dword ptr [esi + 0x1f4] */
   8480     edx = edx + edx * 2; /* 0x2501D3CC: lea edx, [edx + edx*2] */
   8481     edi = edi + eax + 0x1; /* 0x2501D3CF: lea edi, [edi + eax + 1] */
   8482     MEM16(ebx + edx * 4 + (-0x10)) = (uint16_t)(LO16(edi)); /* 0x2501D3D3: mov word ptr [ebx + edx*4 - 0x10], di */
   8483     edx = MEM32(esi + 0x224); /* 0x2501D3D8: mov edx, dword ptr [esi + 0x224] */
   8484     edi = ecx + 0x4; /* 0x2501D3DE: lea edi, [ecx + 4] */
   8485     SET_LO16(edi, (uint32_t)((int32_t)LO16(edi) * (int32_t)LO16(edx))); /* 0x2501D3E1: imul di, dx */
   8486     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8487     edx = edx - 1; /* 0x2501D3E5: dec edx */
   8488     _flag_k = FK_DEC;
   8489     edx = (uint32_t)((int32_t)edx * (int32_t)ecx); /* 0x2501D3E6: imul edx, ecx */
   8490     ebx = eax; /* 0x2501D3E9: mov ebx, eax */
   8491     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   8492     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8493     ebx = ebx + edx; /* 0x2501D3EB: add ebx, edx */
   8494     _flag_k = FK_ADD;
   8495     edx = MEM32(esi + 0x224); /* 0x2501D3ED: mov edx, dword ptr [esi + 0x224] */
   8496     edx = ebx + edx * 2; /* 0x2501D3F3: lea edx, [ebx + edx*2] */
   8497     ebx = MEM32(esi + 0x1F4); /* 0x2501D3F6: mov ebx, dword ptr [esi + 0x1f4] */
   8498     edx = edx + edx * 2; /* 0x2501D3FC: lea edx, [edx + edx*2] */
   8499     edi = edi + eax + 0x1; /* 0x2501D3FF: lea edi, [edi + eax + 1] */
   8500     MEM16(ebx + edx * 4 + (-0xE)) = (uint16_t)(LO16(edi)); /* 0x2501D403: mov word ptr [ebx + edx*4 - 0xe], di */
   8501     edx = MEM32(esi + 0x224); /* 0x2501D408: mov edx, dword ptr [esi + 0x224] */
   8502     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8503     eax = eax + 1; /* 0x2501D40E: inc eax */
   8504     _flag_k = FK_INC;
   8505     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   8506     edx = edx - 1; /* 0x2501D40F: dec edx */
   8507     _flag_k = FK_DEC;
   8508     /* cmp eax, edx */ /* 0x2501D410: cmp eax, edx */
   8509     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8511     _flag_k = FK_CMP;
   8512     RECOMP_BACKEDGE();
   8513     if (CMP_L(_flag_a, _flag_b)) goto L_2501D2F1; /* 0x2501D412: jl 0x2501d2f1 */
   8514 L_2501D418:
   8515     eax = MEM32(esi + 0x228); /* 0x2501D418: mov eax, dword ptr [esi + 0x228] */
   8516     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8517     ecx = ecx + 1; /* 0x2501D41E: inc ecx */
   8518     _flag_k = FK_INC;
   8519     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8520     eax = eax - 1; /* 0x2501D41F: dec eax */
   8521     _flag_k = FK_DEC;
   8522     /* cmp ecx, eax */ /* 0x2501D420: cmp ecx, eax */
   8523     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   8524     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8525     _flag_k = FK_CMP;
   8526     RECOMP_BACKEDGE();
   8527     if (CMP_L(_flag_a, _flag_b)) goto L_2501D2E0; /* 0x2501D422: jl 0x2501d2e0 */
   8528 L_2501D428:
   8529     edx = MEM32(esi); /* 0x2501D428: mov edx, dword ptr [esi] */
   8530     ecx = esi; /* 0x2501D42A: mov ecx, esi */
   8531     RECOMP_ICALL(MEM32(edx + 0x64)); /* 0x2501D42C: call dword ptr [edx + 0x64] */
   8532     RECOMP_FLAGS_IN();
   8533     fp_push(*(float*)&MEM32(esi + 0x234)); /* 0x2501D42F: fld dword ptr [esi + 0x234] */
   8534     eax = MEM32(esi + 0x224); /* 0x2501D435: mov eax, dword ptr [esi + 0x224] */
   8535     _st[0] = -_st[0]; /* 0x2501D43B: fchs  */
   8536     ecx = eax + (-0x1); /* 0x2501D43D: lea ecx, [eax - 1] */
   8537     MEM32(ebp + (-0x8)) = ecx; /* 0x2501D440: mov dword ptr [ebp - 8], ecx */
   8538     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501D443: fstp dword ptr [ebp - 0x2c] */
   8539     fp_push((double)(int32_t)MEM32(ebp + (-0x8))); /* 0x2501D446: fild dword ptr [ebp - 8] */
   8540     MEM32(ebp + (-0x34)) = 0; /* 0x2501D449: mov dword ptr [ebp - 0x34], 0 */
   8541     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x2501D450: fld dword ptr [0x2515177c] */
   8542     edx = MEM32(ebp + (-0x34)); /* 0x2501D456: mov edx, dword ptr [ebp - 0x34] */
   8543     MEM32(ebp + (-0x30)) = 0; /* 0x2501D459: mov dword ptr [ebp - 0x30], 0 */
   8544     _st[0] /= _st[1]; /* 0x2501D460: fdiv st(1) */
   8545     ecx = MEM32(ebp + (-0x30)); /* 0x2501D462: mov ecx, dword ptr [ebp - 0x30] */
   8546     MEM32(ebp + (-0x98)) = edx; /* 0x2501D465: mov dword ptr [ebp - 0x98], edx */
   8547     MEM32(ebp + (-0x94)) = ecx; /* 0x2501D46B: mov dword ptr [ebp - 0x94], ecx */
   8548     edx = MEM32(ebp + (-0x2C)); /* 0x2501D471: mov edx, dword ptr [ebp - 0x2c] */
   8549     MEM32(ebp + (-0x90)) = edx; /* 0x2501D474: mov dword ptr [ebp - 0x90], edx */
   8550     MEM32(ebp + (-0x28)) = eax; /* 0x2501D47A: mov dword ptr [ebp - 0x28], eax */
   8551     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8552     edi = 0; /* 0x2501D47D: xor edi, edi */
   8553     _cf = 0;
   8554     _flag_k = FK_TEST;
   8555     /* cmp eax, edi */ /* 0x2501D47F: cmp eax, edi */
   8556     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   8557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8558     _flag_k = FK_CMP;
   8559     MEM32(ebp + (-0x18)) = 0; /* 0x2501D481: mov dword ptr [ebp - 0x18], 0 */
   8560     MEM32(ebp + (-0x14)) = 0; /* 0x2501D488: mov dword ptr [ebp - 0x14], 0 */
   8561     MEM32(ebp + (-0x10)) = 0; /* 0x2501D48F: mov dword ptr [ebp - 0x10], 0 */
   8562     MEM32(ebp + (-0x4)) = 0; /* 0x2501D496: mov dword ptr [ebp - 4], 0 */
   8563     MEM32(ebp + (-0xC)) = 0x40000000u; /* 0x2501D49D: mov dword ptr [ebp - 0xc], 0x40000000 */
   8564     MEM32(ebp + (-0x8)) = edi; /* 0x2501D4A4: mov dword ptr [ebp - 8], edi */
   8565     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501D4A7: fstp dword ptr [ebp - 0x98] */
   8566     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501D4AD: fld dword ptr [ebp - 0x94] */
   8567     _st[0] /= _st[1]; /* 0x2501D4B3: fdiv st(1) */
   8568     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x2501D4B5: fstp dword ptr [ebp - 0x94] */
   8569     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501D4BB: fld dword ptr [ebp - 0x90] */
   8570     _st[0] /= _st[1]; /* 0x2501D4C1: fdiv st(1) */
   8571     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501D4C3: fstp dword ptr [ebp - 0x90] */
   8572     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501D4C9: fstp st(0) */
   8573     fp_push((double)(int32_t)MEM32(ebp + (-0x28))); /* 0x2501D4CB: fild dword ptr [ebp - 0x28] */
   8574     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501D4CE: fdivr dword ptr [0x251517a4] */
   8575     _st[0] += _st[0]; /* 0x2501D4D4: fadd st(0), st(0) */
   8576     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501D4D6: fstp dword ptr [ebp - 0x28] */
   8577     if (CMP_LE(_flag_a, _flag_b)) goto L_2501D7CE; /* 0x2501D4D9: jle 0x2501d7ce */
   8578 L_2501D4DF:
   8579     MEM32(ebp + (-0x2C)) = edi; /* 0x2501D4DF: mov dword ptr [ebp - 0x2c], edi */
   8580 L_2501D4E2:
   8581     ebx = MEM32(0x25151264); /* 0x2501D4E2: mov ebx, dword ptr [0x25151264] */
   8582     RECOMP_ICALL(ebx); /* 0x2501D4E8: call ebx */
   8583     RECOMP_FLAGS_IN();
   8584     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D4EA: cdq  */
   8585     ecx = 0x7D0u; /* 0x2501D4EB: mov ecx, 0x7d0 */
   8586     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D4F0: idiv ecx */
   8587       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   8588       else { eax = 0; edx = 0; } }
   8589     MEM32(ebp + (-0x5C)) = edx; /* 0x2501D4F2: mov dword ptr [ebp - 0x5c], edx */
   8590     fp_push((double)(int32_t)MEM32(ebp + (-0x5C))); /* 0x2501D4F5: fild dword ptr [ebp - 0x5c] */
   8591     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D4F8: fmul dword ptr [0x25152770] */
   8592     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D4FE: fsub dword ptr [0x251517a4] */
   8593     _st[0] *= (double)*(float*)ADDR(0x25151CE0); /* 0x2501D504: fmul dword ptr [0x25151ce0] */
   8594     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501D50A: fstp dword ptr [ebp - 0x34] */
   8595     RECOMP_ICALL(ebx); /* 0x2501D50D: call ebx */
   8596     RECOMP_FLAGS_IN();
   8597     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D50F: cdq  */
   8598     ecx = 0x7D0u; /* 0x2501D510: mov ecx, 0x7d0 */
   8599     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D515: idiv ecx */
   8600       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   8601       else { eax = 0; edx = 0; } }
   8602     ecx = MEM32(ebp + (-0x2C)); /* 0x2501D517: mov ecx, dword ptr [ebp - 0x2c] */
   8603     MEM32(ebp + (-0x50)) = ecx; /* 0x2501D51A: mov dword ptr [ebp - 0x50], ecx */
   8604     MEM32(ebp + (-0x5C)) = edx; /* 0x2501D51D: mov dword ptr [ebp - 0x5c], edx */
   8605     fp_push((double)(int32_t)MEM32(ebp + (-0x5C))); /* 0x2501D520: fild dword ptr [ebp - 0x5c] */
   8606     edx = MEM32(ebp + (-0x34)); /* 0x2501D523: mov edx, dword ptr [ebp - 0x34] */
   8607     MEM32(ebp + (-0x58)) = edx; /* 0x2501D526: mov dword ptr [ebp - 0x58], edx */
   8608     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D529: fmul dword ptr [0x25152770] */
   8609     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D52F: fsub dword ptr [0x251517a4] */
   8610     _st[0] *= (double)*(float*)ADDR(0x25151CE0); /* 0x2501D535: fmul dword ptr [0x25151ce0] */
   8611     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501D53B: fstp dword ptr [ebp - 0x30] */
   8612     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501D53E: fld dword ptr [ebp - 0x34] */
   8613     eax = MEM32(ebp + (-0x30)); /* 0x2501D541: mov eax, dword ptr [ebp - 0x30] */
   8614     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D544: fmul dword ptr [ebp - 4] */
   8615     MEM32(ebp + (-0x54)) = eax; /* 0x2501D547: mov dword ptr [ebp - 0x54], eax */
   8616     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x2501D54A: fstp dword ptr [ebp - 0x58] */
   8617     edx = MEM32(ebp + (-0x58)); /* 0x2501D54D: mov edx, dword ptr [ebp - 0x58] */
   8618     fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x2501D550: fld dword ptr [ebp - 0x54] */
   8619     MEM32(ebp + (-0x24)) = edx; /* 0x2501D553: mov dword ptr [ebp - 0x24], edx */
   8620     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D556: fmul dword ptr [ebp - 4] */
   8621     edx = MEM32(ebp + (-0x10)); /* 0x2501D559: mov edx, dword ptr [ebp - 0x10] */
   8622     MEM32(ebp + (-0x38)) = edx; /* 0x2501D55C: mov dword ptr [ebp - 0x38], edx */
   8623     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x2501D55F: fstp dword ptr [ebp - 0x54] */
   8624     eax = MEM32(ebp + (-0x54)); /* 0x2501D562: mov eax, dword ptr [ebp - 0x54] */
   8625     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501D565: fld dword ptr [ebp - 0x50] */
   8626     MEM32(ebp + (-0x20)) = eax; /* 0x2501D568: mov dword ptr [ebp - 0x20], eax */
   8627     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D56B: fmul dword ptr [ebp - 4] */
   8628     eax = MEM32(ebp + (-0x18)); /* 0x2501D56E: mov eax, dword ptr [ebp - 0x18] */
   8629     MEM32(ebp + (-0x40)) = eax; /* 0x2501D571: mov dword ptr [ebp - 0x40], eax */
   8630     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x2501D574: fstp dword ptr [ebp - 0x50] */
   8631     ecx = MEM32(ebp + (-0x50)); /* 0x2501D577: mov ecx, dword ptr [ebp - 0x50] */
   8632     fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x2501D57A: fld dword ptr [ebp - 0x58] */
   8633     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501D57D: mov dword ptr [ebp - 0x1c], ecx */
   8634     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D580: fmul dword ptr [ebp - 0xc] */
   8635     ecx = MEM32(ebp + (-0x14)); /* 0x2501D583: mov ecx, dword ptr [ebp - 0x14] */
   8636     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501D586: fld dword ptr [ebp - 0x20] */
   8637     MEM32(ebp + (-0x3C)) = ecx; /* 0x2501D589: mov dword ptr [ebp - 0x3c], ecx */
   8638     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D58C: fmul dword ptr [ebp - 0xc] */
   8639     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501D58F: fstp dword ptr [ebp - 0x20] */
   8640     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501D592: fld dword ptr [ebp - 0x1c] */
   8641     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D595: fmul dword ptr [ebp - 0xc] */
   8642     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501D598: fstp dword ptr [ebp - 0x1c] */
   8643     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501D59B: fadd dword ptr [ebp - 0x18] */
   8644     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501D59E: fst dword ptr [ebp - 0x40] */
   8645     edx = MEM32(ebp + (-0x40)); /* 0x2501D5A1: mov edx, dword ptr [ebp - 0x40] */
   8646     fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x2501D5A4: fld dword ptr [ebp - 0x3c] */
   8647     MEM32(ebp + (-0xA4)) = edx; /* 0x2501D5A7: mov dword ptr [ebp - 0xa4], edx */
   8648     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D5AD: fadd dword ptr [ebp - 0x20] */
   8649     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501D5B0: fstp dword ptr [ebp - 0x3c] */
   8650     edx = MEM32(ebp + (-0x3C)); /* 0x2501D5B3: mov edx, dword ptr [ebp - 0x3c] */
   8651     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501D5B6: fld dword ptr [ebp - 0x38] */
   8652     MEM32(ebp + (-0xA0)) = edx; /* 0x2501D5B9: mov dword ptr [ebp - 0xa0], edx */
   8653     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D5BF: fadd dword ptr [ebp - 0x1c] */
   8654     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501D5C2: fstp dword ptr [ebp - 0x38] */
   8655     edx = MEM32(ebp + (-0x38)); /* 0x2501D5C5: mov edx, dword ptr [ebp - 0x38] */
   8656     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501D5C8: fld dword ptr [ebp - 0x40] */
   8657     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D5CB: mov dword ptr [ebp - 0x9c], edx */
   8658     edx = MEM32(ebp + (-0xA0)); /* 0x2501D5D1: mov edx, dword ptr [ebp - 0xa0] */
   8659     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501D5D7: fsub dword ptr [0x2515276c] */
   8660     MEM32(ebp + (-0xA0)) = edx; /* 0x2501D5DD: mov dword ptr [ebp - 0xa0], edx */
   8661     edx = MEM32(ebp + (-0x9C)); /* 0x2501D5E3: mov edx, dword ptr [ebp - 0x9c] */
   8662     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501D5E9: fstp dword ptr [ebp - 0xa4] */
   8663     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D5EF: mov dword ptr [ebp - 0x9c], edx */
   8664     edx = MEM32(esi + 0x1E0); /* 0x2501D5F5: mov edx, dword ptr [esi + 0x1e0] */
   8665     ebx = MEM32(ebp + (-0xA4)); /* 0x2501D5FB: mov ebx, dword ptr [ebp - 0xa4] */
   8666     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   8667     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8668     edx = edx + edi; /* 0x2501D601: add edx, edi */
   8669     _flag_k = FK_ADD;
   8670     MEM32(edx) = ebx; /* 0x2501D603: mov dword ptr [edx], ebx */
   8671     ebx = MEM32(ebp + (-0xA0)); /* 0x2501D605: mov ebx, dword ptr [ebp - 0xa0] */
   8672     MEM32(edx + 0x4) = ebx; /* 0x2501D60B: mov dword ptr [edx + 4], ebx */
   8673     ebx = MEM32(ebp + (-0x9C)); /* 0x2501D60E: mov ebx, dword ptr [ebp - 0x9c] */
   8674     MEM32(edx + 0x8) = ebx; /* 0x2501D614: mov dword ptr [edx + 8], ebx */
   8675     edx = MEM32(ebp + (-0x10)); /* 0x2501D617: mov edx, dword ptr [ebp - 0x10] */
   8676     MEM32(ebp + (-0x44)) = edx; /* 0x2501D61A: mov dword ptr [ebp - 0x44], edx */
   8677     MEM32(ebp + (-0x4C)) = eax; /* 0x2501D61D: mov dword ptr [ebp - 0x4c], eax */
   8678     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x2501D620: fst dword ptr [ebp - 0x4c] */
   8679     edx = MEM32(ebp + (-0x4C)); /* 0x2501D623: mov edx, dword ptr [ebp - 0x4c] */
   8680     MEM32(ebp + (-0xB0)) = edx; /* 0x2501D626: mov dword ptr [ebp - 0xb0], edx */
   8681     MEM32(ebp + (-0x48)) = ecx; /* 0x2501D62C: mov dword ptr [ebp - 0x48], ecx */
   8682     fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x2501D62F: fld dword ptr [ebp - 0x48] */
   8683     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D632: fadd dword ptr [ebp - 0x20] */
   8684     MEM32(ebp + (-0x68)) = eax; /* 0x2501D635: mov dword ptr [ebp - 0x68], eax */
   8685     MEM32(ebp + (-0x64)) = ecx; /* 0x2501D638: mov dword ptr [ebp - 0x64], ecx */
   8686     MEM32(ebp + (-0x74)) = eax; /* 0x2501D63B: mov dword ptr [ebp - 0x74], eax */
   8687     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x2501D63E: fstp dword ptr [ebp - 0x48] */
   8688     edx = MEM32(ebp + (-0x48)); /* 0x2501D641: mov edx, dword ptr [ebp - 0x48] */
   8689     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501D644: fld dword ptr [ebp - 0x44] */
   8690     MEM32(ebp + (-0xAC)) = edx; /* 0x2501D647: mov dword ptr [ebp - 0xac], edx */
   8691     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D64D: fadd dword ptr [ebp - 0x1c] */
   8692     eax = MEM32(ebp + (-0x10)); /* 0x2501D650: mov eax, dword ptr [ebp - 0x10] */
   8693     MEM32(ebp + (-0x70)) = ecx; /* 0x2501D653: mov dword ptr [ebp - 0x70], ecx */
   8694     MEM32(ebp + (-0x6C)) = eax; /* 0x2501D656: mov dword ptr [ebp - 0x6c], eax */
   8695     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501D659: fstp dword ptr [ebp - 0x44] */
   8696     edx = MEM32(ebp + (-0x44)); /* 0x2501D65C: mov edx, dword ptr [ebp - 0x44] */
   8697     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x2501D65F: fld dword ptr [ebp - 0x4c] */
   8698     MEM32(ebp + (-0xA8)) = edx; /* 0x2501D662: mov dword ptr [ebp - 0xa8], edx */
   8699     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501D668: fadd dword ptr [0x2515276c] */
   8700     edx = MEM32(ebp + (-0xAC)); /* 0x2501D66E: mov edx, dword ptr [ebp - 0xac] */
   8701     MEM32(ebp + (-0xAC)) = edx; /* 0x2501D674: mov dword ptr [ebp - 0xac], edx */
   8702     edx = MEM32(ebp + (-0xA8)); /* 0x2501D67A: mov edx, dword ptr [ebp - 0xa8] */
   8703     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501D680: fstp dword ptr [ebp - 0xb0] */
   8704     ebx = MEM32(ebp + (-0xB0)); /* 0x2501D686: mov ebx, dword ptr [ebp - 0xb0] */
   8705     MEM32(ebp + (-0xA8)) = edx; /* 0x2501D68C: mov dword ptr [ebp - 0xa8], edx */
   8706     edx = MEM32(esi + 0x1E0); /* 0x2501D692: mov edx, dword ptr [esi + 0x1e0] */
   8707     fp_push(_st[0]); /* 0x2501D698: fld st(0) */
   8708     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501D69A: fst dword ptr [ebp - 0x68] */
   8709     edx = edx + edi + 0x18; /* 0x2501D69D: lea edx, [edx + edi + 0x18] */
   8710     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501D6A1: fld dword ptr [ebp - 0x64] */
   8711     MEM32(edx) = ebx; /* 0x2501D6A4: mov dword ptr [edx], ebx */
   8712     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D6A6: fadd dword ptr [ebp - 0x20] */
   8713     ebx = MEM32(ebp + (-0xAC)); /* 0x2501D6A9: mov ebx, dword ptr [ebp - 0xac] */
   8714     MEM32(edx + 0x4) = ebx; /* 0x2501D6AF: mov dword ptr [edx + 4], ebx */
   8715     ebx = MEM32(ebp + (-0xA8)); /* 0x2501D6B2: mov ebx, dword ptr [ebp - 0xa8] */
   8716     MEM32(edx + 0x8) = ebx; /* 0x2501D6B8: mov dword ptr [edx + 8], ebx */
   8717     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501D6BB: fstp dword ptr [ebp - 0x64] */
   8718     edx = MEM32(ebp + (-0x10)); /* 0x2501D6BE: mov edx, dword ptr [ebp - 0x10] */
   8719     MEM32(ebp + (-0x60)) = edx; /* 0x2501D6C1: mov dword ptr [ebp - 0x60], edx */
   8720     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501D6C4: fld dword ptr [ebp - 0x60] */
   8721     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D6C7: fadd dword ptr [ebp - 0x1c] */
   8722     edx = MEM32(ebp + (-0x68)); /* 0x2501D6CA: mov edx, dword ptr [ebp - 0x68] */
   8723     MEM32(ebp + (-0x8C)) = edx; /* 0x2501D6CD: mov dword ptr [ebp - 0x8c], edx */
   8724     edx = MEM32(ebp + (-0x64)); /* 0x2501D6D3: mov edx, dword ptr [ebp - 0x64] */
   8725     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501D6D6: fstp dword ptr [ebp - 0x60] */
   8726     MEM32(ebp + (-0x88)) = edx; /* 0x2501D6D9: mov dword ptr [ebp - 0x88], edx */
   8727     edx = MEM32(ebp + (-0x60)); /* 0x2501D6DF: mov edx, dword ptr [ebp - 0x60] */
   8728     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501D6E2: fstp dword ptr [ebp - 0x8c] */
   8729     ebx = MEM32(ebp + (-0x8C)); /* 0x2501D6E8: mov ebx, dword ptr [ebp - 0x8c] */
   8730     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501D6EE: fld dword ptr [ebp - 0x88] */
   8731     MEM32(ebp + (-0x84)) = edx; /* 0x2501D6F4: mov dword ptr [ebp - 0x84], edx */
   8732     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501D6FA: fsub dword ptr [0x2515276c] */
   8733     MEM32(ebp + (-0x84)) = edx; /* 0x2501D700: mov dword ptr [ebp - 0x84], edx */
   8734     edx = MEM32(esi + 0x1E0); /* 0x2501D706: mov edx, dword ptr [esi + 0x1e0] */
   8735     edx = edx + edi + 0x30; /* 0x2501D70C: lea edx, [edx + edi + 0x30] */
   8736     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501D710: fstp dword ptr [ebp - 0x88] */
   8737     MEM32(edx) = ebx; /* 0x2501D716: mov dword ptr [edx], ebx */
   8738     ebx = MEM32(ebp + (-0x88)); /* 0x2501D718: mov ebx, dword ptr [ebp - 0x88] */
   8739     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501D71E: fst dword ptr [ebp - 0x74] */
   8740     MEM32(edx + 0x4) = ebx; /* 0x2501D721: mov dword ptr [edx + 4], ebx */
   8741     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501D724: fld dword ptr [ebp - 0x70] */
   8742     ebx = MEM32(ebp + (-0x84)); /* 0x2501D727: mov ebx, dword ptr [ebp - 0x84] */
   8743     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D72D: fadd dword ptr [ebp - 0x20] */
   8744     MEM32(edx + 0x8) = ebx; /* 0x2501D730: mov dword ptr [edx + 8], ebx */
   8745     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501D733: fstp dword ptr [ebp - 0x70] */
   8746     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501D736: fld dword ptr [ebp - 0x6c] */
   8747     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D739: fadd dword ptr [ebp - 0x1c] */
   8748     ecx = MEM32(ebp + (-0x74)); /* 0x2501D73C: mov ecx, dword ptr [ebp - 0x74] */
   8749     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501D73F: fstp dword ptr [ebp - 0x6c] */
   8750     edx = MEM32(ebp + (-0x70)); /* 0x2501D742: mov edx, dword ptr [ebp - 0x70] */
   8751     eax = MEM32(ebp + (-0x6C)); /* 0x2501D745: mov eax, dword ptr [ebp - 0x6c] */
   8752     MEM32(ebp + (-0x80)) = ecx; /* 0x2501D748: mov dword ptr [ebp - 0x80], ecx */
   8753     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501D74B: fstp dword ptr [ebp - 0x80] */
   8754     MEM32(ebp + (-0x7C)) = edx; /* 0x2501D74E: mov dword ptr [ebp - 0x7c], edx */
   8755     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501D751: fld dword ptr [ebp - 0x7c] */
   8756     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501D754: fadd dword ptr [0x2515276c] */
   8757     edx = MEM32(esi + 0x1E0); /* 0x2501D75A: mov edx, dword ptr [esi + 0x1e0] */
   8758     ecx = eax; /* 0x2501D760: mov ecx, eax */
   8759     MEM32(ebp + (-0x78)) = eax; /* 0x2501D762: mov dword ptr [ebp - 0x78], eax */
   8760     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501D765: fstp dword ptr [ebp - 0x7c] */
   8761     MEM32(ebp + (-0x78)) = ecx; /* 0x2501D768: mov dword ptr [ebp - 0x78], ecx */
   8762     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501D76B: fld dword ptr [ebp - 0x18] */
   8763     ecx = MEM32(ebp + (-0x80)); /* 0x2501D76E: mov ecx, dword ptr [ebp - 0x80] */
   8764     _st[0] += (double)*(float*)ADDR(ebp + (-0x98)); /* 0x2501D771: fadd dword ptr [ebp - 0x98] */
   8765     eax = edx + edi + 0x48; /* 0x2501D777: lea eax, [edx + edi + 0x48] */
   8766     edx = MEM32(ebp + (-0x7C)); /* 0x2501D77B: mov edx, dword ptr [ebp - 0x7c] */
   8767     MEM32(eax) = ecx; /* 0x2501D77E: mov dword ptr [eax], ecx */
   8768     ecx = MEM32(ebp + (-0x78)); /* 0x2501D780: mov ecx, dword ptr [ebp - 0x78] */
   8769     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501D783: fstp dword ptr [ebp - 0x18] */
   8770     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501D786: fld dword ptr [ebp - 0x14] */
   8771     MEM32(eax + 0x4) = edx; /* 0x2501D789: mov dword ptr [eax + 4], edx */
   8772     _st[0] += (double)*(float*)ADDR(ebp + (-0x94)); /* 0x2501D78C: fadd dword ptr [ebp - 0x94] */
   8773     MEM32(eax + 0x8) = ecx; /* 0x2501D792: mov dword ptr [eax + 8], ecx */
   8774     eax = MEM32(ebp + (-0x8)); /* 0x2501D795: mov eax, dword ptr [ebp - 8] */
   8775     ecx = MEM32(esi + 0x224); /* 0x2501D798: mov ecx, dword ptr [esi + 0x224] */
   8776     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D79E: fstp dword ptr [ebp - 0x14] */
   8777     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8778     eax = eax + 1; /* 0x2501D7A1: inc eax */
   8779     _flag_k = FK_INC;
   8780     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2501D7A2: fld dword ptr [ebp - 0x10] */
   8781     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
   8782     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8783     edi = edi + 0x60u; /* 0x2501D7A5: add edi, 0x60 */
   8784     _flag_k = FK_ADD;
   8785     /* cmp eax, ecx */ /* 0x2501D7A8: cmp eax, ecx */
   8786     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8788     _flag_k = FK_CMP;
   8789     _st[0] += (double)*(float*)ADDR(ebp + (-0x90)); /* 0x2501D7AA: fadd dword ptr [ebp - 0x90] */
   8790     MEM32(ebp + (-0x8)) = eax; /* 0x2501D7B0: mov dword ptr [ebp - 8], eax */
   8791     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2501D7B3: fstp dword ptr [ebp - 0x10] */
   8792     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501D7B6: fld dword ptr [ebp - 0x28] */
   8793     _st[0] += (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D7B9: fadd dword ptr [ebp - 4] */
   8794     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501D7BC: fstp dword ptr [ebp - 4] */
   8795     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2501D7BF: fld dword ptr [ebp - 0xc] */
   8796     _st[0] -= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501D7C2: fsub dword ptr [ebp - 0x28] */
   8797     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2501D7C5: fstp dword ptr [ebp - 0xc] */
   8798     RECOMP_BACKEDGE();
   8799     if (CMP_L(_flag_a, _flag_b)) goto L_2501D4E2; /* 0x2501D7C8: jl 0x2501d4e2 */
   8800 L_2501D7CE:
   8801     edi = POP32_VAL(esp); /* 0x2501D7CE: pop edi */
   8802     esi = POP32_VAL(esp); /* 0x2501D7CF: pop esi */
   8803     ebx = POP32_VAL(esp); /* 0x2501D7D0: pop ebx */
   8804     esp = ebp; /* 0x2501D7D1: mov esp, ebp */
   8805     ebp = POP32_VAL(esp); /* 0x2501D7D3: pop ebp */
   8806     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501D7D4: ret  */
   8807     RECOMP_REGS_OUT();
   8808 }
   8809 
   8810 void sub_2501D488(void) {
   8811     int _fpu_cmp = 0;
   8812     uint32_t _cf = 0;
   8813     int _df = 1;
   8814     uint32_t _flag_k = FK_NONE;
   8815     uint32_t _flag_a = 0, _flag_b = 0;
   8816     uint32_t _itail_tgt = 0;
   8817     RECOMP_REGS_LOCALS
   8818     RECOMP_ENTER(0x2501D488u);
   8819 
   8820 L_2501D488:
   8821     MEM32(ebp + (-0x14)) = 0; /* 0x2501D488: mov dword ptr [ebp - 0x14], 0 */
   8822     MEM32(ebp + (-0x10)) = 0; /* 0x2501D48F: mov dword ptr [ebp - 0x10], 0 */
   8823     MEM32(ebp + (-0x4)) = 0; /* 0x2501D496: mov dword ptr [ebp - 4], 0 */
   8824     MEM32(ebp + (-0xC)) = 0x40000000u; /* 0x2501D49D: mov dword ptr [ebp - 0xc], 0x40000000 */
   8825     MEM32(ebp + (-0x8)) = edi; /* 0x2501D4A4: mov dword ptr [ebp - 8], edi */
   8826     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x98)) = _v; } /* 0x2501D4A7: fstp dword ptr [ebp - 0x98] */
   8827     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501D4AD: fld dword ptr [ebp - 0x94] */
   8828     _st[0] /= _st[1]; /* 0x2501D4B3: fdiv st(1) */
   8829     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x94)) = _v; } /* 0x2501D4B5: fstp dword ptr [ebp - 0x94] */
   8830     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501D4BB: fld dword ptr [ebp - 0x90] */
   8831     _st[0] /= _st[1]; /* 0x2501D4C1: fdiv st(1) */
   8832     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501D4C3: fstp dword ptr [ebp - 0x90] */
   8833     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501D4C9: fstp st(0) */
   8834     fp_push((double)(int32_t)MEM32(ebp + (-0x28))); /* 0x2501D4CB: fild dword ptr [ebp - 0x28] */
   8835     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501D4CE: fdivr dword ptr [0x251517a4] */
   8836     _st[0] += _st[0]; /* 0x2501D4D4: fadd st(0), st(0) */
   8837     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501D4D6: fstp dword ptr [ebp - 0x28] */
   8838     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2501D7CE; /* 0x2501D4D9: jle 0x2501d7ce */
   8839 L_2501D4DF:
   8840     MEM32(ebp + (-0x2C)) = edi; /* 0x2501D4DF: mov dword ptr [ebp - 0x2c], edi */
   8841 L_2501D4E2:
   8842     ebx = MEM32(0x25151264); /* 0x2501D4E2: mov ebx, dword ptr [0x25151264] */
   8843     RECOMP_ICALL(ebx); /* 0x2501D4E8: call ebx */
   8844     RECOMP_FLAGS_IN();
   8845     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D4EA: cdq  */
   8846     ecx = 0x7D0u; /* 0x2501D4EB: mov ecx, 0x7d0 */
   8847     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D4F0: idiv ecx */
   8848       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   8849       else { eax = 0; edx = 0; } }
   8850     MEM32(ebp + (-0x5C)) = edx; /* 0x2501D4F2: mov dword ptr [ebp - 0x5c], edx */
   8851     fp_push((double)(int32_t)MEM32(ebp + (-0x5C))); /* 0x2501D4F5: fild dword ptr [ebp - 0x5c] */
   8852     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D4F8: fmul dword ptr [0x25152770] */
   8853     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D4FE: fsub dword ptr [0x251517a4] */
   8854     _st[0] *= (double)*(float*)ADDR(0x25151CE0); /* 0x2501D504: fmul dword ptr [0x25151ce0] */
   8855     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501D50A: fstp dword ptr [ebp - 0x34] */
   8856     RECOMP_ICALL(ebx); /* 0x2501D50D: call ebx */
   8857     RECOMP_FLAGS_IN();
   8858     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D50F: cdq  */
   8859     ecx = 0x7D0u; /* 0x2501D510: mov ecx, 0x7d0 */
   8860     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D515: idiv ecx */
   8861       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   8862       else { eax = 0; edx = 0; } }
   8863     ecx = MEM32(ebp + (-0x2C)); /* 0x2501D517: mov ecx, dword ptr [ebp - 0x2c] */
   8864     MEM32(ebp + (-0x50)) = ecx; /* 0x2501D51A: mov dword ptr [ebp - 0x50], ecx */
   8865     MEM32(ebp + (-0x5C)) = edx; /* 0x2501D51D: mov dword ptr [ebp - 0x5c], edx */
   8866     fp_push((double)(int32_t)MEM32(ebp + (-0x5C))); /* 0x2501D520: fild dword ptr [ebp - 0x5c] */
   8867     edx = MEM32(ebp + (-0x34)); /* 0x2501D523: mov edx, dword ptr [ebp - 0x34] */
   8868     MEM32(ebp + (-0x58)) = edx; /* 0x2501D526: mov dword ptr [ebp - 0x58], edx */
   8869     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D529: fmul dword ptr [0x25152770] */
   8870     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D52F: fsub dword ptr [0x251517a4] */
   8871     _st[0] *= (double)*(float*)ADDR(0x25151CE0); /* 0x2501D535: fmul dword ptr [0x25151ce0] */
   8872     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501D53B: fstp dword ptr [ebp - 0x30] */
   8873     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501D53E: fld dword ptr [ebp - 0x34] */
   8874     eax = MEM32(ebp + (-0x30)); /* 0x2501D541: mov eax, dword ptr [ebp - 0x30] */
   8875     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D544: fmul dword ptr [ebp - 4] */
   8876     MEM32(ebp + (-0x54)) = eax; /* 0x2501D547: mov dword ptr [ebp - 0x54], eax */
   8877     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x2501D54A: fstp dword ptr [ebp - 0x58] */
   8878     edx = MEM32(ebp + (-0x58)); /* 0x2501D54D: mov edx, dword ptr [ebp - 0x58] */
   8879     fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x2501D550: fld dword ptr [ebp - 0x54] */
   8880     MEM32(ebp + (-0x24)) = edx; /* 0x2501D553: mov dword ptr [ebp - 0x24], edx */
   8881     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D556: fmul dword ptr [ebp - 4] */
   8882     edx = MEM32(ebp + (-0x10)); /* 0x2501D559: mov edx, dword ptr [ebp - 0x10] */
   8883     MEM32(ebp + (-0x38)) = edx; /* 0x2501D55C: mov dword ptr [ebp - 0x38], edx */
   8884     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x2501D55F: fstp dword ptr [ebp - 0x54] */
   8885     eax = MEM32(ebp + (-0x54)); /* 0x2501D562: mov eax, dword ptr [ebp - 0x54] */
   8886     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501D565: fld dword ptr [ebp - 0x50] */
   8887     MEM32(ebp + (-0x20)) = eax; /* 0x2501D568: mov dword ptr [ebp - 0x20], eax */
   8888     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D56B: fmul dword ptr [ebp - 4] */
   8889     eax = MEM32(ebp + (-0x18)); /* 0x2501D56E: mov eax, dword ptr [ebp - 0x18] */
   8890     MEM32(ebp + (-0x40)) = eax; /* 0x2501D571: mov dword ptr [ebp - 0x40], eax */
   8891     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x2501D574: fstp dword ptr [ebp - 0x50] */
   8892     ecx = MEM32(ebp + (-0x50)); /* 0x2501D577: mov ecx, dword ptr [ebp - 0x50] */
   8893     fp_push(*(float*)&MEM32(ebp + (-0x58))); /* 0x2501D57A: fld dword ptr [ebp - 0x58] */
   8894     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501D57D: mov dword ptr [ebp - 0x1c], ecx */
   8895     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D580: fmul dword ptr [ebp - 0xc] */
   8896     ecx = MEM32(ebp + (-0x14)); /* 0x2501D583: mov ecx, dword ptr [ebp - 0x14] */
   8897     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501D586: fld dword ptr [ebp - 0x20] */
   8898     MEM32(ebp + (-0x3C)) = ecx; /* 0x2501D589: mov dword ptr [ebp - 0x3c], ecx */
   8899     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D58C: fmul dword ptr [ebp - 0xc] */
   8900     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501D58F: fstp dword ptr [ebp - 0x20] */
   8901     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501D592: fld dword ptr [ebp - 0x1c] */
   8902     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x2501D595: fmul dword ptr [ebp - 0xc] */
   8903     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501D598: fstp dword ptr [ebp - 0x1c] */
   8904     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501D59B: fadd dword ptr [ebp - 0x18] */
   8905     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501D59E: fst dword ptr [ebp - 0x40] */
   8906     edx = MEM32(ebp + (-0x40)); /* 0x2501D5A1: mov edx, dword ptr [ebp - 0x40] */
   8907     fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x2501D5A4: fld dword ptr [ebp - 0x3c] */
   8908     MEM32(ebp + (-0xA4)) = edx; /* 0x2501D5A7: mov dword ptr [ebp - 0xa4], edx */
   8909     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D5AD: fadd dword ptr [ebp - 0x20] */
   8910     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501D5B0: fstp dword ptr [ebp - 0x3c] */
   8911     edx = MEM32(ebp + (-0x3C)); /* 0x2501D5B3: mov edx, dword ptr [ebp - 0x3c] */
   8912     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501D5B6: fld dword ptr [ebp - 0x38] */
   8913     MEM32(ebp + (-0xA0)) = edx; /* 0x2501D5B9: mov dword ptr [ebp - 0xa0], edx */
   8914     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D5BF: fadd dword ptr [ebp - 0x1c] */
   8915     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501D5C2: fstp dword ptr [ebp - 0x38] */
   8916     edx = MEM32(ebp + (-0x38)); /* 0x2501D5C5: mov edx, dword ptr [ebp - 0x38] */
   8917     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501D5C8: fld dword ptr [ebp - 0x40] */
   8918     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D5CB: mov dword ptr [ebp - 0x9c], edx */
   8919     edx = MEM32(ebp + (-0xA0)); /* 0x2501D5D1: mov edx, dword ptr [ebp - 0xa0] */
   8920     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501D5D7: fsub dword ptr [0x2515276c] */
   8921     MEM32(ebp + (-0xA0)) = edx; /* 0x2501D5DD: mov dword ptr [ebp - 0xa0], edx */
   8922     edx = MEM32(ebp + (-0x9C)); /* 0x2501D5E3: mov edx, dword ptr [ebp - 0x9c] */
   8923     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501D5E9: fstp dword ptr [ebp - 0xa4] */
   8924     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D5EF: mov dword ptr [ebp - 0x9c], edx */
   8925     edx = MEM32(esi + 0x1E0); /* 0x2501D5F5: mov edx, dword ptr [esi + 0x1e0] */
   8926     ebx = MEM32(ebp + (-0xA4)); /* 0x2501D5FB: mov ebx, dword ptr [ebp - 0xa4] */
   8927     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   8928     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8929     edx = edx + edi; /* 0x2501D601: add edx, edi */
   8930     _flag_k = FK_ADD;
   8931     MEM32(edx) = ebx; /* 0x2501D603: mov dword ptr [edx], ebx */
   8932     ebx = MEM32(ebp + (-0xA0)); /* 0x2501D605: mov ebx, dword ptr [ebp - 0xa0] */
   8933     MEM32(edx + 0x4) = ebx; /* 0x2501D60B: mov dword ptr [edx + 4], ebx */
   8934     ebx = MEM32(ebp + (-0x9C)); /* 0x2501D60E: mov ebx, dword ptr [ebp - 0x9c] */
   8935     MEM32(edx + 0x8) = ebx; /* 0x2501D614: mov dword ptr [edx + 8], ebx */
   8936     edx = MEM32(ebp + (-0x10)); /* 0x2501D617: mov edx, dword ptr [ebp - 0x10] */
   8937     MEM32(ebp + (-0x44)) = edx; /* 0x2501D61A: mov dword ptr [ebp - 0x44], edx */
   8938     MEM32(ebp + (-0x4C)) = eax; /* 0x2501D61D: mov dword ptr [ebp - 0x4c], eax */
   8939     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x2501D620: fst dword ptr [ebp - 0x4c] */
   8940     edx = MEM32(ebp + (-0x4C)); /* 0x2501D623: mov edx, dword ptr [ebp - 0x4c] */
   8941     MEM32(ebp + (-0xB0)) = edx; /* 0x2501D626: mov dword ptr [ebp - 0xb0], edx */
   8942     MEM32(ebp + (-0x48)) = ecx; /* 0x2501D62C: mov dword ptr [ebp - 0x48], ecx */
   8943     fp_push(*(float*)&MEM32(ebp + (-0x48))); /* 0x2501D62F: fld dword ptr [ebp - 0x48] */
   8944     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D632: fadd dword ptr [ebp - 0x20] */
   8945     MEM32(ebp + (-0x68)) = eax; /* 0x2501D635: mov dword ptr [ebp - 0x68], eax */
   8946     MEM32(ebp + (-0x64)) = ecx; /* 0x2501D638: mov dword ptr [ebp - 0x64], ecx */
   8947     MEM32(ebp + (-0x74)) = eax; /* 0x2501D63B: mov dword ptr [ebp - 0x74], eax */
   8948     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x2501D63E: fstp dword ptr [ebp - 0x48] */
   8949     edx = MEM32(ebp + (-0x48)); /* 0x2501D641: mov edx, dword ptr [ebp - 0x48] */
   8950     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501D644: fld dword ptr [ebp - 0x44] */
   8951     MEM32(ebp + (-0xAC)) = edx; /* 0x2501D647: mov dword ptr [ebp - 0xac], edx */
   8952     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D64D: fadd dword ptr [ebp - 0x1c] */
   8953     eax = MEM32(ebp + (-0x10)); /* 0x2501D650: mov eax, dword ptr [ebp - 0x10] */
   8954     MEM32(ebp + (-0x70)) = ecx; /* 0x2501D653: mov dword ptr [ebp - 0x70], ecx */
   8955     MEM32(ebp + (-0x6C)) = eax; /* 0x2501D656: mov dword ptr [ebp - 0x6c], eax */
   8956     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501D659: fstp dword ptr [ebp - 0x44] */
   8957     edx = MEM32(ebp + (-0x44)); /* 0x2501D65C: mov edx, dword ptr [ebp - 0x44] */
   8958     fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x2501D65F: fld dword ptr [ebp - 0x4c] */
   8959     MEM32(ebp + (-0xA8)) = edx; /* 0x2501D662: mov dword ptr [ebp - 0xa8], edx */
   8960     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501D668: fadd dword ptr [0x2515276c] */
   8961     edx = MEM32(ebp + (-0xAC)); /* 0x2501D66E: mov edx, dword ptr [ebp - 0xac] */
   8962     MEM32(ebp + (-0xAC)) = edx; /* 0x2501D674: mov dword ptr [ebp - 0xac], edx */
   8963     edx = MEM32(ebp + (-0xA8)); /* 0x2501D67A: mov edx, dword ptr [ebp - 0xa8] */
   8964     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501D680: fstp dword ptr [ebp - 0xb0] */
   8965     ebx = MEM32(ebp + (-0xB0)); /* 0x2501D686: mov ebx, dword ptr [ebp - 0xb0] */
   8966     MEM32(ebp + (-0xA8)) = edx; /* 0x2501D68C: mov dword ptr [ebp - 0xa8], edx */
   8967     edx = MEM32(esi + 0x1E0); /* 0x2501D692: mov edx, dword ptr [esi + 0x1e0] */
   8968     fp_push(_st[0]); /* 0x2501D698: fld st(0) */
   8969     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501D69A: fst dword ptr [ebp - 0x68] */
   8970     edx = edx + edi + 0x18; /* 0x2501D69D: lea edx, [edx + edi + 0x18] */
   8971     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501D6A1: fld dword ptr [ebp - 0x64] */
   8972     MEM32(edx) = ebx; /* 0x2501D6A4: mov dword ptr [edx], ebx */
   8973     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D6A6: fadd dword ptr [ebp - 0x20] */
   8974     ebx = MEM32(ebp + (-0xAC)); /* 0x2501D6A9: mov ebx, dword ptr [ebp - 0xac] */
   8975     MEM32(edx + 0x4) = ebx; /* 0x2501D6AF: mov dword ptr [edx + 4], ebx */
   8976     ebx = MEM32(ebp + (-0xA8)); /* 0x2501D6B2: mov ebx, dword ptr [ebp - 0xa8] */
   8977     MEM32(edx + 0x8) = ebx; /* 0x2501D6B8: mov dword ptr [edx + 8], ebx */
   8978     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501D6BB: fstp dword ptr [ebp - 0x64] */
   8979     edx = MEM32(ebp + (-0x10)); /* 0x2501D6BE: mov edx, dword ptr [ebp - 0x10] */
   8980     MEM32(ebp + (-0x60)) = edx; /* 0x2501D6C1: mov dword ptr [ebp - 0x60], edx */
   8981     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501D6C4: fld dword ptr [ebp - 0x60] */
   8982     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D6C7: fadd dword ptr [ebp - 0x1c] */
   8983     edx = MEM32(ebp + (-0x68)); /* 0x2501D6CA: mov edx, dword ptr [ebp - 0x68] */
   8984     MEM32(ebp + (-0x8C)) = edx; /* 0x2501D6CD: mov dword ptr [ebp - 0x8c], edx */
   8985     edx = MEM32(ebp + (-0x64)); /* 0x2501D6D3: mov edx, dword ptr [ebp - 0x64] */
   8986     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501D6D6: fstp dword ptr [ebp - 0x60] */
   8987     MEM32(ebp + (-0x88)) = edx; /* 0x2501D6D9: mov dword ptr [ebp - 0x88], edx */
   8988     edx = MEM32(ebp + (-0x60)); /* 0x2501D6DF: mov edx, dword ptr [ebp - 0x60] */
   8989     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501D6E2: fstp dword ptr [ebp - 0x8c] */
   8990     ebx = MEM32(ebp + (-0x8C)); /* 0x2501D6E8: mov ebx, dword ptr [ebp - 0x8c] */
   8991     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501D6EE: fld dword ptr [ebp - 0x88] */
   8992     MEM32(ebp + (-0x84)) = edx; /* 0x2501D6F4: mov dword ptr [ebp - 0x84], edx */
   8993     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501D6FA: fsub dword ptr [0x2515276c] */
   8994     MEM32(ebp + (-0x84)) = edx; /* 0x2501D700: mov dword ptr [ebp - 0x84], edx */
   8995     edx = MEM32(esi + 0x1E0); /* 0x2501D706: mov edx, dword ptr [esi + 0x1e0] */
   8996     edx = edx + edi + 0x30; /* 0x2501D70C: lea edx, [edx + edi + 0x30] */
   8997     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501D710: fstp dword ptr [ebp - 0x88] */
   8998     MEM32(edx) = ebx; /* 0x2501D716: mov dword ptr [edx], ebx */
   8999     ebx = MEM32(ebp + (-0x88)); /* 0x2501D718: mov ebx, dword ptr [ebp - 0x88] */
   9000     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501D71E: fst dword ptr [ebp - 0x74] */
   9001     MEM32(edx + 0x4) = ebx; /* 0x2501D721: mov dword ptr [edx + 4], ebx */
   9002     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501D724: fld dword ptr [ebp - 0x70] */
   9003     ebx = MEM32(ebp + (-0x84)); /* 0x2501D727: mov ebx, dword ptr [ebp - 0x84] */
   9004     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501D72D: fadd dword ptr [ebp - 0x20] */
   9005     MEM32(edx + 0x8) = ebx; /* 0x2501D730: mov dword ptr [edx + 8], ebx */
   9006     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501D733: fstp dword ptr [ebp - 0x70] */
   9007     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501D736: fld dword ptr [ebp - 0x6c] */
   9008     _st[0] += (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501D739: fadd dword ptr [ebp - 0x1c] */
   9009     ecx = MEM32(ebp + (-0x74)); /* 0x2501D73C: mov ecx, dword ptr [ebp - 0x74] */
   9010     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501D73F: fstp dword ptr [ebp - 0x6c] */
   9011     edx = MEM32(ebp + (-0x70)); /* 0x2501D742: mov edx, dword ptr [ebp - 0x70] */
   9012     eax = MEM32(ebp + (-0x6C)); /* 0x2501D745: mov eax, dword ptr [ebp - 0x6c] */
   9013     MEM32(ebp + (-0x80)) = ecx; /* 0x2501D748: mov dword ptr [ebp - 0x80], ecx */
   9014     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501D74B: fstp dword ptr [ebp - 0x80] */
   9015     MEM32(ebp + (-0x7C)) = edx; /* 0x2501D74E: mov dword ptr [ebp - 0x7c], edx */
   9016     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501D751: fld dword ptr [ebp - 0x7c] */
   9017     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501D754: fadd dword ptr [0x2515276c] */
   9018     edx = MEM32(esi + 0x1E0); /* 0x2501D75A: mov edx, dword ptr [esi + 0x1e0] */
   9019     ecx = eax; /* 0x2501D760: mov ecx, eax */
   9020     MEM32(ebp + (-0x78)) = eax; /* 0x2501D762: mov dword ptr [ebp - 0x78], eax */
   9021     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501D765: fstp dword ptr [ebp - 0x7c] */
   9022     MEM32(ebp + (-0x78)) = ecx; /* 0x2501D768: mov dword ptr [ebp - 0x78], ecx */
   9023     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2501D76B: fld dword ptr [ebp - 0x18] */
   9024     ecx = MEM32(ebp + (-0x80)); /* 0x2501D76E: mov ecx, dword ptr [ebp - 0x80] */
   9025     _st[0] += (double)*(float*)ADDR(ebp + (-0x98)); /* 0x2501D771: fadd dword ptr [ebp - 0x98] */
   9026     eax = edx + edi + 0x48; /* 0x2501D777: lea eax, [edx + edi + 0x48] */
   9027     edx = MEM32(ebp + (-0x7C)); /* 0x2501D77B: mov edx, dword ptr [ebp - 0x7c] */
   9028     MEM32(eax) = ecx; /* 0x2501D77E: mov dword ptr [eax], ecx */
   9029     ecx = MEM32(ebp + (-0x78)); /* 0x2501D780: mov ecx, dword ptr [ebp - 0x78] */
   9030     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2501D783: fstp dword ptr [ebp - 0x18] */
   9031     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501D786: fld dword ptr [ebp - 0x14] */
   9032     MEM32(eax + 0x4) = edx; /* 0x2501D789: mov dword ptr [eax + 4], edx */
   9033     _st[0] += (double)*(float*)ADDR(ebp + (-0x94)); /* 0x2501D78C: fadd dword ptr [ebp - 0x94] */
   9034     MEM32(eax + 0x8) = ecx; /* 0x2501D792: mov dword ptr [eax + 8], ecx */
   9035     eax = MEM32(ebp + (-0x8)); /* 0x2501D795: mov eax, dword ptr [ebp - 8] */
   9036     ecx = MEM32(esi + 0x224); /* 0x2501D798: mov ecx, dword ptr [esi + 0x224] */
   9037     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D79E: fstp dword ptr [ebp - 0x14] */
   9038     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9039     eax = eax + 1; /* 0x2501D7A1: inc eax */
   9040     _flag_k = FK_INC;
   9041     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2501D7A2: fld dword ptr [ebp - 0x10] */
   9042     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
   9043     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9044     edi = edi + 0x60u; /* 0x2501D7A5: add edi, 0x60 */
   9045     _flag_k = FK_ADD;
   9046     /* cmp eax, ecx */ /* 0x2501D7A8: cmp eax, ecx */
   9047     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9049     _flag_k = FK_CMP;
   9050     _st[0] += (double)*(float*)ADDR(ebp + (-0x90)); /* 0x2501D7AA: fadd dword ptr [ebp - 0x90] */
   9051     MEM32(ebp + (-0x8)) = eax; /* 0x2501D7B0: mov dword ptr [ebp - 8], eax */
   9052     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2501D7B3: fstp dword ptr [ebp - 0x10] */
   9053     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501D7B6: fld dword ptr [ebp - 0x28] */
   9054     _st[0] += (double)*(float*)ADDR(ebp + (-0x4)); /* 0x2501D7B9: fadd dword ptr [ebp - 4] */
   9055     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2501D7BC: fstp dword ptr [ebp - 4] */
   9056     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2501D7BF: fld dword ptr [ebp - 0xc] */
   9057     _st[0] -= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501D7C2: fsub dword ptr [ebp - 0x28] */
   9058     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2501D7C5: fstp dword ptr [ebp - 0xc] */
   9059     RECOMP_BACKEDGE();
   9060     if (CMP_L(_flag_a, _flag_b)) goto L_2501D4E2; /* 0x2501D7C8: jl 0x2501d4e2 */
   9061 L_2501D7CE:
   9062     edi = POP32_VAL(esp); /* 0x2501D7CE: pop edi */
   9063     esi = POP32_VAL(esp); /* 0x2501D7CF: pop esi */
   9064     ebx = POP32_VAL(esp); /* 0x2501D7D0: pop ebx */
   9065     esp = ebp; /* 0x2501D7D1: mov esp, ebp */
   9066     ebp = POP32_VAL(esp); /* 0x2501D7D3: pop ebp */
   9067     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501D7D4: ret  */
   9068     RECOMP_REGS_OUT();
   9069 }
   9070 
   9071 void sub_2501D7E0(void) {
   9072     int _fpu_cmp = 0;
   9073     uint32_t _cf = 0;
   9074     int _df = 1;
   9075     uint32_t _flag_k = FK_NONE;
   9076     uint32_t _flag_a = 0, _flag_b = 0;
   9077     uint32_t _itail_tgt = 0;
   9078     RECOMP_REGS_LOCALS
   9079     RECOMP_ENTER(0x2501D7E0u);
   9080 
   9081 L_2501D7E0:
   9082     PUSH32(esp, ebp); /* 0x2501D7E0: push ebp */
   9083     ebp = esp; /* 0x2501D7E1: mov ebp, esp */
   9084     PUSH32(esp, esi); /* 0x2501D7E3: push esi */
   9085     esi = ecx; /* 0x2501D7E4: mov esi, ecx */
   9086     eax = MEM32(esi + 0x1DC); /* 0x2501D7E6: mov eax, dword ptr [esi + 0x1dc] */
   9087     PUSH32(esp, edi); /* 0x2501D7EC: push edi */
   9088     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9089     edi = 0; /* 0x2501D7ED: xor edi, edi */
   9090     _cf = 0;
   9091     _flag_k = FK_TEST;
   9092     /* test eax, eax */ /* 0x2501D7EF: test eax, eax */
   9093     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9094     _cf = 0;
   9095     _flag_k = FK_TEST;
   9096     if (TEST_Z(_flag_a, _flag_b)) goto L_2501D85B; /* 0x2501D7F1: jbe 0x2501d85b */
   9097 L_2501D7F3:
   9098     fp_push(*(float*)&MEM32(ebp + 0x14)); /* 0x2501D7F3: fld dword ptr [ebp + 0x14] */
   9099     PUSH32(esp, ebx); /* 0x2501D7F6: push ebx */
   9100     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501D7F7: fmul dword ptr [0x25151928] */
   9101     RECOMP_ICALL(0x251380E8u); /* 0x2501D7FD: call 0x251380e8 */ /* not lifted */
   9102     RECOMP_FLAGS_IN();
   9103     fp_push(*(float*)&MEM32(ebp + 0x10)); /* 0x2501D802: fld dword ptr [ebp + 0x10] */
   9104     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501D805: fmul dword ptr [0x25151928] */
   9105     SET_LO8(ebx, LO8(eax)); /* 0x2501D80B: mov bl, al */
   9106     RECOMP_ICALL(0x251380E8u); /* 0x2501D80D: call 0x251380e8 */ /* not lifted */
   9107     RECOMP_FLAGS_IN();
   9108     fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2501D812: fld dword ptr [ebp + 0xc] */
   9109     _st[0] *= (double)*(float*)ADDR(0x25151928); /* 0x2501D815: fmul dword ptr [0x25151928] */
   9110     MEM8(ebp + 0x17) = (uint8_t)(LO8(eax)); /* 0x2501D81B: mov byte ptr [ebp + 0x17], al */
   9111     RECOMP_ICALL(0x251380E8u); /* 0x2501D81E: call 0x251380e8 */ /* not lifted */
   9112     RECOMP_FLAGS_IN();
   9113     MEM8(ebp + 0x13) = (uint8_t)(LO8(eax)); /* 0x2501D823: mov byte ptr [ebp + 0x13], al */
   9114     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9115     ecx = 0; /* 0x2501D826: xor ecx, ecx */
   9116     _cf = 0;
   9117     _flag_k = FK_TEST;
   9118 L_2501D828:
   9119     eax = MEM32(esi + 0x1E0); /* 0x2501D828: mov eax, dword ptr [esi + 0x1e0] */
   9120     MEM8(eax + ecx + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2501D82E: mov byte ptr [eax + ecx + 0xc], bl */
   9121     edx = MEM32(esi + 0x1E0); /* 0x2501D832: mov edx, dword ptr [esi + 0x1e0] */
   9122     SET_LO8(eax, MEM8(ebp + 0x17)); /* 0x2501D838: mov al, byte ptr [ebp + 0x17] */
   9123     MEM8(edx + ecx + 0xD) = (uint8_t)(LO8(eax)); /* 0x2501D83B: mov byte ptr [edx + ecx + 0xd], al */
   9124     SET_LO8(eax, MEM8(ebp + 0x13)); /* 0x2501D83F: mov al, byte ptr [ebp + 0x13] */
   9125     edx = MEM32(esi + 0x1E0); /* 0x2501D842: mov edx, dword ptr [esi + 0x1e0] */
   9126     MEM8(edx + ecx + 0xE) = (uint8_t)(LO8(eax)); /* 0x2501D848: mov byte ptr [edx + ecx + 0xe], al */
   9127     eax = MEM32(esi + 0x1DC); /* 0x2501D84C: mov eax, dword ptr [esi + 0x1dc] */
   9128     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   9129     edi = edi + 1; /* 0x2501D852: inc edi */
   9130     _flag_k = FK_INC;
   9131     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
   9132     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9133     ecx = ecx + 0x18u; /* 0x2501D853: add ecx, 0x18 */
   9134     _flag_k = FK_ADD;
   9135     /* cmp edi, eax */ /* 0x2501D856: cmp edi, eax */
   9136     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9138     _flag_k = FK_CMP;
   9139     RECOMP_BACKEDGE();
   9140     if (CMP_B(_flag_a, _flag_b)) goto L_2501D828; /* 0x2501D858: jb 0x2501d828 */
   9141 L_2501D85A:
   9142     ebx = POP32_VAL(esp); /* 0x2501D85A: pop ebx */
   9143 L_2501D85B:
   9144     edi = POP32_VAL(esp); /* 0x2501D85B: pop edi */
   9145     esi = POP32_VAL(esp); /* 0x2501D85C: pop esi */
   9146     ebp = POP32_VAL(esp); /* 0x2501D85D: pop ebp */
   9147     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2501D85E: ret 0x10 */
   9148     RECOMP_REGS_OUT();
   9149 }
   9150 
   9151 void sub_2501D870(void) {
   9152     int _fpu_cmp = 0;
   9153     uint32_t _cf = 0;
   9154     int _df = 1;
   9155     uint32_t _flag_k = FK_NONE;
   9156     uint32_t _flag_a = 0, _flag_b = 0;
   9157     uint32_t _itail_tgt = 0;
   9158     RECOMP_REGS_LOCALS
   9159     RECOMP_ENTER(0x2501D870u);
   9160 
   9161 L_2501D870:
   9162     PUSH32(esp, ebp); /* 0x2501D870: push ebp */
   9163     ebp = esp; /* 0x2501D871: mov ebp, esp */
   9164     eax = MEM32(ebp + 0x8); /* 0x2501D873: mov eax, dword ptr [ebp + 8] */
   9165     MEM32(ecx + 0x234) = eax; /* 0x2501D876: mov dword ptr [ecx + 0x234], eax */
   9166     ebp = POP32_VAL(esp); /* 0x2501D87C: pop ebp */
   9167     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501D87D: ret 4 */
   9168     RECOMP_REGS_OUT();
   9169 }
   9170 
   9171 void sub_2501D880(void) {
   9172     int _fpu_cmp = 0;
   9173     uint32_t _cf = 0;
   9174     int _df = 1;
   9175     uint32_t _flag_k = FK_NONE;
   9176     uint32_t _flag_a = 0, _flag_b = 0;
   9177     uint32_t _itail_tgt = 0;
   9178     RECOMP_REGS_LOCALS
   9179     RECOMP_ENTER(0x2501D880u);
   9180 
   9181 L_2501D880:
   9182     PUSH32(esp, ebp); /* 0x2501D880: push ebp */
   9183     ebp = esp; /* 0x2501D881: mov ebp, esp */
   9184     eax = MEM32(ebp + 0x8); /* 0x2501D883: mov eax, dword ptr [ebp + 8] */
   9185     MEM32(ecx + 0x230) = eax; /* 0x2501D886: mov dword ptr [ecx + 0x230], eax */
   9186     ebp = POP32_VAL(esp); /* 0x2501D88C: pop ebp */
   9187     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501D88D: ret 4 */
   9188     RECOMP_REGS_OUT();
   9189 }
   9190 
   9191 void sub_2501D890(void) {
   9192     int _fpu_cmp = 0;
   9193     uint32_t _cf = 0;
   9194     int _df = 1;
   9195     uint32_t _flag_k = FK_NONE;
   9196     uint32_t _flag_a = 0, _flag_b = 0;
   9197     uint32_t _itail_tgt = 0;
   9198     RECOMP_REGS_LOCALS
   9199     RECOMP_ENTER(0x2501D890u);
   9200 
   9201 L_2501D890:
   9202     PUSH32(esp, esi); /* 0x2501D890: push esi */
   9203     esi = ecx; /* 0x2501D891: mov esi, ecx */
   9204     RECOMP_ICALL(0x250DC620u); /* 0x2501D893: call 0x250dc620 */ /* not lifted */
   9205     RECOMP_FLAGS_IN();
   9206     MEM8(esi + 0x22C) = (uint8_t)(1); /* 0x2501D898: mov byte ptr [esi + 0x22c], 1 */
   9207     esi = POP32_VAL(esp); /* 0x2501D89F: pop esi */
   9208     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501D8A0: ret  */
   9209     RECOMP_REGS_OUT();
   9210 }
   9211 
   9212 void sub_2501D8B0(void) {
   9213     int _fpu_cmp = 0;
   9214     uint32_t _cf = 0;
   9215     int _df = 1;
   9216     uint32_t _flag_k = FK_NONE;
   9217     uint32_t _flag_a = 0, _flag_b = 0;
   9218     uint32_t _itail_tgt = 0;
   9219     RECOMP_REGS_LOCALS
   9220     RECOMP_ENTER(0x2501D8B0u);
   9221 
   9222 L_2501D8B0:
   9223     PUSH32(esp, ebp); /* 0x2501D8B0: push ebp */
   9224     ebp = esp; /* 0x2501D8B1: mov ebp, esp */
   9225     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501D8B3: push -1 */
   9226     PUSH32(esp, 0x25145AFFu); /* 0x2501D8B5: push 0x25145aff */
   9227     eax = MEM32(FS_BASE + (0)); /* 0x2501D8BA: mov eax, dword ptr fs:[0] */
   9228     PUSH32(esp, eax); /* 0x2501D8C0: push eax */
   9229     MEM32(FS_BASE + (0)) = esp; /* 0x2501D8C1: mov dword ptr fs:[0], esp */
   9230     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x11Cu);
   9231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9232     esp = esp - 0x11Cu; /* 0x2501D8C8: sub esp, 0x11c */
   9233     _flag_k = FK_CMP;
   9234     eax = MEM32(ebp + 0x8); /* 0x2501D8CE: mov eax, dword ptr [ebp + 8] */
   9235     eax = MEM32(eax + 0xC); /* 0x2501D8D1: mov eax, dword ptr [eax + 0xc] */
   9236     PUSH32(esp, esi); /* 0x2501D8D4: push esi */
   9237     PUSH32(esp, edi); /* 0x2501D8D5: push edi */
   9238     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9239     edi = 0; /* 0x2501D8D6: xor edi, edi */
   9240     _cf = 0;
   9241     _flag_k = FK_TEST;
   9242     /* cmp eax, edi */ /* 0x2501D8D8: cmp eax, edi */
   9243     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9244     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9245     _flag_k = FK_CMP;
   9246     esi = ecx; /* 0x2501D8DA: mov esi, ecx */
   9247     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501E2E4; /* 0x2501D8DC: je 0x2501e2e4 */
   9248 L_2501D8E2:
   9249     /* cmp MEM32(esi + 0x1DC), edi */ /* 0x2501D8E2: cmp dword ptr [esi + 0x1dc], edi */
   9250     _flag_a = (uint32_t)(MEM32(esi + 0x1DC)); _flag_b = (uint32_t)(edi);
   9251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9252     _flag_k = FK_CMP;
   9253     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501E2E4; /* 0x2501D8E8: je 0x2501e2e4 */
   9254 L_2501D8EE:
   9255     SET_LO8(eax, MEM8(esi + 0x22C)); /* 0x2501D8EE: mov al, byte ptr [esi + 0x22c] */
   9256     /* test LO8(eax), LO8(eax) */ /* 0x2501D8F4: test al, al */
   9257     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9258     _cf = 0;
   9259     _flag_k = FK_NARROW(FK_TEST, 24);
   9260     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2E4; /* 0x2501D8F6: je 0x2501e2e4 */
   9261 L_2501D8FC:
   9262     ecx = MEM32(esi + 0x230); /* 0x2501D8FC: mov ecx, dword ptr [esi + 0x230] */
   9263     edx = MEM32(ecx); /* 0x2501D902: mov edx, dword ptr [ecx] */
   9264     PUSH32(esp, ebx); /* 0x2501D904: push ebx */
   9265     RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2501D905: call dword ptr [edx + 8] */
   9266     RECOMP_FLAGS_IN();
   9267     MEM32(ebp + (-0x4C)) = eax; /* 0x2501D908: mov dword ptr [ebp - 0x4c], eax */
   9268     eax = MEM32(esi); /* 0x2501D90B: mov eax, dword ptr [esi] */
   9269     ecx = esi; /* 0x2501D90D: mov ecx, esi */
   9270     RECOMP_ICALL(MEM32(eax + 0x64)); /* 0x2501D90F: call dword ptr [eax + 0x64] */
   9271     RECOMP_FLAGS_IN();
   9272     fp_push(*(float*)&MEM32(esi + 0x234)); /* 0x2501D912: fld dword ptr [esi + 0x234] */
   9273     eax = MEM32(esi + 0x224); /* 0x2501D918: mov eax, dword ptr [esi + 0x224] */
   9274     _st[0] = -_st[0]; /* 0x2501D91E: fchs  */
   9275     /* cmp eax, edi */ /* 0x2501D920: cmp eax, edi */
   9276     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9277     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9278     _flag_k = FK_CMP;
   9279     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501D922: fstp dword ptr [ebp - 0x34] */
   9280     ecx = eax + (-0x1); /* 0x2501D925: lea ecx, [eax - 1] */
   9281     MEM32(ebp + (-0x1C)) = ecx; /* 0x2501D928: mov dword ptr [ebp - 0x1c], ecx */
   9282     fp_push((double)(int32_t)MEM32(ebp + (-0x1C))); /* 0x2501D92B: fild dword ptr [ebp - 0x1c] */
   9283     edx = edi; /* 0x2501D92E: mov edx, edi */
   9284     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x2501D930: fld dword ptr [0x2515177c] */
   9285     MEM32(ebp + (-0x58)) = edx; /* 0x2501D936: mov dword ptr [ebp - 0x58], edx */
   9286     ecx = edi; /* 0x2501D939: mov ecx, edi */
   9287     _st[0] /= _st[1]; /* 0x2501D93B: fdiv st(1) */
   9288     MEM32(ebp + (-0x54)) = ecx; /* 0x2501D93D: mov dword ptr [ebp - 0x54], ecx */
   9289     edx = MEM32(ebp + (-0x34)); /* 0x2501D940: mov edx, dword ptr [ebp - 0x34] */
   9290     MEM32(ebp + (-0x50)) = edx; /* 0x2501D943: mov dword ptr [ebp - 0x50], edx */
   9291     MEM32(ebp + (-0x14)) = eax; /* 0x2501D946: mov dword ptr [ebp - 0x14], eax */
   9292     MEM32(ebp + (-0x3C)) = edi; /* 0x2501D949: mov dword ptr [ebp - 0x3c], edi */
   9293     MEM32(ebp + (-0x38)) = edi; /* 0x2501D94C: mov dword ptr [ebp - 0x38], edi */
   9294     MEM32(ebp + (-0x28)) = edi; /* 0x2501D94F: mov dword ptr [ebp - 0x28], edi */
   9295     MEM32(ebp + (-0x24)) = edi; /* 0x2501D952: mov dword ptr [ebp - 0x24], edi */
   9296     MEM32(ebp + (-0x20)) = edi; /* 0x2501D955: mov dword ptr [ebp - 0x20], edi */
   9297     MEM32(ebp + (-0x2C)) = edi; /* 0x2501D958: mov dword ptr [ebp - 0x2c], edi */
   9298     MEM32(ebp + (-0x30)) = 0x40000000u; /* 0x2501D95B: mov dword ptr [ebp - 0x30], 0x40000000 */
   9299     MEM32(ebp + (-0x18)) = edi; /* 0x2501D962: mov dword ptr [ebp - 0x18], edi */
   9300     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x2501D965: fstp dword ptr [ebp - 0x58] */
   9301     fp_push(*(float*)&MEM32(ebp + (-0x54))); /* 0x2501D968: fld dword ptr [ebp - 0x54] */
   9302     _st[0] /= _st[1]; /* 0x2501D96B: fdiv st(1) */
   9303     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x2501D96D: fstp dword ptr [ebp - 0x54] */
   9304     fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x2501D970: fld dword ptr [ebp - 0x50] */
   9305     _st[0] /= _st[1]; /* 0x2501D973: fdiv st(1) */
   9306     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x2501D975: fstp dword ptr [ebp - 0x50] */
   9307     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501D978: fstp st(0) */
   9308     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D97A: fild dword ptr [ebp - 0x14] */
   9309     _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x2501D97D: fdivr dword ptr [0x251517a4] */
   9310     _st[0] += _st[0]; /* 0x2501D983: fadd st(0), st(0) */
   9311     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2501D985: fstp dword ptr [ebp - 0x1c] */
   9312     if (CMP_LE(_flag_a, _flag_b)) goto L_2501E052; /* 0x2501D988: jle 0x2501e052 */
   9313 L_2501D98E:
   9314     MEM32(ebp + (-0xF0)) = edi; /* 0x2501D98E: mov dword ptr [ebp - 0xf0], edi */
   9315 L_2501D994:
   9316     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
   9317     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
   9318     RECOMP_FLAGS_IN();
   9319     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
   9320     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
   9321     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
   9322       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9323       else { eax = 0; edx = 0; } }
   9324     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
   9325     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
   9326     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
   9327     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
   9328     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
   9329     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
   9330     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
   9331     RECOMP_FLAGS_IN();
   9332     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
   9333     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
   9334     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
   9335       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9336       else { eax = 0; edx = 0; } }
   9337     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
   9338     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
   9339     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
   9340     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
   9341     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
   9342     eax = edx; /* 0x2501D9E1: mov eax, edx */
   9343     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
   9344     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
   9345     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
   9346     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
   9347     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
   9348     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
   9349     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
   9350     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
   9351     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
   9352     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
   9353     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
   9354     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
   9355     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
   9356     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
   9357     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
   9358     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
   9359     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
   9360     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
   9361     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
   9362     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
   9363     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
   9364     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
   9365     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
   9366     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
   9367     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
   9368     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
   9369     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
   9370     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
   9371     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
   9372     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
   9373     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
   9374     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
   9375     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
   9376     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
   9377     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
   9378     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
   9379     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
   9380     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
   9381     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
   9382     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
   9383     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
   9384     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
   9385     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
   9386     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
   9387     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
   9388     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
   9389     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
   9390     edx = eax; /* 0x2501DABE: mov edx, eax */
   9391     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
   9392     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
   9393     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
   9394     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
   9395     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
   9396     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
   9397     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
   9398     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
   9399     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
   9400     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
   9401     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
   9402     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
   9403     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
   9404     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
   9405     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
   9406     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
   9407     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
   9408     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
   9409     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
   9410     RECOMP_FLAGS_IN();
   9411     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
   9412     edx = edi; /* 0x2501DB23: mov edx, edi */
   9413     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   9414     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9415     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
   9416     _flag_k = FK_ADD;
   9417     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
   9418     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
   9419     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
   9420     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
   9421     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
   9422     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
   9423     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
   9424     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
   9425     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
   9426     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
   9427     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
   9428     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
   9429     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
   9430     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
   9431     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
   9432     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
   9433     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
   9434     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
   9435     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
   9436     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
   9437     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
   9438     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
   9439     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
   9440     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
   9441     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
   9442     ecx = edx; /* 0x2501DB96: mov ecx, edx */
   9443     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
   9444     edx = eax; /* 0x2501DB9E: mov edx, eax */
   9445     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
   9446     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
   9447     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
   9448     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
   9449     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
   9450     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
   9451     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
   9452     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
   9453     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
   9454     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
   9455     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
   9456     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
   9457     RECOMP_FLAGS_IN();
   9458     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
   9459     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
   9460     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
   9461     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
   9462     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
   9463     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
   9464     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
   9465     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
   9466     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
   9467     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
   9468     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
   9469     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
   9470     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
   9471     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
   9472     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
   9473     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
   9474     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
   9475     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
   9476     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
   9477     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
   9478     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
   9479     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
   9480     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
   9481     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
   9482     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
   9483     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
   9484     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
   9485     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
   9486     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
   9487     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
   9488     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
   9489     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
   9490     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
   9491     eax = edx; /* 0x2501DC7E: mov eax, edx */
   9492     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
   9493     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
   9494     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
   9495     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
   9496     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
   9497     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
   9498     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
   9499     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
   9500     RECOMP_FLAGS_IN();
   9501     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
   9502     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
   9503     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
   9504     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
   9505     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
   9506     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
   9507     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
   9508     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
   9509     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
   9510     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
   9511     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
   9512     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
   9513     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
   9514     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
   9515     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
   9516     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
   9517     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
   9518     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
   9519     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
   9520     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
   9521     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
   9522     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
   9523     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
   9524     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
   9525     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
   9526     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
   9527     eax = edx; /* 0x2501DD22: mov eax, edx */
   9528     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
   9529     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
   9530     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
   9531     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
   9532     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
   9533     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
   9534     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
   9535     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
   9536     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
   9537     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
   9538     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
   9539     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
   9540     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
   9541     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
   9542     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
   9543     RECOMP_FLAGS_IN();
   9544     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
   9545     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   9546     _cf = 0;
   9547     _flag_k = FK_TEST;
   9548     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
   9549     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
   9550     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
   9551     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
   9552     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
   9553     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
   9554     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
   9555     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
   9556     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
   9557 L_2501DD98:
   9558     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
   9559     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
   9560     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   9561     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
   9562     _flag_k = FK_DEC;
   9563     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
   9564     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9566     _flag_k = FK_CMP;
   9567     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
   9568 L_2501DDAA:
   9569     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
   9570     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
   9571     RECOMP_FLAGS_IN();
   9572     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
   9573     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
   9574     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
   9575       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9576       else { eax = 0; edx = 0; } }
   9577     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
   9578     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
   9579     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9580     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
   9581     _flag_k = FK_NARROW(FK_ADD, 24);
   9582     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
   9583     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
   9584     RECOMP_FLAGS_IN();
   9585     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
   9586     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
   9587     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
   9588       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9589       else { eax = 0; edx = 0; } }
   9590     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
   9591     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
   9592     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9593     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
   9594     _flag_k = FK_NARROW(FK_ADD, 24);
   9595     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
   9596     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
   9597     RECOMP_FLAGS_IN();
   9598     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
   9599     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
   9600     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
   9601       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9602       else { eax = 0; edx = 0; } }
   9603     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
   9604     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
   9605     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9606     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
   9607     _flag_k = FK_NARROW(FK_ADD, 24);
   9608     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
   9609     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
   9610     RECOMP_FLAGS_IN();
   9611     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
   9612     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
   9613     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
   9614       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
   9615       else { eax = 0; edx = 0; } }
   9616     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
   9617     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
   9618     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9619     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
   9620     _flag_k = FK_NARROW(FK_ADD, 24);
   9621     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
   9622     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
   9623     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
   9624     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
   9625     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   9626     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9627     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
   9628     _flag_k = FK_ADD;
   9629     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
   9630     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9631     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9632     _flag_k = FK_NARROW(FK_CMP, 24);
   9633     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
   9634     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
   9635 L_2501DE23:
   9636     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
   9637     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
   9638 L_2501DE28:
   9639     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
   9640     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
   9641     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9642     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9643     _flag_k = FK_NARROW(FK_CMP, 24);
   9644     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
   9645 L_2501DE2F:
   9646     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
   9647     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
   9648 L_2501DE34:
   9649     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
   9650     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
   9651     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   9652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9653     _flag_k = FK_NARROW(FK_CMP, 24);
   9654     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
   9655 L_2501DE3B:
   9656     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
   9657     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
   9658 L_2501DE40:
   9659     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
   9660     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
   9661     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   9662     _cf = 0;
   9663     _flag_k = FK_TEST;
   9664     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
   9665 L_2501DE4A:
   9666     edx = 4; /* 0x2501DE4A: mov edx, 4 */
   9667     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
   9668 L_2501DE51:
   9669     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
   9670 L_2501DE54:
   9671     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
   9672     eax = edx; /* 0x2501DE56: mov eax, edx */
   9673     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
   9674     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
   9675     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
   9676     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9677     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
   9678     _flag_k = FK_NARROW(FK_CMP, 24);
   9679     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
   9680     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   9681     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
   9682     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
   9683     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9684     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
   9685     _flag_k = FK_ADD;
   9686     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
   9687     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
   9688     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   9689     edx = edx + 1; /* 0x2501DE72: inc edx */
   9690     _flag_k = FK_INC;
   9691     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
   9692     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
   9693     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
   9694     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
   9695     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9696     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9697     _flag_k = FK_CMP;
   9698     RECOMP_BACKEDGE();
   9699     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
   9700 L_2501DE84:
   9701     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
   9702     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9703     eax = eax - 1; /* 0x2501DE8A: dec eax */
   9704     _flag_k = FK_DEC;
   9705     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
   9706     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
   9707 L_2501DE94:
   9708     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
   9709     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
   9710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9711     _cf = 0;
   9712     _flag_k = FK_TEST;
   9713 L_2501DE99:
   9714     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
   9715 L_2501DE9B:
   9716     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
   9717     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
   9718     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
   9719     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
   9720     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
   9721     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9722     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
   9723     _flag_k = FK_ADD;
   9724     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
   9725     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
   9726     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
   9727     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
   9728     fp_pop();
   9729     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
   9730     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
   9731     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
   9732     _cf = 0;
   9733     _flag_k = FK_NARROW(FK_TEST, 24);
   9734     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
   9735 L_2501DEC6:
   9736     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
   9737     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
   9738     fp_pop();
   9739     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
   9740     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
   9741     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
   9742     _cf = 0;
   9743     _flag_k = FK_NARROW(FK_TEST, 24);
   9744     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
   9745 L_2501DED6:
   9746     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
   9747     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
   9748     fp_pop();
   9749     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
   9750     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
   9751     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
   9752     _cf = 0;
   9753     _flag_k = FK_NARROW(FK_TEST, 24);
   9754     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
   9755 L_2501DEE6:
   9756     eax = edx; /* 0x2501DEE6: mov eax, edx */
   9757     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
   9758     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
   9759     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9760     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
   9761     _flag_k = FK_ADD;
   9762     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
   9763     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
   9764     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
   9765     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
   9766     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
   9767     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
   9768     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
   9769     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
   9770     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
   9771 L_2501DF0C:
   9772     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
   9773     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   9774     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9775     eax = eax + edi; /* 0x2501DF12: add eax, edi */
   9776     _flag_k = FK_ADD;
   9777     ecx = eax; /* 0x2501DF14: mov ecx, eax */
   9778     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
   9779     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
   9780     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
   9781     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
   9782     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
   9783     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
   9784     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
   9785     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
   9786     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
   9787     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
   9788     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
   9789     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
   9790     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
   9791     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
   9792     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
   9793     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
   9794     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
   9795     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
   9796     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
   9797     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
   9798     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
   9799     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
   9800     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
   9801     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
   9802     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
   9803     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
   9804     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
   9805     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
   9806     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
   9807     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
   9808     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
   9809     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
   9810     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
   9811     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
   9812     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
   9813     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
   9814     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
   9815     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
   9816     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
   9817     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
   9818     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
   9819     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
   9820     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
   9821     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
   9822     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
   9823     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
   9824     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
   9825     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
   9826     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
   9827     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
   9828     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
   9829     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
   9830     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
   9831     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
   9832     eax = edx; /* 0x2501DFBA: mov eax, edx */
   9833     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
   9834     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
   9835     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
   9836     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
   9837     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
   9838     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
   9839     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9840     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9841     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
   9842     _flag_k = FK_ADD;
   9843     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
   9844     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
   9845     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
   9846     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
   9847     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
   9848     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
   9849     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
   9850     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
   9851     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
   9852     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
   9853 L_2501DFFA:
   9854     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
   9855     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
   9856     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9857     eax = eax - 1; /* 0x2501E000: dec eax */
   9858     _flag_k = FK_DEC;
   9859     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   9860     edx = edx - 1; /* 0x2501E001: dec edx */
   9861     _flag_k = FK_DEC;
   9862     /* test eax, eax */ /* 0x2501E002: test eax, eax */
   9863     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   9864     _cf = 0;
   9865     _flag_k = FK_TEST;
   9866     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
   9867     RECOMP_BACKEDGE();
   9868     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
   9869 L_2501E00D:
   9870     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
   9871     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
   9872     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
   9873     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
   9874     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9875     eax = eax + 1; /* 0x2501E01C: inc eax */
   9876     _flag_k = FK_INC;
   9877     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
   9878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9879     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
   9880     _flag_k = FK_ADD;
   9881     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
   9882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   9883     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9884     _flag_k = FK_CMP;
   9885     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
   9886     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
   9887     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
   9888     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
   9889     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
   9890     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
   9891     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
   9892     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
   9893     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
   9894     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
   9895     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
   9896     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
   9897     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
   9898     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
   9899     RECOMP_BACKEDGE();
   9900     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
   9901 L_2501E052:
   9902     PUSH32(esp, 0); /* 0x2501E052: push 0 */
   9903     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
   9904     RECOMP_FLAGS_IN();
   9905     ecx = eax; /* 0x2501E059: mov ecx, eax */
   9906     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
   9907     RECOMP_FLAGS_IN();
   9908     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
   9909     PUSH32(esp, eax); /* 0x2501E063: push eax */
   9910     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
   9911     RECOMP_FLAGS_IN();
   9912     ecx = esi; /* 0x2501E069: mov ecx, esi */
   9913     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
   9914     RECOMP_FLAGS_IN();
   9915     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
   9916     PUSH32(esp, eax); /* 0x2501E076: push eax */
   9917     PUSH32(esp, 1); /* 0x2501E077: push 1 */
   9918     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
   9919     RECOMP_FLAGS_IN();
   9920     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
   9921     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
   9922     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
   9923     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
   9924     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
   9925     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
   9926     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
   9927     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
   9928     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
   9929     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
   9930     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
   9931     RECOMP_FLAGS_IN();
   9932     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
   9933     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
   9934     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
   9935     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
   9936     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
   9937     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
   9938     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
   9939     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
   9940     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
   9941     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
   9942     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
   9943     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
   9944     RECOMP_FLAGS_IN();
   9945     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
   9946     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
   9947     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
   9948     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
   9949     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
   9950     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
   9951     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
   9952     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
   9953     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
   9954     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
   9955     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
   9956     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
   9957     RECOMP_FLAGS_IN();
   9958     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
   9959     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
   9960     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
   9961     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
   9962     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
   9963     PUSH32(esp, 0); /* 0x2501E139: push 0 */
   9964     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
   9965     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
   9966     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
   9967     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
   9968     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
   9969     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
   9970     RECOMP_FLAGS_IN();
   9971     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
   9972     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
   9973     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
   9974     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
   9975     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
   9976     PUSH32(esp, 2); /* 0x2501E179: push 2 */
   9977     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
   9978     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
   9979     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
   9980     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
   9981     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
   9982     RECOMP_FLAGS_IN();
   9983     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
   9984     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
   9985     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
   9986     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
   9987     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
   9988     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
   9989     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
   9990     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
   9991     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
   9992     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
   9993     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
   9994     RECOMP_FLAGS_IN();
   9995     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
   9996     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
   9997     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
   9998     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
   9999     RECOMP_FLAGS_IN();
  10000     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  10001     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  10002     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  10003     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  10004     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  10005     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  10006     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  10007     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  10008     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  10009     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  10010     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  10011     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  10012     RECOMP_FLAGS_IN();
  10013     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  10014     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  10015     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10016     _cf = 0;
  10017     _flag_k = FK_NARROW(FK_TEST, 24);
  10018     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  10019     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  10020 L_2501E21A:
  10021     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  10022     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  10023     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  10024     PUSH32(esp, edi); /* 0x2501E228: push edi */
  10025     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  10026     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  10027     RECOMP_FLAGS_IN();
  10028 L_2501E230:
  10029     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  10030     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  10031     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10032     _cf = 0;
  10033     _flag_k = FK_NARROW(FK_TEST, 24);
  10034     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  10035     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  10036 L_2501E23E:
  10037     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  10038     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  10039     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  10040     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  10041     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  10042     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  10043     RECOMP_FLAGS_IN();
  10044 L_2501E253:
  10045     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  10046     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  10047     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10048     _cf = 0;
  10049     _flag_k = FK_NARROW(FK_TEST, 24);
  10050     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  10051     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  10052     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  10053 L_2501E262:
  10054     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  10055     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  10056     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  10057     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  10058     PUSH32(esp, edx); /* 0x2501E276: push edx */
  10059     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  10060     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  10061     RECOMP_FLAGS_IN();
  10062 L_2501E281:
  10063     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  10064     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  10065     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10066     _cf = 0;
  10067     _flag_k = FK_NARROW(FK_TEST, 24);
  10068     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  10069     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  10070 L_2501E28F:
  10071     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  10072     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  10073     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  10074     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  10075     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  10076     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  10077     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  10078     RECOMP_FLAGS_IN();
  10079 L_2501E2A7:
  10080     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  10081     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  10082     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10083     _cf = 0;
  10084     _flag_k = FK_NARROW(FK_TEST, 24);
  10085     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  10086     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  10087 L_2501E2B5:
  10088     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  10089     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  10090     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  10091     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  10092     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  10093     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  10094     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  10095     RECOMP_FLAGS_IN();
  10096 L_2501E2CD:
  10097     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  10098     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  10099     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  10100     RECOMP_FLAGS_IN();
  10101     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  10102     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  10103     RECOMP_FLAGS_IN();
  10104 L_2501E2E4:
  10105     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  10106     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  10107     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  10108     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  10109     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  10110     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  10111     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  10112     RECOMP_REGS_OUT();
  10113 }
  10114 
  10115 void sub_2501D994(void) {
  10116     int _fpu_cmp = 0;
  10117     uint32_t _cf = 0;
  10118     int _df = 1;
  10119     uint32_t _flag_k = FK_NONE;
  10120     uint32_t _flag_a = 0, _flag_b = 0;
  10121     uint32_t _itail_tgt = 0;
  10122     RECOMP_REGS_LOCALS
  10123     RECOMP_ENTER(0x2501D994u);
  10124 
  10125 L_2501D994:
  10126     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  10127     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  10128     RECOMP_FLAGS_IN();
  10129     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  10130     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  10131     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  10132       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10133       else { eax = 0; edx = 0; } }
  10134     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  10135     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  10136     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  10137     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  10138     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  10139     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  10140     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  10141     RECOMP_FLAGS_IN();
  10142     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  10143     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  10144     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  10145       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10146       else { eax = 0; edx = 0; } }
  10147     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  10148     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  10149     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  10150     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  10151     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  10152     eax = edx; /* 0x2501D9E1: mov eax, edx */
  10153     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  10154     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  10155     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  10156     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  10157     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  10158     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  10159     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  10160     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  10161     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  10162     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  10163     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  10164     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  10165     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  10166     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  10167     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  10168     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  10169     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  10170     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  10171     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  10172     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  10173     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  10174     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  10175     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  10176     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  10177     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  10178     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  10179     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  10180     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  10181     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  10182     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  10183     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  10184     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  10185     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  10186     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  10187     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  10188     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  10189     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  10190     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  10191     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  10192     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  10193     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  10194     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  10195     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  10196     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  10197     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  10198     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  10199     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  10200     edx = eax; /* 0x2501DABE: mov edx, eax */
  10201     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  10202     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  10203     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  10204     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  10205     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  10206     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  10207     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  10208     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  10209     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  10210     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  10211     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  10212     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  10213     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  10214     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  10215     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  10216     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  10217     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  10218     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  10219     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  10220     RECOMP_FLAGS_IN();
  10221     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  10222     edx = edi; /* 0x2501DB23: mov edx, edi */
  10223     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  10224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10225     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  10226     _flag_k = FK_ADD;
  10227     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  10228     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  10229     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  10230     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  10231     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  10232     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  10233     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  10234     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  10235     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  10236     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  10237     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  10238     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  10239     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  10240     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  10241     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  10242     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  10243     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  10244     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  10245     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  10246     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  10247     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  10248     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  10249     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  10250     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  10251     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  10252     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  10253     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  10254     edx = eax; /* 0x2501DB9E: mov edx, eax */
  10255     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  10256     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  10257     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  10258     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  10259     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  10260     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  10261     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  10262     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  10263     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  10264     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  10265     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  10266     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  10267     RECOMP_FLAGS_IN();
  10268     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  10269     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  10270     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  10271     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  10272     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  10273     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  10274     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  10275     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  10276     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  10277     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  10278     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  10279     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  10280     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  10281     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  10282     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  10283     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  10284     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  10285     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  10286     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  10287     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  10288     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  10289     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  10290     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  10291     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  10292     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  10293     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  10294     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  10295     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  10296     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  10297     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  10298     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  10299     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  10300     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  10301     eax = edx; /* 0x2501DC7E: mov eax, edx */
  10302     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  10303     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  10304     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  10305     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  10306     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  10307     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  10308     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  10309     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  10310     RECOMP_FLAGS_IN();
  10311     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  10312     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  10313     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  10314     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  10315     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  10316     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  10317     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  10318     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  10319     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  10320     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  10321     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  10322     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  10323     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  10324     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  10325     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  10326     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  10327     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  10328     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  10329     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  10330     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  10331     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  10332     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  10333     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  10334     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  10335     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  10336     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  10337     eax = edx; /* 0x2501DD22: mov eax, edx */
  10338     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  10339     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  10340     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  10341     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  10342     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  10343     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  10344     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  10345     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  10346     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  10347     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  10348     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  10349     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  10350     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  10351     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  10352     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  10353     RECOMP_FLAGS_IN();
  10354     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  10355     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  10356     _cf = 0;
  10357     _flag_k = FK_TEST;
  10358     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  10359     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  10360     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  10361     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  10362     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  10363     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  10364     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  10365     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  10366     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  10367 L_2501DD98:
  10368     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  10369     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  10370     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  10371     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  10372     _flag_k = FK_DEC;
  10373     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  10374     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10375     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10376     _flag_k = FK_CMP;
  10377     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  10378 L_2501DDAA:
  10379     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  10380     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  10381     RECOMP_FLAGS_IN();
  10382     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  10383     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  10384     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  10385       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10386       else { eax = 0; edx = 0; } }
  10387     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  10388     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  10389     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10390     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  10391     _flag_k = FK_NARROW(FK_ADD, 24);
  10392     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  10393     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  10394     RECOMP_FLAGS_IN();
  10395     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  10396     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  10397     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  10398       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10399       else { eax = 0; edx = 0; } }
  10400     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  10401     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  10402     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10403     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  10404     _flag_k = FK_NARROW(FK_ADD, 24);
  10405     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  10406     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  10407     RECOMP_FLAGS_IN();
  10408     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  10409     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  10410     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  10411       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10412       else { eax = 0; edx = 0; } }
  10413     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  10414     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  10415     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10416     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  10417     _flag_k = FK_NARROW(FK_ADD, 24);
  10418     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  10419     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  10420     RECOMP_FLAGS_IN();
  10421     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  10422     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  10423     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  10424       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10425       else { eax = 0; edx = 0; } }
  10426     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  10427     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  10428     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10429     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  10430     _flag_k = FK_NARROW(FK_ADD, 24);
  10431     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  10432     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  10433     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  10434     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  10435     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  10436     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10437     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  10438     _flag_k = FK_ADD;
  10439     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  10440     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10442     _flag_k = FK_NARROW(FK_CMP, 24);
  10443     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  10444     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  10445 L_2501DE23:
  10446     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  10447     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  10448 L_2501DE28:
  10449     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  10450     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  10451     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10453     _flag_k = FK_NARROW(FK_CMP, 24);
  10454     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  10455 L_2501DE2F:
  10456     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  10457     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  10458 L_2501DE34:
  10459     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  10460     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  10461     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  10462     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10463     _flag_k = FK_NARROW(FK_CMP, 24);
  10464     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  10465 L_2501DE3B:
  10466     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  10467     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  10468 L_2501DE40:
  10469     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  10470     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  10471     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  10472     _cf = 0;
  10473     _flag_k = FK_TEST;
  10474     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  10475 L_2501DE4A:
  10476     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  10477     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  10478 L_2501DE51:
  10479     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  10480 L_2501DE54:
  10481     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  10482     eax = edx; /* 0x2501DE56: mov eax, edx */
  10483     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  10484     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  10485     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  10486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10487     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  10488     _flag_k = FK_NARROW(FK_CMP, 24);
  10489     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  10490     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  10491     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  10492     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  10493     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10494     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  10495     _flag_k = FK_ADD;
  10496     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  10497     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  10498     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  10499     edx = edx + 1; /* 0x2501DE72: inc edx */
  10500     _flag_k = FK_INC;
  10501     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  10502     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  10503     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  10504     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  10505     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10507     _flag_k = FK_CMP;
  10508     RECOMP_BACKEDGE();
  10509     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  10510 L_2501DE84:
  10511     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  10512     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10513     eax = eax - 1; /* 0x2501DE8A: dec eax */
  10514     _flag_k = FK_DEC;
  10515     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  10516     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  10517 L_2501DE94:
  10518     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  10519     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  10520     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10521     _cf = 0;
  10522     _flag_k = FK_TEST;
  10523 L_2501DE99:
  10524     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  10525 L_2501DE9B:
  10526     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  10527     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  10528     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  10529     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  10530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  10531     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10532     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  10533     _flag_k = FK_ADD;
  10534     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  10535     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  10536     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  10537     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  10538     fp_pop();
  10539     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  10540     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  10541     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  10542     _cf = 0;
  10543     _flag_k = FK_NARROW(FK_TEST, 24);
  10544     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  10545 L_2501DEC6:
  10546     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  10547     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  10548     fp_pop();
  10549     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  10550     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  10551     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  10552     _cf = 0;
  10553     _flag_k = FK_NARROW(FK_TEST, 24);
  10554     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  10555 L_2501DED6:
  10556     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  10557     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  10558     fp_pop();
  10559     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  10560     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  10561     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  10562     _cf = 0;
  10563     _flag_k = FK_NARROW(FK_TEST, 24);
  10564     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  10565 L_2501DEE6:
  10566     eax = edx; /* 0x2501DEE6: mov eax, edx */
  10567     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  10568     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  10569     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10570     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  10571     _flag_k = FK_ADD;
  10572     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  10573     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  10574     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  10575     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  10576     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  10577     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  10578     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  10579     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  10580     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  10581 L_2501DF0C:
  10582     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  10583     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  10584     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10585     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  10586     _flag_k = FK_ADD;
  10587     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  10588     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  10589     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  10590     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  10591     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  10592     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  10593     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  10594     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  10595     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  10596     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  10597     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  10598     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  10599     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  10600     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  10601     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  10602     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  10603     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  10604     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  10605     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  10606     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  10607     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  10608     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  10609     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  10610     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  10611     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  10612     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  10613     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  10614     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  10615     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  10616     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  10617     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  10618     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  10619     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  10620     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  10621     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  10622     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  10623     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  10624     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  10625     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  10626     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  10627     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  10628     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  10629     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  10630     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  10631     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  10632     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  10633     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  10634     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  10635     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  10636     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  10637     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  10638     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  10639     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  10640     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  10641     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  10642     eax = edx; /* 0x2501DFBA: mov eax, edx */
  10643     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  10644     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  10645     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  10646     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  10647     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  10648     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  10649     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10650     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10651     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  10652     _flag_k = FK_ADD;
  10653     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  10654     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  10655     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  10656     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  10657     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  10658     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  10659     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  10660     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  10661     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  10662     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  10663 L_2501DFFA:
  10664     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  10665     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  10666     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10667     eax = eax - 1; /* 0x2501E000: dec eax */
  10668     _flag_k = FK_DEC;
  10669     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  10670     edx = edx - 1; /* 0x2501E001: dec edx */
  10671     _flag_k = FK_DEC;
  10672     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  10673     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  10674     _cf = 0;
  10675     _flag_k = FK_TEST;
  10676     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  10677     RECOMP_BACKEDGE();
  10678     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  10679 L_2501E00D:
  10680     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  10681     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  10682     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  10683     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  10684     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  10685     eax = eax + 1; /* 0x2501E01C: inc eax */
  10686     _flag_k = FK_INC;
  10687     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  10688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10689     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  10690     _flag_k = FK_ADD;
  10691     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  10692     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  10693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10694     _flag_k = FK_CMP;
  10695     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  10696     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  10697     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  10698     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  10699     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  10700     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  10701     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  10702     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  10703     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  10704     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  10705     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  10706     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  10707     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  10708     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  10709     RECOMP_BACKEDGE();
  10710     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  10711 L_2501E052:
  10712     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  10713     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  10714     RECOMP_FLAGS_IN();
  10715     ecx = eax; /* 0x2501E059: mov ecx, eax */
  10716     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  10717     RECOMP_FLAGS_IN();
  10718     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  10719     PUSH32(esp, eax); /* 0x2501E063: push eax */
  10720     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  10721     RECOMP_FLAGS_IN();
  10722     ecx = esi; /* 0x2501E069: mov ecx, esi */
  10723     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  10724     RECOMP_FLAGS_IN();
  10725     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  10726     PUSH32(esp, eax); /* 0x2501E076: push eax */
  10727     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  10728     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  10729     RECOMP_FLAGS_IN();
  10730     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  10731     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  10732     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  10733     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  10734     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  10735     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  10736     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  10737     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  10738     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  10739     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  10740     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  10741     RECOMP_FLAGS_IN();
  10742     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  10743     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  10744     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  10745     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  10746     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  10747     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  10748     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  10749     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  10750     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  10751     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  10752     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  10753     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  10754     RECOMP_FLAGS_IN();
  10755     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  10756     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  10757     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  10758     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  10759     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  10760     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  10761     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  10762     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  10763     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  10764     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  10765     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  10766     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  10767     RECOMP_FLAGS_IN();
  10768     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  10769     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  10770     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  10771     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  10772     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  10773     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  10774     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  10775     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  10776     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  10777     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  10778     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  10779     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  10780     RECOMP_FLAGS_IN();
  10781     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  10782     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  10783     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  10784     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  10785     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  10786     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  10787     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  10788     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  10789     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  10790     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  10791     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  10792     RECOMP_FLAGS_IN();
  10793     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  10794     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  10795     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  10796     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  10797     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  10798     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  10799     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  10800     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  10801     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  10802     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  10803     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  10804     RECOMP_FLAGS_IN();
  10805     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  10806     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  10807     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  10808     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  10809     RECOMP_FLAGS_IN();
  10810     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  10811     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  10812     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  10813     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  10814     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  10815     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  10816     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  10817     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  10818     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  10819     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  10820     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  10821     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  10822     RECOMP_FLAGS_IN();
  10823     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  10824     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  10825     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10826     _cf = 0;
  10827     _flag_k = FK_NARROW(FK_TEST, 24);
  10828     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  10829     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  10830 L_2501E21A:
  10831     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  10832     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  10833     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  10834     PUSH32(esp, edi); /* 0x2501E228: push edi */
  10835     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  10836     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  10837     RECOMP_FLAGS_IN();
  10838 L_2501E230:
  10839     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  10840     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  10841     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10842     _cf = 0;
  10843     _flag_k = FK_NARROW(FK_TEST, 24);
  10844     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  10845     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  10846 L_2501E23E:
  10847     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  10848     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  10849     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  10850     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  10851     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  10852     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  10853     RECOMP_FLAGS_IN();
  10854 L_2501E253:
  10855     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  10856     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  10857     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10858     _cf = 0;
  10859     _flag_k = FK_NARROW(FK_TEST, 24);
  10860     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  10861     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  10862     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  10863 L_2501E262:
  10864     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  10865     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  10866     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  10867     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  10868     PUSH32(esp, edx); /* 0x2501E276: push edx */
  10869     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  10870     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  10871     RECOMP_FLAGS_IN();
  10872 L_2501E281:
  10873     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  10874     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  10875     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10876     _cf = 0;
  10877     _flag_k = FK_NARROW(FK_TEST, 24);
  10878     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  10879     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  10880 L_2501E28F:
  10881     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  10882     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  10883     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  10884     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  10885     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  10886     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  10887     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  10888     RECOMP_FLAGS_IN();
  10889 L_2501E2A7:
  10890     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  10891     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  10892     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10893     _cf = 0;
  10894     _flag_k = FK_NARROW(FK_TEST, 24);
  10895     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  10896     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  10897 L_2501E2B5:
  10898     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  10899     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  10900     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  10901     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  10902     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  10903     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  10904     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  10905     RECOMP_FLAGS_IN();
  10906 L_2501E2CD:
  10907     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  10908     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  10909     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  10910     RECOMP_FLAGS_IN();
  10911     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  10912     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  10913     RECOMP_FLAGS_IN();
  10914     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  10915     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  10916     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  10917     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  10918     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  10919     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  10920     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  10921     RECOMP_REGS_OUT();
  10922 }
  10923 
  10924 void sub_2501DE51(void) {
  10925     int _fpu_cmp = 0;
  10926     uint32_t _cf = 0;
  10927     int _df = 1;
  10928     uint32_t _flag_k = FK_NONE;
  10929     uint32_t _flag_a = 0, _flag_b = 0;
  10930     uint32_t _itail_tgt = 0;
  10931     RECOMP_REGS_LOCALS
  10932     RECOMP_ENTER(0x2501DE51u);
  10933 
  10934     goto L_2501DE51;
  10935 L_2501D994:
  10936     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  10937     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  10938     RECOMP_FLAGS_IN();
  10939     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  10940     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  10941     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  10942       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10943       else { eax = 0; edx = 0; } }
  10944     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  10945     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  10946     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  10947     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  10948     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  10949     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  10950     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  10951     RECOMP_FLAGS_IN();
  10952     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  10953     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  10954     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  10955       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  10956       else { eax = 0; edx = 0; } }
  10957     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  10958     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  10959     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  10960     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  10961     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  10962     eax = edx; /* 0x2501D9E1: mov eax, edx */
  10963     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  10964     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  10965     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  10966     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  10967     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  10968     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  10969     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  10970     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  10971     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  10972     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  10973     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  10974     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  10975     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  10976     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  10977     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  10978     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  10979     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  10980     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  10981     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  10982     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  10983     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  10984     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  10985     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  10986     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  10987     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  10988     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  10989     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  10990     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  10991     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  10992     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  10993     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  10994     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  10995     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  10996     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  10997     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  10998     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  10999     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  11000     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  11001     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  11002     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  11003     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  11004     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  11005     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  11006     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  11007     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  11008     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  11009     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  11010     edx = eax; /* 0x2501DABE: mov edx, eax */
  11011     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  11012     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  11013     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  11014     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  11015     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  11016     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  11017     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  11018     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  11019     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  11020     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  11021     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  11022     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  11023     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  11024     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  11025     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  11026     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  11027     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  11028     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  11029     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  11030     RECOMP_FLAGS_IN();
  11031     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  11032     edx = edi; /* 0x2501DB23: mov edx, edi */
  11033     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  11034     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11035     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  11036     _flag_k = FK_ADD;
  11037     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  11038     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  11039     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  11040     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  11041     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  11042     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  11043     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  11044     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  11045     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  11046     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  11047     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  11048     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  11049     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  11050     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  11051     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  11052     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  11053     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  11054     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  11055     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  11056     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  11057     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  11058     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  11059     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  11060     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  11061     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  11062     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  11063     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  11064     edx = eax; /* 0x2501DB9E: mov edx, eax */
  11065     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  11066     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  11067     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  11068     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  11069     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  11070     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  11071     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  11072     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  11073     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  11074     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  11075     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  11076     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  11077     RECOMP_FLAGS_IN();
  11078     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  11079     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  11080     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  11081     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  11082     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  11083     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  11084     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  11085     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  11086     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  11087     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  11088     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  11089     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  11090     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  11091     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  11092     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  11093     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  11094     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  11095     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  11096     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  11097     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  11098     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  11099     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  11100     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  11101     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  11102     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  11103     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  11104     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  11105     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  11106     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  11107     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  11108     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  11109     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  11110     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  11111     eax = edx; /* 0x2501DC7E: mov eax, edx */
  11112     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  11113     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  11114     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  11115     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  11116     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  11117     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  11118     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  11119     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  11120     RECOMP_FLAGS_IN();
  11121     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  11122     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  11123     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  11124     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  11125     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  11126     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  11127     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  11128     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  11129     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  11130     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  11131     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  11132     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  11133     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  11134     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  11135     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  11136     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  11137     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  11138     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  11139     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  11140     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  11141     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  11142     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  11143     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  11144     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  11145     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  11146     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  11147     eax = edx; /* 0x2501DD22: mov eax, edx */
  11148     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  11149     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  11150     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  11151     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  11152     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  11153     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  11154     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  11155     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  11156     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  11157     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  11158     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  11159     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  11160     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  11161     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  11162     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  11163     RECOMP_FLAGS_IN();
  11164     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  11165     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  11166     _cf = 0;
  11167     _flag_k = FK_TEST;
  11168     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  11169     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  11170     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  11171     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  11172     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  11173     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  11174     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  11175     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  11176     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  11177 L_2501DD98:
  11178     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  11179     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  11180     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  11181     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  11182     _flag_k = FK_DEC;
  11183     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  11184     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11185     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11186     _flag_k = FK_CMP;
  11187     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  11188 L_2501DDAA:
  11189     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  11190     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  11191     RECOMP_FLAGS_IN();
  11192     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  11193     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  11194     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  11195       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11196       else { eax = 0; edx = 0; } }
  11197     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  11198     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  11199     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11200     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  11201     _flag_k = FK_NARROW(FK_ADD, 24);
  11202     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  11203     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  11204     RECOMP_FLAGS_IN();
  11205     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  11206     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  11207     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  11208       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11209       else { eax = 0; edx = 0; } }
  11210     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  11211     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  11212     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11213     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  11214     _flag_k = FK_NARROW(FK_ADD, 24);
  11215     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  11216     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  11217     RECOMP_FLAGS_IN();
  11218     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  11219     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  11220     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  11221       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11222       else { eax = 0; edx = 0; } }
  11223     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  11224     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  11225     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11226     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  11227     _flag_k = FK_NARROW(FK_ADD, 24);
  11228     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  11229     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  11230     RECOMP_FLAGS_IN();
  11231     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  11232     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  11233     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  11234       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11235       else { eax = 0; edx = 0; } }
  11236     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  11237     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  11238     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11239     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  11240     _flag_k = FK_NARROW(FK_ADD, 24);
  11241     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  11242     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  11243     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  11244     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  11245     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  11246     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11247     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  11248     _flag_k = FK_ADD;
  11249     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  11250     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11252     _flag_k = FK_NARROW(FK_CMP, 24);
  11253     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  11254     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  11255 L_2501DE23:
  11256     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  11257     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  11258 L_2501DE28:
  11259     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  11260     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  11261     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11263     _flag_k = FK_NARROW(FK_CMP, 24);
  11264     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  11265 L_2501DE2F:
  11266     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  11267     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  11268 L_2501DE34:
  11269     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  11270     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  11271     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  11272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11273     _flag_k = FK_NARROW(FK_CMP, 24);
  11274     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  11275 L_2501DE3B:
  11276     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  11277     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  11278 L_2501DE40:
  11279     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  11280     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  11281     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  11282     _cf = 0;
  11283     _flag_k = FK_TEST;
  11284     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  11285 L_2501DE4A:
  11286     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  11287     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  11288 L_2501DE51:
  11289     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  11290 L_2501DE54:
  11291     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  11292     eax = edx; /* 0x2501DE56: mov eax, edx */
  11293     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  11294     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  11295     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  11296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11297     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  11298     _flag_k = FK_NARROW(FK_CMP, 24);
  11299     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  11300     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  11301     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  11302     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  11303     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11304     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  11305     _flag_k = FK_ADD;
  11306     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  11307     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  11308     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  11309     edx = edx + 1; /* 0x2501DE72: inc edx */
  11310     _flag_k = FK_INC;
  11311     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  11312     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  11313     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  11314     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  11315     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11317     _flag_k = FK_CMP;
  11318     RECOMP_BACKEDGE();
  11319     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  11320 L_2501DE84:
  11321     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  11322     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11323     eax = eax - 1; /* 0x2501DE8A: dec eax */
  11324     _flag_k = FK_DEC;
  11325     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  11326     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  11327 L_2501DE94:
  11328     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  11329     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  11330     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  11331     _cf = 0;
  11332     _flag_k = FK_TEST;
  11333 L_2501DE99:
  11334     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  11335 L_2501DE9B:
  11336     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  11337     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  11338     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  11339     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  11340     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  11341     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11342     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  11343     _flag_k = FK_ADD;
  11344     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  11345     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  11346     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  11347     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  11348     fp_pop();
  11349     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  11350     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  11351     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  11352     _cf = 0;
  11353     _flag_k = FK_NARROW(FK_TEST, 24);
  11354     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  11355 L_2501DEC6:
  11356     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  11357     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  11358     fp_pop();
  11359     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  11360     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  11361     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  11362     _cf = 0;
  11363     _flag_k = FK_NARROW(FK_TEST, 24);
  11364     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  11365 L_2501DED6:
  11366     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  11367     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  11368     fp_pop();
  11369     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  11370     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  11371     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  11372     _cf = 0;
  11373     _flag_k = FK_NARROW(FK_TEST, 24);
  11374     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  11375 L_2501DEE6:
  11376     eax = edx; /* 0x2501DEE6: mov eax, edx */
  11377     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  11378     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  11379     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11380     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  11381     _flag_k = FK_ADD;
  11382     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  11383     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  11384     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  11385     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  11386     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  11387     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  11388     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  11389     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  11390     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  11391 L_2501DF0C:
  11392     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  11393     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  11394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11395     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  11396     _flag_k = FK_ADD;
  11397     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  11398     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  11399     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  11400     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  11401     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  11402     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  11403     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  11404     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  11405     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  11406     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  11407     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  11408     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  11409     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  11410     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  11411     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  11412     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  11413     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  11414     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  11415     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  11416     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  11417     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  11418     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  11419     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  11420     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  11421     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  11422     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  11423     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  11424     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  11425     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  11426     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  11427     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  11428     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  11429     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  11430     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  11431     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  11432     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  11433     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  11434     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  11435     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  11436     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  11437     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  11438     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  11439     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  11440     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  11441     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  11442     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  11443     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  11444     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  11445     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  11446     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  11447     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  11448     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  11449     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  11450     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  11451     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  11452     eax = edx; /* 0x2501DFBA: mov eax, edx */
  11453     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  11454     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  11455     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  11456     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  11457     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  11458     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  11459     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11460     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11461     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  11462     _flag_k = FK_ADD;
  11463     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  11464     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  11465     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  11466     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  11467     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  11468     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  11469     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  11470     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  11471     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  11472     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  11473 L_2501DFFA:
  11474     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  11475     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  11476     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11477     eax = eax - 1; /* 0x2501E000: dec eax */
  11478     _flag_k = FK_DEC;
  11479     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  11480     edx = edx - 1; /* 0x2501E001: dec edx */
  11481     _flag_k = FK_DEC;
  11482     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  11483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  11484     _cf = 0;
  11485     _flag_k = FK_TEST;
  11486     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  11487     RECOMP_BACKEDGE();
  11488     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  11489 L_2501E00D:
  11490     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  11491     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  11492     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  11493     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  11494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  11495     eax = eax + 1; /* 0x2501E01C: inc eax */
  11496     _flag_k = FK_INC;
  11497     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  11498     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11499     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  11500     _flag_k = FK_ADD;
  11501     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  11502     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11504     _flag_k = FK_CMP;
  11505     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  11506     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  11507     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  11508     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  11509     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  11510     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  11511     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  11512     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  11513     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  11514     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  11515     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  11516     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  11517     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  11518     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  11519     RECOMP_BACKEDGE();
  11520     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  11521 L_2501E052:
  11522     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  11523     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  11524     RECOMP_FLAGS_IN();
  11525     ecx = eax; /* 0x2501E059: mov ecx, eax */
  11526     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  11527     RECOMP_FLAGS_IN();
  11528     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  11529     PUSH32(esp, eax); /* 0x2501E063: push eax */
  11530     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  11531     RECOMP_FLAGS_IN();
  11532     ecx = esi; /* 0x2501E069: mov ecx, esi */
  11533     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  11534     RECOMP_FLAGS_IN();
  11535     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  11536     PUSH32(esp, eax); /* 0x2501E076: push eax */
  11537     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  11538     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  11539     RECOMP_FLAGS_IN();
  11540     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  11541     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  11542     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  11543     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  11544     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  11545     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  11546     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  11547     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  11548     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  11549     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  11550     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  11551     RECOMP_FLAGS_IN();
  11552     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  11553     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  11554     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  11555     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  11556     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  11557     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  11558     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  11559     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  11560     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  11561     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  11562     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  11563     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  11564     RECOMP_FLAGS_IN();
  11565     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  11566     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  11567     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  11568     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  11569     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  11570     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  11571     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  11572     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  11573     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  11574     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  11575     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  11576     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  11577     RECOMP_FLAGS_IN();
  11578     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  11579     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  11580     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  11581     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  11582     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  11583     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  11584     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  11585     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  11586     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  11587     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  11588     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  11589     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  11590     RECOMP_FLAGS_IN();
  11591     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  11592     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  11593     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  11594     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  11595     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  11596     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  11597     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  11598     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  11599     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  11600     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  11601     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  11602     RECOMP_FLAGS_IN();
  11603     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  11604     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  11605     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  11606     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  11607     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  11608     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  11609     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  11610     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  11611     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  11612     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  11613     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  11614     RECOMP_FLAGS_IN();
  11615     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  11616     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  11617     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  11618     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  11619     RECOMP_FLAGS_IN();
  11620     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  11621     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  11622     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  11623     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  11624     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  11625     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  11626     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  11627     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  11628     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  11629     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  11630     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  11631     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  11632     RECOMP_FLAGS_IN();
  11633     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  11634     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  11635     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11636     _cf = 0;
  11637     _flag_k = FK_NARROW(FK_TEST, 24);
  11638     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  11639     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  11640 L_2501E21A:
  11641     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  11642     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  11643     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  11644     PUSH32(esp, edi); /* 0x2501E228: push edi */
  11645     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  11646     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  11647     RECOMP_FLAGS_IN();
  11648 L_2501E230:
  11649     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  11650     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  11651     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11652     _cf = 0;
  11653     _flag_k = FK_NARROW(FK_TEST, 24);
  11654     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  11655     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  11656 L_2501E23E:
  11657     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  11658     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  11659     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  11660     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  11661     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  11662     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  11663     RECOMP_FLAGS_IN();
  11664 L_2501E253:
  11665     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  11666     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  11667     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11668     _cf = 0;
  11669     _flag_k = FK_NARROW(FK_TEST, 24);
  11670     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  11671     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  11672     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  11673 L_2501E262:
  11674     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  11675     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  11676     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  11677     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  11678     PUSH32(esp, edx); /* 0x2501E276: push edx */
  11679     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  11680     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  11681     RECOMP_FLAGS_IN();
  11682 L_2501E281:
  11683     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  11684     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  11685     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11686     _cf = 0;
  11687     _flag_k = FK_NARROW(FK_TEST, 24);
  11688     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  11689     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  11690 L_2501E28F:
  11691     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  11692     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  11693     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  11694     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  11695     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  11696     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  11697     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  11698     RECOMP_FLAGS_IN();
  11699 L_2501E2A7:
  11700     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  11701     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  11702     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11703     _cf = 0;
  11704     _flag_k = FK_NARROW(FK_TEST, 24);
  11705     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  11706     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  11707 L_2501E2B5:
  11708     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  11709     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  11710     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  11711     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  11712     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  11713     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  11714     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  11715     RECOMP_FLAGS_IN();
  11716 L_2501E2CD:
  11717     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  11718     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  11719     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  11720     RECOMP_FLAGS_IN();
  11721     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  11722     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  11723     RECOMP_FLAGS_IN();
  11724     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  11725     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  11726     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  11727     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  11728     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  11729     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  11730     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  11731     RECOMP_REGS_OUT();
  11732 }
  11733 
  11734 void sub_2501DE54(void) {
  11735     int _fpu_cmp = 0;
  11736     uint32_t _cf = 0;
  11737     int _df = 1;
  11738     uint32_t _flag_k = FK_NONE;
  11739     uint32_t _flag_a = 0, _flag_b = 0;
  11740     uint32_t _itail_tgt = 0;
  11741     RECOMP_REGS_LOCALS
  11742     RECOMP_ENTER(0x2501DE54u);
  11743 
  11744     goto L_2501DE54;
  11745 L_2501D994:
  11746     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  11747     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  11748     RECOMP_FLAGS_IN();
  11749     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  11750     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  11751     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  11752       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11753       else { eax = 0; edx = 0; } }
  11754     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  11755     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  11756     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  11757     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  11758     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  11759     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  11760     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  11761     RECOMP_FLAGS_IN();
  11762     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  11763     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  11764     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  11765       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  11766       else { eax = 0; edx = 0; } }
  11767     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  11768     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  11769     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  11770     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  11771     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  11772     eax = edx; /* 0x2501D9E1: mov eax, edx */
  11773     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  11774     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  11775     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  11776     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  11777     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  11778     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  11779     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  11780     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  11781     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  11782     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  11783     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  11784     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  11785     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  11786     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  11787     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  11788     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  11789     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  11790     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  11791     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  11792     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  11793     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  11794     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  11795     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  11796     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  11797     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  11798     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  11799     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  11800     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  11801     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  11802     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  11803     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  11804     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  11805     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  11806     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  11807     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  11808     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  11809     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  11810     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  11811     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  11812     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  11813     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  11814     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  11815     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  11816     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  11817     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  11818     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  11819     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  11820     edx = eax; /* 0x2501DABE: mov edx, eax */
  11821     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  11822     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  11823     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  11824     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  11825     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  11826     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  11827     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  11828     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  11829     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  11830     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  11831     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  11832     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  11833     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  11834     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  11835     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  11836     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  11837     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  11838     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  11839     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  11840     RECOMP_FLAGS_IN();
  11841     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  11842     edx = edi; /* 0x2501DB23: mov edx, edi */
  11843     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  11844     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11845     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  11846     _flag_k = FK_ADD;
  11847     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  11848     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  11849     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  11850     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  11851     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  11852     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  11853     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  11854     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  11855     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  11856     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  11857     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  11858     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  11859     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  11860     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  11861     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  11862     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  11863     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  11864     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  11865     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  11866     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  11867     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  11868     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  11869     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  11870     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  11871     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  11872     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  11873     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  11874     edx = eax; /* 0x2501DB9E: mov edx, eax */
  11875     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  11876     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  11877     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  11878     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  11879     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  11880     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  11881     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  11882     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  11883     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  11884     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  11885     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  11886     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  11887     RECOMP_FLAGS_IN();
  11888     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  11889     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  11890     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  11891     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  11892     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  11893     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  11894     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  11895     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  11896     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  11897     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  11898     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  11899     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  11900     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  11901     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  11902     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  11903     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  11904     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  11905     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  11906     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  11907     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  11908     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  11909     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  11910     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  11911     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  11912     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  11913     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  11914     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  11915     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  11916     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  11917     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  11918     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  11919     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  11920     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  11921     eax = edx; /* 0x2501DC7E: mov eax, edx */
  11922     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  11923     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  11924     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  11925     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  11926     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  11927     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  11928     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  11929     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  11930     RECOMP_FLAGS_IN();
  11931     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  11932     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  11933     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  11934     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  11935     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  11936     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  11937     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  11938     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  11939     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  11940     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  11941     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  11942     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  11943     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  11944     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  11945     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  11946     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  11947     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  11948     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  11949     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  11950     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  11951     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  11952     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  11953     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  11954     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  11955     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  11956     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  11957     eax = edx; /* 0x2501DD22: mov eax, edx */
  11958     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  11959     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  11960     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  11961     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  11962     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  11963     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  11964     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  11965     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  11966     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  11967     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  11968     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  11969     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  11970     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  11971     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  11972     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  11973     RECOMP_FLAGS_IN();
  11974     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  11975     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  11976     _cf = 0;
  11977     _flag_k = FK_TEST;
  11978     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  11979     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  11980     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  11981     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  11982     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  11983     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  11984     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  11985     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  11986     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  11987 L_2501DD98:
  11988     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  11989     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  11990     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  11991     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  11992     _flag_k = FK_DEC;
  11993     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  11994     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  11995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11996     _flag_k = FK_CMP;
  11997     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  11998 L_2501DDAA:
  11999     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  12000     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  12001     RECOMP_FLAGS_IN();
  12002     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  12003     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  12004     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  12005       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12006       else { eax = 0; edx = 0; } }
  12007     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  12008     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12009     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12010     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  12011     _flag_k = FK_NARROW(FK_ADD, 24);
  12012     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  12013     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  12014     RECOMP_FLAGS_IN();
  12015     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  12016     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  12017     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  12018       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12019       else { eax = 0; edx = 0; } }
  12020     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  12021     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12022     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12023     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  12024     _flag_k = FK_NARROW(FK_ADD, 24);
  12025     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  12026     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  12027     RECOMP_FLAGS_IN();
  12028     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  12029     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  12030     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  12031       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12032       else { eax = 0; edx = 0; } }
  12033     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  12034     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12035     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12036     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  12037     _flag_k = FK_NARROW(FK_ADD, 24);
  12038     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  12039     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  12040     RECOMP_FLAGS_IN();
  12041     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  12042     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  12043     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  12044       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12045       else { eax = 0; edx = 0; } }
  12046     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  12047     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12048     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12049     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  12050     _flag_k = FK_NARROW(FK_ADD, 24);
  12051     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  12052     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  12053     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  12054     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  12055     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  12056     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12057     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  12058     _flag_k = FK_ADD;
  12059     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  12060     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12062     _flag_k = FK_NARROW(FK_CMP, 24);
  12063     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  12064     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  12065 L_2501DE23:
  12066     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  12067     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  12068 L_2501DE28:
  12069     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  12070     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  12071     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12072     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12073     _flag_k = FK_NARROW(FK_CMP, 24);
  12074     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  12075 L_2501DE2F:
  12076     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  12077     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  12078 L_2501DE34:
  12079     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  12080     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  12081     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  12082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12083     _flag_k = FK_NARROW(FK_CMP, 24);
  12084     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  12085 L_2501DE3B:
  12086     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  12087     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  12088 L_2501DE40:
  12089     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  12090     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  12091     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  12092     _cf = 0;
  12093     _flag_k = FK_TEST;
  12094     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  12095 L_2501DE4A:
  12096     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  12097     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  12098 L_2501DE51:
  12099     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  12100 L_2501DE54:
  12101     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  12102     eax = edx; /* 0x2501DE56: mov eax, edx */
  12103     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  12104     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  12105     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  12106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12107     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  12108     _flag_k = FK_NARROW(FK_CMP, 24);
  12109     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  12110     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  12111     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  12112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12113     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12114     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  12115     _flag_k = FK_ADD;
  12116     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  12117     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  12118     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  12119     edx = edx + 1; /* 0x2501DE72: inc edx */
  12120     _flag_k = FK_INC;
  12121     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  12122     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  12123     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  12124     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  12125     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  12126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12127     _flag_k = FK_CMP;
  12128     RECOMP_BACKEDGE();
  12129     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  12130 L_2501DE84:
  12131     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  12132     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  12133     eax = eax - 1; /* 0x2501DE8A: dec eax */
  12134     _flag_k = FK_DEC;
  12135     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  12136     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  12137 L_2501DE94:
  12138     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  12139     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  12140     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  12141     _cf = 0;
  12142     _flag_k = FK_TEST;
  12143 L_2501DE99:
  12144     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  12145 L_2501DE9B:
  12146     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  12147     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  12148     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  12149     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  12150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12151     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12152     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  12153     _flag_k = FK_ADD;
  12154     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  12155     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  12156     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  12157     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  12158     fp_pop();
  12159     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  12160     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  12161     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12162     _cf = 0;
  12163     _flag_k = FK_NARROW(FK_TEST, 24);
  12164     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  12165 L_2501DEC6:
  12166     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  12167     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  12168     fp_pop();
  12169     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  12170     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  12171     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12172     _cf = 0;
  12173     _flag_k = FK_NARROW(FK_TEST, 24);
  12174     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  12175 L_2501DED6:
  12176     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  12177     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  12178     fp_pop();
  12179     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  12180     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  12181     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12182     _cf = 0;
  12183     _flag_k = FK_NARROW(FK_TEST, 24);
  12184     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  12185 L_2501DEE6:
  12186     eax = edx; /* 0x2501DEE6: mov eax, edx */
  12187     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  12188     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12189     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12190     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  12191     _flag_k = FK_ADD;
  12192     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  12193     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  12194     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  12195     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  12196     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  12197     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  12198     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  12199     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  12200     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  12201 L_2501DF0C:
  12202     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  12203     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  12204     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12205     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  12206     _flag_k = FK_ADD;
  12207     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  12208     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  12209     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  12210     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  12211     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  12212     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  12213     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  12214     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  12215     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  12216     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  12217     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  12218     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  12219     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  12220     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  12221     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  12222     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  12223     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  12224     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  12225     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  12226     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  12227     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  12228     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  12229     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  12230     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  12231     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  12232     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  12233     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  12234     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  12235     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  12236     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  12237     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  12238     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  12239     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  12240     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  12241     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  12242     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  12243     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  12244     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  12245     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  12246     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  12247     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  12248     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  12249     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  12250     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  12251     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  12252     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  12253     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  12254     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  12255     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  12256     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  12257     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  12258     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  12259     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  12260     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  12261     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  12262     eax = edx; /* 0x2501DFBA: mov eax, edx */
  12263     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  12264     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  12265     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  12266     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  12267     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  12268     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  12269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  12270     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12271     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  12272     _flag_k = FK_ADD;
  12273     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  12274     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  12275     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  12276     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  12277     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  12278     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  12279     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  12280     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  12281     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  12282     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  12283 L_2501DFFA:
  12284     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  12285     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  12286     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  12287     eax = eax - 1; /* 0x2501E000: dec eax */
  12288     _flag_k = FK_DEC;
  12289     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  12290     edx = edx - 1; /* 0x2501E001: dec edx */
  12291     _flag_k = FK_DEC;
  12292     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  12293     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  12294     _cf = 0;
  12295     _flag_k = FK_TEST;
  12296     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  12297     RECOMP_BACKEDGE();
  12298     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  12299 L_2501E00D:
  12300     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  12301     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  12302     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  12303     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  12304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  12305     eax = eax + 1; /* 0x2501E01C: inc eax */
  12306     _flag_k = FK_INC;
  12307     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  12308     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12309     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  12310     _flag_k = FK_ADD;
  12311     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  12312     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  12313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12314     _flag_k = FK_CMP;
  12315     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  12316     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  12317     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  12318     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  12319     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  12320     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  12321     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  12322     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  12323     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  12324     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  12325     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  12326     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  12327     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  12328     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  12329     RECOMP_BACKEDGE();
  12330     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  12331 L_2501E052:
  12332     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  12333     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  12334     RECOMP_FLAGS_IN();
  12335     ecx = eax; /* 0x2501E059: mov ecx, eax */
  12336     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  12337     RECOMP_FLAGS_IN();
  12338     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  12339     PUSH32(esp, eax); /* 0x2501E063: push eax */
  12340     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  12341     RECOMP_FLAGS_IN();
  12342     ecx = esi; /* 0x2501E069: mov ecx, esi */
  12343     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  12344     RECOMP_FLAGS_IN();
  12345     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  12346     PUSH32(esp, eax); /* 0x2501E076: push eax */
  12347     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  12348     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  12349     RECOMP_FLAGS_IN();
  12350     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  12351     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  12352     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  12353     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  12354     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  12355     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  12356     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  12357     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  12358     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  12359     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  12360     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  12361     RECOMP_FLAGS_IN();
  12362     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  12363     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  12364     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  12365     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  12366     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  12367     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  12368     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  12369     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  12370     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  12371     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  12372     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  12373     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  12374     RECOMP_FLAGS_IN();
  12375     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  12376     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  12377     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  12378     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  12379     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  12380     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  12381     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  12382     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  12383     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  12384     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  12385     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  12386     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  12387     RECOMP_FLAGS_IN();
  12388     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  12389     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  12390     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  12391     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  12392     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  12393     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  12394     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  12395     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  12396     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  12397     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  12398     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  12399     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  12400     RECOMP_FLAGS_IN();
  12401     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  12402     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  12403     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  12404     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  12405     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  12406     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  12407     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  12408     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  12409     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  12410     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  12411     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  12412     RECOMP_FLAGS_IN();
  12413     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  12414     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  12415     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  12416     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  12417     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  12418     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  12419     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  12420     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  12421     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  12422     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  12423     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  12424     RECOMP_FLAGS_IN();
  12425     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  12426     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  12427     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  12428     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  12429     RECOMP_FLAGS_IN();
  12430     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  12431     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  12432     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  12433     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  12434     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  12435     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  12436     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  12437     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  12438     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  12439     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  12440     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  12441     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  12442     RECOMP_FLAGS_IN();
  12443     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  12444     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  12445     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12446     _cf = 0;
  12447     _flag_k = FK_NARROW(FK_TEST, 24);
  12448     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  12449     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  12450 L_2501E21A:
  12451     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  12452     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  12453     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  12454     PUSH32(esp, edi); /* 0x2501E228: push edi */
  12455     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  12456     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  12457     RECOMP_FLAGS_IN();
  12458 L_2501E230:
  12459     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  12460     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  12461     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12462     _cf = 0;
  12463     _flag_k = FK_NARROW(FK_TEST, 24);
  12464     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  12465     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  12466 L_2501E23E:
  12467     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  12468     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  12469     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  12470     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  12471     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  12472     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  12473     RECOMP_FLAGS_IN();
  12474 L_2501E253:
  12475     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  12476     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  12477     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12478     _cf = 0;
  12479     _flag_k = FK_NARROW(FK_TEST, 24);
  12480     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  12481     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  12482     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  12483 L_2501E262:
  12484     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  12485     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  12486     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  12487     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  12488     PUSH32(esp, edx); /* 0x2501E276: push edx */
  12489     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  12490     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  12491     RECOMP_FLAGS_IN();
  12492 L_2501E281:
  12493     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  12494     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  12495     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12496     _cf = 0;
  12497     _flag_k = FK_NARROW(FK_TEST, 24);
  12498     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  12499     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  12500 L_2501E28F:
  12501     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  12502     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  12503     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  12504     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  12505     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  12506     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  12507     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  12508     RECOMP_FLAGS_IN();
  12509 L_2501E2A7:
  12510     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  12511     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  12512     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12513     _cf = 0;
  12514     _flag_k = FK_NARROW(FK_TEST, 24);
  12515     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  12516     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  12517 L_2501E2B5:
  12518     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  12519     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  12520     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  12521     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  12522     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  12523     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  12524     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  12525     RECOMP_FLAGS_IN();
  12526 L_2501E2CD:
  12527     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  12528     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  12529     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  12530     RECOMP_FLAGS_IN();
  12531     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  12532     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  12533     RECOMP_FLAGS_IN();
  12534     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  12535     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  12536     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  12537     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  12538     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  12539     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  12540     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  12541     RECOMP_REGS_OUT();
  12542 }
  12543 
  12544 void sub_2501DE84(void) {
  12545     int _fpu_cmp = 0;
  12546     uint32_t _cf = 0;
  12547     int _df = 1;
  12548     uint32_t _flag_k = FK_NONE;
  12549     uint32_t _flag_a = 0, _flag_b = 0;
  12550     uint32_t _itail_tgt = 0;
  12551     RECOMP_REGS_LOCALS
  12552     RECOMP_ENTER(0x2501DE84u);
  12553 
  12554     goto L_2501DE84;
  12555 L_2501D994:
  12556     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  12557     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  12558     RECOMP_FLAGS_IN();
  12559     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  12560     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  12561     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  12562       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12563       else { eax = 0; edx = 0; } }
  12564     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  12565     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  12566     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  12567     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  12568     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  12569     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  12570     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  12571     RECOMP_FLAGS_IN();
  12572     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  12573     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  12574     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  12575       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12576       else { eax = 0; edx = 0; } }
  12577     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  12578     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  12579     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  12580     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  12581     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  12582     eax = edx; /* 0x2501D9E1: mov eax, edx */
  12583     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  12584     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  12585     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  12586     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  12587     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  12588     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  12589     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  12590     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  12591     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  12592     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  12593     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  12594     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  12595     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  12596     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  12597     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  12598     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  12599     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  12600     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  12601     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  12602     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  12603     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  12604     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  12605     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  12606     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  12607     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  12608     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  12609     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  12610     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  12611     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  12612     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  12613     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  12614     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  12615     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  12616     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  12617     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  12618     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  12619     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  12620     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  12621     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  12622     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  12623     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  12624     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  12625     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  12626     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  12627     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  12628     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  12629     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  12630     edx = eax; /* 0x2501DABE: mov edx, eax */
  12631     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  12632     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  12633     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  12634     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  12635     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  12636     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  12637     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  12638     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  12639     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  12640     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  12641     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  12642     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  12643     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  12644     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  12645     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  12646     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  12647     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  12648     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  12649     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  12650     RECOMP_FLAGS_IN();
  12651     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  12652     edx = edi; /* 0x2501DB23: mov edx, edi */
  12653     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  12654     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12655     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  12656     _flag_k = FK_ADD;
  12657     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  12658     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  12659     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  12660     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  12661     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  12662     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  12663     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  12664     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  12665     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  12666     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  12667     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  12668     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  12669     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  12670     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  12671     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  12672     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  12673     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  12674     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  12675     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  12676     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  12677     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  12678     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  12679     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  12680     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  12681     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  12682     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  12683     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  12684     edx = eax; /* 0x2501DB9E: mov edx, eax */
  12685     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  12686     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  12687     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  12688     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  12689     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  12690     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  12691     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  12692     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  12693     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  12694     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  12695     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  12696     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  12697     RECOMP_FLAGS_IN();
  12698     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  12699     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  12700     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  12701     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  12702     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  12703     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  12704     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  12705     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  12706     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  12707     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  12708     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  12709     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  12710     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  12711     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  12712     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  12713     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  12714     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  12715     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  12716     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  12717     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  12718     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  12719     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  12720     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  12721     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  12722     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  12723     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  12724     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  12725     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  12726     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  12727     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  12728     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  12729     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  12730     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  12731     eax = edx; /* 0x2501DC7E: mov eax, edx */
  12732     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  12733     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  12734     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  12735     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  12736     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  12737     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  12738     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  12739     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  12740     RECOMP_FLAGS_IN();
  12741     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  12742     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  12743     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  12744     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  12745     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  12746     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  12747     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  12748     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  12749     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  12750     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  12751     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  12752     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  12753     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  12754     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  12755     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  12756     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  12757     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  12758     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  12759     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  12760     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  12761     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  12762     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  12763     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  12764     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  12765     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  12766     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  12767     eax = edx; /* 0x2501DD22: mov eax, edx */
  12768     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  12769     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  12770     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  12771     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  12772     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  12773     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  12774     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  12775     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  12776     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  12777     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  12778     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  12779     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  12780     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  12781     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  12782     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  12783     RECOMP_FLAGS_IN();
  12784     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  12785     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  12786     _cf = 0;
  12787     _flag_k = FK_TEST;
  12788     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  12789     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  12790     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  12791     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  12792     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  12793     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  12794     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  12795     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  12796     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  12797 L_2501DD98:
  12798     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  12799     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  12800     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  12801     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  12802     _flag_k = FK_DEC;
  12803     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  12804     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  12805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12806     _flag_k = FK_CMP;
  12807     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  12808 L_2501DDAA:
  12809     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  12810     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  12811     RECOMP_FLAGS_IN();
  12812     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  12813     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  12814     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  12815       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12816       else { eax = 0; edx = 0; } }
  12817     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  12818     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12820     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  12821     _flag_k = FK_NARROW(FK_ADD, 24);
  12822     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  12823     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  12824     RECOMP_FLAGS_IN();
  12825     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  12826     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  12827     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  12828       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12829       else { eax = 0; edx = 0; } }
  12830     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  12831     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12832     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12833     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  12834     _flag_k = FK_NARROW(FK_ADD, 24);
  12835     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  12836     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  12837     RECOMP_FLAGS_IN();
  12838     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  12839     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  12840     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  12841       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12842       else { eax = 0; edx = 0; } }
  12843     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  12844     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12845     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12846     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  12847     _flag_k = FK_NARROW(FK_ADD, 24);
  12848     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  12849     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  12850     RECOMP_FLAGS_IN();
  12851     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  12852     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  12853     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  12854       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  12855       else { eax = 0; edx = 0; } }
  12856     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  12857     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  12858     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12859     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  12860     _flag_k = FK_NARROW(FK_ADD, 24);
  12861     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  12862     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  12863     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  12864     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  12865     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  12866     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12867     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  12868     _flag_k = FK_ADD;
  12869     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  12870     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12871     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12872     _flag_k = FK_NARROW(FK_CMP, 24);
  12873     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  12874     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  12875 L_2501DE23:
  12876     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  12877     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  12878 L_2501DE28:
  12879     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  12880     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  12881     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12882     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12883     _flag_k = FK_NARROW(FK_CMP, 24);
  12884     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  12885 L_2501DE2F:
  12886     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  12887     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  12888 L_2501DE34:
  12889     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  12890     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  12891     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  12892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12893     _flag_k = FK_NARROW(FK_CMP, 24);
  12894     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  12895 L_2501DE3B:
  12896     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  12897     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  12898 L_2501DE40:
  12899     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  12900     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  12901     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  12902     _cf = 0;
  12903     _flag_k = FK_TEST;
  12904     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  12905 L_2501DE4A:
  12906     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  12907     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  12908 L_2501DE51:
  12909     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  12910 L_2501DE54:
  12911     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  12912     eax = edx; /* 0x2501DE56: mov eax, edx */
  12913     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  12914     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  12915     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  12916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12917     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  12918     _flag_k = FK_NARROW(FK_CMP, 24);
  12919     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  12920     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  12921     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  12922     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12923     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12924     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  12925     _flag_k = FK_ADD;
  12926     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  12927     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  12928     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  12929     edx = edx + 1; /* 0x2501DE72: inc edx */
  12930     _flag_k = FK_INC;
  12931     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  12932     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  12933     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  12934     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  12935     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  12936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12937     _flag_k = FK_CMP;
  12938     RECOMP_BACKEDGE();
  12939     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  12940 L_2501DE84:
  12941     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  12942     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  12943     eax = eax - 1; /* 0x2501DE8A: dec eax */
  12944     _flag_k = FK_DEC;
  12945     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  12946     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  12947 L_2501DE94:
  12948     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  12949     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  12950     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  12951     _cf = 0;
  12952     _flag_k = FK_TEST;
  12953 L_2501DE99:
  12954     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  12955 L_2501DE9B:
  12956     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  12957     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  12958     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  12959     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  12960     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12961     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12962     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  12963     _flag_k = FK_ADD;
  12964     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  12965     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  12966     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  12967     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  12968     fp_pop();
  12969     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  12970     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  12971     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12972     _cf = 0;
  12973     _flag_k = FK_NARROW(FK_TEST, 24);
  12974     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  12975 L_2501DEC6:
  12976     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  12977     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  12978     fp_pop();
  12979     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  12980     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  12981     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12982     _cf = 0;
  12983     _flag_k = FK_NARROW(FK_TEST, 24);
  12984     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  12985 L_2501DED6:
  12986     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  12987     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  12988     fp_pop();
  12989     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  12990     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  12991     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  12992     _cf = 0;
  12993     _flag_k = FK_NARROW(FK_TEST, 24);
  12994     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  12995 L_2501DEE6:
  12996     eax = edx; /* 0x2501DEE6: mov eax, edx */
  12997     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  12998     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  12999     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13000     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  13001     _flag_k = FK_ADD;
  13002     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  13003     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  13004     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  13005     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  13006     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  13007     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  13008     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  13009     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  13010     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  13011 L_2501DF0C:
  13012     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  13013     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  13014     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13015     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  13016     _flag_k = FK_ADD;
  13017     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  13018     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  13019     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  13020     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  13021     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  13022     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  13023     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  13024     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  13025     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  13026     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  13027     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  13028     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  13029     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  13030     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  13031     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  13032     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  13033     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  13034     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  13035     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  13036     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  13037     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  13038     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  13039     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  13040     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  13041     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  13042     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  13043     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  13044     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  13045     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  13046     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  13047     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  13048     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  13049     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  13050     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  13051     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  13052     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  13053     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  13054     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  13055     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  13056     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  13057     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  13058     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  13059     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  13060     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  13061     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  13062     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  13063     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  13064     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  13065     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  13066     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  13067     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  13068     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  13069     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  13070     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  13071     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  13072     eax = edx; /* 0x2501DFBA: mov eax, edx */
  13073     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  13074     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  13075     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  13076     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  13077     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  13078     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  13079     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13080     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13081     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  13082     _flag_k = FK_ADD;
  13083     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  13084     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  13085     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  13086     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  13087     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  13088     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  13089     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  13090     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  13091     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  13092     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  13093 L_2501DFFA:
  13094     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  13095     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  13096     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  13097     eax = eax - 1; /* 0x2501E000: dec eax */
  13098     _flag_k = FK_DEC;
  13099     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  13100     edx = edx - 1; /* 0x2501E001: dec edx */
  13101     _flag_k = FK_DEC;
  13102     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  13103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  13104     _cf = 0;
  13105     _flag_k = FK_TEST;
  13106     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  13107     RECOMP_BACKEDGE();
  13108     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  13109 L_2501E00D:
  13110     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  13111     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  13112     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  13113     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  13114     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  13115     eax = eax + 1; /* 0x2501E01C: inc eax */
  13116     _flag_k = FK_INC;
  13117     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  13118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13119     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  13120     _flag_k = FK_ADD;
  13121     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  13122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13124     _flag_k = FK_CMP;
  13125     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  13126     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  13127     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  13128     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  13129     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  13130     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  13131     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  13132     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  13133     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  13134     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  13135     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  13136     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  13137     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  13138     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  13139     RECOMP_BACKEDGE();
  13140     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  13141 L_2501E052:
  13142     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  13143     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  13144     RECOMP_FLAGS_IN();
  13145     ecx = eax; /* 0x2501E059: mov ecx, eax */
  13146     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  13147     RECOMP_FLAGS_IN();
  13148     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  13149     PUSH32(esp, eax); /* 0x2501E063: push eax */
  13150     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  13151     RECOMP_FLAGS_IN();
  13152     ecx = esi; /* 0x2501E069: mov ecx, esi */
  13153     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  13154     RECOMP_FLAGS_IN();
  13155     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  13156     PUSH32(esp, eax); /* 0x2501E076: push eax */
  13157     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  13158     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  13159     RECOMP_FLAGS_IN();
  13160     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  13161     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  13162     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  13163     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  13164     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  13165     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  13166     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  13167     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  13168     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  13169     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  13170     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  13171     RECOMP_FLAGS_IN();
  13172     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  13173     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  13174     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  13175     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  13176     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  13177     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  13178     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  13179     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  13180     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  13181     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  13182     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  13183     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  13184     RECOMP_FLAGS_IN();
  13185     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  13186     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  13187     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  13188     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  13189     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  13190     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  13191     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  13192     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  13193     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  13194     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  13195     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  13196     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  13197     RECOMP_FLAGS_IN();
  13198     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  13199     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  13200     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  13201     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  13202     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  13203     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  13204     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  13205     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  13206     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  13207     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  13208     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  13209     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  13210     RECOMP_FLAGS_IN();
  13211     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  13212     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  13213     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  13214     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  13215     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  13216     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  13217     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  13218     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  13219     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  13220     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  13221     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  13222     RECOMP_FLAGS_IN();
  13223     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  13224     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  13225     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  13226     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  13227     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  13228     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  13229     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  13230     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  13231     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  13232     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  13233     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  13234     RECOMP_FLAGS_IN();
  13235     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  13236     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  13237     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  13238     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  13239     RECOMP_FLAGS_IN();
  13240     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  13241     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  13242     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  13243     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  13244     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  13245     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  13246     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  13247     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  13248     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  13249     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  13250     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  13251     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  13252     RECOMP_FLAGS_IN();
  13253     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  13254     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  13255     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13256     _cf = 0;
  13257     _flag_k = FK_NARROW(FK_TEST, 24);
  13258     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  13259     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  13260 L_2501E21A:
  13261     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  13262     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  13263     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  13264     PUSH32(esp, edi); /* 0x2501E228: push edi */
  13265     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  13266     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  13267     RECOMP_FLAGS_IN();
  13268 L_2501E230:
  13269     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  13270     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  13271     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13272     _cf = 0;
  13273     _flag_k = FK_NARROW(FK_TEST, 24);
  13274     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  13275     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  13276 L_2501E23E:
  13277     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  13278     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  13279     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  13280     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  13281     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  13282     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  13283     RECOMP_FLAGS_IN();
  13284 L_2501E253:
  13285     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  13286     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  13287     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13288     _cf = 0;
  13289     _flag_k = FK_NARROW(FK_TEST, 24);
  13290     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  13291     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  13292     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  13293 L_2501E262:
  13294     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  13295     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  13296     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  13297     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  13298     PUSH32(esp, edx); /* 0x2501E276: push edx */
  13299     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  13300     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  13301     RECOMP_FLAGS_IN();
  13302 L_2501E281:
  13303     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  13304     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  13305     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13306     _cf = 0;
  13307     _flag_k = FK_NARROW(FK_TEST, 24);
  13308     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  13309     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  13310 L_2501E28F:
  13311     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  13312     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  13313     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  13314     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  13315     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  13316     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  13317     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  13318     RECOMP_FLAGS_IN();
  13319 L_2501E2A7:
  13320     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  13321     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  13322     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  13323     _cf = 0;
  13324     _flag_k = FK_NARROW(FK_TEST, 24);
  13325     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  13326     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  13327 L_2501E2B5:
  13328     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  13329     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  13330     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  13331     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  13332     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  13333     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  13334     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  13335     RECOMP_FLAGS_IN();
  13336 L_2501E2CD:
  13337     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  13338     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  13339     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  13340     RECOMP_FLAGS_IN();
  13341     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  13342     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  13343     RECOMP_FLAGS_IN();
  13344     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  13345     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  13346     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  13347     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  13348     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  13349     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  13350     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  13351     RECOMP_REGS_OUT();
  13352 }
  13353 
  13354 void sub_2501DE99(void) {
  13355     int _fpu_cmp = 0;
  13356     uint32_t _cf = 0;
  13357     int _df = 1;
  13358     uint32_t _flag_k = FK_NONE;
  13359     uint32_t _flag_a = 0, _flag_b = 0;
  13360     uint32_t _itail_tgt = 0;
  13361     RECOMP_REGS_LOCALS
  13362     RECOMP_ENTER(0x2501DE99u);
  13363 
  13364     goto L_2501DE99;
  13365 L_2501D994:
  13366     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  13367     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  13368     RECOMP_FLAGS_IN();
  13369     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  13370     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  13371     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  13372       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13373       else { eax = 0; edx = 0; } }
  13374     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  13375     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  13376     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  13377     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  13378     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  13379     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  13380     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  13381     RECOMP_FLAGS_IN();
  13382     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  13383     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  13384     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  13385       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13386       else { eax = 0; edx = 0; } }
  13387     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  13388     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  13389     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  13390     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  13391     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  13392     eax = edx; /* 0x2501D9E1: mov eax, edx */
  13393     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  13394     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  13395     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  13396     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  13397     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  13398     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  13399     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  13400     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  13401     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  13402     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  13403     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  13404     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  13405     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  13406     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  13407     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  13408     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  13409     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  13410     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  13411     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  13412     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  13413     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  13414     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  13415     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  13416     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  13417     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  13418     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  13419     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  13420     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  13421     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  13422     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  13423     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  13424     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  13425     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  13426     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  13427     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  13428     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  13429     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  13430     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  13431     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  13432     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  13433     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  13434     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  13435     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  13436     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  13437     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  13438     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  13439     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  13440     edx = eax; /* 0x2501DABE: mov edx, eax */
  13441     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  13442     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  13443     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  13444     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  13445     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  13446     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  13447     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  13448     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  13449     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  13450     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  13451     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  13452     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  13453     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  13454     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  13455     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  13456     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  13457     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  13458     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  13459     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  13460     RECOMP_FLAGS_IN();
  13461     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  13462     edx = edi; /* 0x2501DB23: mov edx, edi */
  13463     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  13464     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13465     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  13466     _flag_k = FK_ADD;
  13467     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  13468     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  13469     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  13470     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  13471     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  13472     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  13473     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  13474     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  13475     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  13476     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  13477     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  13478     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  13479     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  13480     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  13481     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  13482     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  13483     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  13484     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  13485     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  13486     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  13487     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  13488     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  13489     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  13490     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  13491     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  13492     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  13493     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  13494     edx = eax; /* 0x2501DB9E: mov edx, eax */
  13495     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  13496     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  13497     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  13498     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  13499     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  13500     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  13501     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  13502     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  13503     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  13504     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  13505     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  13506     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  13507     RECOMP_FLAGS_IN();
  13508     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  13509     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  13510     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  13511     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  13512     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  13513     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  13514     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  13515     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  13516     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  13517     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  13518     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  13519     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  13520     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  13521     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  13522     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  13523     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  13524     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  13525     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  13526     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  13527     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  13528     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  13529     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  13530     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  13531     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  13532     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  13533     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  13534     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  13535     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  13536     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  13537     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  13538     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  13539     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  13540     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  13541     eax = edx; /* 0x2501DC7E: mov eax, edx */
  13542     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  13543     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  13544     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  13545     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  13546     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  13547     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  13548     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  13549     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  13550     RECOMP_FLAGS_IN();
  13551     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  13552     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  13553     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  13554     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  13555     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  13556     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  13557     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  13558     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  13559     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  13560     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  13561     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  13562     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  13563     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  13564     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  13565     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  13566     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  13567     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  13568     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  13569     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  13570     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  13571     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  13572     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  13573     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  13574     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  13575     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  13576     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  13577     eax = edx; /* 0x2501DD22: mov eax, edx */
  13578     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  13579     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  13580     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  13581     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  13582     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  13583     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  13584     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  13585     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  13586     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  13587     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  13588     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  13589     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  13590     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  13591     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  13592     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  13593     RECOMP_FLAGS_IN();
  13594     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  13595     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  13596     _cf = 0;
  13597     _flag_k = FK_TEST;
  13598     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  13599     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  13600     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  13601     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  13602     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  13603     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  13604     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  13605     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  13606     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  13607 L_2501DD98:
  13608     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  13609     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  13610     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  13611     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  13612     _flag_k = FK_DEC;
  13613     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  13614     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13616     _flag_k = FK_CMP;
  13617     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  13618 L_2501DDAA:
  13619     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  13620     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  13621     RECOMP_FLAGS_IN();
  13622     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  13623     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  13624     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  13625       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13626       else { eax = 0; edx = 0; } }
  13627     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  13628     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  13629     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13630     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  13631     _flag_k = FK_NARROW(FK_ADD, 24);
  13632     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  13633     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  13634     RECOMP_FLAGS_IN();
  13635     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  13636     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  13637     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  13638       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13639       else { eax = 0; edx = 0; } }
  13640     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  13641     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  13642     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13643     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  13644     _flag_k = FK_NARROW(FK_ADD, 24);
  13645     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  13646     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  13647     RECOMP_FLAGS_IN();
  13648     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  13649     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  13650     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  13651       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13652       else { eax = 0; edx = 0; } }
  13653     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  13654     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  13655     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13656     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  13657     _flag_k = FK_NARROW(FK_ADD, 24);
  13658     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  13659     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  13660     RECOMP_FLAGS_IN();
  13661     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  13662     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  13663     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  13664       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  13665       else { eax = 0; edx = 0; } }
  13666     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  13667     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  13668     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13669     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  13670     _flag_k = FK_NARROW(FK_ADD, 24);
  13671     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  13672     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  13673     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  13674     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  13675     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  13676     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13677     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  13678     _flag_k = FK_ADD;
  13679     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  13680     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13682     _flag_k = FK_NARROW(FK_CMP, 24);
  13683     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  13684     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  13685 L_2501DE23:
  13686     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  13687     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  13688 L_2501DE28:
  13689     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  13690     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  13691     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13693     _flag_k = FK_NARROW(FK_CMP, 24);
  13694     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  13695 L_2501DE2F:
  13696     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  13697     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  13698 L_2501DE34:
  13699     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  13700     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  13701     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  13702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13703     _flag_k = FK_NARROW(FK_CMP, 24);
  13704     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  13705 L_2501DE3B:
  13706     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  13707     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  13708 L_2501DE40:
  13709     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  13710     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  13711     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  13712     _cf = 0;
  13713     _flag_k = FK_TEST;
  13714     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  13715 L_2501DE4A:
  13716     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  13717     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  13718 L_2501DE51:
  13719     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  13720 L_2501DE54:
  13721     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  13722     eax = edx; /* 0x2501DE56: mov eax, edx */
  13723     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  13724     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  13725     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  13726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13727     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  13728     _flag_k = FK_NARROW(FK_CMP, 24);
  13729     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  13730     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  13731     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  13732     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  13733     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13734     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  13735     _flag_k = FK_ADD;
  13736     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  13737     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  13738     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  13739     edx = edx + 1; /* 0x2501DE72: inc edx */
  13740     _flag_k = FK_INC;
  13741     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  13742     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  13743     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  13744     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  13745     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13747     _flag_k = FK_CMP;
  13748     RECOMP_BACKEDGE();
  13749     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  13750 L_2501DE84:
  13751     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  13752     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  13753     eax = eax - 1; /* 0x2501DE8A: dec eax */
  13754     _flag_k = FK_DEC;
  13755     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  13756     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  13757 L_2501DE94:
  13758     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  13759     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  13760     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  13761     _cf = 0;
  13762     _flag_k = FK_TEST;
  13763 L_2501DE99:
  13764     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  13765 L_2501DE9B:
  13766     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  13767     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  13768     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  13769     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  13770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  13771     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13772     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  13773     _flag_k = FK_ADD;
  13774     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  13775     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  13776     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  13777     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  13778     fp_pop();
  13779     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  13780     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  13781     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  13782     _cf = 0;
  13783     _flag_k = FK_NARROW(FK_TEST, 24);
  13784     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  13785 L_2501DEC6:
  13786     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  13787     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  13788     fp_pop();
  13789     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  13790     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  13791     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  13792     _cf = 0;
  13793     _flag_k = FK_NARROW(FK_TEST, 24);
  13794     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  13795 L_2501DED6:
  13796     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  13797     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  13798     fp_pop();
  13799     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  13800     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  13801     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  13802     _cf = 0;
  13803     _flag_k = FK_NARROW(FK_TEST, 24);
  13804     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  13805 L_2501DEE6:
  13806     eax = edx; /* 0x2501DEE6: mov eax, edx */
  13807     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  13808     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  13809     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13810     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  13811     _flag_k = FK_ADD;
  13812     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  13813     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  13814     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  13815     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  13816     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  13817     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  13818     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  13819     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  13820     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  13821 L_2501DF0C:
  13822     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  13823     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  13824     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13825     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  13826     _flag_k = FK_ADD;
  13827     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  13828     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  13829     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  13830     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  13831     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  13832     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  13833     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  13834     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  13835     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  13836     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  13837     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  13838     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  13839     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  13840     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  13841     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  13842     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  13843     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  13844     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  13845     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  13846     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  13847     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  13848     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  13849     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  13850     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  13851     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  13852     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  13853     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  13854     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  13855     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  13856     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  13857     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  13858     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  13859     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  13860     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  13861     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  13862     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  13863     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  13864     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  13865     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  13866     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  13867     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  13868     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  13869     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  13870     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  13871     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  13872     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  13873     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  13874     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  13875     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  13876     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  13877     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  13878     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  13879     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  13880     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  13881     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  13882     eax = edx; /* 0x2501DFBA: mov eax, edx */
  13883     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  13884     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  13885     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  13886     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  13887     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  13888     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  13889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13890     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13891     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  13892     _flag_k = FK_ADD;
  13893     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  13894     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  13895     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  13896     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  13897     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  13898     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  13899     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  13900     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  13901     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  13902     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  13903 L_2501DFFA:
  13904     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  13905     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  13906     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  13907     eax = eax - 1; /* 0x2501E000: dec eax */
  13908     _flag_k = FK_DEC;
  13909     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  13910     edx = edx - 1; /* 0x2501E001: dec edx */
  13911     _flag_k = FK_DEC;
  13912     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  13913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  13914     _cf = 0;
  13915     _flag_k = FK_TEST;
  13916     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  13917     RECOMP_BACKEDGE();
  13918     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  13919 L_2501E00D:
  13920     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  13921     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  13922     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  13923     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  13924     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  13925     eax = eax + 1; /* 0x2501E01C: inc eax */
  13926     _flag_k = FK_INC;
  13927     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  13928     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  13929     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  13930     _flag_k = FK_ADD;
  13931     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  13932     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  13933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13934     _flag_k = FK_CMP;
  13935     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  13936     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  13937     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  13938     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  13939     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  13940     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  13941     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  13942     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  13943     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  13944     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  13945     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  13946     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  13947     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  13948     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  13949     RECOMP_BACKEDGE();
  13950     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  13951 L_2501E052:
  13952     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  13953     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  13954     RECOMP_FLAGS_IN();
  13955     ecx = eax; /* 0x2501E059: mov ecx, eax */
  13956     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  13957     RECOMP_FLAGS_IN();
  13958     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  13959     PUSH32(esp, eax); /* 0x2501E063: push eax */
  13960     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  13961     RECOMP_FLAGS_IN();
  13962     ecx = esi; /* 0x2501E069: mov ecx, esi */
  13963     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  13964     RECOMP_FLAGS_IN();
  13965     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  13966     PUSH32(esp, eax); /* 0x2501E076: push eax */
  13967     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  13968     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  13969     RECOMP_FLAGS_IN();
  13970     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  13971     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  13972     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  13973     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  13974     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  13975     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  13976     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  13977     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  13978     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  13979     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  13980     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  13981     RECOMP_FLAGS_IN();
  13982     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  13983     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  13984     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  13985     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  13986     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  13987     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  13988     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  13989     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  13990     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  13991     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  13992     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  13993     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  13994     RECOMP_FLAGS_IN();
  13995     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  13996     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  13997     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  13998     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  13999     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  14000     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  14001     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  14002     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  14003     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  14004     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  14005     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  14006     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  14007     RECOMP_FLAGS_IN();
  14008     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  14009     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  14010     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  14011     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  14012     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  14013     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  14014     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  14015     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  14016     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  14017     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  14018     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  14019     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  14020     RECOMP_FLAGS_IN();
  14021     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  14022     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  14023     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  14024     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  14025     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  14026     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  14027     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  14028     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  14029     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  14030     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  14031     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  14032     RECOMP_FLAGS_IN();
  14033     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  14034     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  14035     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  14036     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  14037     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  14038     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  14039     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  14040     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  14041     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  14042     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  14043     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  14044     RECOMP_FLAGS_IN();
  14045     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  14046     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  14047     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  14048     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  14049     RECOMP_FLAGS_IN();
  14050     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  14051     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  14052     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  14053     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  14054     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  14055     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  14056     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  14057     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  14058     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  14059     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  14060     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  14061     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  14062     RECOMP_FLAGS_IN();
  14063     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  14064     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  14065     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14066     _cf = 0;
  14067     _flag_k = FK_NARROW(FK_TEST, 24);
  14068     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  14069     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  14070 L_2501E21A:
  14071     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  14072     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  14073     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  14074     PUSH32(esp, edi); /* 0x2501E228: push edi */
  14075     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  14076     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  14077     RECOMP_FLAGS_IN();
  14078 L_2501E230:
  14079     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  14080     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  14081     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14082     _cf = 0;
  14083     _flag_k = FK_NARROW(FK_TEST, 24);
  14084     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  14085     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  14086 L_2501E23E:
  14087     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  14088     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  14089     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  14090     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  14091     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  14092     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  14093     RECOMP_FLAGS_IN();
  14094 L_2501E253:
  14095     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  14096     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  14097     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14098     _cf = 0;
  14099     _flag_k = FK_NARROW(FK_TEST, 24);
  14100     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  14101     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  14102     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  14103 L_2501E262:
  14104     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  14105     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  14106     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  14107     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  14108     PUSH32(esp, edx); /* 0x2501E276: push edx */
  14109     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  14110     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  14111     RECOMP_FLAGS_IN();
  14112 L_2501E281:
  14113     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  14114     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  14115     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14116     _cf = 0;
  14117     _flag_k = FK_NARROW(FK_TEST, 24);
  14118     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  14119     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  14120 L_2501E28F:
  14121     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  14122     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  14123     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  14124     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  14125     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  14126     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  14127     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  14128     RECOMP_FLAGS_IN();
  14129 L_2501E2A7:
  14130     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  14131     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  14132     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14133     _cf = 0;
  14134     _flag_k = FK_NARROW(FK_TEST, 24);
  14135     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  14136     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  14137 L_2501E2B5:
  14138     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  14139     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  14140     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  14141     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  14142     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  14143     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  14144     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  14145     RECOMP_FLAGS_IN();
  14146 L_2501E2CD:
  14147     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  14148     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  14149     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  14150     RECOMP_FLAGS_IN();
  14151     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  14152     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  14153     RECOMP_FLAGS_IN();
  14154     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  14155     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  14156     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  14157     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  14158     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  14159     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  14160     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  14161     RECOMP_REGS_OUT();
  14162 }
  14163 
  14164 void sub_2501DFFA(void) {
  14165     int _fpu_cmp = 0;
  14166     uint32_t _cf = 0;
  14167     int _df = 1;
  14168     uint32_t _flag_k = FK_NONE;
  14169     uint32_t _flag_a = 0, _flag_b = 0;
  14170     uint32_t _itail_tgt = 0;
  14171     RECOMP_REGS_LOCALS
  14172     RECOMP_ENTER(0x2501DFFAu);
  14173 
  14174     goto L_2501DFFA;
  14175 L_2501D994:
  14176     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  14177     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  14178     RECOMP_FLAGS_IN();
  14179     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  14180     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  14181     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  14182       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14183       else { eax = 0; edx = 0; } }
  14184     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  14185     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  14186     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  14187     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  14188     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  14189     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  14190     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  14191     RECOMP_FLAGS_IN();
  14192     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  14193     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  14194     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  14195       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14196       else { eax = 0; edx = 0; } }
  14197     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  14198     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  14199     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  14200     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  14201     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  14202     eax = edx; /* 0x2501D9E1: mov eax, edx */
  14203     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  14204     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  14205     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  14206     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  14207     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  14208     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  14209     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  14210     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  14211     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  14212     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  14213     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  14214     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  14215     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  14216     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  14217     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  14218     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  14219     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  14220     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  14221     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  14222     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  14223     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  14224     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  14225     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  14226     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  14227     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  14228     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  14229     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  14230     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  14231     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  14232     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  14233     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  14234     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  14235     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  14236     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  14237     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  14238     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  14239     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  14240     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  14241     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  14242     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  14243     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  14244     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  14245     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  14246     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  14247     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  14248     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  14249     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  14250     edx = eax; /* 0x2501DABE: mov edx, eax */
  14251     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  14252     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  14253     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  14254     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  14255     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  14256     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  14257     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  14258     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  14259     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  14260     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  14261     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  14262     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  14263     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  14264     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  14265     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  14266     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  14267     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  14268     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  14269     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  14270     RECOMP_FLAGS_IN();
  14271     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  14272     edx = edi; /* 0x2501DB23: mov edx, edi */
  14273     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  14274     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14275     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  14276     _flag_k = FK_ADD;
  14277     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  14278     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  14279     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  14280     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  14281     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  14282     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  14283     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  14284     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  14285     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  14286     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  14287     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  14288     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  14289     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  14290     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  14291     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  14292     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  14293     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  14294     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  14295     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  14296     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  14297     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  14298     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  14299     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  14300     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  14301     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  14302     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  14303     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  14304     edx = eax; /* 0x2501DB9E: mov edx, eax */
  14305     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  14306     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  14307     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  14308     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  14309     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  14310     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  14311     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  14312     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  14313     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  14314     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  14315     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  14316     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  14317     RECOMP_FLAGS_IN();
  14318     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  14319     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  14320     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  14321     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  14322     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  14323     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  14324     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  14325     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  14326     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  14327     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  14328     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  14329     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  14330     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  14331     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  14332     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  14333     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  14334     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  14335     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  14336     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  14337     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  14338     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  14339     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  14340     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  14341     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  14342     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  14343     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  14344     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  14345     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  14346     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  14347     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  14348     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  14349     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  14350     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  14351     eax = edx; /* 0x2501DC7E: mov eax, edx */
  14352     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  14353     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  14354     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  14355     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  14356     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  14357     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  14358     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  14359     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  14360     RECOMP_FLAGS_IN();
  14361     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  14362     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  14363     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  14364     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  14365     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  14366     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  14367     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  14368     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  14369     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  14370     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  14371     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  14372     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  14373     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  14374     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  14375     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  14376     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  14377     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  14378     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  14379     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  14380     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  14381     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  14382     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  14383     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  14384     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  14385     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  14386     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  14387     eax = edx; /* 0x2501DD22: mov eax, edx */
  14388     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  14389     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  14390     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  14391     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  14392     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  14393     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  14394     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  14395     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  14396     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  14397     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  14398     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  14399     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  14400     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  14401     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  14402     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  14403     RECOMP_FLAGS_IN();
  14404     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  14405     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  14406     _cf = 0;
  14407     _flag_k = FK_TEST;
  14408     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  14409     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  14410     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  14411     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  14412     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  14413     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  14414     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  14415     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  14416     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  14417 L_2501DD98:
  14418     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  14419     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  14420     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  14421     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  14422     _flag_k = FK_DEC;
  14423     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  14424     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14425     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14426     _flag_k = FK_CMP;
  14427     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  14428 L_2501DDAA:
  14429     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  14430     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  14431     RECOMP_FLAGS_IN();
  14432     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  14433     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  14434     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  14435       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14436       else { eax = 0; edx = 0; } }
  14437     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  14438     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  14439     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14440     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  14441     _flag_k = FK_NARROW(FK_ADD, 24);
  14442     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  14443     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  14444     RECOMP_FLAGS_IN();
  14445     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  14446     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  14447     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  14448       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14449       else { eax = 0; edx = 0; } }
  14450     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  14451     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  14452     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14453     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  14454     _flag_k = FK_NARROW(FK_ADD, 24);
  14455     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  14456     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  14457     RECOMP_FLAGS_IN();
  14458     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  14459     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  14460     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  14461       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14462       else { eax = 0; edx = 0; } }
  14463     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  14464     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  14465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14466     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  14467     _flag_k = FK_NARROW(FK_ADD, 24);
  14468     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  14469     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  14470     RECOMP_FLAGS_IN();
  14471     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  14472     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  14473     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  14474       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14475       else { eax = 0; edx = 0; } }
  14476     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  14477     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  14478     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14479     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  14480     _flag_k = FK_NARROW(FK_ADD, 24);
  14481     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  14482     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  14483     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  14484     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  14485     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  14486     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14487     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  14488     _flag_k = FK_ADD;
  14489     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  14490     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14492     _flag_k = FK_NARROW(FK_CMP, 24);
  14493     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  14494     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  14495 L_2501DE23:
  14496     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  14497     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  14498 L_2501DE28:
  14499     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  14500     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  14501     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14503     _flag_k = FK_NARROW(FK_CMP, 24);
  14504     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  14505 L_2501DE2F:
  14506     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  14507     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  14508 L_2501DE34:
  14509     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  14510     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  14511     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  14512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14513     _flag_k = FK_NARROW(FK_CMP, 24);
  14514     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  14515 L_2501DE3B:
  14516     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  14517     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  14518 L_2501DE40:
  14519     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  14520     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  14521     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  14522     _cf = 0;
  14523     _flag_k = FK_TEST;
  14524     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  14525 L_2501DE4A:
  14526     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  14527     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  14528 L_2501DE51:
  14529     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  14530 L_2501DE54:
  14531     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  14532     eax = edx; /* 0x2501DE56: mov eax, edx */
  14533     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  14534     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  14535     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  14536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14537     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  14538     _flag_k = FK_NARROW(FK_CMP, 24);
  14539     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  14540     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  14541     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  14542     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  14543     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14544     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  14545     _flag_k = FK_ADD;
  14546     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  14547     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  14548     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  14549     edx = edx + 1; /* 0x2501DE72: inc edx */
  14550     _flag_k = FK_INC;
  14551     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  14552     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  14553     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  14554     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  14555     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14557     _flag_k = FK_CMP;
  14558     RECOMP_BACKEDGE();
  14559     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  14560 L_2501DE84:
  14561     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  14562     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  14563     eax = eax - 1; /* 0x2501DE8A: dec eax */
  14564     _flag_k = FK_DEC;
  14565     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  14566     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  14567 L_2501DE94:
  14568     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  14569     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  14570     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14571     _cf = 0;
  14572     _flag_k = FK_TEST;
  14573 L_2501DE99:
  14574     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  14575 L_2501DE9B:
  14576     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  14577     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  14578     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  14579     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  14580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  14581     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14582     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  14583     _flag_k = FK_ADD;
  14584     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  14585     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  14586     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  14587     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  14588     fp_pop();
  14589     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  14590     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  14591     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  14592     _cf = 0;
  14593     _flag_k = FK_NARROW(FK_TEST, 24);
  14594     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  14595 L_2501DEC6:
  14596     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  14597     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  14598     fp_pop();
  14599     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  14600     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  14601     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  14602     _cf = 0;
  14603     _flag_k = FK_NARROW(FK_TEST, 24);
  14604     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  14605 L_2501DED6:
  14606     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  14607     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  14608     fp_pop();
  14609     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  14610     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  14611     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  14612     _cf = 0;
  14613     _flag_k = FK_NARROW(FK_TEST, 24);
  14614     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  14615 L_2501DEE6:
  14616     eax = edx; /* 0x2501DEE6: mov eax, edx */
  14617     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  14618     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  14619     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14620     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  14621     _flag_k = FK_ADD;
  14622     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  14623     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  14624     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  14625     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  14626     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  14627     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  14628     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  14629     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  14630     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  14631 L_2501DF0C:
  14632     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  14633     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  14634     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14635     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  14636     _flag_k = FK_ADD;
  14637     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  14638     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  14639     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  14640     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  14641     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  14642     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  14643     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  14644     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  14645     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  14646     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  14647     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  14648     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  14649     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  14650     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  14651     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  14652     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  14653     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  14654     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  14655     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  14656     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  14657     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  14658     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  14659     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  14660     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  14661     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  14662     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  14663     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  14664     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  14665     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  14666     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  14667     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  14668     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  14669     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  14670     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  14671     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  14672     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  14673     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  14674     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  14675     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  14676     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  14677     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  14678     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  14679     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  14680     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  14681     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  14682     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  14683     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  14684     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  14685     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  14686     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  14687     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  14688     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  14689     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  14690     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  14691     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  14692     eax = edx; /* 0x2501DFBA: mov eax, edx */
  14693     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  14694     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  14695     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  14696     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  14697     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  14698     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  14699     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14700     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14701     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  14702     _flag_k = FK_ADD;
  14703     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  14704     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  14705     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  14706     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  14707     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  14708     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  14709     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  14710     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  14711     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  14712     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  14713 L_2501DFFA:
  14714     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  14715     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  14716     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  14717     eax = eax - 1; /* 0x2501E000: dec eax */
  14718     _flag_k = FK_DEC;
  14719     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  14720     edx = edx - 1; /* 0x2501E001: dec edx */
  14721     _flag_k = FK_DEC;
  14722     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  14723     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  14724     _cf = 0;
  14725     _flag_k = FK_TEST;
  14726     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  14727     RECOMP_BACKEDGE();
  14728     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  14729 L_2501E00D:
  14730     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  14731     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  14732     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  14733     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  14734     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  14735     eax = eax + 1; /* 0x2501E01C: inc eax */
  14736     _flag_k = FK_INC;
  14737     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  14738     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  14739     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  14740     _flag_k = FK_ADD;
  14741     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  14742     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  14743     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14744     _flag_k = FK_CMP;
  14745     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  14746     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  14747     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  14748     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  14749     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  14750     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  14751     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  14752     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  14753     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  14754     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  14755     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  14756     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  14757     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  14758     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  14759     RECOMP_BACKEDGE();
  14760     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  14761 L_2501E052:
  14762     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  14763     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  14764     RECOMP_FLAGS_IN();
  14765     ecx = eax; /* 0x2501E059: mov ecx, eax */
  14766     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  14767     RECOMP_FLAGS_IN();
  14768     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  14769     PUSH32(esp, eax); /* 0x2501E063: push eax */
  14770     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  14771     RECOMP_FLAGS_IN();
  14772     ecx = esi; /* 0x2501E069: mov ecx, esi */
  14773     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  14774     RECOMP_FLAGS_IN();
  14775     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  14776     PUSH32(esp, eax); /* 0x2501E076: push eax */
  14777     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  14778     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  14779     RECOMP_FLAGS_IN();
  14780     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  14781     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  14782     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  14783     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  14784     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  14785     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  14786     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  14787     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  14788     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  14789     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  14790     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  14791     RECOMP_FLAGS_IN();
  14792     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  14793     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  14794     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  14795     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  14796     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  14797     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  14798     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  14799     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  14800     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  14801     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  14802     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  14803     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  14804     RECOMP_FLAGS_IN();
  14805     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  14806     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  14807     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  14808     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  14809     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  14810     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  14811     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  14812     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  14813     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  14814     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  14815     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  14816     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  14817     RECOMP_FLAGS_IN();
  14818     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  14819     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  14820     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  14821     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  14822     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  14823     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  14824     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  14825     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  14826     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  14827     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  14828     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  14829     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  14830     RECOMP_FLAGS_IN();
  14831     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  14832     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  14833     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  14834     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  14835     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  14836     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  14837     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  14838     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  14839     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  14840     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  14841     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  14842     RECOMP_FLAGS_IN();
  14843     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  14844     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  14845     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  14846     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  14847     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  14848     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  14849     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  14850     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  14851     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  14852     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  14853     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  14854     RECOMP_FLAGS_IN();
  14855     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  14856     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  14857     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  14858     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  14859     RECOMP_FLAGS_IN();
  14860     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  14861     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  14862     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  14863     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  14864     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  14865     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  14866     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  14867     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  14868     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  14869     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  14870     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  14871     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  14872     RECOMP_FLAGS_IN();
  14873     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  14874     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  14875     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14876     _cf = 0;
  14877     _flag_k = FK_NARROW(FK_TEST, 24);
  14878     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  14879     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  14880 L_2501E21A:
  14881     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  14882     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  14883     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  14884     PUSH32(esp, edi); /* 0x2501E228: push edi */
  14885     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  14886     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  14887     RECOMP_FLAGS_IN();
  14888 L_2501E230:
  14889     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  14890     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  14891     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14892     _cf = 0;
  14893     _flag_k = FK_NARROW(FK_TEST, 24);
  14894     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  14895     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  14896 L_2501E23E:
  14897     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  14898     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  14899     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  14900     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  14901     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  14902     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  14903     RECOMP_FLAGS_IN();
  14904 L_2501E253:
  14905     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  14906     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  14907     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14908     _cf = 0;
  14909     _flag_k = FK_NARROW(FK_TEST, 24);
  14910     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  14911     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  14912     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  14913 L_2501E262:
  14914     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  14915     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  14916     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  14917     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  14918     PUSH32(esp, edx); /* 0x2501E276: push edx */
  14919     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  14920     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  14921     RECOMP_FLAGS_IN();
  14922 L_2501E281:
  14923     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  14924     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  14925     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14926     _cf = 0;
  14927     _flag_k = FK_NARROW(FK_TEST, 24);
  14928     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  14929     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  14930 L_2501E28F:
  14931     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  14932     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  14933     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  14934     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  14935     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  14936     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  14937     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  14938     RECOMP_FLAGS_IN();
  14939 L_2501E2A7:
  14940     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  14941     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  14942     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  14943     _cf = 0;
  14944     _flag_k = FK_NARROW(FK_TEST, 24);
  14945     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  14946     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  14947 L_2501E2B5:
  14948     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  14949     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  14950     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  14951     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  14952     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  14953     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  14954     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  14955     RECOMP_FLAGS_IN();
  14956 L_2501E2CD:
  14957     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  14958     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  14959     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  14960     RECOMP_FLAGS_IN();
  14961     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  14962     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  14963     RECOMP_FLAGS_IN();
  14964     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  14965     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  14966     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  14967     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  14968     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  14969     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  14970     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  14971     RECOMP_REGS_OUT();
  14972 }
  14973 
  14974 void sub_2501E00D(void) {
  14975     int _fpu_cmp = 0;
  14976     uint32_t _cf = 0;
  14977     int _df = 1;
  14978     uint32_t _flag_k = FK_NONE;
  14979     uint32_t _flag_a = 0, _flag_b = 0;
  14980     uint32_t _itail_tgt = 0;
  14981     RECOMP_REGS_LOCALS
  14982     RECOMP_ENTER(0x2501E00Du);
  14983 
  14984     goto L_2501E00D;
  14985 L_2501D994:
  14986     ebx = MEM32(0x25151264); /* 0x2501D994: mov ebx, dword ptr [0x25151264] */
  14987     RECOMP_ICALL(ebx); /* 0x2501D99A: call ebx */
  14988     RECOMP_FLAGS_IN();
  14989     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D99C: cdq  */
  14990     ecx = 0x7D0u; /* 0x2501D99D: mov ecx, 0x7d0 */
  14991     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9A2: idiv ecx */
  14992       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  14993       else { eax = 0; edx = 0; } }
  14994     MEM32(ebp + (-0x14)) = edx; /* 0x2501D9A4: mov dword ptr [ebp - 0x14], edx */
  14995     fp_push((double)(int32_t)MEM32(ebp + (-0x14))); /* 0x2501D9A7: fild dword ptr [ebp - 0x14] */
  14996     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9AA: fmul dword ptr [0x25152770] */
  14997     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501D9B0: fsub dword ptr [0x251517a4] */
  14998     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501D9B6: fmul dword ptr [0x25152774] */
  14999     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501D9BC: fstp dword ptr [ebp - 0x14] */
  15000     RECOMP_ICALL(ebx); /* 0x2501D9BF: call ebx */
  15001     RECOMP_FLAGS_IN();
  15002     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501D9C1: cdq  */
  15003     ecx = 0x7D0u; /* 0x2501D9C2: mov ecx, 0x7d0 */
  15004     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501D9C7: idiv ecx */
  15005       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  15006       else { eax = 0; edx = 0; } }
  15007     ebx = MEM32(ebp + (-0x28)); /* 0x2501D9C9: mov ebx, dword ptr [ebp - 0x28] */
  15008     MEM32(ebp + (-0x88)) = ebx; /* 0x2501D9CC: mov dword ptr [ebp - 0x88], ebx */
  15009     MEM32(ebp + (-0x98)) = edx; /* 0x2501D9D2: mov dword ptr [ebp - 0x98], edx */
  15010     fp_push((double)(int32_t)MEM32(ebp + (-0x98))); /* 0x2501D9D8: fild dword ptr [ebp - 0x98] */
  15011     edx = MEM32(ebp + (-0x14)); /* 0x2501D9DE: mov edx, dword ptr [ebp - 0x14] */
  15012     eax = edx; /* 0x2501D9E1: mov eax, edx */
  15013     MEM32(ebp + (-0xA4)) = eax; /* 0x2501D9E3: mov dword ptr [ebp - 0xa4], eax */
  15014     _st[0] *= (double)*(float*)ADDR(0x25152770); /* 0x2501D9E9: fmul dword ptr [0x25152770] */
  15015     MEM32(ebp + (-0xF8)) = edx; /* 0x2501D9EF: mov dword ptr [ebp - 0xf8], edx */
  15016     edx = MEM32(ebp + (-0xF0)); /* 0x2501D9F5: mov edx, dword ptr [ebp - 0xf0] */
  15017     MEM32(ebp + (-0x9C)) = edx; /* 0x2501D9FB: mov dword ptr [ebp - 0x9c], edx */
  15018     _st[0] -= (double)*(float*)ADDR(0x251517A4); /* 0x2501DA01: fsub dword ptr [0x251517a4] */
  15019     _st[0] *= (double)*(float*)ADDR(0x25152774); /* 0x2501DA07: fmul dword ptr [0x25152774] */
  15020     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xF4)) = _v; } /* 0x2501DA0D: fstp dword ptr [ebp - 0xf4] */
  15021     ecx = MEM32(ebp + (-0xF4)); /* 0x2501DA13: mov ecx, dword ptr [ebp - 0xf4] */
  15022     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DA19: fld dword ptr [ebp - 0x14] */
  15023     MEM32(ebp + (-0xA0)) = ecx; /* 0x2501DA1C: mov dword ptr [ebp - 0xa0], ecx */
  15024     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA22: fmul dword ptr [ebp - 0x2c] */
  15025     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA4)) = _v; } /* 0x2501DA25: fstp dword ptr [ebp - 0xa4] */
  15026     eax = MEM32(ebp + (-0xA4)); /* 0x2501DA2B: mov eax, dword ptr [ebp - 0xa4] */
  15027     fp_push(*(float*)&MEM32(ebp + (-0xA0))); /* 0x2501DA31: fld dword ptr [ebp - 0xa0] */
  15028     MEM32(ebp + (-0x48)) = eax; /* 0x2501DA37: mov dword ptr [ebp - 0x48], eax */
  15029     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA3A: fmul dword ptr [ebp - 0x2c] */
  15030     eax = MEM32(ebp + (-0x24)); /* 0x2501DA3D: mov eax, dword ptr [ebp - 0x24] */
  15031     MEM32(ebp + (-0x84)) = eax; /* 0x2501DA40: mov dword ptr [ebp - 0x84], eax */
  15032     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA0)) = _v; } /* 0x2501DA46: fstp dword ptr [ebp - 0xa0] */
  15033     ecx = MEM32(ebp + (-0xA0)); /* 0x2501DA4C: mov ecx, dword ptr [ebp - 0xa0] */
  15034     fp_push(*(float*)&MEM32(ebp + (-0x9C))); /* 0x2501DA52: fld dword ptr [ebp - 0x9c] */
  15035     MEM32(ebp + (-0x44)) = ecx; /* 0x2501DA58: mov dword ptr [ebp - 0x44], ecx */
  15036     _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501DA5B: fmul dword ptr [ebp - 0x2c] */
  15037     ecx = MEM32(ebp + (-0x20)); /* 0x2501DA5E: mov ecx, dword ptr [ebp - 0x20] */
  15038     MEM32(ebp + (-0x80)) = ecx; /* 0x2501DA61: mov dword ptr [ebp - 0x80], ecx */
  15039     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x9C)) = _v; } /* 0x2501DA64: fstp dword ptr [ebp - 0x9c] */
  15040     edx = MEM32(ebp + (-0x9C)); /* 0x2501DA6A: mov edx, dword ptr [ebp - 0x9c] */
  15041     fp_push(*(float*)&MEM32(ebp + (-0xA4))); /* 0x2501DA70: fld dword ptr [ebp - 0xa4] */
  15042     MEM32(ebp + (-0x40)) = edx; /* 0x2501DA76: mov dword ptr [ebp - 0x40], edx */
  15043     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA79: fmul dword ptr [ebp - 0x30] */
  15044     fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2501DA7C: fld dword ptr [ebp - 0x44] */
  15045     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA7F: fmul dword ptr [ebp - 0x30] */
  15046     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x2501DA82: fstp dword ptr [ebp - 0x44] */
  15047     fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2501DA85: fld dword ptr [ebp - 0x40] */
  15048     _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2501DA88: fmul dword ptr [ebp - 0x30] */
  15049     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2501DA8B: fstp dword ptr [ebp - 0x40] */
  15050     _st[0] += (double)*(float*)ADDR(ebp + (-0x28)); /* 0x2501DA8E: fadd dword ptr [ebp - 0x28] */
  15051     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2501DA91: fst dword ptr [ebp - 0x14] */
  15052     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x88)) = _v; } /* 0x2501DA94: fstp dword ptr [ebp - 0x88] */
  15053     edx = MEM32(ebp + (-0x88)); /* 0x2501DA9A: mov edx, dword ptr [ebp - 0x88] */
  15054     fp_push(*(float*)&MEM32(ebp + (-0x84))); /* 0x2501DAA0: fld dword ptr [ebp - 0x84] */
  15055     MEM32(ebp + (-0xE0)) = edx; /* 0x2501DAA6: mov dword ptr [ebp - 0xe0], edx */
  15056     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DAAC: fadd dword ptr [ebp - 0x44] */
  15057     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x84)) = _v; } /* 0x2501DAAF: fstp dword ptr [ebp - 0x84] */
  15058     eax = MEM32(ebp + (-0x84)); /* 0x2501DAB5: mov eax, dword ptr [ebp - 0x84] */
  15059     fp_push(*(float*)&MEM32(ebp + (-0x80))); /* 0x2501DABB: fld dword ptr [ebp - 0x80] */
  15060     edx = eax; /* 0x2501DABE: mov edx, eax */
  15061     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DAC0: fadd dword ptr [ebp - 0x40] */
  15062     MEM32(ebp + (-0xDC)) = eax; /* 0x2501DAC3: mov dword ptr [ebp - 0xdc], eax */
  15063     MEM32(ebp + (-0xDC)) = edx; /* 0x2501DAC9: mov dword ptr [ebp - 0xdc], edx */
  15064     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x80)) = _v; } /* 0x2501DACF: fstp dword ptr [ebp - 0x80] */
  15065     ecx = MEM32(ebp + (-0x80)); /* 0x2501DAD2: mov ecx, dword ptr [ebp - 0x80] */
  15066     fp_push(*(float*)&MEM32(ebp + (-0x88))); /* 0x2501DAD5: fld dword ptr [ebp - 0x88] */
  15067     MEM32(ebp + (-0xD8)) = ecx; /* 0x2501DADB: mov dword ptr [ebp - 0xd8], ecx */
  15068     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DAE1: fsub dword ptr [0x2515276c] */
  15069     eax = ecx; /* 0x2501DAE7: mov eax, ecx */
  15070     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE0)) = _v; } /* 0x2501DAE9: fstp dword ptr [ebp - 0xe0] */
  15071     ecx = MEM32(ebp + (-0xE0)); /* 0x2501DAEF: mov ecx, dword ptr [ebp - 0xe0] */
  15072     MEM32(ebp + (-0x11C)) = ecx; /* 0x2501DAF5: mov dword ptr [ebp - 0x11c], ecx */
  15073     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DAFB: mov ecx, dword ptr [ebp - 0x4c] */
  15074     PUSH32(esp, ecx); /* 0x2501DAFE: push ecx */
  15075     ecx = ebp + (-0x11C); /* 0x2501DAFF: lea ecx, [ebp - 0x11c] */
  15076     MEM32(ebp + (-0xD8)) = eax; /* 0x2501DB05: mov dword ptr [ebp - 0xd8], eax */
  15077     MEM32(ebp + (-0x118)) = edx; /* 0x2501DB0B: mov dword ptr [ebp - 0x118], edx */
  15078     MEM32(ebp + (-0x114)) = eax; /* 0x2501DB11: mov dword ptr [ebp - 0x114], eax */
  15079     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DB17: call dword ptr [0x2515151c] */
  15080     RECOMP_FLAGS_IN();
  15081     ecx = MEM32(esi + 0x1E0); /* 0x2501DB1D: mov ecx, dword ptr [esi + 0x1e0] */
  15082     edx = edi; /* 0x2501DB23: mov edx, edi */
  15083     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  15084     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15085     edx = edx + ecx; /* 0x2501DB25: add edx, ecx */
  15086     _flag_k = FK_ADD;
  15087     ecx = MEM32(eax); /* 0x2501DB27: mov ecx, dword ptr [eax] */
  15088     MEM32(edx) = ecx; /* 0x2501DB29: mov dword ptr [edx], ecx */
  15089     ecx = MEM32(eax + 0x4); /* 0x2501DB2B: mov ecx, dword ptr [eax + 4] */
  15090     MEM32(edx + 0x4) = ecx; /* 0x2501DB2E: mov dword ptr [edx + 4], ecx */
  15091     eax = MEM32(eax + 0x8); /* 0x2501DB31: mov eax, dword ptr [eax + 8] */
  15092     ecx = MEM32(ebp + (-0x24)); /* 0x2501DB34: mov ecx, dword ptr [ebp - 0x24] */
  15093     MEM32(ebp + (-0x90)) = ecx; /* 0x2501DB37: mov dword ptr [ebp - 0x90], ecx */
  15094     fp_push(*(float*)&MEM32(ebp + (-0x90))); /* 0x2501DB3D: fld dword ptr [ebp - 0x90] */
  15095     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DB43: fadd dword ptr [ebp - 0x44] */
  15096     MEM32(edx + 0x8) = eax; /* 0x2501DB46: mov dword ptr [edx + 8], eax */
  15097     edx = MEM32(ebp + (-0x20)); /* 0x2501DB49: mov edx, dword ptr [ebp - 0x20] */
  15098     eax = MEM32(ebp + (-0x14)); /* 0x2501DB4C: mov eax, dword ptr [ebp - 0x14] */
  15099     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x90)) = _v; } /* 0x2501DB4F: fstp dword ptr [ebp - 0x90] */
  15100     MEM32(ebp + (-0x8C)) = edx; /* 0x2501DB55: mov dword ptr [ebp - 0x8c], edx */
  15101     fp_push(*(float*)&MEM32(ebp + (-0x8C))); /* 0x2501DB5B: fld dword ptr [ebp - 0x8c] */
  15102     edx = MEM32(ebp + (-0x90)); /* 0x2501DB61: mov edx, dword ptr [ebp - 0x90] */
  15103     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DB67: fadd dword ptr [ebp - 0x40] */
  15104     ecx = eax; /* 0x2501DB6A: mov ecx, eax */
  15105     MEM32(ebp + (-0x94)) = ebx; /* 0x2501DB6C: mov dword ptr [ebp - 0x94], ebx */
  15106     MEM32(ebp + (-0x94)) = eax; /* 0x2501DB72: mov dword ptr [ebp - 0x94], eax */
  15107     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8C)) = _v; } /* 0x2501DB78: fstp dword ptr [ebp - 0x8c] */
  15108     eax = MEM32(ebp + (-0x8C)); /* 0x2501DB7E: mov eax, dword ptr [ebp - 0x8c] */
  15109     fp_push(*(float*)&MEM32(ebp + (-0x94))); /* 0x2501DB84: fld dword ptr [ebp - 0x94] */
  15110     MEM32(ebp + (-0xD4)) = ecx; /* 0x2501DB8A: mov dword ptr [ebp - 0xd4], ecx */
  15111     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DB90: fadd dword ptr [0x2515276c] */
  15112     ecx = edx; /* 0x2501DB96: mov ecx, edx */
  15113     MEM32(ebp + (-0xD0)) = edx; /* 0x2501DB98: mov dword ptr [ebp - 0xd0], edx */
  15114     edx = eax; /* 0x2501DB9E: mov edx, eax */
  15115     MEM32(ebp + (-0xCC)) = eax; /* 0x2501DBA0: mov dword ptr [ebp - 0xcc], eax */
  15116     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xD4)) = _v; } /* 0x2501DBA6: fstp dword ptr [ebp - 0xd4] */
  15117     eax = MEM32(ebp + (-0xD4)); /* 0x2501DBAC: mov eax, dword ptr [ebp - 0xd4] */
  15118     MEM32(ebp + (-0x104)) = eax; /* 0x2501DBB2: mov dword ptr [ebp - 0x104], eax */
  15119     eax = MEM32(ebp + (-0x4C)); /* 0x2501DBB8: mov eax, dword ptr [ebp - 0x4c] */
  15120     MEM32(ebp + (-0xD0)) = ecx; /* 0x2501DBBB: mov dword ptr [ebp - 0xd0], ecx */
  15121     MEM32(ebp + (-0x100)) = ecx; /* 0x2501DBC1: mov dword ptr [ebp - 0x100], ecx */
  15122     PUSH32(esp, eax); /* 0x2501DBC7: push eax */
  15123     ecx = ebp + (-0x104); /* 0x2501DBC8: lea ecx, [ebp - 0x104] */
  15124     MEM32(ebp + (-0xCC)) = edx; /* 0x2501DBCE: mov dword ptr [ebp - 0xcc], edx */
  15125     MEM32(ebp + (-0xFC)) = edx; /* 0x2501DBD4: mov dword ptr [ebp - 0xfc], edx */
  15126     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DBDA: call dword ptr [0x2515151c] */
  15127     RECOMP_FLAGS_IN();
  15128     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DBE0: fld dword ptr [ebp - 0x14] */
  15129     ecx = MEM32(esi + 0x1E0); /* 0x2501DBE3: mov ecx, dword ptr [esi + 0x1e0] */
  15130     edx = edi + ecx + 0x18; /* 0x2501DBE9: lea edx, [edi + ecx + 0x18] */
  15131     ecx = MEM32(eax); /* 0x2501DBED: mov ecx, dword ptr [eax] */
  15132     MEM32(edx) = ecx; /* 0x2501DBEF: mov dword ptr [edx], ecx */
  15133     ecx = MEM32(eax + 0x4); /* 0x2501DBF1: mov ecx, dword ptr [eax + 4] */
  15134     MEM32(edx + 0x4) = ecx; /* 0x2501DBF4: mov dword ptr [edx + 4], ecx */
  15135     ecx = MEM32(ebp + (-0x24)); /* 0x2501DBF7: mov ecx, dword ptr [ebp - 0x24] */
  15136     eax = MEM32(eax + 0x8); /* 0x2501DBFA: mov eax, dword ptr [eax + 8] */
  15137     MEM32(ebp + (-0xB8)) = ecx; /* 0x2501DBFD: mov dword ptr [ebp - 0xb8], ecx */
  15138     MEM32(ebp + (-0xBC)) = ebx; /* 0x2501DC03: mov dword ptr [ebp - 0xbc], ebx */
  15139     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xBC)) = _v; } /* 0x2501DC09: fst dword ptr [ebp - 0xbc] */
  15140     fp_push(*(float*)&MEM32(ebp + (-0xB8))); /* 0x2501DC0F: fld dword ptr [ebp - 0xb8] */
  15141     MEM32(edx + 0x8) = eax; /* 0x2501DC15: mov dword ptr [edx + 8], eax */
  15142     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DC18: fadd dword ptr [ebp - 0x44] */
  15143     edx = MEM32(ebp + (-0x20)); /* 0x2501DC1B: mov edx, dword ptr [ebp - 0x20] */
  15144     eax = MEM32(ebp + (-0xBC)); /* 0x2501DC1E: mov eax, dword ptr [ebp - 0xbc] */
  15145     MEM32(ebp + (-0xB4)) = edx; /* 0x2501DC24: mov dword ptr [ebp - 0xb4], edx */
  15146     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB8)) = _v; } /* 0x2501DC2A: fstp dword ptr [ebp - 0xb8] */
  15147     ecx = MEM32(ebp + (-0xB8)); /* 0x2501DC30: mov ecx, dword ptr [ebp - 0xb8] */
  15148     fp_push(*(float*)&MEM32(ebp + (-0xB4))); /* 0x2501DC36: fld dword ptr [ebp - 0xb4] */
  15149     MEM32(ebp + (-0xEC)) = eax; /* 0x2501DC3C: mov dword ptr [ebp - 0xec], eax */
  15150     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DC42: fadd dword ptr [ebp - 0x40] */
  15151     MEM32(ebp + (-0xE8)) = ecx; /* 0x2501DC45: mov dword ptr [ebp - 0xe8], ecx */
  15152     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xB4)) = _v; } /* 0x2501DC4B: fstp dword ptr [ebp - 0xb4] */
  15153     edx = MEM32(ebp + (-0xB4)); /* 0x2501DC51: mov edx, dword ptr [ebp - 0xb4] */
  15154     MEM32(ebp + (-0xE4)) = edx; /* 0x2501DC57: mov dword ptr [ebp - 0xe4], edx */
  15155     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xEC)) = _v; } /* 0x2501DC5D: fstp dword ptr [ebp - 0xec] */
  15156     fp_push(*(float*)&MEM32(ebp + (-0xE8))); /* 0x2501DC63: fld dword ptr [ebp - 0xe8] */
  15157     ecx = MEM32(ebp + (-0xEC)); /* 0x2501DC69: mov ecx, dword ptr [ebp - 0xec] */
  15158     _st[0] -= (double)*(float*)ADDR(0x2515276C); /* 0x2501DC6F: fsub dword ptr [0x2515276c] */
  15159     MEM32(ebp + (-0x110)) = ecx; /* 0x2501DC75: mov dword ptr [ebp - 0x110], ecx */
  15160     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DC7B: mov ecx, dword ptr [ebp - 0x4c] */
  15161     eax = edx; /* 0x2501DC7E: mov eax, edx */
  15162     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xE8)) = _v; } /* 0x2501DC80: fstp dword ptr [ebp - 0xe8] */
  15163     edx = MEM32(ebp + (-0xE8)); /* 0x2501DC86: mov edx, dword ptr [ebp - 0xe8] */
  15164     PUSH32(esp, ecx); /* 0x2501DC8C: push ecx */
  15165     ecx = ebp + (-0x110); /* 0x2501DC8D: lea ecx, [ebp - 0x110] */
  15166     MEM32(ebp + (-0xE4)) = eax; /* 0x2501DC93: mov dword ptr [ebp - 0xe4], eax */
  15167     MEM32(ebp + (-0x10C)) = edx; /* 0x2501DC99: mov dword ptr [ebp - 0x10c], edx */
  15168     MEM32(ebp + (-0x108)) = eax; /* 0x2501DC9F: mov dword ptr [ebp - 0x108], eax */
  15169     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DCA5: call dword ptr [0x2515151c] */
  15170     RECOMP_FLAGS_IN();
  15171     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501DCAB: fld dword ptr [ebp - 0x14] */
  15172     edx = MEM32(esi + 0x1E0); /* 0x2501DCAE: mov edx, dword ptr [esi + 0x1e0] */
  15173     ecx = edi + edx + 0x30; /* 0x2501DCB4: lea ecx, [edi + edx + 0x30] */
  15174     edx = MEM32(eax); /* 0x2501DCB8: mov edx, dword ptr [eax] */
  15175     MEM32(ecx) = edx; /* 0x2501DCBA: mov dword ptr [ecx], edx */
  15176     edx = MEM32(eax + 0x4); /* 0x2501DCBC: mov edx, dword ptr [eax + 4] */
  15177     MEM32(ecx + 0x4) = edx; /* 0x2501DCBF: mov dword ptr [ecx + 4], edx */
  15178     eax = MEM32(eax + 0x8); /* 0x2501DCC2: mov eax, dword ptr [eax + 8] */
  15179     edx = MEM32(ebp + (-0x20)); /* 0x2501DCC5: mov edx, dword ptr [ebp - 0x20] */
  15180     MEM32(ecx + 0x8) = eax; /* 0x2501DCC8: mov dword ptr [ecx + 8], eax */
  15181     ecx = MEM32(ebp + (-0x24)); /* 0x2501DCCB: mov ecx, dword ptr [ebp - 0x24] */
  15182     MEM32(ebp + (-0xAC)) = ecx; /* 0x2501DCCE: mov dword ptr [ebp - 0xac], ecx */
  15183     MEM32(ebp + (-0xB0)) = ebx; /* 0x2501DCD4: mov dword ptr [ebp - 0xb0], ebx */
  15184     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xB0)) = _v; } /* 0x2501DCDA: fst dword ptr [ebp - 0xb0] */
  15185     fp_push(*(float*)&MEM32(ebp + (-0xAC))); /* 0x2501DCE0: fld dword ptr [ebp - 0xac] */
  15186     eax = MEM32(ebp + (-0xB0)); /* 0x2501DCE6: mov eax, dword ptr [ebp - 0xb0] */
  15187     _st[0] += (double)*(float*)ADDR(ebp + (-0x44)); /* 0x2501DCEC: fadd dword ptr [ebp - 0x44] */
  15188     MEM32(ebp + (-0xA8)) = edx; /* 0x2501DCEF: mov dword ptr [ebp - 0xa8], edx */
  15189     MEM32(ebp + (-0xC8)) = eax; /* 0x2501DCF5: mov dword ptr [ebp - 0xc8], eax */
  15190     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xAC)) = _v; } /* 0x2501DCFB: fstp dword ptr [ebp - 0xac] */
  15191     ecx = MEM32(ebp + (-0xAC)); /* 0x2501DD01: mov ecx, dword ptr [ebp - 0xac] */
  15192     fp_push(*(float*)&MEM32(ebp + (-0xA8))); /* 0x2501DD07: fld dword ptr [ebp - 0xa8] */
  15193     MEM32(ebp + (-0xC4)) = ecx; /* 0x2501DD0D: mov dword ptr [ebp - 0xc4], ecx */
  15194     _st[0] += (double)*(float*)ADDR(ebp + (-0x40)); /* 0x2501DD13: fadd dword ptr [ebp - 0x40] */
  15195     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xA8)) = _v; } /* 0x2501DD16: fstp dword ptr [ebp - 0xa8] */
  15196     edx = MEM32(ebp + (-0xA8)); /* 0x2501DD1C: mov edx, dword ptr [ebp - 0xa8] */
  15197     eax = edx; /* 0x2501DD22: mov eax, edx */
  15198     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC8)) = _v; } /* 0x2501DD24: fstp dword ptr [ebp - 0xc8] */
  15199     ecx = MEM32(ebp + (-0xC8)); /* 0x2501DD2A: mov ecx, dword ptr [ebp - 0xc8] */
  15200     fp_push(*(float*)&MEM32(ebp + (-0xC4))); /* 0x2501DD30: fld dword ptr [ebp - 0xc4] */
  15201     MEM32(ebp + (-0x128)) = ecx; /* 0x2501DD36: mov dword ptr [ebp - 0x128], ecx */
  15202     _st[0] += (double)*(float*)ADDR(0x2515276C); /* 0x2501DD3C: fadd dword ptr [0x2515276c] */
  15203     ecx = MEM32(ebp + (-0x4C)); /* 0x2501DD42: mov ecx, dword ptr [ebp - 0x4c] */
  15204     MEM32(ebp + (-0xC0)) = edx; /* 0x2501DD45: mov dword ptr [ebp - 0xc0], edx */
  15205     PUSH32(esp, ecx); /* 0x2501DD4B: push ecx */
  15206     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC4)) = _v; } /* 0x2501DD4C: fstp dword ptr [ebp - 0xc4] */
  15207     edx = MEM32(ebp + (-0xC4)); /* 0x2501DD52: mov edx, dword ptr [ebp - 0xc4] */
  15208     ecx = ebp + (-0x128); /* 0x2501DD58: lea ecx, [ebp - 0x128] */
  15209     MEM32(ebp + (-0xC0)) = eax; /* 0x2501DD5E: mov dword ptr [ebp - 0xc0], eax */
  15210     MEM32(ebp + (-0x124)) = edx; /* 0x2501DD64: mov dword ptr [ebp - 0x124], edx */
  15211     MEM32(ebp + (-0x120)) = eax; /* 0x2501DD6A: mov dword ptr [ebp - 0x120], eax */
  15212     RECOMP_ICALL(MEM32(0x2515151C)); /* 0x2501DD70: call dword ptr [0x2515151c] */
  15213     RECOMP_FLAGS_IN();
  15214     /* test edi, edi */ /* 0x2501DD76: test edi, edi */
  15215     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  15216     _cf = 0;
  15217     _flag_k = FK_TEST;
  15218     edx = MEM32(esi + 0x1E0); /* 0x2501DD78: mov edx, dword ptr [esi + 0x1e0] */
  15219     ecx = edi + edx + 0x48; /* 0x2501DD7E: lea ecx, [edi + edx + 0x48] */
  15220     edx = MEM32(eax); /* 0x2501DD82: mov edx, dword ptr [eax] */
  15221     MEM32(ecx) = edx; /* 0x2501DD84: mov dword ptr [ecx], edx */
  15222     edx = MEM32(eax + 0x4); /* 0x2501DD86: mov edx, dword ptr [eax + 4] */
  15223     MEM32(ecx + 0x4) = edx; /* 0x2501DD89: mov dword ptr [ecx + 4], edx */
  15224     eax = MEM32(eax + 0x8); /* 0x2501DD8C: mov eax, dword ptr [eax + 8] */
  15225     MEM32(ecx + 0x8) = eax; /* 0x2501DD8F: mov dword ptr [ecx + 8], eax */
  15226     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DD92: je 0x2501de84 */
  15227 L_2501DD98:
  15228     ecx = MEM32(esi + 0x224); /* 0x2501DD98: mov ecx, dword ptr [esi + 0x224] */
  15229     eax = MEM32(ebp + (-0x18)); /* 0x2501DD9E: mov eax, dword ptr [ebp - 0x18] */
  15230     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  15231     ecx = ecx - 1; /* 0x2501DDA1: dec ecx */
  15232     _flag_k = FK_DEC;
  15233     /* cmp eax, ecx */ /* 0x2501DDA2: cmp eax, ecx */
  15234     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15236     _flag_k = FK_CMP;
  15237     if (CMP_GE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DDA4: jge 0x2501de84 */
  15238 L_2501DDAA:
  15239     ebx = MEM32(0x25151264); /* 0x2501DDAA: mov ebx, dword ptr [0x25151264] */
  15240     RECOMP_ICALL(ebx); /* 0x2501DDB0: call ebx */
  15241     RECOMP_FLAGS_IN();
  15242     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDB2: cdq  */
  15243     ecx = 0xC8u; /* 0x2501DDB3: mov ecx, 0xc8 */
  15244     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDB8: idiv ecx */
  15245       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  15246       else { eax = 0; edx = 0; } }
  15247     eax = MEM32(esi + 0x1E0); /* 0x2501DDBA: mov eax, dword ptr [esi + 0x1e0] */
  15248     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  15249     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15250     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDC0: add dl, 0x37 */
  15251     _flag_k = FK_NARROW(FK_ADD, 24);
  15252     MEM8(edi + eax + 0xF) = (uint8_t)(LO8(edx)); /* 0x2501DDC3: mov byte ptr [edi + eax + 0xf], dl */
  15253     RECOMP_ICALL(ebx); /* 0x2501DDC7: call ebx */
  15254     RECOMP_FLAGS_IN();
  15255     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDC9: cdq  */
  15256     ecx = 0xC8u; /* 0x2501DDCA: mov ecx, 0xc8 */
  15257     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDCF: idiv ecx */
  15258       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  15259       else { eax = 0; edx = 0; } }
  15260     eax = MEM32(esi + 0x1E0); /* 0x2501DDD1: mov eax, dword ptr [esi + 0x1e0] */
  15261     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  15262     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15263     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDD7: add dl, 0x37 */
  15264     _flag_k = FK_NARROW(FK_ADD, 24);
  15265     MEM8(edi + eax + 0x27) = (uint8_t)(LO8(edx)); /* 0x2501DDDA: mov byte ptr [edi + eax + 0x27], dl */
  15266     RECOMP_ICALL(ebx); /* 0x2501DDDE: call ebx */
  15267     RECOMP_FLAGS_IN();
  15268     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDE0: cdq  */
  15269     ecx = 0xC8u; /* 0x2501DDE1: mov ecx, 0xc8 */
  15270     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDE6: idiv ecx */
  15271       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  15272       else { eax = 0; edx = 0; } }
  15273     eax = MEM32(esi + 0x1E0); /* 0x2501DDE8: mov eax, dword ptr [esi + 0x1e0] */
  15274     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  15275     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15276     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DDEE: add dl, 0x37 */
  15277     _flag_k = FK_NARROW(FK_ADD, 24);
  15278     MEM8(edi + eax + 0x3F) = (uint8_t)(LO8(edx)); /* 0x2501DDF1: mov byte ptr [edi + eax + 0x3f], dl */
  15279     RECOMP_ICALL(ebx); /* 0x2501DDF5: call ebx */
  15280     RECOMP_FLAGS_IN();
  15281     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2501DDF7: cdq  */
  15282     ecx = 0xC8u; /* 0x2501DDF8: mov ecx, 0xc8 */
  15283     { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2501DDFD: idiv ecx */
  15284       if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); }
  15285       else { eax = 0; edx = 0; } }
  15286     eax = MEM32(esi + 0x1E0); /* 0x2501DDFF: mov eax, dword ptr [esi + 0x1e0] */
  15287     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x37u) << 24;
  15288     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15289     SET_LO8(edx, LO8(edx) + 0x37u); /* 0x2501DE05: add dl, 0x37 */
  15290     _flag_k = FK_NARROW(FK_ADD, 24);
  15291     MEM8(edi + eax + 0x57) = (uint8_t)(LO8(edx)); /* 0x2501DE08: mov byte ptr [edi + eax + 0x57], dl */
  15292     ecx = MEM32(esi + 0x1E0); /* 0x2501DE0C: mov ecx, dword ptr [esi + 0x1e0] */
  15293     SET_LO8(eax, MEM8(ecx + edi + 0xF)); /* 0x2501DE12: mov al, byte ptr [ecx + edi + 0xf] */
  15294     SET_LO8(edx, MEM8(ecx + edi + 0x27)); /* 0x2501DE16: mov dl, byte ptr [ecx + edi + 0x27] */
  15295     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
  15296     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15297     ecx = ecx + edi; /* 0x2501DE1A: add ecx, edi */
  15298     _flag_k = FK_ADD;
  15299     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE1C: cmp al, dl */
  15300     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  15301     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15302     _flag_k = FK_NARROW(FK_CMP, 24);
  15303     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE1E: mov byte ptr [ebp - 0xd], al */
  15304     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE28; /* 0x2501DE21: jae 0x2501de28 */
  15305 L_2501DE23:
  15306     SET_LO8(eax, LO8(edx)); /* 0x2501DE23: mov al, dl */
  15307     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE25: mov byte ptr [ebp - 0xd], al */
  15308 L_2501DE28:
  15309     SET_LO8(edx, MEM8(ecx + 0x3F)); /* 0x2501DE28: mov dl, byte ptr [ecx + 0x3f] */
  15310     /* cmp LO8(eax), LO8(edx) */ /* 0x2501DE2B: cmp al, dl */
  15311     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  15312     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15313     _flag_k = FK_NARROW(FK_CMP, 24);
  15314     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE34; /* 0x2501DE2D: jae 0x2501de34 */
  15315 L_2501DE2F:
  15316     SET_LO8(eax, LO8(edx)); /* 0x2501DE2F: mov al, dl */
  15317     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE31: mov byte ptr [ebp - 0xd], al */
  15318 L_2501DE34:
  15319     SET_LO8(ecx, MEM8(ecx + 0x57)); /* 0x2501DE34: mov cl, byte ptr [ecx + 0x57] */
  15320     /* cmp LO8(eax), LO8(ecx) */ /* 0x2501DE37: cmp al, cl */
  15321     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  15322     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15323     _flag_k = FK_NARROW(FK_CMP, 24);
  15324     if (CMP_AE(_flag_a, _flag_b)) goto L_2501DE40; /* 0x2501DE39: jae 0x2501de40 */
  15325 L_2501DE3B:
  15326     SET_LO8(eax, LO8(ecx)); /* 0x2501DE3B: mov al, cl */
  15327     MEM8(ebp + (-0xD)) = (uint8_t)(LO8(eax)); /* 0x2501DE3D: mov byte ptr [ebp - 0xd], al */
  15328 L_2501DE40:
  15329     ecx = MEM32(esi + 0x228); /* 0x2501DE40: mov ecx, dword ptr [esi + 0x228] */
  15330     /* test ecx, ecx */ /* 0x2501DE46: test ecx, ecx */
  15331     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
  15332     _cf = 0;
  15333     _flag_k = FK_TEST;
  15334     if (TEST_LE(_flag_a, _flag_b)) goto L_2501DE84; /* 0x2501DE48: jle 0x2501de84 */
  15335 L_2501DE4A:
  15336     edx = 4; /* 0x2501DE4A: mov edx, 4 */
  15337     goto L_2501DE54; /* 0x2501DE4F: jmp 0x2501de54 */
  15338 L_2501DE51:
  15339     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2501DE51: mov al, byte ptr [ebp - 0xd] */
  15340 L_2501DE54:
  15341     SET_LO8(ebx, LO8(eax)); /* 0x2501DE54: mov bl, al */
  15342     eax = edx; /* 0x2501DE56: mov eax, edx */
  15343     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DE58: imul eax, dword ptr [esi + 0x224] */
  15344     SET_LO8(ecx, LO8(edx)); /* 0x2501DE5F: mov cl, dl */
  15345     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(3) << 24;
  15346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15347     SET_LO8(ecx, LO8(ecx) - 3); /* 0x2501DE61: sub cl, 3 */
  15348     _flag_k = FK_NARROW(FK_CMP, 24);
  15349     if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 8 ? (((LO8(ebx)) >> ((((LO8(ecx)) & 31)) - 1)) & 1u) : 0u); /* 0x2501DE64: shr bl, cl */
  15350     if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack(((uint32_t)((LO8(ebx) >> ((LO8(ecx)) & 31))) << 24), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  15351     SET_LO8(ebx, LO8(ebx) >> ((LO8(ecx)) & 31)); /* 0x2501DE64: shr bl, cl */
  15352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  15353     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15354     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DE66: add eax, dword ptr [ebp - 0x18] */
  15355     _flag_k = FK_ADD;
  15356     ecx = MEM32(esi + 0x1E0); /* 0x2501DE69: mov ecx, dword ptr [esi + 0x1e0] */
  15357     eax = eax + eax * 2; /* 0x2501DE6F: lea eax, [eax + eax*2] */
  15358     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  15359     edx = edx + 1; /* 0x2501DE72: inc edx */
  15360     _flag_k = FK_INC;
  15361     MEM8(ecx + eax * 8 + 0xF) = (uint8_t)(LO8(ebx)); /* 0x2501DE73: mov byte ptr [ecx + eax*8 + 0xf], bl */
  15362     ecx = MEM32(esi + 0x228); /* 0x2501DE77: mov ecx, dword ptr [esi + 0x228] */
  15363     eax = edx + (-0x4); /* 0x2501DE7D: lea eax, [edx - 4] */
  15364     /* cmp eax, ecx */ /* 0x2501DE80: cmp eax, ecx */
  15365     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15367     _flag_k = FK_CMP;
  15368     RECOMP_BACKEDGE();
  15369     if (CMP_L(_flag_a, _flag_b)) goto L_2501DE51; /* 0x2501DE82: jl 0x2501de51 */
  15370 L_2501DE84:
  15371     eax = MEM32(esi + 0x228); /* 0x2501DE84: mov eax, dword ptr [esi + 0x228] */
  15372     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  15373     eax = eax - 1; /* 0x2501DE8A: dec eax */
  15374     _flag_k = FK_DEC;
  15375     MEM32(ebp + (-0x14)) = eax; /* 0x2501DE8B: mov dword ptr [ebp - 0x14], eax */
  15376     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2501E00D; /* 0x2501DE8E: js 0x2501e00d */
  15377 L_2501DE94:
  15378     edx = eax + 0x4; /* 0x2501DE94: lea edx, [eax + 4] */
  15379     /* test eax, eax */ /* 0x2501DE97: test eax, eax */
  15380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15381     _cf = 0;
  15382     _flag_k = FK_TEST;
  15383 L_2501DE99:
  15384     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2501DF0C; /* 0x2501DE99: je 0x2501df0c */
  15385 L_2501DE9B:
  15386     ebx = MEM32(esi + 0x224); /* 0x2501DE9B: mov ebx, dword ptr [esi + 0x224] */
  15387     ecx = MEM32(esi + 0x1E0); /* 0x2501DEA1: mov ecx, dword ptr [esi + 0x1e0] */
  15388     eax = edx + (-0x1); /* 0x2501DEA7: lea eax, [edx - 1] */
  15389     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEAA: imul eax, ebx */
  15390     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  15391     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15392     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEAD: add eax, dword ptr [ebp - 0x18] */
  15393     _flag_k = FK_ADD;
  15394     eax = eax + eax * 2; /* 0x2501DEB0: lea eax, [eax + eax*2] */
  15395     fp_push(*(float*)&MEM32(ecx + eax * 8)); /* 0x2501DEB3: fld dword ptr [ecx + eax*8] */
  15396     ecx = ecx + eax * 8; /* 0x2501DEB6: lea ecx, [ecx + eax*8] */
  15397     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEB9: fcomp dword ptr [0x2515177c] */
  15398     fp_pop();
  15399     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEBF: fnstsw ax */
  15400     /* test HI8(eax), 0x40u */ /* 0x2501DEC1: test ah, 0x40 */
  15401     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  15402     _cf = 0;
  15403     _flag_k = FK_NARROW(FK_TEST, 24);
  15404     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DEC4: je 0x2501dee6 */
  15405 L_2501DEC6:
  15406     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x2501DEC6: fld dword ptr [ecx + 4] */
  15407     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DEC9: fcomp dword ptr [0x2515177c] */
  15408     fp_pop();
  15409     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DECF: fnstsw ax */
  15410     /* test HI8(eax), 0x40u */ /* 0x2501DED1: test ah, 0x40 */
  15411     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  15412     _cf = 0;
  15413     _flag_k = FK_NARROW(FK_TEST, 24);
  15414     if (TEST_Z(_flag_a, _flag_b)) goto L_2501DEE6; /* 0x2501DED4: je 0x2501dee6 */
  15415 L_2501DED6:
  15416     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x2501DED6: fld dword ptr [ecx + 8] */
  15417     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x2501DED9: fcomp dword ptr [0x2515177c] */
  15418     fp_pop();
  15419     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2501DEDF: fnstsw ax */
  15420     /* test HI8(eax), 0x40u */ /* 0x2501DEE1: test ah, 0x40 */
  15421     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24;
  15422     _cf = 0;
  15423     _flag_k = FK_NARROW(FK_TEST, 24);
  15424     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501DF0C; /* 0x2501DEE4: jne 0x2501df0c */
  15425 L_2501DEE6:
  15426     eax = edx; /* 0x2501DEE6: mov eax, edx */
  15427     eax = (uint32_t)((int32_t)eax * (int32_t)ebx); /* 0x2501DEE8: imul eax, ebx */
  15428     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18)));
  15429     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15430     eax = eax + MEM32(ebp + (-0x18)); /* 0x2501DEEB: add eax, dword ptr [ebp - 0x18] */
  15431     _flag_k = FK_ADD;
  15432     ebx = eax + eax * 2; /* 0x2501DEEE: lea ebx, [eax + eax*2] */
  15433     eax = MEM32(esi + 0x1E0); /* 0x2501DEF1: mov eax, dword ptr [esi + 0x1e0] */
  15434     eax = eax + ebx * 8; /* 0x2501DEF7: lea eax, [eax + ebx*8] */
  15435     ebx = MEM32(ecx); /* 0x2501DEFA: mov ebx, dword ptr [ecx] */
  15436     MEM32(eax) = ebx; /* 0x2501DEFC: mov dword ptr [eax], ebx */
  15437     ebx = MEM32(ecx + 0x4); /* 0x2501DEFE: mov ebx, dword ptr [ecx + 4] */
  15438     MEM32(eax + 0x4) = ebx; /* 0x2501DF01: mov dword ptr [eax + 4], ebx */
  15439     ecx = MEM32(ecx + 0x8); /* 0x2501DF04: mov ecx, dword ptr [ecx + 8] */
  15440     goto L_2501DFFA; /* 0x2501DF07: jmp 0x2501dffa */
  15441 L_2501DF0C:
  15442     eax = MEM32(esi + 0x1E0); /* 0x2501DF0C: mov eax, dword ptr [esi + 0x1e0] */
  15443     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  15444     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15445     eax = eax + edi; /* 0x2501DF12: add eax, edi */
  15446     _flag_k = FK_ADD;
  15447     ecx = eax; /* 0x2501DF14: mov ecx, eax */
  15448     ebx = MEM32(ecx); /* 0x2501DF16: mov ebx, dword ptr [ecx] */
  15449     MEM32(ebp + (-0x64)) = ebx; /* 0x2501DF18: mov dword ptr [ebp - 0x64], ebx */
  15450     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF1B: fld dword ptr [ebp - 0x64] */
  15451     _st[0] += (double)*(float*)ADDR(eax + 0x18); /* 0x2501DF1E: fadd dword ptr [eax + 0x18] */
  15452     ebx = MEM32(ecx + 0x4); /* 0x2501DF21: mov ebx, dword ptr [ecx + 4] */
  15453     ecx = MEM32(ecx + 0x8); /* 0x2501DF24: mov ecx, dword ptr [ecx + 8] */
  15454     MEM32(ebp + (-0x5C)) = ecx; /* 0x2501DF27: mov dword ptr [ebp - 0x5c], ecx */
  15455     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x64)) = _v; } /* 0x2501DF2A: fstp dword ptr [ebp - 0x64] */
  15456     ecx = MEM32(ebp + (-0x64)); /* 0x2501DF2D: mov ecx, dword ptr [ebp - 0x64] */
  15457     MEM32(ebp + (-0x60)) = ebx; /* 0x2501DF30: mov dword ptr [ebp - 0x60], ebx */
  15458     fp_push(*(float*)&MEM32(ebp + (-0x60))); /* 0x2501DF33: fld dword ptr [ebp - 0x60] */
  15459     _st[0] += (double)*(float*)ADDR(eax + 0x1C); /* 0x2501DF36: fadd dword ptr [eax + 0x1c] */
  15460     MEM32(ebp + (-0x70)) = ecx; /* 0x2501DF39: mov dword ptr [ebp - 0x70], ecx */
  15461     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x60)) = _v; } /* 0x2501DF3C: fstp dword ptr [ebp - 0x60] */
  15462     ecx = MEM32(ebp + (-0x60)); /* 0x2501DF3F: mov ecx, dword ptr [ebp - 0x60] */
  15463     fp_push(*(float*)&MEM32(ebp + (-0x5C))); /* 0x2501DF42: fld dword ptr [ebp - 0x5c] */
  15464     MEM32(ebp + (-0x6C)) = ecx; /* 0x2501DF45: mov dword ptr [ebp - 0x6c], ecx */
  15465     _st[0] += (double)*(float*)ADDR(eax + 0x20); /* 0x2501DF48: fadd dword ptr [eax + 0x20] */
  15466     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2501DF4B: fstp dword ptr [ebp - 0x5c] */
  15467     ecx = MEM32(ebp + (-0x5C)); /* 0x2501DF4E: mov ecx, dword ptr [ebp - 0x5c] */
  15468     fp_push(*(float*)&MEM32(ebp + (-0x64))); /* 0x2501DF51: fld dword ptr [ebp - 0x64] */
  15469     MEM32(ebp + (-0x68)) = ecx; /* 0x2501DF54: mov dword ptr [ebp - 0x68], ecx */
  15470     _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x2501DF57: fadd dword ptr [eax + 0x30] */
  15471     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x70)) = _v; } /* 0x2501DF5A: fstp dword ptr [ebp - 0x70] */
  15472     ecx = MEM32(ebp + (-0x70)); /* 0x2501DF5D: mov ecx, dword ptr [ebp - 0x70] */
  15473     fp_push(*(float*)&MEM32(ebp + (-0x6C))); /* 0x2501DF60: fld dword ptr [ebp - 0x6c] */
  15474     MEM32(ebp + (-0x7C)) = ecx; /* 0x2501DF63: mov dword ptr [ebp - 0x7c], ecx */
  15475     _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x2501DF66: fadd dword ptr [eax + 0x34] */
  15476     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x6C)) = _v; } /* 0x2501DF69: fstp dword ptr [ebp - 0x6c] */
  15477     ecx = MEM32(ebp + (-0x6C)); /* 0x2501DF6C: mov ecx, dword ptr [ebp - 0x6c] */
  15478     fp_push(*(float*)&MEM32(ebp + (-0x68))); /* 0x2501DF6F: fld dword ptr [ebp - 0x68] */
  15479     MEM32(ebp + (-0x78)) = ecx; /* 0x2501DF72: mov dword ptr [ebp - 0x78], ecx */
  15480     _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x2501DF75: fadd dword ptr [eax + 0x38] */
  15481     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x68)) = _v; } /* 0x2501DF78: fstp dword ptr [ebp - 0x68] */
  15482     ecx = MEM32(ebp + (-0x68)); /* 0x2501DF7B: mov ecx, dword ptr [ebp - 0x68] */
  15483     fp_push(*(float*)&MEM32(ebp + (-0x70))); /* 0x2501DF7E: fld dword ptr [ebp - 0x70] */
  15484     MEM32(ebp + (-0x74)) = ecx; /* 0x2501DF81: mov dword ptr [ebp - 0x74], ecx */
  15485     _st[0] += (double)*(float*)ADDR(eax + 0x48); /* 0x2501DF84: fadd dword ptr [eax + 0x48] */
  15486     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x7C)) = _v; } /* 0x2501DF87: fstp dword ptr [ebp - 0x7c] */
  15487     fp_push(*(float*)&MEM32(ebp + (-0x78))); /* 0x2501DF8A: fld dword ptr [ebp - 0x78] */
  15488     _st[0] += (double)*(float*)ADDR(eax + 0x4C); /* 0x2501DF8D: fadd dword ptr [eax + 0x4c] */
  15489     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x78)) = _v; } /* 0x2501DF90: fstp dword ptr [ebp - 0x78] */
  15490     ecx = MEM32(ebp + (-0x78)); /* 0x2501DF93: mov ecx, dword ptr [ebp - 0x78] */
  15491     fp_push(*(float*)&MEM32(ebp + (-0x74))); /* 0x2501DF96: fld dword ptr [ebp - 0x74] */
  15492     MEM32(ebp + (-0x38)) = ecx; /* 0x2501DF99: mov dword ptr [ebp - 0x38], ecx */
  15493     _st[0] += (double)*(float*)ADDR(eax + 0x50); /* 0x2501DF9C: fadd dword ptr [eax + 0x50] */
  15494     eax = MEM32(ebp + (-0x7C)); /* 0x2501DF9F: mov eax, dword ptr [ebp - 0x7c] */
  15495     ecx = MEM32(ebp + (-0x18)); /* 0x2501DFA2: mov ecx, dword ptr [ebp - 0x18] */
  15496     MEM32(ebp + (-0x3C)) = eax; /* 0x2501DFA5: mov dword ptr [ebp - 0x3c], eax */
  15497     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x74)) = _v; } /* 0x2501DFA8: fstp dword ptr [ebp - 0x74] */
  15498     eax = MEM32(ebp + (-0x74)); /* 0x2501DFAB: mov eax, dword ptr [ebp - 0x74] */
  15499     fp_push(*(float*)&MEM32(ebp + (-0x7C))); /* 0x2501DFAE: fld dword ptr [ebp - 0x7c] */
  15500     MEM32(ebp + (-0x34)) = eax; /* 0x2501DFB1: mov dword ptr [ebp - 0x34], eax */
  15501     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFB4: fmul dword ptr [0x25151924] */
  15502     eax = edx; /* 0x2501DFBA: mov eax, edx */
  15503     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(esi + 0x224)); /* 0x2501DFBC: imul eax, dword ptr [esi + 0x224] */
  15504     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2501DFC3: fstp dword ptr [ebp - 0x3c] */
  15505     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2501DFC6: fld dword ptr [ebp - 0x38] */
  15506     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFC9: fmul dword ptr [0x25151924] */
  15507     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2501DFCF: fstp dword ptr [ebp - 0x38] */
  15508     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x2501DFD2: fld dword ptr [ebp - 0x34] */
  15509     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15510     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15511     eax = eax + ecx; /* 0x2501DFD5: add eax, ecx */
  15512     _flag_k = FK_ADD;
  15513     _st[0] *= (double)*(float*)ADDR(0x25151924); /* 0x2501DFD7: fmul dword ptr [0x25151924] */
  15514     ecx = eax + eax * 2; /* 0x2501DFDD: lea ecx, [eax + eax*2] */
  15515     eax = MEM32(esi + 0x1E0); /* 0x2501DFE0: mov eax, dword ptr [esi + 0x1e0] */
  15516     eax = eax + ecx * 8; /* 0x2501DFE6: lea eax, [eax + ecx*8] */
  15517     ecx = MEM32(ebp + (-0x3C)); /* 0x2501DFE9: mov ecx, dword ptr [ebp - 0x3c] */
  15518     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x2501DFEC: fstp dword ptr [ebp - 0x34] */
  15519     MEM32(eax) = ecx; /* 0x2501DFEF: mov dword ptr [eax], ecx */
  15520     ecx = MEM32(ebp + (-0x38)); /* 0x2501DFF1: mov ecx, dword ptr [ebp - 0x38] */
  15521     MEM32(eax + 0x4) = ecx; /* 0x2501DFF4: mov dword ptr [eax + 4], ecx */
  15522     ecx = MEM32(ebp + (-0x34)); /* 0x2501DFF7: mov ecx, dword ptr [ebp - 0x34] */
  15523 L_2501DFFA:
  15524     MEM32(eax + 0x8) = ecx; /* 0x2501DFFA: mov dword ptr [eax + 8], ecx */
  15525     eax = MEM32(ebp + (-0x14)); /* 0x2501DFFD: mov eax, dword ptr [ebp - 0x14] */
  15526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  15527     eax = eax - 1; /* 0x2501E000: dec eax */
  15528     _flag_k = FK_DEC;
  15529     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  15530     edx = edx - 1; /* 0x2501E001: dec edx */
  15531     _flag_k = FK_DEC;
  15532     /* test eax, eax */ /* 0x2501E002: test eax, eax */
  15533     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  15534     _cf = 0;
  15535     _flag_k = FK_TEST;
  15536     MEM32(ebp + (-0x14)) = eax; /* 0x2501E004: mov dword ptr [ebp - 0x14], eax */
  15537     RECOMP_BACKEDGE();
  15538     if (TEST_NS(_flag_a, _flag_b)) goto L_2501DE99; /* 0x2501E007: jge 0x2501de99 */
  15539 L_2501E00D:
  15540     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2501E00D: fld dword ptr [ebp - 0x28] */
  15541     eax = MEM32(ebp + (-0x18)); /* 0x2501E010: mov eax, dword ptr [ebp - 0x18] */
  15542     _st[0] += (double)*(float*)ADDR(ebp + (-0x58)); /* 0x2501E013: fadd dword ptr [ebp - 0x58] */
  15543     ecx = MEM32(esi + 0x224); /* 0x2501E016: mov ecx, dword ptr [esi + 0x224] */
  15544     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  15545     eax = eax + 1; /* 0x2501E01C: inc eax */
  15546     _flag_k = FK_INC;
  15547     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x60u);
  15548     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15549     edi = edi + 0x60u; /* 0x2501E01D: add edi, 0x60 */
  15550     _flag_k = FK_ADD;
  15551     /* cmp eax, ecx */ /* 0x2501E020: cmp eax, ecx */
  15552     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
  15553     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15554     _flag_k = FK_CMP;
  15555     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2501E022: fstp dword ptr [ebp - 0x28] */
  15556     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501E025: fld dword ptr [ebp - 0x24] */
  15557     MEM32(ebp + (-0x18)) = eax; /* 0x2501E028: mov dword ptr [ebp - 0x18], eax */
  15558     _st[0] += (double)*(float*)ADDR(ebp + (-0x54)); /* 0x2501E02B: fadd dword ptr [ebp - 0x54] */
  15559     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x2501E02E: fstp dword ptr [ebp - 0x24] */
  15560     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2501E031: fld dword ptr [ebp - 0x20] */
  15561     _st[0] += (double)*(float*)ADDR(ebp + (-0x50)); /* 0x2501E034: fadd dword ptr [ebp - 0x50] */
  15562     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x2501E037: fstp dword ptr [ebp - 0x20] */
  15563     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2501E03A: fld dword ptr [ebp - 0x1c] */
  15564     _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2501E03D: fadd dword ptr [ebp - 0x2c] */
  15565     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2501E040: fstp dword ptr [ebp - 0x2c] */
  15566     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2501E043: fld dword ptr [ebp - 0x30] */
  15567     _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2501E046: fsub dword ptr [ebp - 0x1c] */
  15568     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2501E049: fstp dword ptr [ebp - 0x30] */
  15569     RECOMP_BACKEDGE();
  15570     if (CMP_L(_flag_a, _flag_b)) goto L_2501D994; /* 0x2501E04C: jl 0x2501d994 */
  15571 L_2501E052:
  15572     PUSH32(esp, 0); /* 0x2501E052: push 0 */
  15573     RECOMP_ICALL(0x25074DB0u); /* 0x2501E054: call 0x25074db0 */ /* not lifted */
  15574     RECOMP_FLAGS_IN();
  15575     ecx = eax; /* 0x2501E059: mov ecx, eax */
  15576     RECOMP_ICALL(0x25074EA0u); /* 0x2501E05B: call 0x25074ea0 */ /* not lifted */
  15577     RECOMP_FLAGS_IN();
  15578     ecx = MEM32(ebp + 0x8); /* 0x2501E060: mov ecx, dword ptr [ebp + 8] */
  15579     PUSH32(esp, eax); /* 0x2501E063: push eax */
  15580     RECOMP_ICALL(0x250DFDA0u); /* 0x2501E064: call 0x250dfda0 */ /* not lifted */
  15581     RECOMP_FLAGS_IN();
  15582     ecx = esi; /* 0x2501E069: mov ecx, esi */
  15583     RECOMP_ICALL(0x250E2EC0u); /* 0x2501E06B: call 0x250e2ec0 */ /* not lifted */
  15584     RECOMP_FLAGS_IN();
  15585     ecx = MEM32(0x25238B58); /* 0x2501E070: mov ecx, dword ptr [0x25238b58] */
  15586     PUSH32(esp, eax); /* 0x2501E076: push eax */
  15587     PUSH32(esp, 1); /* 0x2501E077: push 1 */
  15588     RECOMP_ICALL(0x250E8950u); /* 0x2501E079: call 0x250e8950 */ /* not lifted */
  15589     RECOMP_FLAGS_IN();
  15590     eax = MEM32(0x25238B94); /* 0x2501E07E: mov eax, dword ptr [0x25238b94] */
  15591     MEM32(ebp + (-0x58)) = 0xEu; /* 0x2501E083: mov dword ptr [ebp - 0x58], 0xe */
  15592     ecx = MEM32(eax + 0x894); /* 0x2501E08A: mov ecx, dword ptr [eax + 0x894] */
  15593     ecx = MEM32(ecx + 0x504); /* 0x2501E090: mov ecx, dword ptr [ecx + 0x504] */
  15594     PUSH32(esp, 0xAu); /* 0x2501E096: push 0xa */
  15595     MEM32(ebp + (-0x54)) = ecx; /* 0x2501E098: mov dword ptr [ebp - 0x54], ecx */
  15596     eax = MEM32(eax + 0x894); /* 0x2501E09B: mov eax, dword ptr [eax + 0x894] */
  15597     PUSH32(esp, 0); /* 0x2501E0A1: push 0 */
  15598     PUSH32(esp, 0xEu); /* 0x2501E0A3: push 0xe */
  15599     ecx = eax; /* 0x2501E0A5: mov ecx, eax */
  15600     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0A7: call 0x250efe90 */ /* not lifted */
  15601     RECOMP_FLAGS_IN();
  15602     MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2501E0AC: mov byte ptr [ebp - 0x50], al */
  15603     edx = MEM32(0x25238B94); /* 0x2501E0AF: mov edx, dword ptr [0x25238b94] */
  15604     ecx = MEM32(edx + 0x894); /* 0x2501E0B5: mov ecx, dword ptr [edx + 0x894] */
  15605     eax = MEM32(ecx + 0x538); /* 0x2501E0BB: mov eax, dword ptr [ecx + 0x538] */
  15606     PUSH32(esp, 0xAu); /* 0x2501E0C1: push 0xa */
  15607     PUSH32(esp, 1); /* 0x2501E0C3: push 1 */
  15608     PUSH32(esp, 0x1Bu); /* 0x2501E0C5: push 0x1b */
  15609     MEM32(ebp + (-0x4)) = 0; /* 0x2501E0C7: mov dword ptr [ebp - 4], 0 */
  15610     MEM32(ebp + (-0xF8)) = 0x1Bu; /* 0x2501E0CE: mov dword ptr [ebp - 0xf8], 0x1b */
  15611     MEM32(ebp + (-0x14)) = eax; /* 0x2501E0D8: mov dword ptr [ebp - 0x14], eax */
  15612     MEM32(ebp + (-0xF4)) = eax; /* 0x2501E0DB: mov dword ptr [ebp - 0xf4], eax */
  15613     RECOMP_ICALL(0x250EFE90u); /* 0x2501E0E1: call 0x250efe90 */ /* not lifted */
  15614     RECOMP_FLAGS_IN();
  15615     MEM8(ebp + (-0xF0)) = (uint8_t)(LO8(eax)); /* 0x2501E0E6: mov byte ptr [ebp - 0xf0], al */
  15616     eax = MEM32(0x25238B94); /* 0x2501E0EC: mov eax, dword ptr [0x25238b94] */
  15617     ecx = MEM32(eax + 0x894); /* 0x2501E0F1: mov ecx, dword ptr [eax + 0x894] */
  15618     eax = MEM32(ecx + 0x53C); /* 0x2501E0F7: mov eax, dword ptr [ecx + 0x53c] */
  15619     PUSH32(esp, 0xAu); /* 0x2501E0FD: push 0xa */
  15620     PUSH32(esp, 0); /* 0x2501E0FF: push 0 */
  15621     PUSH32(esp, 0x1Cu); /* 0x2501E101: push 0x1c */
  15622     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E103: mov byte ptr [ebp - 4], 1 */
  15623     MEM32(ebp + (-0x11C)) = 0x1Cu; /* 0x2501E107: mov dword ptr [ebp - 0x11c], 0x1c */
  15624     MEM32(ebp + (-0x1C)) = eax; /* 0x2501E111: mov dword ptr [ebp - 0x1c], eax */
  15625     MEM32(ebp + (-0x118)) = eax; /* 0x2501E114: mov dword ptr [ebp - 0x118], eax */
  15626     RECOMP_ICALL(0x250EFE90u); /* 0x2501E11A: call 0x250efe90 */ /* not lifted */
  15627     RECOMP_FLAGS_IN();
  15628     MEM8(ebp + (-0x114)) = (uint8_t)(LO8(eax)); /* 0x2501E11F: mov byte ptr [ebp - 0x114], al */
  15629     ecx = MEM32(0x25238B94); /* 0x2501E125: mov ecx, dword ptr [0x25238b94] */
  15630     ecx = MEM32(ecx + 0x894); /* 0x2501E12B: mov ecx, dword ptr [ecx + 0x894] */
  15631     eax = MEM32(ecx + 0x6F0); /* 0x2501E131: mov eax, dword ptr [ecx + 0x6f0] */
  15632     PUSH32(esp, 0xAu); /* 0x2501E137: push 0xa */
  15633     PUSH32(esp, 0); /* 0x2501E139: push 0 */
  15634     PUSH32(esp, 0x89u); /* 0x2501E13B: push 0x89 */
  15635     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E140: mov byte ptr [ebp - 4], 2 */
  15636     MEM32(ebp + (-0x104)) = 0x89u; /* 0x2501E144: mov dword ptr [ebp - 0x104], 0x89 */
  15637     MEM32(ebp + (-0x98)) = eax; /* 0x2501E14E: mov dword ptr [ebp - 0x98], eax */
  15638     MEM32(ebp + (-0x100)) = eax; /* 0x2501E154: mov dword ptr [ebp - 0x100], eax */
  15639     RECOMP_ICALL(0x250EFE90u); /* 0x2501E15A: call 0x250efe90 */ /* not lifted */
  15640     RECOMP_FLAGS_IN();
  15641     MEM8(ebp + (-0xFC)) = (uint8_t)(LO8(eax)); /* 0x2501E15F: mov byte ptr [ebp - 0xfc], al */
  15642     edx = MEM32(0x25238B94); /* 0x2501E165: mov edx, dword ptr [0x25238b94] */
  15643     ecx = MEM32(edx + 0x894); /* 0x2501E16B: mov ecx, dword ptr [edx + 0x894] */
  15644     ebx = MEM32(ecx + 0x51C); /* 0x2501E171: mov ebx, dword ptr [ecx + 0x51c] */
  15645     PUSH32(esp, 0xAu); /* 0x2501E177: push 0xa */
  15646     PUSH32(esp, 2); /* 0x2501E179: push 2 */
  15647     PUSH32(esp, 0x14u); /* 0x2501E17B: push 0x14 */
  15648     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E17D: mov byte ptr [ebp - 4], 3 */
  15649     MEM32(ebp + (-0x110)) = 0x14u; /* 0x2501E181: mov dword ptr [ebp - 0x110], 0x14 */
  15650     MEM32(ebp + (-0x10C)) = ebx; /* 0x2501E18B: mov dword ptr [ebp - 0x10c], ebx */
  15651     RECOMP_ICALL(0x250EFE90u); /* 0x2501E191: call 0x250efe90 */ /* not lifted */
  15652     RECOMP_FLAGS_IN();
  15653     MEM8(ebp + (-0x108)) = (uint8_t)(LO8(eax)); /* 0x2501E196: mov byte ptr [ebp - 0x108], al */
  15654     eax = MEM32(0x25238B94); /* 0x2501E19C: mov eax, dword ptr [0x25238b94] */
  15655     ecx = MEM32(eax + 0x894); /* 0x2501E1A1: mov ecx, dword ptr [eax + 0x894] */
  15656     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E1A7: mov byte ptr [ebp - 4], 4 */
  15657     MEM32(ebp + (-0x128)) = 0x16u; /* 0x2501E1AB: mov dword ptr [ebp - 0x128], 0x16 */
  15658     edi = MEM32(ecx + 0x524); /* 0x2501E1B5: mov edi, dword ptr [ecx + 0x524] */
  15659     PUSH32(esp, 0xAu); /* 0x2501E1BB: push 0xa */
  15660     PUSH32(esp, 1); /* 0x2501E1BD: push 1 */
  15661     PUSH32(esp, 0x16u); /* 0x2501E1BF: push 0x16 */
  15662     MEM32(ebp + (-0x124)) = edi; /* 0x2501E1C1: mov dword ptr [ebp - 0x124], edi */
  15663     RECOMP_ICALL(0x250EFE90u); /* 0x2501E1C7: call 0x250efe90 */ /* not lifted */
  15664     RECOMP_FLAGS_IN();
  15665     MEM8(ebp + (-0x120)) = (uint8_t)(LO8(eax)); /* 0x2501E1CC: mov byte ptr [ebp - 0x120], al */
  15666     ecx = MEM32(ebp + 0x8); /* 0x2501E1D2: mov ecx, dword ptr [ebp + 8] */
  15667     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2501E1D5: mov byte ptr [ebp - 4], 5 */
  15668     RECOMP_ICALL(0x250E05D0u); /* 0x2501E1D9: call 0x250e05d0 */ /* not lifted */
  15669     RECOMP_FLAGS_IN();
  15670     ecx = MEM32(esi + 0x1F8); /* 0x2501E1DE: mov ecx, dword ptr [esi + 0x1f8] */
  15671     edx = MEM32(esi + 0x1F4); /* 0x2501E1E4: mov edx, dword ptr [esi + 0x1f4] */
  15672     eax = MEM32(esi + 0x1DC); /* 0x2501E1EA: mov eax, dword ptr [esi + 0x1dc] */
  15673     PUSH32(esp, 0); /* 0x2501E1F0: push 0 */
  15674     PUSH32(esp, ecx); /* 0x2501E1F2: push ecx */
  15675     ecx = MEM32(esi + 0x1E0); /* 0x2501E1F3: mov ecx, dword ptr [esi + 0x1e0] */
  15676     PUSH32(esp, edx); /* 0x2501E1F9: push edx */
  15677     PUSH32(esp, eax); /* 0x2501E1FA: push eax */
  15678     PUSH32(esp, ecx); /* 0x2501E1FB: push ecx */
  15679     ecx = MEM32(0x25238B58); /* 0x2501E1FC: mov ecx, dword ptr [0x25238b58] */
  15680     PUSH32(esp, 0x142u); /* 0x2501E202: push 0x142 */
  15681     RECOMP_ICALL(0x250E7010u); /* 0x2501E207: call 0x250e7010 */ /* not lifted */
  15682     RECOMP_FLAGS_IN();
  15683     SET_LO8(eax, MEM8(ebp + (-0x120))); /* 0x2501E20C: mov al, byte ptr [ebp - 0x120] */
  15684     /* test LO8(eax), LO8(eax) */ /* 0x2501E212: test al, al */
  15685     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15686     _cf = 0;
  15687     _flag_k = FK_NARROW(FK_TEST, 24);
  15688     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2501E214: mov byte ptr [ebp - 4], 4 */
  15689     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E230; /* 0x2501E218: je 0x2501e230 */
  15690 L_2501E21A:
  15691     edx = MEM32(0x25238B94); /* 0x2501E21A: mov edx, dword ptr [0x25238b94] */
  15692     ecx = MEM32(edx + 0x894); /* 0x2501E220: mov ecx, dword ptr [edx + 0x894] */
  15693     PUSH32(esp, 2); /* 0x2501E226: push 2 */
  15694     PUSH32(esp, edi); /* 0x2501E228: push edi */
  15695     PUSH32(esp, 0x16u); /* 0x2501E229: push 0x16 */
  15696     RECOMP_ICALL(0x250EFE90u); /* 0x2501E22B: call 0x250efe90 */ /* not lifted */
  15697     RECOMP_FLAGS_IN();
  15698 L_2501E230:
  15699     SET_LO8(eax, MEM8(ebp + (-0x108))); /* 0x2501E230: mov al, byte ptr [ebp - 0x108] */
  15700     /* test LO8(eax), LO8(eax) */ /* 0x2501E236: test al, al */
  15701     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15702     _cf = 0;
  15703     _flag_k = FK_NARROW(FK_TEST, 24);
  15704     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2501E238: mov byte ptr [ebp - 4], 3 */
  15705     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E253; /* 0x2501E23C: je 0x2501e253 */
  15706 L_2501E23E:
  15707     eax = MEM32(0x25238B94); /* 0x2501E23E: mov eax, dword ptr [0x25238b94] */
  15708     ecx = MEM32(eax + 0x894); /* 0x2501E243: mov ecx, dword ptr [eax + 0x894] */
  15709     PUSH32(esp, 2); /* 0x2501E249: push 2 */
  15710     PUSH32(esp, ebx); /* 0x2501E24B: push ebx */
  15711     PUSH32(esp, 0x14u); /* 0x2501E24C: push 0x14 */
  15712     RECOMP_ICALL(0x250EFE90u); /* 0x2501E24E: call 0x250efe90 */ /* not lifted */
  15713     RECOMP_FLAGS_IN();
  15714 L_2501E253:
  15715     SET_LO8(eax, MEM8(ebp + (-0xFC))); /* 0x2501E253: mov al, byte ptr [ebp - 0xfc] */
  15716     /* test LO8(eax), LO8(eax) */ /* 0x2501E259: test al, al */
  15717     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15718     _cf = 0;
  15719     _flag_k = FK_NARROW(FK_TEST, 24);
  15720     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2501E25B: mov byte ptr [ebp - 4], 2 */
  15721     ebx = POP32_VAL(esp); /* 0x2501E25F: pop ebx */
  15722     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E281; /* 0x2501E260: je 0x2501e281 */
  15723 L_2501E262:
  15724     edx = MEM32(ebp + (-0x98)); /* 0x2501E262: mov edx, dword ptr [ebp - 0x98] */
  15725     ecx = MEM32(0x25238B94); /* 0x2501E268: mov ecx, dword ptr [0x25238b94] */
  15726     ecx = MEM32(ecx + 0x894); /* 0x2501E26E: mov ecx, dword ptr [ecx + 0x894] */
  15727     PUSH32(esp, 2); /* 0x2501E274: push 2 */
  15728     PUSH32(esp, edx); /* 0x2501E276: push edx */
  15729     PUSH32(esp, 0x89u); /* 0x2501E277: push 0x89 */
  15730     RECOMP_ICALL(0x250EFE90u); /* 0x2501E27C: call 0x250efe90 */ /* not lifted */
  15731     RECOMP_FLAGS_IN();
  15732 L_2501E281:
  15733     SET_LO8(eax, MEM8(ebp + (-0x114))); /* 0x2501E281: mov al, byte ptr [ebp - 0x114] */
  15734     /* test LO8(eax), LO8(eax) */ /* 0x2501E287: test al, al */
  15735     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15736     _cf = 0;
  15737     _flag_k = FK_NARROW(FK_TEST, 24);
  15738     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2501E289: mov byte ptr [ebp - 4], 1 */
  15739     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2A7; /* 0x2501E28D: je 0x2501e2a7 */
  15740 L_2501E28F:
  15741     edx = MEM32(ebp + (-0x1C)); /* 0x2501E28F: mov edx, dword ptr [ebp - 0x1c] */
  15742     eax = MEM32(0x25238B94); /* 0x2501E292: mov eax, dword ptr [0x25238b94] */
  15743     ecx = MEM32(eax + 0x894); /* 0x2501E297: mov ecx, dword ptr [eax + 0x894] */
  15744     PUSH32(esp, 2); /* 0x2501E29D: push 2 */
  15745     PUSH32(esp, edx); /* 0x2501E29F: push edx */
  15746     PUSH32(esp, 0x1Cu); /* 0x2501E2A0: push 0x1c */
  15747     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2A2: call 0x250efe90 */ /* not lifted */
  15748     RECOMP_FLAGS_IN();
  15749 L_2501E2A7:
  15750     SET_LO8(eax, MEM8(ebp + (-0xF0))); /* 0x2501E2A7: mov al, byte ptr [ebp - 0xf0] */
  15751     /* test LO8(eax), LO8(eax) */ /* 0x2501E2AD: test al, al */
  15752     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15753     _cf = 0;
  15754     _flag_k = FK_NARROW(FK_TEST, 24);
  15755     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2501E2AF: mov byte ptr [ebp - 4], 0 */
  15756     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E2CD; /* 0x2501E2B3: je 0x2501e2cd */
  15757 L_2501E2B5:
  15758     edx = MEM32(ebp + (-0x14)); /* 0x2501E2B5: mov edx, dword ptr [ebp - 0x14] */
  15759     eax = MEM32(0x25238B94); /* 0x2501E2B8: mov eax, dword ptr [0x25238b94] */
  15760     ecx = MEM32(eax + 0x894); /* 0x2501E2BD: mov ecx, dword ptr [eax + 0x894] */
  15761     PUSH32(esp, 2); /* 0x2501E2C3: push 2 */
  15762     PUSH32(esp, edx); /* 0x2501E2C5: push edx */
  15763     PUSH32(esp, 0x1Bu); /* 0x2501E2C6: push 0x1b */
  15764     RECOMP_ICALL(0x250EFE90u); /* 0x2501E2C8: call 0x250efe90 */ /* not lifted */
  15765     RECOMP_FLAGS_IN();
  15766 L_2501E2CD:
  15767     ecx = ebp + (-0x58); /* 0x2501E2CD: lea ecx, [ebp - 0x58] */
  15768     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501E2D0: mov dword ptr [ebp - 4], 0xffffffff */
  15769     RECOMP_ICALL(0x25009BC0u); /* 0x2501E2D7: call 0x25009bc0 */ /* not lifted */
  15770     RECOMP_FLAGS_IN();
  15771     ecx = MEM32(ebp + 0x8); /* 0x2501E2DC: mov ecx, dword ptr [ebp + 8] */
  15772     RECOMP_ICALL(0x250E0360u); /* 0x2501E2DF: call 0x250e0360 */ /* not lifted */
  15773     RECOMP_FLAGS_IN();
  15774     ecx = MEM32(ebp + (-0xC)); /* 0x2501E2E4: mov ecx, dword ptr [ebp - 0xc] */
  15775     edi = POP32_VAL(esp); /* 0x2501E2E7: pop edi */
  15776     esi = POP32_VAL(esp); /* 0x2501E2E8: pop esi */
  15777     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E2E9: mov dword ptr fs:[0], ecx */
  15778     esp = ebp; /* 0x2501E2F0: mov esp, ebp */
  15779     ebp = POP32_VAL(esp); /* 0x2501E2F2: pop ebp */
  15780     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E2F3: ret 4 */
  15781     RECOMP_REGS_OUT();
  15782 }
  15783 
  15784 void sub_2501E300(void) {
  15785     int _fpu_cmp = 0;
  15786     uint32_t _cf = 0;
  15787     int _df = 1;
  15788     uint32_t _flag_k = FK_NONE;
  15789     uint32_t _flag_a = 0, _flag_b = 0;
  15790     uint32_t _itail_tgt = 0;
  15791     RECOMP_REGS_LOCALS
  15792     RECOMP_ENTER(0x2501E300u);
  15793 
  15794     goto L_2501E300;
  15795 L_2501CB50:
  15796     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  15797     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  15798     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  15799     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  15800     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  15801     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15802     _cf = 0;
  15803     _flag_k = FK_NARROW(FK_TEST, 24);
  15804     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  15805     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  15806     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  15807 L_2501CB5F:
  15808     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  15809     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  15810     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  15811     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  15812     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  15813     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  15814     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  15815     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  15816     RECOMP_FLAGS_IN();
  15817     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  15818     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15819     _cf = 0;
  15820     _flag_k = FK_NARROW(FK_TEST, 24);
  15821     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  15822 L_2501CB7C:
  15823     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  15824     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  15825     RECOMP_FLAGS_IN();
  15826     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15827     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15828     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  15829     _flag_k = FK_ADD;
  15830 L_2501CB85:
  15831     eax = edi; /* 0x2501CB85: mov eax, edi */
  15832     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  15833     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  15834     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  15835     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  15836     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  15837 L_2501CB8E:
  15838     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  15839     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  15840     RECOMP_FLAGS_IN();
  15841     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  15842     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15843     _cf = 0;
  15844     _flag_k = FK_NARROW(FK_TEST, 24);
  15845     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  15846 L_2501CB9A:
  15847     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  15848     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  15849     RECOMP_FLAGS_IN();
  15850     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15851     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15852     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  15853     _flag_k = FK_ADD;
  15854 L_2501CBA3:
  15855     eax = esi; /* 0x2501CBA3: mov eax, esi */
  15856     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  15857     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  15858     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  15859     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  15860 L_2501E300:
  15861     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  15862     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15863     ecx = ecx - 8; /* 0x2501E300: sub ecx, 8 */
  15864     _flag_k = FK_CMP;
  15865     RECOMP_BACKEDGE();
  15866     goto L_2501CB50; /* 0x2501E303: jmp 0x2501cb50 */
  15867     { RECOMP_REGS_OUT(); return; } /* end of function */
  15868     RECOMP_REGS_OUT();
  15869 }
  15870 
  15871 void sub_2501E310(void) {
  15872     int _fpu_cmp = 0;
  15873     uint32_t _cf = 0;
  15874     int _df = 1;
  15875     uint32_t _flag_k = FK_NONE;
  15876     uint32_t _flag_a = 0, _flag_b = 0;
  15877     uint32_t _itail_tgt = 0;
  15878     RECOMP_REGS_LOCALS
  15879     RECOMP_ENTER(0x2501E310u);
  15880 
  15881     goto L_2501E310;
  15882 L_2501CB50:
  15883     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  15884     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  15885     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  15886     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  15887     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  15888     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15889     _cf = 0;
  15890     _flag_k = FK_NARROW(FK_TEST, 24);
  15891     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  15892     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  15893     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  15894 L_2501CB5F:
  15895     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  15896     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  15897     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  15898     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  15899     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  15900     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  15901     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  15902     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  15903     RECOMP_FLAGS_IN();
  15904     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  15905     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15906     _cf = 0;
  15907     _flag_k = FK_NARROW(FK_TEST, 24);
  15908     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  15909 L_2501CB7C:
  15910     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  15911     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  15912     RECOMP_FLAGS_IN();
  15913     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15914     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15915     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  15916     _flag_k = FK_ADD;
  15917 L_2501CB85:
  15918     eax = edi; /* 0x2501CB85: mov eax, edi */
  15919     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  15920     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  15921     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  15922     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  15923     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  15924 L_2501CB8E:
  15925     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  15926     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  15927     RECOMP_FLAGS_IN();
  15928     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  15929     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15930     _cf = 0;
  15931     _flag_k = FK_NARROW(FK_TEST, 24);
  15932     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  15933 L_2501CB9A:
  15934     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  15935     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  15936     RECOMP_FLAGS_IN();
  15937     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  15938     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15939     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  15940     _flag_k = FK_ADD;
  15941 L_2501CBA3:
  15942     eax = esi; /* 0x2501CBA3: mov eax, esi */
  15943     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  15944     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  15945     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  15946     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  15947 L_2501E310:
  15948     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
  15949     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15950     ecx = ecx - 0x20u; /* 0x2501E310: sub ecx, 0x20 */
  15951     _flag_k = FK_CMP;
  15952     RECOMP_BACKEDGE();
  15953     goto L_2501CB50; /* 0x2501E313: jmp 0x2501cb50 */
  15954     { RECOMP_REGS_OUT(); return; } /* end of function */
  15955     RECOMP_REGS_OUT();
  15956 }
  15957 
  15958 void sub_2501E320(void) {
  15959     int _fpu_cmp = 0;
  15960     uint32_t _cf = 0;
  15961     int _df = 1;
  15962     uint32_t _flag_k = FK_NONE;
  15963     uint32_t _flag_a = 0, _flag_b = 0;
  15964     uint32_t _itail_tgt = 0;
  15965     RECOMP_REGS_LOCALS
  15966     RECOMP_ENTER(0x2501E320u);
  15967 
  15968     goto L_2501E320;
  15969 L_2501CB50:
  15970     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  15971     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  15972     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  15973     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  15974     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  15975     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  15976     _cf = 0;
  15977     _flag_k = FK_NARROW(FK_TEST, 24);
  15978     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  15979     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  15980     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  15981 L_2501CB5F:
  15982     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  15983     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  15984     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  15985     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  15986     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  15987     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  15988     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  15989     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  15990     RECOMP_FLAGS_IN();
  15991     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  15992     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  15993     _cf = 0;
  15994     _flag_k = FK_NARROW(FK_TEST, 24);
  15995     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  15996 L_2501CB7C:
  15997     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  15998     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  15999     RECOMP_FLAGS_IN();
  16000     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16001     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16002     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  16003     _flag_k = FK_ADD;
  16004 L_2501CB85:
  16005     eax = edi; /* 0x2501CB85: mov eax, edi */
  16006     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  16007     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  16008     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  16009     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  16010     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  16011 L_2501CB8E:
  16012     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  16013     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  16014     RECOMP_FLAGS_IN();
  16015     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  16016     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16017     _cf = 0;
  16018     _flag_k = FK_NARROW(FK_TEST, 24);
  16019     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  16020 L_2501CB9A:
  16021     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  16022     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  16023     RECOMP_FLAGS_IN();
  16024     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16025     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16026     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  16027     _flag_k = FK_ADD;
  16028 L_2501CBA3:
  16029     eax = esi; /* 0x2501CBA3: mov eax, esi */
  16030     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  16031     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  16032     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  16033     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  16034 L_2501E320:
  16035     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
  16036     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16037     ecx = ecx - 0x38u; /* 0x2501E320: sub ecx, 0x38 */
  16038     _flag_k = FK_CMP;
  16039     RECOMP_BACKEDGE();
  16040     goto L_2501CB50; /* 0x2501E323: jmp 0x2501cb50 */
  16041     { RECOMP_REGS_OUT(); return; } /* end of function */
  16042     RECOMP_REGS_OUT();
  16043 }
  16044 
  16045 void sub_2501E330(void) {
  16046     int _fpu_cmp = 0;
  16047     uint32_t _cf = 0;
  16048     int _df = 1;
  16049     uint32_t _flag_k = FK_NONE;
  16050     uint32_t _flag_a = 0, _flag_b = 0;
  16051     uint32_t _itail_tgt = 0;
  16052     RECOMP_REGS_LOCALS
  16053     RECOMP_ENTER(0x2501E330u);
  16054 
  16055     goto L_2501E330;
  16056 L_2501CB50:
  16057     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  16058     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  16059     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  16060     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  16061     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  16062     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  16063     _cf = 0;
  16064     _flag_k = FK_NARROW(FK_TEST, 24);
  16065     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  16066     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  16067     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  16068 L_2501CB5F:
  16069     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  16070     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  16071     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  16072     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  16073     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  16074     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  16075     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  16076     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  16077     RECOMP_FLAGS_IN();
  16078     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  16079     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16080     _cf = 0;
  16081     _flag_k = FK_NARROW(FK_TEST, 24);
  16082     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  16083 L_2501CB7C:
  16084     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  16085     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  16086     RECOMP_FLAGS_IN();
  16087     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16088     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16089     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  16090     _flag_k = FK_ADD;
  16091 L_2501CB85:
  16092     eax = edi; /* 0x2501CB85: mov eax, edi */
  16093     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  16094     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  16095     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  16096     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  16097     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  16098 L_2501CB8E:
  16099     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  16100     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  16101     RECOMP_FLAGS_IN();
  16102     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  16103     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16104     _cf = 0;
  16105     _flag_k = FK_NARROW(FK_TEST, 24);
  16106     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  16107 L_2501CB9A:
  16108     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  16109     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  16110     RECOMP_FLAGS_IN();
  16111     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16112     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16113     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  16114     _flag_k = FK_ADD;
  16115 L_2501CBA3:
  16116     eax = esi; /* 0x2501CBA3: mov eax, esi */
  16117     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  16118     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  16119     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  16120     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  16121 L_2501E330:
  16122     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
  16123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16124     ecx = ecx - 0x50u; /* 0x2501E330: sub ecx, 0x50 */
  16125     _flag_k = FK_CMP;
  16126     RECOMP_BACKEDGE();
  16127     goto L_2501CB50; /* 0x2501E333: jmp 0x2501cb50 */
  16128     { RECOMP_REGS_OUT(); return; } /* end of function */
  16129     RECOMP_REGS_OUT();
  16130 }
  16131 
  16132 void sub_2501E340(void) {
  16133     int _fpu_cmp = 0;
  16134     uint32_t _cf = 0;
  16135     int _df = 1;
  16136     uint32_t _flag_k = FK_NONE;
  16137     uint32_t _flag_a = 0, _flag_b = 0;
  16138     uint32_t _itail_tgt = 0;
  16139     RECOMP_REGS_LOCALS
  16140     RECOMP_ENTER(0x2501E340u);
  16141 
  16142     goto L_2501E340;
  16143 L_2501CB50:
  16144     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  16145     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  16146     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  16147     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  16148     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  16149     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  16150     _cf = 0;
  16151     _flag_k = FK_NARROW(FK_TEST, 24);
  16152     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  16153     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  16154     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  16155 L_2501CB5F:
  16156     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  16157     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  16158     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  16159     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  16160     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  16161     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  16162     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  16163     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  16164     RECOMP_FLAGS_IN();
  16165     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  16166     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16167     _cf = 0;
  16168     _flag_k = FK_NARROW(FK_TEST, 24);
  16169     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  16170 L_2501CB7C:
  16171     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  16172     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  16173     RECOMP_FLAGS_IN();
  16174     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16175     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16176     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  16177     _flag_k = FK_ADD;
  16178 L_2501CB85:
  16179     eax = edi; /* 0x2501CB85: mov eax, edi */
  16180     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  16181     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  16182     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  16183     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  16184     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  16185 L_2501CB8E:
  16186     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  16187     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  16188     RECOMP_FLAGS_IN();
  16189     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  16190     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16191     _cf = 0;
  16192     _flag_k = FK_NARROW(FK_TEST, 24);
  16193     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  16194 L_2501CB9A:
  16195     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  16196     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  16197     RECOMP_FLAGS_IN();
  16198     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16199     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16200     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  16201     _flag_k = FK_ADD;
  16202 L_2501CBA3:
  16203     eax = esi; /* 0x2501CBA3: mov eax, esi */
  16204     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  16205     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  16206     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  16207     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  16208 L_2501E340:
  16209     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
  16210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16211     ecx = ecx - 0x138u; /* 0x2501E340: sub ecx, 0x138 */
  16212     _flag_k = FK_CMP;
  16213     RECOMP_BACKEDGE();
  16214     goto L_2501CB50; /* 0x2501E346: jmp 0x2501cb50 */
  16215     { RECOMP_REGS_OUT(); return; } /* end of function */
  16216     RECOMP_REGS_OUT();
  16217 }
  16218 
  16219 void sub_2501E350(void) {
  16220     int _fpu_cmp = 0;
  16221     uint32_t _cf = 0;
  16222     int _df = 1;
  16223     uint32_t _flag_k = FK_NONE;
  16224     uint32_t _flag_a = 0, _flag_b = 0;
  16225     uint32_t _itail_tgt = 0;
  16226     RECOMP_REGS_LOCALS
  16227     RECOMP_ENTER(0x2501E350u);
  16228 
  16229     goto L_2501E350;
  16230 L_2501CB50:
  16231     PUSH32(esp, ebp); /* 0x2501CB50: push ebp */
  16232     ebp = esp; /* 0x2501CB51: mov ebp, esp */
  16233     PUSH32(esp, ebx); /* 0x2501CB53: push ebx */
  16234     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501CB54: mov bl, byte ptr [ebp + 8] */
  16235     /* test LO8(ebx), 2 */ /* 0x2501CB57: test bl, 2 */
  16236     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  16237     _cf = 0;
  16238     _flag_k = FK_NARROW(FK_TEST, 24);
  16239     PUSH32(esp, esi); /* 0x2501CB5A: push esi */
  16240     esi = ecx; /* 0x2501CB5B: mov esi, ecx */
  16241     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB8E; /* 0x2501CB5D: je 0x2501cb8e */
  16242 L_2501CB5F:
  16243     eax = MEM32(esi + (-0x4)); /* 0x2501CB5F: mov eax, dword ptr [esi - 4] */
  16244     PUSH32(esp, edi); /* 0x2501CB62: push edi */
  16245     PUSH32(esp, 0x2501CD70u); /* 0x2501CB63: push 0x2501cd70 */
  16246     edi = esi + (-0x4); /* 0x2501CB68: lea edi, [esi - 4] */
  16247     PUSH32(esp, eax); /* 0x2501CB6B: push eax */
  16248     PUSH32(esp, 0x238u); /* 0x2501CB6C: push 0x238 */
  16249     PUSH32(esp, esi); /* 0x2501CB71: push esi */
  16250     RECOMP_ICALL(0x25137F92u); /* 0x2501CB72: call 0x25137f92 */ /* not lifted */
  16251     RECOMP_FLAGS_IN();
  16252     /* test LO8(ebx), 1 */ /* 0x2501CB77: test bl, 1 */
  16253     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16254     _cf = 0;
  16255     _flag_k = FK_NARROW(FK_TEST, 24);
  16256     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CB85; /* 0x2501CB7A: je 0x2501cb85 */
  16257 L_2501CB7C:
  16258     PUSH32(esp, edi); /* 0x2501CB7C: push edi */
  16259     RECOMP_ICALL(0x25137EECu); /* 0x2501CB7D: call 0x25137eec */ /* not lifted */
  16260     RECOMP_FLAGS_IN();
  16261     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16262     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16263     esp = esp + 4; /* 0x2501CB82: add esp, 4 */
  16264     _flag_k = FK_ADD;
  16265 L_2501CB85:
  16266     eax = edi; /* 0x2501CB85: mov eax, edi */
  16267     edi = POP32_VAL(esp); /* 0x2501CB87: pop edi */
  16268     esi = POP32_VAL(esp); /* 0x2501CB88: pop esi */
  16269     ebx = POP32_VAL(esp); /* 0x2501CB89: pop ebx */
  16270     ebp = POP32_VAL(esp); /* 0x2501CB8A: pop ebp */
  16271     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CB8B: ret 4 */
  16272 L_2501CB8E:
  16273     ecx = esi; /* 0x2501CB8E: mov ecx, esi */
  16274     RECOMP_ICALL(0x2501CD70u); /* 0x2501CB90: call 0x2501cd70 */ /* not lifted */
  16275     RECOMP_FLAGS_IN();
  16276     /* test LO8(ebx), 1 */ /* 0x2501CB95: test bl, 1 */
  16277     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  16278     _cf = 0;
  16279     _flag_k = FK_NARROW(FK_TEST, 24);
  16280     if (TEST_Z(_flag_a, _flag_b)) goto L_2501CBA3; /* 0x2501CB98: je 0x2501cba3 */
  16281 L_2501CB9A:
  16282     PUSH32(esp, esi); /* 0x2501CB9A: push esi */
  16283     RECOMP_ICALL(0x25137EECu); /* 0x2501CB9B: call 0x25137eec */ /* not lifted */
  16284     RECOMP_FLAGS_IN();
  16285     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16286     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16287     esp = esp + 4; /* 0x2501CBA0: add esp, 4 */
  16288     _flag_k = FK_ADD;
  16289 L_2501CBA3:
  16290     eax = esi; /* 0x2501CBA3: mov eax, esi */
  16291     esi = POP32_VAL(esp); /* 0x2501CBA5: pop esi */
  16292     ebx = POP32_VAL(esp); /* 0x2501CBA6: pop ebx */
  16293     ebp = POP32_VAL(esp); /* 0x2501CBA7: pop ebp */
  16294     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501CBA8: ret 4 */
  16295 L_2501E350:
  16296     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
  16297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16298     ecx = ecx - 0x150u; /* 0x2501E350: sub ecx, 0x150 */
  16299     _flag_k = FK_CMP;
  16300     RECOMP_BACKEDGE();
  16301     goto L_2501CB50; /* 0x2501E356: jmp 0x2501cb50 */
  16302     { RECOMP_REGS_OUT(); return; } /* end of function */
  16303     RECOMP_REGS_OUT();
  16304 }
  16305 
  16306 void sub_2501E360(void) {
  16307     int _fpu_cmp = 0;
  16308     uint32_t _cf = 0;
  16309     int _df = 1;
  16310     uint32_t _flag_k = FK_NONE;
  16311     uint32_t _flag_a = 0, _flag_b = 0;
  16312     uint32_t _itail_tgt = 0;
  16313     RECOMP_REGS_LOCALS
  16314     RECOMP_ENTER(0x2501E360u);
  16315 
  16316     goto L_2501E360;
  16317 L_2501C630:
  16318     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16319     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16320     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16321     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16322     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16323     RECOMP_FLAGS_IN();
  16324     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16325     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16326     _cf = 0;
  16327     _flag_k = FK_NARROW(FK_TEST, 24);
  16328     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16329 L_2501C641:
  16330     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16331     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16332     RECOMP_FLAGS_IN();
  16333     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16334     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16335     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16336     _flag_k = FK_ADD;
  16337 L_2501C64A:
  16338     eax = esi; /* 0x2501C64A: mov eax, esi */
  16339     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16340     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16341     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16342 L_2501E360:
  16343     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  16344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16345     ecx = ecx - 8; /* 0x2501E360: sub ecx, 8 */
  16346     _flag_k = FK_CMP;
  16347     RECOMP_BACKEDGE();
  16348     goto L_2501C630; /* 0x2501E363: jmp 0x2501c630 */
  16349     { RECOMP_REGS_OUT(); return; } /* end of function */
  16350     RECOMP_REGS_OUT();
  16351 }
  16352 
  16353 void sub_2501E370(void) {
  16354     int _fpu_cmp = 0;
  16355     uint32_t _cf = 0;
  16356     int _df = 1;
  16357     uint32_t _flag_k = FK_NONE;
  16358     uint32_t _flag_a = 0, _flag_b = 0;
  16359     uint32_t _itail_tgt = 0;
  16360     RECOMP_REGS_LOCALS
  16361     RECOMP_ENTER(0x2501E370u);
  16362 
  16363     goto L_2501E370;
  16364 L_2501C630:
  16365     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16366     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16367     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16368     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16369     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16370     RECOMP_FLAGS_IN();
  16371     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16372     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16373     _cf = 0;
  16374     _flag_k = FK_NARROW(FK_TEST, 24);
  16375     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16376 L_2501C641:
  16377     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16378     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16379     RECOMP_FLAGS_IN();
  16380     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16381     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16382     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16383     _flag_k = FK_ADD;
  16384 L_2501C64A:
  16385     eax = esi; /* 0x2501C64A: mov eax, esi */
  16386     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16387     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16388     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16389 L_2501E370:
  16390     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
  16391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16392     ecx = ecx - 0x20u; /* 0x2501E370: sub ecx, 0x20 */
  16393     _flag_k = FK_CMP;
  16394     RECOMP_BACKEDGE();
  16395     goto L_2501C630; /* 0x2501E373: jmp 0x2501c630 */
  16396     { RECOMP_REGS_OUT(); return; } /* end of function */
  16397     RECOMP_REGS_OUT();
  16398 }
  16399 
  16400 void sub_2501E380(void) {
  16401     int _fpu_cmp = 0;
  16402     uint32_t _cf = 0;
  16403     int _df = 1;
  16404     uint32_t _flag_k = FK_NONE;
  16405     uint32_t _flag_a = 0, _flag_b = 0;
  16406     uint32_t _itail_tgt = 0;
  16407     RECOMP_REGS_LOCALS
  16408     RECOMP_ENTER(0x2501E380u);
  16409 
  16410     goto L_2501E380;
  16411 L_2501C630:
  16412     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16413     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16414     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16415     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16416     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16417     RECOMP_FLAGS_IN();
  16418     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16419     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16420     _cf = 0;
  16421     _flag_k = FK_NARROW(FK_TEST, 24);
  16422     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16423 L_2501C641:
  16424     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16425     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16426     RECOMP_FLAGS_IN();
  16427     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16428     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16429     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16430     _flag_k = FK_ADD;
  16431 L_2501C64A:
  16432     eax = esi; /* 0x2501C64A: mov eax, esi */
  16433     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16434     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16435     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16436 L_2501E380:
  16437     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
  16438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16439     ecx = ecx - 0x38u; /* 0x2501E380: sub ecx, 0x38 */
  16440     _flag_k = FK_CMP;
  16441     RECOMP_BACKEDGE();
  16442     goto L_2501C630; /* 0x2501E383: jmp 0x2501c630 */
  16443     { RECOMP_REGS_OUT(); return; } /* end of function */
  16444     RECOMP_REGS_OUT();
  16445 }
  16446 
  16447 void sub_2501E390(void) {
  16448     int _fpu_cmp = 0;
  16449     uint32_t _cf = 0;
  16450     int _df = 1;
  16451     uint32_t _flag_k = FK_NONE;
  16452     uint32_t _flag_a = 0, _flag_b = 0;
  16453     uint32_t _itail_tgt = 0;
  16454     RECOMP_REGS_LOCALS
  16455     RECOMP_ENTER(0x2501E390u);
  16456 
  16457     goto L_2501E390;
  16458 L_2501C630:
  16459     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16460     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16461     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16462     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16463     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16464     RECOMP_FLAGS_IN();
  16465     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16466     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16467     _cf = 0;
  16468     _flag_k = FK_NARROW(FK_TEST, 24);
  16469     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16470 L_2501C641:
  16471     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16472     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16473     RECOMP_FLAGS_IN();
  16474     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16475     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16476     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16477     _flag_k = FK_ADD;
  16478 L_2501C64A:
  16479     eax = esi; /* 0x2501C64A: mov eax, esi */
  16480     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16481     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16482     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16483 L_2501E390:
  16484     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
  16485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16486     ecx = ecx - 0x50u; /* 0x2501E390: sub ecx, 0x50 */
  16487     _flag_k = FK_CMP;
  16488     RECOMP_BACKEDGE();
  16489     goto L_2501C630; /* 0x2501E393: jmp 0x2501c630 */
  16490     { RECOMP_REGS_OUT(); return; } /* end of function */
  16491     RECOMP_REGS_OUT();
  16492 }
  16493 
  16494 void sub_2501E3A0(void) {
  16495     int _fpu_cmp = 0;
  16496     uint32_t _cf = 0;
  16497     int _df = 1;
  16498     uint32_t _flag_k = FK_NONE;
  16499     uint32_t _flag_a = 0, _flag_b = 0;
  16500     uint32_t _itail_tgt = 0;
  16501     RECOMP_REGS_LOCALS
  16502     RECOMP_ENTER(0x2501E3A0u);
  16503 
  16504     goto L_2501E3A0;
  16505 L_2501C630:
  16506     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16507     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16508     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16509     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16510     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16511     RECOMP_FLAGS_IN();
  16512     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16513     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16514     _cf = 0;
  16515     _flag_k = FK_NARROW(FK_TEST, 24);
  16516     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16517 L_2501C641:
  16518     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16519     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16520     RECOMP_FLAGS_IN();
  16521     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16522     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16523     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16524     _flag_k = FK_ADD;
  16525 L_2501C64A:
  16526     eax = esi; /* 0x2501C64A: mov eax, esi */
  16527     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16528     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16529     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16530 L_2501E3A0:
  16531     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
  16532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16533     ecx = ecx - 0x138u; /* 0x2501E3A0: sub ecx, 0x138 */
  16534     _flag_k = FK_CMP;
  16535     RECOMP_BACKEDGE();
  16536     goto L_2501C630; /* 0x2501E3A6: jmp 0x2501c630 */
  16537     { RECOMP_REGS_OUT(); return; } /* end of function */
  16538     RECOMP_REGS_OUT();
  16539 }
  16540 
  16541 void sub_2501E3B0(void) {
  16542     int _fpu_cmp = 0;
  16543     uint32_t _cf = 0;
  16544     int _df = 1;
  16545     uint32_t _flag_k = FK_NONE;
  16546     uint32_t _flag_a = 0, _flag_b = 0;
  16547     uint32_t _itail_tgt = 0;
  16548     RECOMP_REGS_LOCALS
  16549     RECOMP_ENTER(0x2501E3B0u);
  16550 
  16551     goto L_2501E3B0;
  16552 L_2501C630:
  16553     PUSH32(esp, ebp); /* 0x2501C630: push ebp */
  16554     ebp = esp; /* 0x2501C631: mov ebp, esp */
  16555     PUSH32(esp, esi); /* 0x2501C633: push esi */
  16556     esi = ecx; /* 0x2501C634: mov esi, ecx */
  16557     RECOMP_ICALL(0x2501C660u); /* 0x2501C636: call 0x2501c660 */ /* not lifted */
  16558     RECOMP_FLAGS_IN();
  16559     /* test MEM8(ebp + 0x8), 1 */ /* 0x2501C63B: test byte ptr [ebp + 8], 1 */
  16560     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
  16561     _cf = 0;
  16562     _flag_k = FK_NARROW(FK_TEST, 24);
  16563     if (TEST_Z(_flag_a, _flag_b)) goto L_2501C64A; /* 0x2501C63F: je 0x2501c64a */
  16564 L_2501C641:
  16565     PUSH32(esp, esi); /* 0x2501C641: push esi */
  16566     RECOMP_ICALL(0x25137EECu); /* 0x2501C642: call 0x25137eec */ /* not lifted */
  16567     RECOMP_FLAGS_IN();
  16568     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  16569     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16570     esp = esp + 4; /* 0x2501C647: add esp, 4 */
  16571     _flag_k = FK_ADD;
  16572 L_2501C64A:
  16573     eax = esi; /* 0x2501C64A: mov eax, esi */
  16574     esi = POP32_VAL(esp); /* 0x2501C64C: pop esi */
  16575     ebp = POP32_VAL(esp); /* 0x2501C64D: pop ebp */
  16576     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501C64E: ret 4 */
  16577 L_2501E3B0:
  16578     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u);
  16579     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16580     ecx = ecx - 0x150u; /* 0x2501E3B0: sub ecx, 0x150 */
  16581     _flag_k = FK_CMP;
  16582     RECOMP_BACKEDGE();
  16583     goto L_2501C630; /* 0x2501E3B6: jmp 0x2501c630 */
  16584     { RECOMP_REGS_OUT(); return; } /* end of function */
  16585     RECOMP_REGS_OUT();
  16586 }
  16587 
  16588 void sub_2501E3C0(void) {
  16589     int _fpu_cmp = 0;
  16590     uint32_t _cf = 0;
  16591     int _df = 1;
  16592     uint32_t _flag_k = FK_NONE;
  16593     uint32_t _flag_a = 0, _flag_b = 0;
  16594     uint32_t _itail_tgt = 0;
  16595     RECOMP_REGS_LOCALS
  16596     RECOMP_ENTER(0x2501E3C0u);
  16597 
  16598 L_2501E3C0:
  16599     PUSH32(esp, ebp); /* 0x2501E3C0: push ebp */
  16600     ebp = esp; /* 0x2501E3C1: mov ebp, esp */
  16601     PUSH32(esp, esi); /* 0x2501E3C3: push esi */
  16602     PUSH32(esp, edi); /* 0x2501E3C4: push edi */
  16603     edi = MEM32(ebp + 0x8); /* 0x2501E3C5: mov edi, dword ptr [ebp + 8] */
  16604     esi = ecx; /* 0x2501E3C8: mov esi, ecx */
  16605     PUSH32(esp, edi); /* 0x2501E3CA: push edi */
  16606     RECOMP_ICALL(0x250DAB70u); /* 0x2501E3CB: call 0x250dab70 */ /* not lifted */
  16607     RECOMP_FLAGS_IN();
  16608     eax = MEM32(edi + 0x1D4); /* 0x2501E3D0: mov eax, dword ptr [edi + 0x1d4] */
  16609     MEM32(esi + 0x1D4) = eax; /* 0x2501E3D6: mov dword ptr [esi + 0x1d4], eax */
  16610     ecx = MEM32(edi + 0x1D8); /* 0x2501E3DC: mov ecx, dword ptr [edi + 0x1d8] */
  16611     MEM32(esi + 0x1D8) = ecx; /* 0x2501E3E2: mov dword ptr [esi + 0x1d8], ecx */
  16612     edx = MEM32(edi + 0x1DC); /* 0x2501E3E8: mov edx, dword ptr [edi + 0x1dc] */
  16613     MEM32(esi + 0x1DC) = edx; /* 0x2501E3EE: mov dword ptr [esi + 0x1dc], edx */
  16614     eax = MEM32(edi + 0x1E0); /* 0x2501E3F4: mov eax, dword ptr [edi + 0x1e0] */
  16615     MEM32(esi + 0x1E0) = eax; /* 0x2501E3FA: mov dword ptr [esi + 0x1e0], eax */
  16616     ecx = MEM32(edi + 0x1E4); /* 0x2501E400: mov ecx, dword ptr [edi + 0x1e4] */
  16617     MEM32(esi + 0x1E4) = ecx; /* 0x2501E406: mov dword ptr [esi + 0x1e4], ecx */
  16618     edx = MEM32(edi + 0x1E8); /* 0x2501E40C: mov edx, dword ptr [edi + 0x1e8] */
  16619     MEM32(esi + 0x1E8) = edx; /* 0x2501E412: mov dword ptr [esi + 0x1e8], edx */
  16620     eax = MEM32(edi + 0x1EC); /* 0x2501E418: mov eax, dword ptr [edi + 0x1ec] */
  16621     MEM32(esi + 0x1EC) = eax; /* 0x2501E41E: mov dword ptr [esi + 0x1ec], eax */
  16622     ecx = MEM32(edi + 0x1F0); /* 0x2501E424: mov ecx, dword ptr [edi + 0x1f0] */
  16623     MEM32(esi + 0x1F0) = ecx; /* 0x2501E42A: mov dword ptr [esi + 0x1f0], ecx */
  16624     edx = MEM32(edi + 0x1F4); /* 0x2501E430: mov edx, dword ptr [edi + 0x1f4] */
  16625     MEM32(esi + 0x1F4) = edx; /* 0x2501E436: mov dword ptr [esi + 0x1f4], edx */
  16626     eax = MEM32(edi + 0x1F8); /* 0x2501E43C: mov eax, dword ptr [edi + 0x1f8] */
  16627     MEM32(esi + 0x1F8) = eax; /* 0x2501E442: mov dword ptr [esi + 0x1f8], eax */
  16628     MEM32(esi) = 0x25151990u; /* 0x2501E448: mov dword ptr [esi], 0x25151990 */
  16629     MEM32(esi + 0x8) = 0x25151980u; /* 0x2501E44E: mov dword ptr [esi + 8], 0x25151980 */
  16630     MEM32(esi + 0x20) = 0x25151970u; /* 0x2501E455: mov dword ptr [esi + 0x20], 0x25151970 */
  16631     MEM32(esi + 0x38) = 0x25151960u; /* 0x2501E45C: mov dword ptr [esi + 0x38], 0x25151960 */
  16632     MEM32(esi + 0x50) = 0x25151950u; /* 0x2501E463: mov dword ptr [esi + 0x50], 0x25151950 */
  16633     MEM32(esi + 0x138) = 0x25151940u; /* 0x2501E46A: mov dword ptr [esi + 0x138], 0x25151940 */
  16634     MEM32(esi + 0x150) = 0x25151930u; /* 0x2501E474: mov dword ptr [esi + 0x150], 0x25151930 */
  16635     ecx = MEM32(edi + 0x1FC); /* 0x2501E47E: mov ecx, dword ptr [edi + 0x1fc] */
  16636     MEM32(esi + 0x1FC) = ecx; /* 0x2501E484: mov dword ptr [esi + 0x1fc], ecx */
  16637     edx = MEM32(edi + 0x200); /* 0x2501E48A: mov edx, dword ptr [edi + 0x200] */
  16638     MEM32(esi + 0x200) = edx; /* 0x2501E490: mov dword ptr [esi + 0x200], edx */
  16639     eax = MEM32(edi + 0x204); /* 0x2501E496: mov eax, dword ptr [edi + 0x204] */
  16640     MEM32(esi + 0x204) = eax; /* 0x2501E49C: mov dword ptr [esi + 0x204], eax */
  16641     SET_LO8(ecx, MEM8(edi + 0x208)); /* 0x2501E4A2: mov cl, byte ptr [edi + 0x208] */
  16642     MEM8(esi + 0x208) = (uint8_t)(LO8(ecx)); /* 0x2501E4A8: mov byte ptr [esi + 0x208], cl */
  16643     SET_LO8(edx, MEM8(edi + 0x209)); /* 0x2501E4AE: mov dl, byte ptr [edi + 0x209] */
  16644     MEM8(esi + 0x209) = (uint8_t)(LO8(edx)); /* 0x2501E4B4: mov byte ptr [esi + 0x209], dl */
  16645     eax = MEM32(edi + 0x20C); /* 0x2501E4BA: mov eax, dword ptr [edi + 0x20c] */
  16646     MEM32(esi + 0x20C) = eax; /* 0x2501E4C0: mov dword ptr [esi + 0x20c], eax */
  16647     ecx = MEM32(edi + 0x210); /* 0x2501E4C6: mov ecx, dword ptr [edi + 0x210] */
  16648     edi = POP32_VAL(esp); /* 0x2501E4CC: pop edi */
  16649     MEM32(esi + 0x210) = ecx; /* 0x2501E4CD: mov dword ptr [esi + 0x210], ecx */
  16650     MEM32(esi) = 0x251527DCu; /* 0x2501E4D3: mov dword ptr [esi], 0x251527dc */
  16651     MEM32(esi + 0x8) = 0x251527CCu; /* 0x2501E4D9: mov dword ptr [esi + 8], 0x251527cc */
  16652     MEM32(esi + 0x20) = 0x251527BCu; /* 0x2501E4E0: mov dword ptr [esi + 0x20], 0x251527bc */
  16653     MEM32(esi + 0x38) = 0x251527ACu; /* 0x2501E4E7: mov dword ptr [esi + 0x38], 0x251527ac */
  16654     MEM32(esi + 0x50) = 0x2515279Cu; /* 0x2501E4EE: mov dword ptr [esi + 0x50], 0x2515279c */
  16655     MEM32(esi + 0x138) = 0x2515278Cu; /* 0x2501E4F5: mov dword ptr [esi + 0x138], 0x2515278c */
  16656     MEM32(esi + 0x150) = 0x2515277Cu; /* 0x2501E4FF: mov dword ptr [esi + 0x150], 0x2515277c */
  16657     eax = esi; /* 0x2501E509: mov eax, esi */
  16658     esi = POP32_VAL(esp); /* 0x2501E50B: pop esi */
  16659     ebp = POP32_VAL(esp); /* 0x2501E50C: pop ebp */
  16660     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E50D: ret 4 */
  16661     RECOMP_REGS_OUT();
  16662 }
  16663 
  16664 void sub_2501E47E(void) {
  16665     int _fpu_cmp = 0;
  16666     uint32_t _cf = 0;
  16667     int _df = 1;
  16668     uint32_t _flag_k = FK_NONE;
  16669     uint32_t _flag_a = 0, _flag_b = 0;
  16670     uint32_t _itail_tgt = 0;
  16671     RECOMP_REGS_LOCALS
  16672     RECOMP_ENTER(0x2501E47Eu);
  16673 
  16674 L_2501E47E:
  16675     ecx = MEM32(edi + 0x1FC); /* 0x2501E47E: mov ecx, dword ptr [edi + 0x1fc] */
  16676     MEM32(esi + 0x1FC) = ecx; /* 0x2501E484: mov dword ptr [esi + 0x1fc], ecx */
  16677     edx = MEM32(edi + 0x200); /* 0x2501E48A: mov edx, dword ptr [edi + 0x200] */
  16678     MEM32(esi + 0x200) = edx; /* 0x2501E490: mov dword ptr [esi + 0x200], edx */
  16679     eax = MEM32(edi + 0x204); /* 0x2501E496: mov eax, dword ptr [edi + 0x204] */
  16680     MEM32(esi + 0x204) = eax; /* 0x2501E49C: mov dword ptr [esi + 0x204], eax */
  16681     SET_LO8(ecx, MEM8(edi + 0x208)); /* 0x2501E4A2: mov cl, byte ptr [edi + 0x208] */
  16682     MEM8(esi + 0x208) = (uint8_t)(LO8(ecx)); /* 0x2501E4A8: mov byte ptr [esi + 0x208], cl */
  16683     SET_LO8(edx, MEM8(edi + 0x209)); /* 0x2501E4AE: mov dl, byte ptr [edi + 0x209] */
  16684     MEM8(esi + 0x209) = (uint8_t)(LO8(edx)); /* 0x2501E4B4: mov byte ptr [esi + 0x209], dl */
  16685     eax = MEM32(edi + 0x20C); /* 0x2501E4BA: mov eax, dword ptr [edi + 0x20c] */
  16686     MEM32(esi + 0x20C) = eax; /* 0x2501E4C0: mov dword ptr [esi + 0x20c], eax */
  16687     ecx = MEM32(edi + 0x210); /* 0x2501E4C6: mov ecx, dword ptr [edi + 0x210] */
  16688     edi = POP32_VAL(esp); /* 0x2501E4CC: pop edi */
  16689     MEM32(esi + 0x210) = ecx; /* 0x2501E4CD: mov dword ptr [esi + 0x210], ecx */
  16690     MEM32(esi) = 0x251527DCu; /* 0x2501E4D3: mov dword ptr [esi], 0x251527dc */
  16691     MEM32(esi + 0x8) = 0x251527CCu; /* 0x2501E4D9: mov dword ptr [esi + 8], 0x251527cc */
  16692     MEM32(esi + 0x20) = 0x251527BCu; /* 0x2501E4E0: mov dword ptr [esi + 0x20], 0x251527bc */
  16693     MEM32(esi + 0x38) = 0x251527ACu; /* 0x2501E4E7: mov dword ptr [esi + 0x38], 0x251527ac */
  16694     MEM32(esi + 0x50) = 0x2515279Cu; /* 0x2501E4EE: mov dword ptr [esi + 0x50], 0x2515279c */
  16695     MEM32(esi + 0x138) = 0x2515278Cu; /* 0x2501E4F5: mov dword ptr [esi + 0x138], 0x2515278c */
  16696     MEM32(esi + 0x150) = 0x2515277Cu; /* 0x2501E4FF: mov dword ptr [esi + 0x150], 0x2515277c */
  16697     eax = esi; /* 0x2501E509: mov eax, esi */
  16698     esi = POP32_VAL(esp); /* 0x2501E50B: pop esi */
  16699     ebp = POP32_VAL(esp); /* 0x2501E50C: pop ebp */
  16700     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E50D: ret 4 */
  16701     RECOMP_REGS_OUT();
  16702 }
  16703 
  16704 void sub_2501E510(void) {
  16705     int _fpu_cmp = 0;
  16706     uint32_t _cf = 0;
  16707     int _df = 1;
  16708     uint32_t _flag_k = FK_NONE;
  16709     uint32_t _flag_a = 0, _flag_b = 0;
  16710     uint32_t _itail_tgt = 0;
  16711     RECOMP_REGS_LOCALS
  16712     RECOMP_ENTER(0x2501E510u);
  16713 
  16714 L_2501E510:
  16715     PUSH32(esp, ebp); /* 0x2501E510: push ebp */
  16716     ebp = esp; /* 0x2501E511: mov ebp, esp */
  16717     PUSH32(esp, ecx); /* 0x2501E513: push ecx */
  16718     PUSH32(esp, ebx); /* 0x2501E514: push ebx */
  16719     ebx = MEM32(ebp + 0x8); /* 0x2501E515: mov ebx, dword ptr [ebp + 8] */
  16720     /* test ebx, ebx */ /* 0x2501E518: test ebx, ebx */
  16721     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16722     _cf = 0;
  16723     _flag_k = FK_TEST;
  16724     eax = MEM32(ebx + 0x4); /* 0x2501E51A: mov eax, dword ptr [ebx + 4] */
  16725     PUSH32(esp, esi); /* 0x2501E51D: push esi */
  16726     PUSH32(esp, edi); /* 0x2501E51E: push edi */
  16727     edi = ecx; /* 0x2501E51F: mov edi, ecx */
  16728     MEM32(ebp + (-0x4)) = edi; /* 0x2501E521: mov dword ptr [ebp - 4], edi */
  16729     MEM32(edi + 0x4) = eax; /* 0x2501E524: mov dword ptr [edi + 4], eax */
  16730     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E52E; /* 0x2501E527: je 0x2501e52e */
  16731 L_2501E529:
  16732     eax = ebx + 0x8; /* 0x2501E529: lea eax, [ebx + 8] */
  16733     goto L_2501E530; /* 0x2501E52C: jmp 0x2501e530 */
  16734 L_2501E52E:
  16735     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16736     eax = 0; /* 0x2501E52E: xor eax, eax */
  16737     _cf = 0;
  16738     _flag_k = FK_TEST;
  16739 L_2501E530:
  16740     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16741     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16742     eax = eax + 4; /* 0x2501E530: add eax, 4 */
  16743     _flag_k = FK_ADD;
  16744     PUSH32(esp, eax); /* 0x2501E533: push eax */
  16745     ecx = edi + 0xC; /* 0x2501E534: lea ecx, [edi + 0xc] */
  16746     RECOMP_ICALL(0x2500B8C0u); /* 0x2501E537: call 0x2500b8c0 */ /* not lifted */
  16747     RECOMP_FLAGS_IN();
  16748     /* test ebx, ebx */ /* 0x2501E53C: test ebx, ebx */
  16749     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16750     _cf = 0;
  16751     _flag_k = FK_TEST;
  16752     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E545; /* 0x2501E53E: je 0x2501e545 */
  16753 L_2501E540:
  16754     eax = ebx + 0x20; /* 0x2501E540: lea eax, [ebx + 0x20] */
  16755     goto L_2501E547; /* 0x2501E543: jmp 0x2501e547 */
  16756 L_2501E545:
  16757     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16758     eax = 0; /* 0x2501E545: xor eax, eax */
  16759     _cf = 0;
  16760     _flag_k = FK_TEST;
  16761 L_2501E547:
  16762     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16763     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16764     eax = eax + 4; /* 0x2501E547: add eax, 4 */
  16765     _flag_k = FK_ADD;
  16766     PUSH32(esp, eax); /* 0x2501E54A: push eax */
  16767     ecx = edi + 0x24; /* 0x2501E54B: lea ecx, [edi + 0x24] */
  16768     RECOMP_ICALL(0x2500BA40u); /* 0x2501E54E: call 0x2500ba40 */ /* not lifted */
  16769     RECOMP_FLAGS_IN();
  16770     /* test ebx, ebx */ /* 0x2501E553: test ebx, ebx */
  16771     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16772     _cf = 0;
  16773     _flag_k = FK_TEST;
  16774     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E55C; /* 0x2501E555: je 0x2501e55c */
  16775 L_2501E557:
  16776     eax = ebx + 0x38; /* 0x2501E557: lea eax, [ebx + 0x38] */
  16777     goto L_2501E55E; /* 0x2501E55A: jmp 0x2501e55e */
  16778 L_2501E55C:
  16779     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16780     eax = 0; /* 0x2501E55C: xor eax, eax */
  16781     _cf = 0;
  16782     _flag_k = FK_TEST;
  16783 L_2501E55E:
  16784     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16785     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16786     eax = eax + 4; /* 0x2501E55E: add eax, 4 */
  16787     _flag_k = FK_ADD;
  16788     PUSH32(esp, eax); /* 0x2501E561: push eax */
  16789     ecx = edi + 0x3C; /* 0x2501E562: lea ecx, [edi + 0x3c] */
  16790     RECOMP_ICALL(0x2500BBC0u); /* 0x2501E565: call 0x2500bbc0 */ /* not lifted */
  16791     RECOMP_FLAGS_IN();
  16792     /* test ebx, ebx */ /* 0x2501E56A: test ebx, ebx */
  16793     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16794     _cf = 0;
  16795     _flag_k = FK_TEST;
  16796     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E573; /* 0x2501E56C: je 0x2501e573 */
  16797 L_2501E56E:
  16798     eax = ebx + 0x50; /* 0x2501E56E: lea eax, [ebx + 0x50] */
  16799     goto L_2501E575; /* 0x2501E571: jmp 0x2501e575 */
  16800 L_2501E573:
  16801     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16802     eax = 0; /* 0x2501E573: xor eax, eax */
  16803     _cf = 0;
  16804     _flag_k = FK_TEST;
  16805 L_2501E575:
  16806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16807     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16808     eax = eax + 4; /* 0x2501E575: add eax, 4 */
  16809     _flag_k = FK_ADD;
  16810     PUSH32(esp, eax); /* 0x2501E578: push eax */
  16811     ecx = edi + 0x54; /* 0x2501E579: lea ecx, [edi + 0x54] */
  16812     RECOMP_ICALL(0x2500BD40u); /* 0x2501E57C: call 0x2500bd40 */ /* not lifted */
  16813     RECOMP_FLAGS_IN();
  16814     SET_LO8(ecx, MEM8(ebx + 0x68)); /* 0x2501E581: mov cl, byte ptr [ebx + 0x68] */
  16815     MEM8(edi + 0x68) = (uint8_t)(LO8(ecx)); /* 0x2501E584: mov byte ptr [edi + 0x68], cl */
  16816     SET_LO8(edx, MEM8(ebx + 0x69)); /* 0x2501E587: mov dl, byte ptr [ebx + 0x69] */
  16817     MEM8(edi + 0x69) = (uint8_t)(LO8(edx)); /* 0x2501E58A: mov byte ptr [edi + 0x69], dl */
  16818     SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x2501E58D: mov al, byte ptr [ebx + 0x6a] */
  16819     MEM8(edi + 0x6A) = (uint8_t)(LO8(eax)); /* 0x2501E590: mov byte ptr [edi + 0x6a], al */
  16820     SET_LO8(ecx, MEM8(ebx + 0x6B)); /* 0x2501E593: mov cl, byte ptr [ebx + 0x6b] */
  16821     MEM8(edi + 0x6B) = (uint8_t)(LO8(ecx)); /* 0x2501E596: mov byte ptr [edi + 0x6b], cl */
  16822     edx = MEM32(ebx + 0x6C); /* 0x2501E599: mov edx, dword ptr [ebx + 0x6c] */
  16823     MEM32(edi + 0x6C) = edx; /* 0x2501E59C: mov dword ptr [edi + 0x6c], edx */
  16824     eax = MEM32(ebx + 0x70); /* 0x2501E59F: mov eax, dword ptr [ebx + 0x70] */
  16825     MEM32(edi + 0x70) = eax; /* 0x2501E5A2: mov dword ptr [edi + 0x70], eax */
  16826     ecx = MEM32(ebx + 0x74); /* 0x2501E5A5: mov ecx, dword ptr [ebx + 0x74] */
  16827     MEM32(edi + 0x74) = ecx; /* 0x2501E5A8: mov dword ptr [edi + 0x74], ecx */
  16828     eax = edi + 0x78; /* 0x2501E5AB: lea eax, [edi + 0x78] */
  16829     edx = ebx + 0x78; /* 0x2501E5AE: lea edx, [ebx + 0x78] */
  16830     ecx = MEM32(edx); /* 0x2501E5B1: mov ecx, dword ptr [edx] */
  16831     MEM32(eax) = ecx; /* 0x2501E5B3: mov dword ptr [eax], ecx */
  16832     ecx = MEM32(edx + 0x4); /* 0x2501E5B5: mov ecx, dword ptr [edx + 4] */
  16833     MEM32(eax + 0x4) = ecx; /* 0x2501E5B8: mov dword ptr [eax + 4], ecx */
  16834     edx = MEM32(edx + 0x8); /* 0x2501E5BB: mov edx, dword ptr [edx + 8] */
  16835     MEM32(eax + 0x8) = edx; /* 0x2501E5BE: mov dword ptr [eax + 8], edx */
  16836     ecx = edi + 0x84; /* 0x2501E5C1: lea ecx, [edi + 0x84] */
  16837     eax = ebx + 0x84; /* 0x2501E5C7: lea eax, [ebx + 0x84] */
  16838     edx = MEM32(eax); /* 0x2501E5CD: mov edx, dword ptr [eax] */
  16839     MEM32(ecx) = edx; /* 0x2501E5CF: mov dword ptr [ecx], edx */
  16840     edx = MEM32(eax + 0x4); /* 0x2501E5D1: mov edx, dword ptr [eax + 4] */
  16841     MEM32(ecx + 0x4) = edx; /* 0x2501E5D4: mov dword ptr [ecx + 4], edx */
  16842     edx = MEM32(eax + 0x8); /* 0x2501E5D7: mov edx, dword ptr [eax + 8] */
  16843     MEM32(ecx + 0x8) = edx; /* 0x2501E5DA: mov dword ptr [ecx + 8], edx */
  16844     eax = MEM32(eax + 0xC); /* 0x2501E5DD: mov eax, dword ptr [eax + 0xc] */
  16845     MEM32(ecx + 0xC) = eax; /* 0x2501E5E0: mov dword ptr [ecx + 0xc], eax */
  16846     ecx = MEM32(ebx + 0x94); /* 0x2501E5E3: mov ecx, dword ptr [ebx + 0x94] */
  16847     eax = MEM32(ebp + (-0x4)); /* 0x2501E5E9: mov eax, dword ptr [ebp - 4] */
  16848     MEM32(edi + 0x94) = ecx; /* 0x2501E5EC: mov dword ptr [edi + 0x94], ecx */
  16849     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x98u);
  16850     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16851     edi = edi + 0x98u; /* 0x2501E5F2: add edi, 0x98 */
  16852     _flag_k = FK_ADD;
  16853     /* test ebx, ebx */ /* 0x2501E5F8: test ebx, ebx */
  16854     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16855     _cf = 0;
  16856     _flag_k = FK_TEST;
  16857     esi = ebx + 0x98; /* 0x2501E5FA: lea esi, [ebx + 0x98] */
  16858     ecx = 0x10u; /* 0x2501E600: mov ecx, 0x10 */
  16859     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501E605: 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; }
  16860     esi = ebx + 0xD8; /* 0x2501E607: lea esi, [ebx + 0xd8] */
  16861     edi = eax + 0xD8; /* 0x2501E60D: lea edi, [eax + 0xd8] */
  16862     ecx = 0x10u; /* 0x2501E613: mov ecx, 0x10 */
  16863     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2501E618: 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; }
  16864     edx = MEM32(ebx + 0x118); /* 0x2501E61A: mov edx, dword ptr [ebx + 0x118] */
  16865     MEM32(eax + 0x118) = edx; /* 0x2501E620: mov dword ptr [eax + 0x118], edx */
  16866     ecx = MEM32(ebx + 0x11C); /* 0x2501E626: mov ecx, dword ptr [ebx + 0x11c] */
  16867     MEM32(eax + 0x11C) = ecx; /* 0x2501E62C: mov dword ptr [eax + 0x11c], ecx */
  16868     SET_LO8(edx, MEM8(ebx + 0x120)); /* 0x2501E632: mov dl, byte ptr [ebx + 0x120] */
  16869     MEM8(eax + 0x120) = (uint8_t)(LO8(edx)); /* 0x2501E638: mov byte ptr [eax + 0x120], dl */
  16870     ecx = MEM32(ebx + 0x124); /* 0x2501E63E: mov ecx, dword ptr [ebx + 0x124] */
  16871     MEM32(eax + 0x124) = ecx; /* 0x2501E644: mov dword ptr [eax + 0x124], ecx */
  16872     edx = MEM32(ebx + 0x128); /* 0x2501E64A: mov edx, dword ptr [ebx + 0x128] */
  16873     MEM32(eax + 0x128) = edx; /* 0x2501E650: mov dword ptr [eax + 0x128], edx */
  16874     ecx = MEM32(ebx + 0x12C); /* 0x2501E656: mov ecx, dword ptr [ebx + 0x12c] */
  16875     MEM32(eax + 0x12C) = ecx; /* 0x2501E65C: mov dword ptr [eax + 0x12c], ecx */
  16876     SET_LO8(edx, MEM8(ebx + 0x130)); /* 0x2501E662: mov dl, byte ptr [ebx + 0x130] */
  16877     MEM8(eax + 0x130) = (uint8_t)(LO8(edx)); /* 0x2501E668: mov byte ptr [eax + 0x130], dl */
  16878     SET_LO8(ecx, MEM8(ebx + 0x131)); /* 0x2501E66E: mov cl, byte ptr [ebx + 0x131] */
  16879     MEM8(eax + 0x131) = (uint8_t)(LO8(ecx)); /* 0x2501E674: mov byte ptr [eax + 0x131], cl */
  16880     SET_LO8(edx, MEM8(ebx + 0x132)); /* 0x2501E67A: mov dl, byte ptr [ebx + 0x132] */
  16881     MEM8(eax + 0x132) = (uint8_t)(LO8(edx)); /* 0x2501E680: mov byte ptr [eax + 0x132], dl */
  16882     ecx = MEM32(ebx + 0x134); /* 0x2501E686: mov ecx, dword ptr [ebx + 0x134] */
  16883     MEM32(eax + 0x134) = ecx; /* 0x2501E68C: mov dword ptr [eax + 0x134], ecx */
  16884     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E69C; /* 0x2501E692: je 0x2501e69c */
  16885 L_2501E694:
  16886     ecx = ebx + 0x138; /* 0x2501E694: lea ecx, [ebx + 0x138] */
  16887     goto L_2501E69E; /* 0x2501E69A: jmp 0x2501e69e */
  16888 L_2501E69C:
  16889     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16890     ecx = 0; /* 0x2501E69C: xor ecx, ecx */
  16891     _cf = 0;
  16892     _flag_k = FK_TEST;
  16893 L_2501E69E:
  16894     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
  16895     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16896     ecx = ecx + 4; /* 0x2501E69E: add ecx, 4 */
  16897     _flag_k = FK_ADD;
  16898     PUSH32(esp, ecx); /* 0x2501E6A1: push ecx */
  16899     ecx = eax + 0x13C; /* 0x2501E6A2: lea ecx, [eax + 0x13c] */
  16900     RECOMP_ICALL(0x25009590u); /* 0x2501E6A8: call 0x25009590 */ /* not lifted */
  16901     RECOMP_FLAGS_IN();
  16902     /* test ebx, ebx */ /* 0x2501E6AD: test ebx, ebx */
  16903     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
  16904     _cf = 0;
  16905     _flag_k = FK_TEST;
  16906     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E6B9; /* 0x2501E6AF: je 0x2501e6b9 */
  16907 L_2501E6B1:
  16908     eax = ebx + 0x150; /* 0x2501E6B1: lea eax, [ebx + 0x150] */
  16909     goto L_2501E6BB; /* 0x2501E6B7: jmp 0x2501e6bb */
  16910 L_2501E6B9:
  16911     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  16912     eax = 0; /* 0x2501E6B9: xor eax, eax */
  16913     _cf = 0;
  16914     _flag_k = FK_TEST;
  16915 L_2501E6BB:
  16916     esi = MEM32(ebp + (-0x4)); /* 0x2501E6BB: mov esi, dword ptr [ebp - 4] */
  16917     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  16918     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16919     eax = eax + 4; /* 0x2501E6BE: add eax, 4 */
  16920     _flag_k = FK_ADD;
  16921     PUSH32(esp, eax); /* 0x2501E6C1: push eax */
  16922     ecx = esi + 0x154; /* 0x2501E6C2: lea ecx, [esi + 0x154] */
  16923     RECOMP_ICALL(0x25009710u); /* 0x2501E6C8: call 0x25009710 */ /* not lifted */
  16924     RECOMP_FLAGS_IN();
  16925     edx = MEM32(ebx + 0x168); /* 0x2501E6CD: mov edx, dword ptr [ebx + 0x168] */
  16926     MEM32(esi + 0x168) = edx; /* 0x2501E6D3: mov dword ptr [esi + 0x168], edx */
  16927     edx = ebx; /* 0x2501E6D9: mov edx, ebx */
  16928     ecx = ebx + 0x16C; /* 0x2501E6DB: lea ecx, [ebx + 0x16c] */
  16929     eax = esi + 0x170; /* 0x2501E6E1: lea eax, [esi + 0x170] */
  16930     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi);
  16931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16932     edx = edx - esi; /* 0x2501E6E7: sub edx, esi */
  16933     _flag_k = FK_CMP;
  16934     MEM32(ebp + 0x8) = 8; /* 0x2501E6E9: mov dword ptr [ebp + 8], 8 */
  16935 L_2501E6F0:
  16936     edi = MEM32(ecx); /* 0x2501E6F0: mov edi, dword ptr [ecx] */
  16937     MEM32(eax + (-0x4)) = edi; /* 0x2501E6F2: mov dword ptr [eax - 4], edi */
  16938     edi = MEM32(edx + eax); /* 0x2501E6F5: mov edi, dword ptr [edx + eax] */
  16939     MEM32(eax) = edi; /* 0x2501E6F8: mov dword ptr [eax], edi */
  16940     edi = MEM32(ebp + 0x8); /* 0x2501E6FA: mov edi, dword ptr [ebp + 8] */
  16941     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  16942     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16943     ecx = ecx + 8; /* 0x2501E6FD: add ecx, 8 */
  16944     _flag_k = FK_ADD;
  16945     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
  16946     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  16947     eax = eax + 8; /* 0x2501E700: add eax, 8 */
  16948     _flag_k = FK_ADD;
  16949     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  16950     edi = edi - 1; /* 0x2501E703: dec edi */
  16951     _flag_k = FK_DEC;
  16952     MEM32(ebp + 0x8) = edi; /* 0x2501E704: mov dword ptr [ebp + 8], edi */
  16953     RECOMP_BACKEDGE();
  16954     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501E6F0; /* 0x2501E707: jne 0x2501e6f0 */
  16955 L_2501E709:
  16956     SET_LO8(eax, MEM8(ebx + 0x1AC)); /* 0x2501E709: mov al, byte ptr [ebx + 0x1ac] */
  16957     MEM8(esi + 0x1AC) = (uint8_t)(LO8(eax)); /* 0x2501E70F: mov byte ptr [esi + 0x1ac], al */
  16958     SET_LO8(ecx, MEM8(ebx + 0x1AD)); /* 0x2501E715: mov cl, byte ptr [ebx + 0x1ad] */
  16959     MEM8(esi + 0x1AD) = (uint8_t)(LO8(ecx)); /* 0x2501E71B: mov byte ptr [esi + 0x1ad], cl */
  16960     SET_LO8(edx, MEM8(ebx + 0x1AE)); /* 0x2501E721: mov dl, byte ptr [ebx + 0x1ae] */
  16961     MEM8(esi + 0x1AE) = (uint8_t)(LO8(edx)); /* 0x2501E727: mov byte ptr [esi + 0x1ae], dl */
  16962     eax = MEM32(ebx + 0x1B0); /* 0x2501E72D: mov eax, dword ptr [ebx + 0x1b0] */
  16963     MEM32(esi + 0x1B0) = eax; /* 0x2501E733: mov dword ptr [esi + 0x1b0], eax */
  16964     ecx = MEM32(ebx + 0x1B4); /* 0x2501E739: mov ecx, dword ptr [ebx + 0x1b4] */
  16965     edx = ebx + 0x1B8; /* 0x2501E73F: lea edx, [ebx + 0x1b8] */
  16966     MEM32(esi + 0x1B4) = ecx; /* 0x2501E745: mov dword ptr [esi + 0x1b4], ecx */
  16967     PUSH32(esp, edx); /* 0x2501E74B: push edx */
  16968     ecx = esi + 0x1B8; /* 0x2501E74C: lea ecx, [esi + 0x1b8] */
  16969     RECOMP_ICALL(0x25005990u); /* 0x2501E752: call 0x25005990 */ /* not lifted */
  16970     RECOMP_FLAGS_IN();
  16971     eax = MEM32(ebx + 0x1C8); /* 0x2501E757: mov eax, dword ptr [ebx + 0x1c8] */
  16972     MEM32(esi + 0x1C8) = eax; /* 0x2501E75D: mov dword ptr [esi + 0x1c8], eax */
  16973     SET_LO8(ecx, MEM8(ebx + 0x1CC)); /* 0x2501E763: mov cl, byte ptr [ebx + 0x1cc] */
  16974     MEM8(esi + 0x1CC) = (uint8_t)(LO8(ecx)); /* 0x2501E769: mov byte ptr [esi + 0x1cc], cl */
  16975     edx = MEM32(ebx + 0x1D0); /* 0x2501E76F: mov edx, dword ptr [ebx + 0x1d0] */
  16976     MEM32(esi + 0x1D0) = edx; /* 0x2501E775: mov dword ptr [esi + 0x1d0], edx */
  16977     eax = MEM32(ebx + 0x1D4); /* 0x2501E77B: mov eax, dword ptr [ebx + 0x1d4] */
  16978     MEM32(esi + 0x1D4) = eax; /* 0x2501E781: mov dword ptr [esi + 0x1d4], eax */
  16979     ecx = MEM32(ebx + 0x1D8); /* 0x2501E787: mov ecx, dword ptr [ebx + 0x1d8] */
  16980     MEM32(esi + 0x1D8) = ecx; /* 0x2501E78D: mov dword ptr [esi + 0x1d8], ecx */
  16981     edx = MEM32(ebx + 0x1DC); /* 0x2501E793: mov edx, dword ptr [ebx + 0x1dc] */
  16982     MEM32(esi + 0x1DC) = edx; /* 0x2501E799: mov dword ptr [esi + 0x1dc], edx */
  16983     eax = MEM32(ebx + 0x1E0); /* 0x2501E79F: mov eax, dword ptr [ebx + 0x1e0] */
  16984     MEM32(esi + 0x1E0) = eax; /* 0x2501E7A5: mov dword ptr [esi + 0x1e0], eax */
  16985     ecx = MEM32(ebx + 0x1E4); /* 0x2501E7AB: mov ecx, dword ptr [ebx + 0x1e4] */
  16986     MEM32(esi + 0x1E4) = ecx; /* 0x2501E7B1: mov dword ptr [esi + 0x1e4], ecx */
  16987     edx = MEM32(ebx + 0x1E8); /* 0x2501E7B7: mov edx, dword ptr [ebx + 0x1e8] */
  16988     MEM32(esi + 0x1E8) = edx; /* 0x2501E7BD: mov dword ptr [esi + 0x1e8], edx */
  16989     eax = MEM32(ebx + 0x1EC); /* 0x2501E7C3: mov eax, dword ptr [ebx + 0x1ec] */
  16990     MEM32(esi + 0x1EC) = eax; /* 0x2501E7C9: mov dword ptr [esi + 0x1ec], eax */
  16991     ecx = MEM32(ebx + 0x1F0); /* 0x2501E7CF: mov ecx, dword ptr [ebx + 0x1f0] */
  16992     MEM32(esi + 0x1F0) = ecx; /* 0x2501E7D5: mov dword ptr [esi + 0x1f0], ecx */
  16993     edx = MEM32(ebx + 0x1F4); /* 0x2501E7DB: mov edx, dword ptr [ebx + 0x1f4] */
  16994     MEM32(esi + 0x1F4) = edx; /* 0x2501E7E1: mov dword ptr [esi + 0x1f4], edx */
  16995     eax = MEM32(ebx + 0x1F8); /* 0x2501E7E7: mov eax, dword ptr [ebx + 0x1f8] */
  16996     MEM32(esi + 0x1F8) = eax; /* 0x2501E7ED: mov dword ptr [esi + 0x1f8], eax */
  16997     ecx = MEM32(ebx + 0x1FC); /* 0x2501E7F3: mov ecx, dword ptr [ebx + 0x1fc] */
  16998     MEM32(esi + 0x1FC) = ecx; /* 0x2501E7F9: mov dword ptr [esi + 0x1fc], ecx */
  16999     edx = MEM32(ebx + 0x200); /* 0x2501E7FF: mov edx, dword ptr [ebx + 0x200] */
  17000     MEM32(esi + 0x200) = edx; /* 0x2501E805: mov dword ptr [esi + 0x200], edx */
  17001     eax = MEM32(ebx + 0x204); /* 0x2501E80B: mov eax, dword ptr [ebx + 0x204] */
  17002     MEM32(esi + 0x204) = eax; /* 0x2501E811: mov dword ptr [esi + 0x204], eax */
  17003     SET_LO8(ecx, MEM8(ebx + 0x208)); /* 0x2501E817: mov cl, byte ptr [ebx + 0x208] */
  17004     MEM8(esi + 0x208) = (uint8_t)(LO8(ecx)); /* 0x2501E81D: mov byte ptr [esi + 0x208], cl */
  17005     SET_LO8(edx, MEM8(ebx + 0x209)); /* 0x2501E823: mov dl, byte ptr [ebx + 0x209] */
  17006     MEM8(esi + 0x209) = (uint8_t)(LO8(edx)); /* 0x2501E829: mov byte ptr [esi + 0x209], dl */
  17007     eax = MEM32(ebx + 0x20C); /* 0x2501E82F: mov eax, dword ptr [ebx + 0x20c] */
  17008     MEM32(esi + 0x20C) = eax; /* 0x2501E835: mov dword ptr [esi + 0x20c], eax */
  17009     ecx = MEM32(ebx + 0x210); /* 0x2501E83B: mov ecx, dword ptr [ebx + 0x210] */
  17010     edi = POP32_VAL(esp); /* 0x2501E841: pop edi */
  17011     MEM32(esi + 0x210) = ecx; /* 0x2501E842: mov dword ptr [esi + 0x210], ecx */
  17012     eax = esi; /* 0x2501E848: mov eax, esi */
  17013     esi = POP32_VAL(esp); /* 0x2501E84A: pop esi */
  17014     ebx = POP32_VAL(esp); /* 0x2501E84B: pop ebx */
  17015     esp = ebp; /* 0x2501E84C: mov esp, ebp */
  17016     ebp = POP32_VAL(esp); /* 0x2501E84E: pop ebp */
  17017     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E84F: ret 4 */
  17018     RECOMP_REGS_OUT();
  17019 }
  17020 
  17021 void sub_2501E860(void) {
  17022     int _fpu_cmp = 0;
  17023     uint32_t _cf = 0;
  17024     int _df = 1;
  17025     uint32_t _flag_k = FK_NONE;
  17026     uint32_t _flag_a = 0, _flag_b = 0;
  17027     uint32_t _itail_tgt = 0;
  17028     RECOMP_REGS_LOCALS
  17029     RECOMP_ENTER(0x2501E860u);
  17030 
  17031 L_2501E860:
  17032     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  17033     ebp = esp; /* 0x2501E861: mov ebp, esp */
  17034     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  17035     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  17036     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  17037     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  17038     _cf = 0;
  17039     _flag_k = FK_NARROW(FK_TEST, 24);
  17040     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  17041     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  17042     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  17043 L_2501E86F:
  17044     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  17045     PUSH32(esp, edi); /* 0x2501E872: push edi */
  17046     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  17047     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  17048     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  17049     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  17050     PUSH32(esp, esi); /* 0x2501E881: push esi */
  17051     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  17052     RECOMP_FLAGS_IN();
  17053     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  17054     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17055     _cf = 0;
  17056     _flag_k = FK_NARROW(FK_TEST, 24);
  17057     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  17058 L_2501E88C:
  17059     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  17060     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  17061     RECOMP_FLAGS_IN();
  17062     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17063     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17064     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  17065     _flag_k = FK_ADD;
  17066 L_2501E895:
  17067     eax = edi; /* 0x2501E895: mov eax, edi */
  17068     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  17069     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  17070     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  17071     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  17072     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  17073 L_2501E89E:
  17074     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  17075     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  17076     RECOMP_FLAGS_IN();
  17077     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  17078     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17079     _cf = 0;
  17080     _flag_k = FK_NARROW(FK_TEST, 24);
  17081     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  17082 L_2501E8AA:
  17083     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  17084     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  17085     RECOMP_FLAGS_IN();
  17086     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17087     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17088     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  17089     _flag_k = FK_ADD;
  17090 L_2501E8B3:
  17091     eax = esi; /* 0x2501E8B3: mov eax, esi */
  17092     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  17093     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  17094     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  17095     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  17096     RECOMP_REGS_OUT();
  17097 }
  17098 
  17099 void sub_2501E8C0(void) {
  17100     int _fpu_cmp = 0;
  17101     uint32_t _cf = 0;
  17102     int _df = 1;
  17103     uint32_t _flag_k = FK_NONE;
  17104     uint32_t _flag_a = 0, _flag_b = 0;
  17105     uint32_t _itail_tgt = 0;
  17106     RECOMP_REGS_LOCALS
  17107     RECOMP_ENTER(0x2501E8C0u);
  17108 
  17109 L_2501E8C0:
  17110     PUSH32(esp, ebp); /* 0x2501E8C0: push ebp */
  17111     ebp = esp; /* 0x2501E8C1: mov ebp, esp */
  17112     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501E8C3: push -1 */
  17113     PUSH32(esp, 0x25145B18u); /* 0x2501E8C5: push 0x25145b18 */
  17114     eax = MEM32(FS_BASE + (0)); /* 0x2501E8CA: mov eax, dword ptr fs:[0] */
  17115     PUSH32(esp, eax); /* 0x2501E8D0: push eax */
  17116     MEM32(FS_BASE + (0)) = esp; /* 0x2501E8D1: mov dword ptr fs:[0], esp */
  17117     PUSH32(esp, ecx); /* 0x2501E8D8: push ecx */
  17118     eax = MEM32(ebp + 0x24); /* 0x2501E8D9: mov eax, dword ptr [ebp + 0x24] */
  17119     edx = MEM32(ebp + 0x1C); /* 0x2501E8DC: mov edx, dword ptr [ebp + 0x1c] */
  17120     PUSH32(esp, ebx); /* 0x2501E8DF: push ebx */
  17121     PUSH32(esp, esi); /* 0x2501E8E0: push esi */
  17122     esi = ecx; /* 0x2501E8E1: mov esi, ecx */
  17123     ecx = MEM32(ebp + 0x20); /* 0x2501E8E3: mov ecx, dword ptr [ebp + 0x20] */
  17124     PUSH32(esp, edi); /* 0x2501E8E6: push edi */
  17125     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
  17126     eax = eax & 0xFFu; /* 0x2501E8E7: and eax, 0xff */
  17127     _cf = 0;
  17128     _flag_k = FK_TEST;
  17129     PUSH32(esp, eax); /* 0x2501E8EC: push eax */
  17130     eax = MEM32(ebp + 0x18); /* 0x2501E8ED: mov eax, dword ptr [ebp + 0x18] */
  17131     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFu);
  17132     ecx = ecx & 0xFFu; /* 0x2501E8F0: and ecx, 0xff */
  17133     _cf = 0;
  17134     _flag_k = FK_TEST;
  17135     PUSH32(esp, ecx); /* 0x2501E8F6: push ecx */
  17136     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu);
  17137     edx = edx & 0xFFu; /* 0x2501E8F7: and edx, 0xff */
  17138     _cf = 0;
  17139     _flag_k = FK_TEST;
  17140     PUSH32(esp, edx); /* 0x2501E8FD: push edx */
  17141     PUSH32(esp, eax); /* 0x2501E8FE: push eax */
  17142     ecx = esi; /* 0x2501E8FF: mov ecx, esi */
  17143     MEM32(ebp + (-0x10)) = esi; /* 0x2501E901: mov dword ptr [ebp - 0x10], esi */
  17144     RECOMP_ICALL(0x2500B4B0u); /* 0x2501E904: call 0x2500b4b0 */ /* not lifted */
  17145     RECOMP_FLAGS_IN();
  17146     eax = MEM32(ebp + 0x8); /* 0x2501E909: mov eax, dword ptr [ebp + 8] */
  17147     ecx = MEM32(ebp + 0xC); /* 0x2501E90C: mov ecx, dword ptr [ebp + 0xc] */
  17148     edx = MEM32(ebp + 0x10); /* 0x2501E90F: mov edx, dword ptr [ebp + 0x10] */
  17149     edi = eax + eax + 0x2; /* 0x2501E912: lea edi, [eax + eax + 2] */
  17150     MEM32(esi + 0x1FC) = eax; /* 0x2501E916: mov dword ptr [esi + 0x1fc], eax */
  17151     eax = edi + edi * 2; /* 0x2501E91C: lea eax, [edi + edi*2] */
  17152     MEM32(esi + 0x200) = ecx; /* 0x2501E91F: mov dword ptr [esi + 0x200], ecx */
  17153     SET_LO8(ecx, MEM8(ebp + 0x14)); /* 0x2501E925: mov cl, byte ptr [ebp + 0x14] */
  17154     MEM32(esi + 0x204) = edx; /* 0x2501E928: mov dword ptr [esi + 0x204], edx */
  17155     SET_LO8(edx, MEM8(ebp + 0x28)); /* 0x2501E92E: mov dl, byte ptr [ebp + 0x28] */
  17156     if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2501E931: shl eax, 3 */
  17157     if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
  17158     eax = eax << 3u; /* 0x2501E931: shl eax, 3 */
  17159     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17160     ebx = 0; /* 0x2501E934: xor ebx, ebx */
  17161     _cf = 0;
  17162     _flag_k = FK_TEST;
  17163     PUSH32(esp, eax); /* 0x2501E936: push eax */
  17164     MEM32(ebp + (-0x4)) = ebx; /* 0x2501E937: mov dword ptr [ebp - 4], ebx */
  17165     MEM8(esi + 0x208) = (uint8_t)(LO8(ecx)); /* 0x2501E93A: mov byte ptr [esi + 0x208], cl */
  17166     MEM8(esi + 0x209) = (uint8_t)(LO8(edx)); /* 0x2501E940: mov byte ptr [esi + 0x209], dl */
  17167     MEM32(esi) = 0x251527DCu; /* 0x2501E946: mov dword ptr [esi], 0x251527dc */
  17168     MEM32(esi + 0x8) = 0x251527CCu; /* 0x2501E94C: mov dword ptr [esi + 8], 0x251527cc */
  17169     MEM32(esi + 0x20) = 0x251527BCu; /* 0x2501E953: mov dword ptr [esi + 0x20], 0x251527bc */
  17170     MEM32(esi + 0x38) = 0x251527ACu; /* 0x2501E95A: mov dword ptr [esi + 0x38], 0x251527ac */
  17171     MEM32(esi + 0x50) = 0x2515279Cu; /* 0x2501E961: mov dword ptr [esi + 0x50], 0x2515279c */
  17172     MEM32(esi + 0x138) = 0x2515278Cu; /* 0x2501E968: mov dword ptr [esi + 0x138], 0x2515278c */
  17173     MEM32(esi + 0x150) = 0x2515277Cu; /* 0x2501E972: mov dword ptr [esi + 0x150], 0x2515277c */
  17174     RECOMP_ICALL(0x251380D0u); /* 0x2501E97C: call 0x251380d0 */ /* not lifted */
  17175     RECOMP_FLAGS_IN();
  17176     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17177     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17178     esp = esp + 4; /* 0x2501E981: add esp, 4 */
  17179     _flag_k = FK_ADD;
  17180     /* cmp eax, ebx */ /* 0x2501E984: cmp eax, ebx */
  17181     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  17182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17183     _flag_k = FK_CMP;
  17184     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501E9A3; /* 0x2501E986: je 0x2501e9a3 */
  17185 L_2501E988:
  17186     edx = edi + (-0x1); /* 0x2501E988: lea edx, [edi - 1] */
  17187     /* cmp edx, ebx */ /* 0x2501E98B: cmp edx, ebx */
  17188     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
  17189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17190     _flag_k = FK_CMP;
  17191     if (CMP_L(_flag_a, _flag_b)) goto L_2501E9A5; /* 0x2501E98D: jl 0x2501e9a5 */
  17192 L_2501E98F:
  17193     ecx = eax + 0x8; /* 0x2501E98F: lea ecx, [eax + 8] */
  17194     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17195     edx = edx + 1; /* 0x2501E992: inc edx */
  17196     _flag_k = FK_INC;
  17197 L_2501E993:
  17198     MEM32(ecx + (-0x8)) = ebx; /* 0x2501E993: mov dword ptr [ecx - 8], ebx */
  17199     MEM32(ecx + (-0x4)) = ebx; /* 0x2501E996: mov dword ptr [ecx - 4], ebx */
  17200     MEM32(ecx) = ebx; /* 0x2501E999: mov dword ptr [ecx], ebx */
  17201     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
  17202     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17203     ecx = ecx + 0x18u; /* 0x2501E99B: add ecx, 0x18 */
  17204     _flag_k = FK_ADD;
  17205     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17206     edx = edx - 1; /* 0x2501E99E: dec edx */
  17207     _flag_k = FK_DEC;
  17208     RECOMP_BACKEDGE();
  17209     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2501E993; /* 0x2501E99F: jne 0x2501e993 */
  17210 L_2501E9A1:
  17211     goto L_2501E9A5; /* 0x2501E9A1: jmp 0x2501e9a5 */
  17212 L_2501E9A3:
  17213     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17214     eax = 0; /* 0x2501E9A3: xor eax, eax */
  17215     _cf = 0;
  17216     _flag_k = FK_TEST;
  17217 L_2501E9A5:
  17218     ecx = esi; /* 0x2501E9A5: mov ecx, esi */
  17219     MEM32(esi + 0x20C) = eax; /* 0x2501E9A7: mov dword ptr [esi + 0x20c], eax */
  17220     MEM32(esi + 0x210) = ebx; /* 0x2501E9AD: mov dword ptr [esi + 0x210], ebx */
  17221     RECOMP_ICALL(0x2501EC50u); /* 0x2501E9B3: call 0x2501ec50 */ /* not lifted */
  17222     RECOMP_FLAGS_IN();
  17223     ecx = MEM32(ebp + (-0xC)); /* 0x2501E9B8: mov ecx, dword ptr [ebp - 0xc] */
  17224     edi = POP32_VAL(esp); /* 0x2501E9BB: pop edi */
  17225     eax = esi; /* 0x2501E9BC: mov eax, esi */
  17226     esi = POP32_VAL(esp); /* 0x2501E9BE: pop esi */
  17227     ebx = POP32_VAL(esp); /* 0x2501E9BF: pop ebx */
  17228     MEM32(FS_BASE + (0)) = ecx; /* 0x2501E9C0: mov dword ptr fs:[0], ecx */
  17229     esp = ebp; /* 0x2501E9C7: mov esp, ebp */
  17230     ebp = POP32_VAL(esp); /* 0x2501E9C9: pop ebp */
  17231     RECOMP_FLAGS_OUT(); esp += 40; { RECOMP_REGS_OUT(); return; } /* 0x2501E9CA: ret 0x24 */
  17232     RECOMP_REGS_OUT();
  17233 }
  17234 
  17235 void sub_2501E9D0(void) {
  17236     int _fpu_cmp = 0;
  17237     uint32_t _cf = 0;
  17238     int _df = 1;
  17239     uint32_t _flag_k = FK_NONE;
  17240     uint32_t _flag_a = 0, _flag_b = 0;
  17241     uint32_t _itail_tgt = 0;
  17242     RECOMP_REGS_LOCALS
  17243     RECOMP_ENTER(0x2501E9D0u);
  17244 
  17245 L_2501E9D0:
  17246     PUSH32(esp, esi); /* 0x2501E9D0: push esi */
  17247     esi = ecx; /* 0x2501E9D1: mov esi, ecx */
  17248     eax = MEM32(esi + 0x20C); /* 0x2501E9D3: mov eax, dword ptr [esi + 0x20c] */
  17249     /* test eax, eax */ /* 0x2501E9D9: test eax, eax */
  17250     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17251     _cf = 0;
  17252     _flag_k = FK_TEST;
  17253     MEM32(esi) = 0x251527DCu; /* 0x2501E9DB: mov dword ptr [esi], 0x251527dc */
  17254     MEM32(esi + 0x8) = 0x251527CCu; /* 0x2501E9E1: mov dword ptr [esi + 8], 0x251527cc */
  17255     MEM32(esi + 0x20) = 0x251527BCu; /* 0x2501E9E8: mov dword ptr [esi + 0x20], 0x251527bc */
  17256     MEM32(esi + 0x38) = 0x251527ACu; /* 0x2501E9EF: mov dword ptr [esi + 0x38], 0x251527ac */
  17257     MEM32(esi + 0x50) = 0x2515279Cu; /* 0x2501E9F6: mov dword ptr [esi + 0x50], 0x2515279c */
  17258     MEM32(esi + 0x138) = 0x2515278Cu; /* 0x2501E9FD: mov dword ptr [esi + 0x138], 0x2515278c */
  17259     MEM32(esi + 0x150) = 0x2515277Cu; /* 0x2501EA07: mov dword ptr [esi + 0x150], 0x2515277c */
  17260     if (TEST_Z(_flag_a, _flag_b)) goto L_2501EA26; /* 0x2501EA11: je 0x2501ea26 */
  17261 L_2501EA13:
  17262     PUSH32(esp, eax); /* 0x2501EA13: push eax */
  17263     RECOMP_ICALL(0x25137EECu); /* 0x2501EA14: call 0x25137eec */ /* not lifted */
  17264     RECOMP_FLAGS_IN();
  17265     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17266     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17267     esp = esp + 4; /* 0x2501EA19: add esp, 4 */
  17268     _flag_k = FK_ADD;
  17269     MEM32(esi + 0x20C) = 0; /* 0x2501EA1C: mov dword ptr [esi + 0x20c], 0 */
  17270 L_2501EA26:
  17271     ecx = esi; /* 0x2501EA26: mov ecx, esi */
  17272     RECOMP_ICALL(0x2500B5A0u); /* 0x2501EA28: call 0x2500b5a0 */ /* not lifted */
  17273     RECOMP_FLAGS_IN();
  17274     esi = POP32_VAL(esp); /* 0x2501EA2D: pop esi */
  17275     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501EA2E: ret  */
  17276     RECOMP_REGS_OUT();
  17277 }
  17278 
  17279 void sub_2501EA30(void) {
  17280     int _fpu_cmp = 0;
  17281     uint32_t _cf = 0;
  17282     int _df = 1;
  17283     uint32_t _flag_k = FK_NONE;
  17284     uint32_t _flag_a = 0, _flag_b = 0;
  17285     uint32_t _itail_tgt = 0;
  17286     RECOMP_REGS_LOCALS
  17287     RECOMP_ENTER(0x2501EA30u);
  17288 
  17289 L_2501EA30:
  17290     PUSH32(esp, ebp); /* 0x2501EA30: push ebp */
  17291     ebp = esp; /* 0x2501EA31: mov ebp, esp */
  17292     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu);
  17293     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17294     esp = esp - 0x2Cu; /* 0x2501EA33: sub esp, 0x2c */
  17295     _flag_k = FK_CMP;
  17296     PUSH32(esp, ebx); /* 0x2501EA36: push ebx */
  17297     PUSH32(esp, esi); /* 0x2501EA37: push esi */
  17298     PUSH32(esp, edi); /* 0x2501EA38: push edi */
  17299     esi = ecx; /* 0x2501EA39: mov esi, ecx */
  17300     RECOMP_ICALL(0x250E2EC0u); /* 0x2501EA3B: call 0x250e2ec0 */ /* not lifted */
  17301     RECOMP_FLAGS_IN();
  17302     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
  17303     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17304     eax = eax + 0x30u; /* 0x2501EA40: add eax, 0x30 */
  17305     _flag_k = FK_ADD;
  17306     ecx = MEM32(eax); /* 0x2501EA43: mov ecx, dword ptr [eax] */
  17307     edx = MEM32(eax + 0x4); /* 0x2501EA45: mov edx, dword ptr [eax + 4] */
  17308     eax = MEM32(eax + 0x8); /* 0x2501EA48: mov eax, dword ptr [eax + 8] */
  17309     MEM32(ebp + (-0x20)) = ecx; /* 0x2501EA4B: mov dword ptr [ebp - 0x20], ecx */
  17310     SET_LO8(ecx, MEM8(esi + 0x208)); /* 0x2501EA4E: mov cl, byte ptr [esi + 0x208] */
  17311     MEM32(ebp + (-0x18)) = eax; /* 0x2501EA54: mov dword ptr [ebp - 0x18], eax */
  17312     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17313     eax = 0; /* 0x2501EA57: xor eax, eax */
  17314     _cf = 0;
  17315     _flag_k = FK_TEST;
  17316     /* cmp LO8(ecx), LO8(eax) */ /* 0x2501EA59: cmp cl, al */
  17317     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  17318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17319     _flag_k = FK_NARROW(FK_CMP, 24);
  17320     MEM32(ebp + (-0x1C)) = edx; /* 0x2501EA5B: mov dword ptr [ebp - 0x1c], edx */
  17321     if (CMP_EQ(_flag_a, _flag_b)) goto L_2501EB4D; /* 0x2501EA5E: je 0x2501eb4d */
  17322 L_2501EA64:
  17323     edx = MEM32(esi + 0x1FC); /* 0x2501EA64: mov edx, dword ptr [esi + 0x1fc] */
  17324     fp_push(*(float*)&MEM32(0x2515177C)); /* 0x2501EA6A: fld dword ptr [0x2515177c] */
  17325     /* cmp edx, eax */ /* 0x2501EA70: cmp edx, eax */
  17326     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
  17327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17328     _flag_k = FK_CMP;
  17329     MEM32(ebp + (-0x4)) = edx; /* 0x2501EA72: mov dword ptr [ebp - 4], edx */
  17330     fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2501EA75: fild dword ptr [ebp - 4] */
  17331     MEM32(ebp + (-0x4)) = eax; /* 0x2501EA78: mov dword ptr [ebp - 4], eax */
  17332     _st[0] = (double)*(float*)ADDR(esi + 0x200) / _st[0]; /* 0x2501EA7B: fdivr dword ptr [esi + 0x200] */
  17333     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2501EA81: fstp dword ptr [ebp - 8] */
  17334     if (CMP_L(_flag_a, _flag_b)) goto L_2501EB32; /* 0x2501EA84: jl 0x2501eb32 */
  17335 L_2501EA8A:
  17336     edx = MEM32(ebp + 0x8); /* 0x2501EA8A: mov edx, dword ptr [ebp + 8] */
  17337     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17338     ecx = 0; /* 0x2501EA8D: xor ecx, ecx */
  17339     _cf = 0;
  17340     _flag_k = FK_TEST;
  17341 L_2501EA8F:
  17342     edi = MEM32(esi + 0x20C); /* 0x2501EA8F: mov edi, dword ptr [esi + 0x20c] */
  17343     eax = ecx; /* 0x2501EA95: mov eax, ecx */
  17344     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  17345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17346     eax = eax + edi; /* 0x2501EA97: add eax, edi */
  17347     _flag_k = FK_ADD;
  17348     edi = edx; /* 0x2501EA99: mov edi, edx */
  17349     ebx = MEM32(edi); /* 0x2501EA9B: mov ebx, dword ptr [edi] */
  17350     MEM32(eax) = ebx; /* 0x2501EA9D: mov dword ptr [eax], ebx */
  17351     ebx = MEM32(edi + 0x4); /* 0x2501EA9F: mov ebx, dword ptr [edi + 4] */
  17352     MEM32(eax + 0x4) = ebx; /* 0x2501EAA2: mov dword ptr [eax + 4], ebx */
  17353     edi = MEM32(edi + 0x8); /* 0x2501EAA5: mov edi, dword ptr [edi + 8] */
  17354     MEM32(eax + 0x8) = edi; /* 0x2501EAA8: mov dword ptr [eax + 8], edi */
  17355     eax = MEM32(esi + 0x20C); /* 0x2501EAAB: mov eax, dword ptr [esi + 0x20c] */
  17356     edi = MEM32(ebp + 0xC); /* 0x2501EAB1: mov edi, dword ptr [ebp + 0xc] */
  17357     MEM32(ecx + eax + 0xC) = edi; /* 0x2501EAB4: mov dword ptr [ecx + eax + 0xc], edi */
  17358     eax = MEM32(esi + 0x20C); /* 0x2501EAB8: mov eax, dword ptr [esi + 0x20c] */
  17359     { float _v = (float)_st[0]; *(float*)ADDR(ecx + eax + 0x10) = _v; } /* 0x2501EABE: fst dword ptr [ecx + eax + 0x10] */
  17360     eax = MEM32(esi + 0x20C); /* 0x2501EAC2: mov eax, dword ptr [esi + 0x20c] */
  17361     MEM32(ecx + eax + 0x14) = 0; /* 0x2501EAC8: mov dword ptr [ecx + eax + 0x14], 0 */
  17362     edi = MEM32(esi + 0x20C); /* 0x2501EAD0: mov edi, dword ptr [esi + 0x20c] */
  17363     edi = ecx + edi + 0x18; /* 0x2501EAD6: lea edi, [ecx + edi + 0x18] */
  17364     eax = edx + 0xC; /* 0x2501EADA: lea eax, [edx + 0xc] */
  17365     ebx = MEM32(eax); /* 0x2501EADD: mov ebx, dword ptr [eax] */
  17366     MEM32(edi) = ebx; /* 0x2501EADF: mov dword ptr [edi], ebx */
  17367     ebx = MEM32(eax + 0x4); /* 0x2501EAE1: mov ebx, dword ptr [eax + 4] */
  17368     MEM32(edi + 0x4) = ebx; /* 0x2501EAE4: mov dword ptr [edi + 4], ebx */
  17369     eax = MEM32(eax + 0x8); /* 0x2501EAE7: mov eax, dword ptr [eax + 8] */
  17370     MEM32(edi + 0x8) = eax; /* 0x2501EAEA: mov dword ptr [edi + 8], eax */
  17371     eax = MEM32(esi + 0x20C); /* 0x2501EAED: mov eax, dword ptr [esi + 0x20c] */
  17372     edi = MEM32(ebp + 0x10); /* 0x2501EAF3: mov edi, dword ptr [ebp + 0x10] */
  17373     MEM32(ecx + eax + 0x24) = edi; /* 0x2501EAF6: mov dword ptr [ecx + eax + 0x24], edi */
  17374     eax = MEM32(esi + 0x20C); /* 0x2501EAFA: mov eax, dword ptr [esi + 0x20c] */
  17375     { float _v = (float)_st[0]; *(float*)ADDR(ecx + eax + 0x28) = _v; } /* 0x2501EB00: fst dword ptr [ecx + eax + 0x28] */
  17376     eax = MEM32(esi + 0x20C); /* 0x2501EB04: mov eax, dword ptr [esi + 0x20c] */
  17377     edi = MEM32(esi + 0x204); /* 0x2501EB0A: mov edi, dword ptr [esi + 0x204] */
  17378     _st[0] += (double)*(float*)ADDR(ebp + (-0x8)); /* 0x2501EB10: fadd dword ptr [ebp - 8] */
  17379     MEM32(ecx + eax + 0x2C) = edi; /* 0x2501EB13: mov dword ptr [ecx + eax + 0x2c], edi */
  17380     eax = MEM32(ebp + (-0x4)); /* 0x2501EB17: mov eax, dword ptr [ebp - 4] */
  17381     edi = MEM32(esi + 0x1FC); /* 0x2501EB1A: mov edi, dword ptr [esi + 0x1fc] */
  17382     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
  17383     eax = eax + 1; /* 0x2501EB20: inc eax */
  17384     _flag_k = FK_INC;
  17385     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u);
  17386     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17387     edx = edx + 0x18u; /* 0x2501EB21: add edx, 0x18 */
  17388     _flag_k = FK_ADD;
  17389     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x30u);
  17390     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17391     ecx = ecx + 0x30u; /* 0x2501EB24: add ecx, 0x30 */
  17392     _flag_k = FK_ADD;
  17393     /* cmp eax, edi */ /* 0x2501EB27: cmp eax, edi */
  17394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
  17395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17396     _flag_k = FK_CMP;
  17397     MEM32(ebp + (-0x4)) = eax; /* 0x2501EB29: mov dword ptr [ebp - 4], eax */
  17398     RECOMP_BACKEDGE();
  17399     if (CMP_LE(_flag_a, _flag_b)) goto L_2501EA8F; /* 0x2501EB2C: jle 0x2501ea8f */
  17400 L_2501EB32:
  17401     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2501EB32: fstp st(0) */
  17402 L_2501EB34:
  17403     eax = MEM32(esi + 0x1FC); /* 0x2501EB34: mov eax, dword ptr [esi + 0x1fc] */
  17404     ecx = eax + eax + 0x2; /* 0x2501EB3A: lea ecx, [eax + eax + 2] */
  17405     edi = POP32_VAL(esp); /* 0x2501EB3E: pop edi */
  17406     MEM32(esi + 0x210) = ecx; /* 0x2501EB3F: mov dword ptr [esi + 0x210], ecx */
  17407     esi = POP32_VAL(esp); /* 0x2501EB45: pop esi */
  17408     ebx = POP32_VAL(esp); /* 0x2501EB46: pop ebx */
  17409     esp = ebp; /* 0x2501EB47: mov esp, ebp */
  17410     ebp = POP32_VAL(esp); /* 0x2501EB49: pop ebp */
  17411     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2501EB4A: ret 0xc */
  17412 L_2501EB4D:
  17413     /* cmp MEM32(esi + 0x1FC), eax */ /* 0x2501EB4D: cmp dword ptr [esi + 0x1fc], eax */
  17414     _flag_a = (uint32_t)(MEM32(esi + 0x1FC)); _flag_b = (uint32_t)(eax);
  17415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17416     _flag_k = FK_CMP;
  17417     MEM32(ebp + (-0x4)) = eax; /* 0x2501EB53: mov dword ptr [ebp - 4], eax */
  17418     RECOMP_BACKEDGE();
  17419     if (CMP_L(_flag_a, _flag_b)) goto L_2501EB34; /* 0x2501EB56: jl 0x2501eb34 */
  17420 L_2501EB58:
  17421     ecx = MEM32(ebp + 0x8); /* 0x2501EB58: mov ecx, dword ptr [ebp + 8] */
  17422 L_2501EB5B:
  17423     edi = ecx; /* 0x2501EB5B: mov edi, ecx */
  17424     edx = MEM32(edi); /* 0x2501EB5D: mov edx, dword ptr [edi] */
  17425     ebx = MEM32(edi + 0x4); /* 0x2501EB5F: mov ebx, dword ptr [edi + 4] */
  17426     edi = MEM32(edi + 0x8); /* 0x2501EB62: mov edi, dword ptr [edi + 8] */
  17427     MEM32(ebp + (-0x10)) = ebx; /* 0x2501EB65: mov dword ptr [ebp - 0x10], ebx */
  17428     MEM32(ebp + (-0xC)) = edi; /* 0x2501EB68: mov dword ptr [ebp - 0xc], edi */
  17429     edi = ecx + 0xC; /* 0x2501EB6B: lea edi, [ecx + 0xc] */
  17430     ebx = edi; /* 0x2501EB6E: mov ebx, edi */
  17431     edi = MEM32(ebx); /* 0x2501EB70: mov edi, dword ptr [ebx] */
  17432     MEM32(ebp + (-0x2C)) = edi; /* 0x2501EB72: mov dword ptr [ebp - 0x2c], edi */
  17433     edi = MEM32(ebx + 0x4); /* 0x2501EB75: mov edi, dword ptr [ebx + 4] */
  17434     ebx = MEM32(ebx + 0x8); /* 0x2501EB78: mov ebx, dword ptr [ebx + 8] */
  17435     MEM32(ebp + (-0x14)) = edx; /* 0x2501EB7B: mov dword ptr [ebp - 0x14], edx */
  17436     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2501EB7E: fld dword ptr [ebp - 0x14] */
  17437     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501EB81: fadd dword ptr [ebp - 0x20] */
  17438     MEM32(ebp + (-0x24)) = ebx; /* 0x2501EB84: mov dword ptr [ebp - 0x24], ebx */
  17439     ebx = eax; /* 0x2501EB87: mov ebx, eax */
  17440     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x20C));
  17441     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17442     ebx = ebx + MEM32(esi + 0x20C); /* 0x2501EB89: add ebx, dword ptr [esi + 0x20c] */
  17443     _flag_k = FK_ADD;
  17444     MEM32(ebx) = edx; /* 0x2501EB8F: mov dword ptr [ebx], edx */
  17445     edx = MEM32(ebp + (-0x10)); /* 0x2501EB91: mov edx, dword ptr [ebp - 0x10] */
  17446     MEM32(ebx + 0x4) = edx; /* 0x2501EB94: mov dword ptr [ebx + 4], edx */
  17447     edx = MEM32(ebp + (-0xC)); /* 0x2501EB97: mov edx, dword ptr [ebp - 0xc] */
  17448     MEM32(ebx + 0x8) = edx; /* 0x2501EB9A: mov dword ptr [ebx + 8], edx */
  17449     edx = MEM32(esi + 0x20C); /* 0x2501EB9D: mov edx, dword ptr [esi + 0x20c] */
  17450     ebx = MEM32(ebp + 0xC); /* 0x2501EBA3: mov ebx, dword ptr [ebp + 0xc] */
  17451     MEM32(eax + edx + 0xC) = ebx; /* 0x2501EBA6: mov dword ptr [eax + edx + 0xc], ebx */
  17452     _st[0] *= (double)*(float*)ADDR(esi + 0x200); /* 0x2501EBAA: fmul dword ptr [esi + 0x200] */
  17453     edx = MEM32(esi + 0x20C); /* 0x2501EBB0: mov edx, dword ptr [esi + 0x20c] */
  17454     ebx = MEM32(ebp + (-0x2C)); /* 0x2501EBB6: mov ebx, dword ptr [ebp - 0x2c] */
  17455     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x10) = _v; } /* 0x2501EBB9: fstp dword ptr [eax + edx + 0x10] */
  17456     edx = MEM32(esi + 0x20C); /* 0x2501EBBD: mov edx, dword ptr [esi + 0x20c] */
  17457     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2501EBC3: fld dword ptr [ebp - 0xc] */
  17458     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u);
  17459     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17460     ecx = ecx + 0x18u; /* 0x2501EBC6: add ecx, 0x18 */
  17461     _flag_k = FK_ADD;
  17462     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501EBC9: fadd dword ptr [ebp - 0x18] */
  17463     _st[0] *= (double)*(float*)ADDR(esi + 0x204); /* 0x2501EBCC: fmul dword ptr [esi + 0x204] */
  17464     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + 0x14) = _v; } /* 0x2501EBD2: fstp dword ptr [eax + edx + 0x14] */
  17465     edx = MEM32(esi + 0x20C); /* 0x2501EBD6: mov edx, dword ptr [esi + 0x20c] */
  17466     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2501EBDC: fld dword ptr [ebp - 0x2c] */
  17467     edx = eax + edx + 0x18; /* 0x2501EBDF: lea edx, [eax + edx + 0x18] */
  17468     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x2501EBE3: fadd dword ptr [ebp - 0x20] */
  17469     MEM32(edx) = ebx; /* 0x2501EBE6: mov dword ptr [edx], ebx */
  17470     MEM32(edx + 0x4) = edi; /* 0x2501EBE8: mov dword ptr [edx + 4], edi */
  17471     edi = MEM32(ebp + (-0x24)); /* 0x2501EBEB: mov edi, dword ptr [ebp - 0x24] */
  17472     MEM32(edx + 0x8) = edi; /* 0x2501EBEE: mov dword ptr [edx + 8], edi */
  17473     edx = MEM32(esi + 0x20C); /* 0x2501EBF1: mov edx, dword ptr [esi + 0x20c] */
  17474     edi = MEM32(ebp + 0x10); /* 0x2501EBF7: mov edi, dword ptr [ebp + 0x10] */
  17475     MEM32(eax + edx + 0x24) = edi; /* 0x2501EBFA: mov dword ptr [eax + edx + 0x24], edi */
  17476     edx = MEM32(esi + 0x20C); /* 0x2501EBFE: mov edx, dword ptr [esi + 0x20c] */
  17477     _st[0] *= (double)*(float*)ADDR(esi + 0x200); /* 0x2501EC04: fmul dword ptr [esi + 0x200] */
  17478     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u);
  17479     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17480     eax = eax + 0x30u; /* 0x2501EC0A: add eax, 0x30 */
  17481     _flag_k = FK_ADD;
  17482     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + (-0x8)) = _v; } /* 0x2501EC0D: fstp dword ptr [eax + edx - 8] */
  17483     edx = MEM32(esi + 0x20C); /* 0x2501EC11: mov edx, dword ptr [esi + 0x20c] */
  17484     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x2501EC17: fld dword ptr [ebp - 0x24] */
  17485     _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x2501EC1A: fadd dword ptr [ebp - 0x18] */
  17486     _st[0] *= (double)*(float*)ADDR(esi + 0x204); /* 0x2501EC1D: fmul dword ptr [esi + 0x204] */
  17487     { float _v = (float)fp_pop(); *(float*)ADDR(eax + edx + (-0x4)) = _v; } /* 0x2501EC23: fstp dword ptr [eax + edx - 4] */
  17488     edx = MEM32(ebp + (-0x4)); /* 0x2501EC27: mov edx, dword ptr [ebp - 4] */
  17489     edi = MEM32(esi + 0x1FC); /* 0x2501EC2A: mov edi, dword ptr [esi + 0x1fc] */
  17490     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
  17491     edx = edx + 1; /* 0x2501EC30: inc edx */
  17492     _flag_k = FK_INC;
  17493     /* cmp edx, edi */ /* 0x2501EC31: cmp edx, edi */
  17494     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  17495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17496     _flag_k = FK_CMP;
  17497     MEM32(ebp + (-0x4)) = edx; /* 0x2501EC33: mov dword ptr [ebp - 4], edx */
  17498     RECOMP_BACKEDGE();
  17499     if (CMP_LE(_flag_a, _flag_b)) goto L_2501EB5B; /* 0x2501EC36: jle 0x2501eb5b */
  17500 L_2501EC3C:
  17501     RECOMP_BACKEDGE();
  17502     goto L_2501EB34; /* 0x2501EC3C: jmp 0x2501eb34 */
  17503     { RECOMP_REGS_OUT(); return; } /* end of function */
  17504     RECOMP_REGS_OUT();
  17505 }
  17506 
  17507 void sub_2501EB34(void) {
  17508     int _fpu_cmp = 0;
  17509     uint32_t _cf = 0;
  17510     int _df = 1;
  17511     uint32_t _flag_k = FK_NONE;
  17512     uint32_t _flag_a = 0, _flag_b = 0;
  17513     uint32_t _itail_tgt = 0;
  17514     RECOMP_REGS_LOCALS
  17515     RECOMP_ENTER(0x2501EB34u);
  17516 
  17517 L_2501EB34:
  17518     eax = MEM32(esi + 0x1FC); /* 0x2501EB34: mov eax, dword ptr [esi + 0x1fc] */
  17519     ecx = eax + eax + 0x2; /* 0x2501EB3A: lea ecx, [eax + eax + 2] */
  17520     edi = POP32_VAL(esp); /* 0x2501EB3E: pop edi */
  17521     MEM32(esi + 0x210) = ecx; /* 0x2501EB3F: mov dword ptr [esi + 0x210], ecx */
  17522     esi = POP32_VAL(esp); /* 0x2501EB45: pop esi */
  17523     ebx = POP32_VAL(esp); /* 0x2501EB46: pop ebx */
  17524     esp = ebp; /* 0x2501EB47: mov esp, ebp */
  17525     ebp = POP32_VAL(esp); /* 0x2501EB49: pop ebp */
  17526     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2501EB4A: ret 0xc */
  17527     RECOMP_REGS_OUT();
  17528 }
  17529 
  17530 void sub_2501EC50(void) {
  17531     int _fpu_cmp = 0;
  17532     uint32_t _cf = 0;
  17533     int _df = 1;
  17534     uint32_t _flag_k = FK_NONE;
  17535     uint32_t _flag_a = 0, _flag_b = 0;
  17536     uint32_t _itail_tgt = 0;
  17537     RECOMP_REGS_LOCALS
  17538     RECOMP_ENTER(0x2501EC50u);
  17539 
  17540 L_2501EC50:
  17541     PUSH32(esp, ebp); /* 0x2501EC50: push ebp */
  17542     ebp = esp; /* 0x2501EC51: mov ebp, esp */
  17543     PUSH32(esp, 0xFFFFFFFFu); /* 0x2501EC53: push -1 */
  17544     PUSH32(esp, 0x25145B3Bu); /* 0x2501EC55: push 0x25145b3b */
  17545     eax = MEM32(FS_BASE + (0)); /* 0x2501EC5A: mov eax, dword ptr fs:[0] */
  17546     PUSH32(esp, eax); /* 0x2501EC60: push eax */
  17547     MEM32(FS_BASE + (0)) = esp; /* 0x2501EC61: mov dword ptr fs:[0], esp */
  17548     PUSH32(esp, ecx); /* 0x2501EC68: push ecx */
  17549     PUSH32(esp, esi); /* 0x2501EC69: push esi */
  17550     esi = ecx; /* 0x2501EC6A: mov esi, ecx */
  17551     PUSH32(esp, 7); /* 0x2501EC6C: push 7 */
  17552     RECOMP_ICALL(0x250DDB50u); /* 0x2501EC6E: call 0x250ddb50 */ /* not lifted */
  17553     RECOMP_FLAGS_IN();
  17554     eax = MEM32(esi + 0x168); /* 0x2501EC73: mov eax, dword ptr [esi + 0x168] */
  17555     /* test eax, eax */ /* 0x2501EC79: test eax, eax */
  17556     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17557     _cf = 0;
  17558     _flag_k = FK_TEST;
  17559     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501ECB5; /* 0x2501EC7B: jne 0x2501ecb5 */
  17560 L_2501EC7D:
  17561     PUSH32(esp, 0xDCu); /* 0x2501EC7D: push 0xdc */
  17562     RECOMP_ICALL(0x251380D0u); /* 0x2501EC82: call 0x251380d0 */ /* not lifted */
  17563     RECOMP_FLAGS_IN();
  17564     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17565     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17566     esp = esp + 4; /* 0x2501EC87: add esp, 4 */
  17567     _flag_k = FK_ADD;
  17568     MEM32(ebp + (-0x10)) = eax; /* 0x2501EC8A: mov dword ptr [ebp - 0x10], eax */
  17569     /* test eax, eax */ /* 0x2501EC8D: test eax, eax */
  17570     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17571     _cf = 0;
  17572     _flag_k = FK_TEST;
  17573     MEM32(ebp + (-0x4)) = 0; /* 0x2501EC8F: mov dword ptr [ebp - 4], 0 */
  17574     if (TEST_Z(_flag_a, _flag_b)) goto L_2501ECA6; /* 0x2501EC96: je 0x2501eca6 */
  17575 L_2501EC98:
  17576     PUSH32(esp, 0x251B2658u); /* 0x2501EC98: push 0x251b2658 */
  17577     ecx = eax; /* 0x2501EC9D: mov ecx, eax */
  17578     RECOMP_ICALL(0x250E96B0u); /* 0x2501EC9F: call 0x250e96b0 */ /* not lifted */
  17579     RECOMP_FLAGS_IN();
  17580     goto L_2501ECA8; /* 0x2501ECA4: jmp 0x2501eca8 */
  17581 L_2501ECA6:
  17582     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  17583     eax = 0; /* 0x2501ECA6: xor eax, eax */
  17584     _cf = 0;
  17585     _flag_k = FK_TEST;
  17586 L_2501ECA8:
  17587     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2501ECA8: mov dword ptr [ebp - 4], 0xffffffff */
  17588     MEM32(esi + 0x168) = eax; /* 0x2501ECAF: mov dword ptr [esi + 0x168], eax */
  17589 L_2501ECB5:
  17590     ecx = MEM32(esi + 0x168); /* 0x2501ECB5: mov ecx, dword ptr [esi + 0x168] */
  17591     PUSH32(esp, 1); /* 0x2501ECBB: push 1 */
  17592     PUSH32(esp, 0x88u); /* 0x2501ECBD: push 0x88 */
  17593     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ECC2: call 0x250e9fa0 */ /* not lifted */
  17594     RECOMP_FLAGS_IN();
  17595     ecx = MEM32(esi + 0x168); /* 0x2501ECC7: mov ecx, dword ptr [esi + 0x168] */
  17596     PUSH32(esp, 0); /* 0x2501ECCD: push 0 */
  17597     PUSH32(esp, 0x89u); /* 0x2501ECCF: push 0x89 */
  17598     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ECD4: call 0x250e9fa0 */ /* not lifted */
  17599     RECOMP_FLAGS_IN();
  17600     ecx = MEM32(esi + 0x168); /* 0x2501ECD9: mov ecx, dword ptr [esi + 0x168] */
  17601     PUSH32(esp, 0); /* 0x2501ECDF: push 0 */
  17602     PUSH32(esp, 0xEu); /* 0x2501ECE1: push 0xe */
  17603     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ECE3: call 0x250e9fa0 */ /* not lifted */
  17604     RECOMP_FLAGS_IN();
  17605     ecx = MEM32(esi + 0x168); /* 0x2501ECE8: mov ecx, dword ptr [esi + 0x168] */
  17606     PUSH32(esp, 1); /* 0x2501ECEE: push 1 */
  17607     PUSH32(esp, 0x8Du); /* 0x2501ECF0: push 0x8d */
  17608     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ECF5: call 0x250e9fa0 */ /* not lifted */
  17609     RECOMP_FLAGS_IN();
  17610     ecx = MEM32(esi + 0x168); /* 0x2501ECFA: mov ecx, dword ptr [esi + 0x168] */
  17611     PUSH32(esp, 1); /* 0x2501ED00: push 1 */
  17612     PUSH32(esp, 0x16u); /* 0x2501ED02: push 0x16 */
  17613     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ED04: call 0x250e9fa0 */ /* not lifted */
  17614     RECOMP_FLAGS_IN();
  17615     ecx = MEM32(esi + 0x168); /* 0x2501ED09: mov ecx, dword ptr [esi + 0x168] */
  17616     PUSH32(esp, 1); /* 0x2501ED0F: push 1 */
  17617     PUSH32(esp, 0x94u); /* 0x2501ED11: push 0x94 */
  17618     RECOMP_ICALL(0x250E9FA0u); /* 0x2501ED16: call 0x250e9fa0 */ /* not lifted */
  17619     RECOMP_FLAGS_IN();
  17620     eax = MEM32(esi + 0x1D8); /* 0x2501ED1B: mov eax, dword ptr [esi + 0x1d8] */
  17621     /* test eax, eax */ /* 0x2501ED21: test eax, eax */
  17622     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17623     _cf = 0;
  17624     _flag_k = FK_TEST;
  17625     if (TEST_Z(_flag_a, _flag_b)) goto L_2501ED80; /* 0x2501ED23: je 0x2501ed80 */
  17626 L_2501ED25:
  17627     ecx = MEM32(esi + 0x168); /* 0x2501ED25: mov ecx, dword ptr [esi + 0x168] */
  17628     PUSH32(esp, 4); /* 0x2501ED2B: push 4 */
  17629     PUSH32(esp, 1); /* 0x2501ED2D: push 1 */
  17630     PUSH32(esp, 0); /* 0x2501ED2F: push 0 */
  17631     RECOMP_ICALL(0x250EA080u); /* 0x2501ED31: call 0x250ea080 */ /* not lifted */
  17632     RECOMP_FLAGS_IN();
  17633     ecx = MEM32(esi + 0x168); /* 0x2501ED36: mov ecx, dword ptr [esi + 0x168] */
  17634     PUSH32(esp, 2); /* 0x2501ED3C: push 2 */
  17635     PUSH32(esp, 2); /* 0x2501ED3E: push 2 */
  17636     PUSH32(esp, 0); /* 0x2501ED40: push 0 */
  17637     RECOMP_ICALL(0x250EA080u); /* 0x2501ED42: call 0x250ea080 */ /* not lifted */
  17638     RECOMP_FLAGS_IN();
  17639     ecx = MEM32(esi + 0x168); /* 0x2501ED47: mov ecx, dword ptr [esi + 0x168] */
  17640     PUSH32(esp, 0); /* 0x2501ED4D: push 0 */
  17641     PUSH32(esp, 3); /* 0x2501ED4F: push 3 */
  17642     PUSH32(esp, 0); /* 0x2501ED51: push 0 */
  17643     RECOMP_ICALL(0x250EA080u); /* 0x2501ED53: call 0x250ea080 */ /* not lifted */
  17644     RECOMP_FLAGS_IN();
  17645     ecx = MEM32(esi + 0x168); /* 0x2501ED58: mov ecx, dword ptr [esi + 0x168] */
  17646     PUSH32(esp, 4); /* 0x2501ED5E: push 4 */
  17647     PUSH32(esp, 4); /* 0x2501ED60: push 4 */
  17648     PUSH32(esp, 0); /* 0x2501ED62: push 0 */
  17649     RECOMP_ICALL(0x250EA080u); /* 0x2501ED64: call 0x250ea080 */ /* not lifted */
  17650     RECOMP_FLAGS_IN();
  17651     ecx = MEM32(esi + 0x168); /* 0x2501ED69: mov ecx, dword ptr [esi + 0x168] */
  17652     PUSH32(esp, 2); /* 0x2501ED6F: push 2 */
  17653     PUSH32(esp, 5); /* 0x2501ED71: push 5 */
  17654     PUSH32(esp, 0); /* 0x2501ED73: push 0 */
  17655     RECOMP_ICALL(0x250EA080u); /* 0x2501ED75: call 0x250ea080 */ /* not lifted */
  17656     RECOMP_FLAGS_IN();
  17657     PUSH32(esp, 0); /* 0x2501ED7A: push 0 */
  17658     PUSH32(esp, 6); /* 0x2501ED7C: push 6 */
  17659     goto L_2501EDB7; /* 0x2501ED7E: jmp 0x2501edb7 */
  17660 L_2501ED80:
  17661     ecx = MEM32(esi + 0x168); /* 0x2501ED80: mov ecx, dword ptr [esi + 0x168] */
  17662     PUSH32(esp, 2); /* 0x2501ED86: push 2 */
  17663     PUSH32(esp, 1); /* 0x2501ED88: push 1 */
  17664     PUSH32(esp, 0); /* 0x2501ED8A: push 0 */
  17665     RECOMP_ICALL(0x250EA080u); /* 0x2501ED8C: call 0x250ea080 */ /* not lifted */
  17666     RECOMP_FLAGS_IN();
  17667     ecx = MEM32(esi + 0x168); /* 0x2501ED91: mov ecx, dword ptr [esi + 0x168] */
  17668     PUSH32(esp, 0); /* 0x2501ED97: push 0 */
  17669     PUSH32(esp, 2); /* 0x2501ED99: push 2 */
  17670     PUSH32(esp, 0); /* 0x2501ED9B: push 0 */
  17671     RECOMP_ICALL(0x250EA080u); /* 0x2501ED9D: call 0x250ea080 */ /* not lifted */
  17672     RECOMP_FLAGS_IN();
  17673     ecx = MEM32(esi + 0x168); /* 0x2501EDA2: mov ecx, dword ptr [esi + 0x168] */
  17674     PUSH32(esp, 2); /* 0x2501EDA8: push 2 */
  17675     PUSH32(esp, 4); /* 0x2501EDAA: push 4 */
  17676     PUSH32(esp, 0); /* 0x2501EDAC: push 0 */
  17677     RECOMP_ICALL(0x250EA080u); /* 0x2501EDAE: call 0x250ea080 */ /* not lifted */
  17678     RECOMP_FLAGS_IN();
  17679     PUSH32(esp, 0); /* 0x2501EDB3: push 0 */
  17680     PUSH32(esp, 5); /* 0x2501EDB5: push 5 */
  17681 L_2501EDB7:
  17682     ecx = MEM32(esi + 0x168); /* 0x2501EDB7: mov ecx, dword ptr [esi + 0x168] */
  17683     PUSH32(esp, 0); /* 0x2501EDBD: push 0 */
  17684     RECOMP_ICALL(0x250EA080u); /* 0x2501EDBF: call 0x250ea080 */ /* not lifted */
  17685     RECOMP_FLAGS_IN();
  17686     eax = MEM32(esi + 0x1EC); /* 0x2501EDC4: mov eax, dword ptr [esi + 0x1ec] */
  17687     /* test eax, eax */ /* 0x2501EDCA: test eax, eax */
  17688     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17689     _cf = 0;
  17690     _flag_k = FK_TEST;
  17691     ecx = MEM32(esi + 0x168); /* 0x2501EDCC: mov ecx, dword ptr [esi + 0x168] */
  17692     PUSH32(esp, 1); /* 0x2501EDD2: push 1 */
  17693     PUSH32(esp, 0x1Bu); /* 0x2501EDD4: push 0x1b */
  17694     if (TEST_Z(_flag_a, _flag_b)) goto L_2501EDFE; /* 0x2501EDD6: je 0x2501edfe */
  17695 L_2501EDD8:
  17696     RECOMP_ICALL(0x250E9FA0u); /* 0x2501EDD8: call 0x250e9fa0 */ /* not lifted */
  17697     RECOMP_FLAGS_IN();
  17698     ecx = MEM32(esi + 0x168); /* 0x2501EDDD: mov ecx, dword ptr [esi + 0x168] */
  17699     PUSH32(esp, 5); /* 0x2501EDE3: push 5 */
  17700     PUSH32(esp, 0x13u); /* 0x2501EDE5: push 0x13 */
  17701     RECOMP_ICALL(0x250E9FA0u); /* 0x2501EDE7: call 0x250e9fa0 */ /* not lifted */
  17702     RECOMP_FLAGS_IN();
  17703     SET_LO8(eax, MEM8(esi + 0x209)); /* 0x2501EDEC: mov al, byte ptr [esi + 0x209] */
  17704     /* test LO8(eax), LO8(eax) */ /* 0x2501EDF2: test al, al */
  17705     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  17706     _cf = 0;
  17707     _flag_k = FK_NARROW(FK_TEST, 24);
  17708     if (TEST_Z(_flag_a, _flag_b)) goto L_2501EDFA; /* 0x2501EDF4: je 0x2501edfa */
  17709 L_2501EDF6:
  17710     PUSH32(esp, 6); /* 0x2501EDF6: push 6 */
  17711     goto L_2501EE14; /* 0x2501EDF8: jmp 0x2501ee14 */
  17712 L_2501EDFA:
  17713     PUSH32(esp, 2); /* 0x2501EDFA: push 2 */
  17714     goto L_2501EE14; /* 0x2501EDFC: jmp 0x2501ee14 */
  17715 L_2501EDFE:
  17716     RECOMP_ICALL(0x250E9FA0u); /* 0x2501EDFE: call 0x250e9fa0 */ /* not lifted */
  17717     RECOMP_FLAGS_IN();
  17718     ecx = MEM32(esi + 0x168); /* 0x2501EE03: mov ecx, dword ptr [esi + 0x168] */
  17719     PUSH32(esp, 1); /* 0x2501EE09: push 1 */
  17720     PUSH32(esp, 0x13u); /* 0x2501EE0B: push 0x13 */
  17721     RECOMP_ICALL(0x250E9FA0u); /* 0x2501EE0D: call 0x250e9fa0 */ /* not lifted */
  17722     RECOMP_FLAGS_IN();
  17723     PUSH32(esp, 3); /* 0x2501EE12: push 3 */
  17724 L_2501EE14:
  17725     ecx = MEM32(esi + 0x168); /* 0x2501EE14: mov ecx, dword ptr [esi + 0x168] */
  17726     PUSH32(esp, 0x14u); /* 0x2501EE1A: push 0x14 */
  17727     RECOMP_ICALL(0x250E9FA0u); /* 0x2501EE1C: call 0x250e9fa0 */ /* not lifted */
  17728     RECOMP_FLAGS_IN();
  17729     eax = MEM32(esi + 0x1F0); /* 0x2501EE21: mov eax, dword ptr [esi + 0x1f0] */
  17730     /* test eax, eax */ /* 0x2501EE27: test eax, eax */
  17731     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17732     _cf = 0;
  17733     _flag_k = FK_TEST;
  17734     if (TEST_Z(_flag_a, _flag_b)) goto L_2501EE5E; /* 0x2501EE29: je 0x2501ee5e */
  17735 L_2501EE2B:
  17736     ecx = MEM32(esi + 0x168); /* 0x2501EE2B: mov ecx, dword ptr [esi + 0x168] */
  17737     PUSH32(esp, 1); /* 0x2501EE31: push 1 */
  17738     PUSH32(esp, 0x10u); /* 0x2501EE33: push 0x10 */
  17739     PUSH32(esp, 0); /* 0x2501EE35: push 0 */
  17740     RECOMP_ICALL(0x250EA080u); /* 0x2501EE37: call 0x250ea080 */ /* not lifted */
  17741     RECOMP_FLAGS_IN();
  17742     ecx = MEM32(esi + 0x168); /* 0x2501EE3C: mov ecx, dword ptr [esi + 0x168] */
  17743     PUSH32(esp, 1); /* 0x2501EE42: push 1 */
  17744     PUSH32(esp, 0x12u); /* 0x2501EE44: push 0x12 */
  17745     PUSH32(esp, 0); /* 0x2501EE46: push 0 */
  17746     RECOMP_ICALL(0x250EA080u); /* 0x2501EE48: call 0x250ea080 */ /* not lifted */
  17747     RECOMP_FLAGS_IN();
  17748     ecx = MEM32(esi + 0x168); /* 0x2501EE4D: mov ecx, dword ptr [esi + 0x168] */
  17749     PUSH32(esp, 1); /* 0x2501EE53: push 1 */
  17750     PUSH32(esp, 0x11u); /* 0x2501EE55: push 0x11 */
  17751     PUSH32(esp, 0); /* 0x2501EE57: push 0 */
  17752     RECOMP_ICALL(0x250EA080u); /* 0x2501EE59: call 0x250ea080 */ /* not lifted */
  17753     RECOMP_FLAGS_IN();
  17754 L_2501EE5E:
  17755     ecx = MEM32(ebp + (-0xC)); /* 0x2501EE5E: mov ecx, dword ptr [ebp - 0xc] */
  17756     esi = POP32_VAL(esp); /* 0x2501EE61: pop esi */
  17757     MEM32(FS_BASE + (0)) = ecx; /* 0x2501EE62: mov dword ptr fs:[0], ecx */
  17758     esp = ebp; /* 0x2501EE69: mov esp, ebp */
  17759     ebp = POP32_VAL(esp); /* 0x2501EE6B: pop ebp */
  17760     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2501EE6C: ret  */
  17761     RECOMP_REGS_OUT();
  17762 }
  17763 
  17764 void sub_2501EE70(void) {
  17765     int _fpu_cmp = 0;
  17766     uint32_t _cf = 0;
  17767     int _df = 1;
  17768     uint32_t _flag_k = FK_NONE;
  17769     uint32_t _flag_a = 0, _flag_b = 0;
  17770     uint32_t _itail_tgt = 0;
  17771     RECOMP_REGS_LOCALS
  17772     RECOMP_ENTER(0x2501EE70u);
  17773 
  17774 L_2501EE70:
  17775     PUSH32(esp, ebp); /* 0x2501EE70: push ebp */
  17776     ebp = esp; /* 0x2501EE71: mov ebp, esp */
  17777     PUSH32(esp, esi); /* 0x2501EE73: push esi */
  17778     esi = ecx; /* 0x2501EE74: mov esi, ecx */
  17779     eax = MEM32(esi + 0x1D4); /* 0x2501EE76: mov eax, dword ptr [esi + 0x1d4] */
  17780     /* test eax, eax */ /* 0x2501EE7C: test eax, eax */
  17781     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  17782     _cf = 0;
  17783     _flag_k = FK_TEST;
  17784     PUSH32(esp, edi); /* 0x2501EE7E: push edi */
  17785     if (TEST_NZ(_flag_a, _flag_b)) goto L_2501EEFC; /* 0x2501EE7F: jne 0x2501eefc */
  17786 L_2501EE81:
  17787     edi = MEM32(ebp + 0x8); /* 0x2501EE81: mov edi, dword ptr [ebp + 8] */
  17788     PUSH32(esp, edi); /* 0x2501EE84: push edi */
  17789     RECOMP_ICALL(0x2500E820u); /* 0x2501EE85: call 0x2500e820 */ /* not lifted */
  17790     RECOMP_FLAGS_IN();
  17791     /* cmp MEM32(esi + 0x210), 3 */ /* 0x2501EE8A: cmp dword ptr [esi + 0x210], 3 */
  17792     _flag_a = (uint32_t)(MEM32(esi + 0x210)); _flag_b = (uint32_t)(3);
  17793     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17794     _flag_k = FK_CMP;
  17795     if (CMP_L(_flag_a, _flag_b)) goto L_2501EEFC; /* 0x2501EE91: jl 0x2501eefc */
  17796 L_2501EE93:
  17797     eax = MEM32(esi + 0x1D8); /* 0x2501EE93: mov eax, dword ptr [esi + 0x1d8] */
  17798     PUSH32(esp, eax); /* 0x2501EE99: push eax */
  17799     ecx = edi; /* 0x2501EE9A: mov ecx, edi */
  17800     RECOMP_ICALL(0x250DFDA0u); /* 0x2501EE9C: call 0x250dfda0 */ /* not lifted */
  17801     RECOMP_FLAGS_IN();
  17802     edx = MEM32(esi); /* 0x2501EEA1: mov edx, dword ptr [esi] */
  17803     PUSH32(esp, edi); /* 0x2501EEA3: push edi */
  17804     ecx = esi; /* 0x2501EEA4: mov ecx, esi */
  17805     RECOMP_ICALL(MEM32(edx + 0x3C)); /* 0x2501EEA6: call dword ptr [edx + 0x3c] */
  17806     RECOMP_FLAGS_IN();
  17807     eax = MEM32(esi); /* 0x2501EEA9: mov eax, dword ptr [esi] */
  17808     PUSH32(esp, edi); /* 0x2501EEAB: push edi */
  17809     ecx = esi; /* 0x2501EEAC: mov ecx, esi */
  17810     RECOMP_ICALL(MEM32(eax + 0x40)); /* 0x2501EEAE: call dword ptr [eax + 0x40] */
  17811     RECOMP_FLAGS_IN();
  17812     ecx = edi; /* 0x2501EEB1: mov ecx, edi */
  17813     RECOMP_ICALL(0x250E05D0u); /* 0x2501EEB3: call 0x250e05d0 */ /* not lifted */
  17814     RECOMP_FLAGS_IN();
  17815     ecx = esi; /* 0x2501EEB8: mov ecx, esi */
  17816     RECOMP_ICALL(0x250E2EC0u); /* 0x2501EEBA: call 0x250e2ec0 */ /* not lifted */
  17817     RECOMP_FLAGS_IN();
  17818     ecx = MEM32(0x25238B58); /* 0x2501EEBF: mov ecx, dword ptr [0x25238b58] */
  17819     PUSH32(esp, eax); /* 0x2501EEC5: push eax */
  17820     PUSH32(esp, 1); /* 0x2501EEC6: push 1 */
  17821     RECOMP_ICALL(0x250E8950u); /* 0x2501EEC8: call 0x250e8950 */ /* not lifted */
  17822     RECOMP_FLAGS_IN();
  17823     ecx = MEM32(esi + 0x210); /* 0x2501EECD: mov ecx, dword ptr [esi + 0x210] */
  17824     edx = MEM32(esi + 0x20C); /* 0x2501EED3: mov edx, dword ptr [esi + 0x20c] */
  17825     PUSH32(esp, 0); /* 0x2501EED9: push 0 */
  17826     PUSH32(esp, ecx); /* 0x2501EEDB: push ecx */
  17827     ecx = MEM32(0x25238B58); /* 0x2501EEDC: mov ecx, dword ptr [0x25238b58] */
  17828     PUSH32(esp, edx); /* 0x2501EEE2: push edx */
  17829     PUSH32(esp, 0x142u); /* 0x2501EEE3: push 0x142 */
  17830     RECOMP_ICALL(0x250E8790u); /* 0x2501EEE8: call 0x250e8790 */ /* not lifted */
  17831     RECOMP_FLAGS_IN();
  17832     eax = MEM32(esi); /* 0x2501EEED: mov eax, dword ptr [esi] */
  17833     PUSH32(esp, edi); /* 0x2501EEEF: push edi */
  17834     ecx = esi; /* 0x2501EEF0: mov ecx, esi */
  17835     RECOMP_ICALL(MEM32(eax + 0x44)); /* 0x2501EEF2: call dword ptr [eax + 0x44] */
  17836     RECOMP_FLAGS_IN();
  17837     ecx = edi; /* 0x2501EEF5: mov ecx, edi */
  17838     RECOMP_ICALL(0x250E0360u); /* 0x2501EEF7: call 0x250e0360 */ /* not lifted */
  17839     RECOMP_FLAGS_IN();
  17840 L_2501EEFC:
  17841     edi = POP32_VAL(esp); /* 0x2501EEFC: pop edi */
  17842     esi = POP32_VAL(esp); /* 0x2501EEFD: pop esi */
  17843     ebp = POP32_VAL(esp); /* 0x2501EEFE: pop ebp */
  17844     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501EEFF: ret 4 */
  17845     RECOMP_REGS_OUT();
  17846 }
  17847 
  17848 void sub_2501EF10(void) {
  17849     int _fpu_cmp = 0;
  17850     uint32_t _cf = 0;
  17851     int _df = 1;
  17852     uint32_t _flag_k = FK_NONE;
  17853     uint32_t _flag_a = 0, _flag_b = 0;
  17854     uint32_t _itail_tgt = 0;
  17855     RECOMP_REGS_LOCALS
  17856     RECOMP_ENTER(0x2501EF10u);
  17857 
  17858     goto L_2501EF10;
  17859 L_2501E860:
  17860     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  17861     ebp = esp; /* 0x2501E861: mov ebp, esp */
  17862     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  17863     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  17864     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  17865     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  17866     _cf = 0;
  17867     _flag_k = FK_NARROW(FK_TEST, 24);
  17868     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  17869     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  17870     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  17871 L_2501E86F:
  17872     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  17873     PUSH32(esp, edi); /* 0x2501E872: push edi */
  17874     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  17875     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  17876     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  17877     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  17878     PUSH32(esp, esi); /* 0x2501E881: push esi */
  17879     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  17880     RECOMP_FLAGS_IN();
  17881     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  17882     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17883     _cf = 0;
  17884     _flag_k = FK_NARROW(FK_TEST, 24);
  17885     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  17886 L_2501E88C:
  17887     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  17888     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  17889     RECOMP_FLAGS_IN();
  17890     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17891     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17892     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  17893     _flag_k = FK_ADD;
  17894 L_2501E895:
  17895     eax = edi; /* 0x2501E895: mov eax, edi */
  17896     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  17897     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  17898     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  17899     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  17900     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  17901 L_2501E89E:
  17902     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  17903     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  17904     RECOMP_FLAGS_IN();
  17905     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  17906     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17907     _cf = 0;
  17908     _flag_k = FK_NARROW(FK_TEST, 24);
  17909     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  17910 L_2501E8AA:
  17911     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  17912     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  17913     RECOMP_FLAGS_IN();
  17914     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17915     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17916     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  17917     _flag_k = FK_ADD;
  17918 L_2501E8B3:
  17919     eax = esi; /* 0x2501E8B3: mov eax, esi */
  17920     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  17921     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  17922     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  17923     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  17924 L_2501EF10:
  17925     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
  17926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17927     ecx = ecx - 8; /* 0x2501EF10: sub ecx, 8 */
  17928     _flag_k = FK_CMP;
  17929     RECOMP_BACKEDGE();
  17930     goto L_2501E860; /* 0x2501EF13: jmp 0x2501e860 */
  17931     { RECOMP_REGS_OUT(); return; } /* end of function */
  17932     RECOMP_REGS_OUT();
  17933 }
  17934 
  17935 void sub_2501EF20(void) {
  17936     int _fpu_cmp = 0;
  17937     uint32_t _cf = 0;
  17938     int _df = 1;
  17939     uint32_t _flag_k = FK_NONE;
  17940     uint32_t _flag_a = 0, _flag_b = 0;
  17941     uint32_t _itail_tgt = 0;
  17942     RECOMP_REGS_LOCALS
  17943     RECOMP_ENTER(0x2501EF20u);
  17944 
  17945     goto L_2501EF20;
  17946 L_2501E860:
  17947     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  17948     ebp = esp; /* 0x2501E861: mov ebp, esp */
  17949     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  17950     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  17951     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  17952     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  17953     _cf = 0;
  17954     _flag_k = FK_NARROW(FK_TEST, 24);
  17955     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  17956     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  17957     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  17958 L_2501E86F:
  17959     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  17960     PUSH32(esp, edi); /* 0x2501E872: push edi */
  17961     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  17962     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  17963     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  17964     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  17965     PUSH32(esp, esi); /* 0x2501E881: push esi */
  17966     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  17967     RECOMP_FLAGS_IN();
  17968     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  17969     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17970     _cf = 0;
  17971     _flag_k = FK_NARROW(FK_TEST, 24);
  17972     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  17973 L_2501E88C:
  17974     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  17975     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  17976     RECOMP_FLAGS_IN();
  17977     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  17978     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  17979     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  17980     _flag_k = FK_ADD;
  17981 L_2501E895:
  17982     eax = edi; /* 0x2501E895: mov eax, edi */
  17983     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  17984     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  17985     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  17986     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  17987     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  17988 L_2501E89E:
  17989     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  17990     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  17991     RECOMP_FLAGS_IN();
  17992     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  17993     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  17994     _cf = 0;
  17995     _flag_k = FK_NARROW(FK_TEST, 24);
  17996     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  17997 L_2501E8AA:
  17998     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  17999     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  18000     RECOMP_FLAGS_IN();
  18001     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18002     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18003     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  18004     _flag_k = FK_ADD;
  18005 L_2501E8B3:
  18006     eax = esi; /* 0x2501E8B3: mov eax, esi */
  18007     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  18008     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  18009     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  18010     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  18011 L_2501EF20:
  18012     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u);
  18013     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18014     ecx = ecx - 0x20u; /* 0x2501EF20: sub ecx, 0x20 */
  18015     _flag_k = FK_CMP;
  18016     RECOMP_BACKEDGE();
  18017     goto L_2501E860; /* 0x2501EF23: jmp 0x2501e860 */
  18018     { RECOMP_REGS_OUT(); return; } /* end of function */
  18019     RECOMP_REGS_OUT();
  18020 }
  18021 
  18022 void sub_2501EF30(void) {
  18023     int _fpu_cmp = 0;
  18024     uint32_t _cf = 0;
  18025     int _df = 1;
  18026     uint32_t _flag_k = FK_NONE;
  18027     uint32_t _flag_a = 0, _flag_b = 0;
  18028     uint32_t _itail_tgt = 0;
  18029     RECOMP_REGS_LOCALS
  18030     RECOMP_ENTER(0x2501EF30u);
  18031 
  18032     goto L_2501EF30;
  18033 L_2501E860:
  18034     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  18035     ebp = esp; /* 0x2501E861: mov ebp, esp */
  18036     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  18037     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  18038     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  18039     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  18040     _cf = 0;
  18041     _flag_k = FK_NARROW(FK_TEST, 24);
  18042     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  18043     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  18044     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  18045 L_2501E86F:
  18046     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  18047     PUSH32(esp, edi); /* 0x2501E872: push edi */
  18048     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  18049     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  18050     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  18051     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  18052     PUSH32(esp, esi); /* 0x2501E881: push esi */
  18053     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  18054     RECOMP_FLAGS_IN();
  18055     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  18056     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18057     _cf = 0;
  18058     _flag_k = FK_NARROW(FK_TEST, 24);
  18059     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  18060 L_2501E88C:
  18061     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  18062     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  18063     RECOMP_FLAGS_IN();
  18064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18066     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  18067     _flag_k = FK_ADD;
  18068 L_2501E895:
  18069     eax = edi; /* 0x2501E895: mov eax, edi */
  18070     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  18071     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  18072     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  18073     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  18074     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  18075 L_2501E89E:
  18076     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  18077     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  18078     RECOMP_FLAGS_IN();
  18079     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  18080     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18081     _cf = 0;
  18082     _flag_k = FK_NARROW(FK_TEST, 24);
  18083     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  18084 L_2501E8AA:
  18085     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  18086     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  18087     RECOMP_FLAGS_IN();
  18088     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18089     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18090     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  18091     _flag_k = FK_ADD;
  18092 L_2501E8B3:
  18093     eax = esi; /* 0x2501E8B3: mov eax, esi */
  18094     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  18095     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  18096     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  18097     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  18098 L_2501EF30:
  18099     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u);
  18100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18101     ecx = ecx - 0x38u; /* 0x2501EF30: sub ecx, 0x38 */
  18102     _flag_k = FK_CMP;
  18103     RECOMP_BACKEDGE();
  18104     goto L_2501E860; /* 0x2501EF33: jmp 0x2501e860 */
  18105     { RECOMP_REGS_OUT(); return; } /* end of function */
  18106     RECOMP_REGS_OUT();
  18107 }
  18108 
  18109 void sub_2501EF40(void) {
  18110     int _fpu_cmp = 0;
  18111     uint32_t _cf = 0;
  18112     int _df = 1;
  18113     uint32_t _flag_k = FK_NONE;
  18114     uint32_t _flag_a = 0, _flag_b = 0;
  18115     uint32_t _itail_tgt = 0;
  18116     RECOMP_REGS_LOCALS
  18117     RECOMP_ENTER(0x2501EF40u);
  18118 
  18119     goto L_2501EF40;
  18120 L_2501E860:
  18121     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  18122     ebp = esp; /* 0x2501E861: mov ebp, esp */
  18123     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  18124     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  18125     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  18126     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  18127     _cf = 0;
  18128     _flag_k = FK_NARROW(FK_TEST, 24);
  18129     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  18130     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  18131     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  18132 L_2501E86F:
  18133     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  18134     PUSH32(esp, edi); /* 0x2501E872: push edi */
  18135     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  18136     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  18137     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  18138     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  18139     PUSH32(esp, esi); /* 0x2501E881: push esi */
  18140     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  18141     RECOMP_FLAGS_IN();
  18142     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  18143     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18144     _cf = 0;
  18145     _flag_k = FK_NARROW(FK_TEST, 24);
  18146     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  18147 L_2501E88C:
  18148     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  18149     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  18150     RECOMP_FLAGS_IN();
  18151     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18152     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18153     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  18154     _flag_k = FK_ADD;
  18155 L_2501E895:
  18156     eax = edi; /* 0x2501E895: mov eax, edi */
  18157     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  18158     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  18159     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  18160     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  18161     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  18162 L_2501E89E:
  18163     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  18164     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  18165     RECOMP_FLAGS_IN();
  18166     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  18167     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18168     _cf = 0;
  18169     _flag_k = FK_NARROW(FK_TEST, 24);
  18170     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  18171 L_2501E8AA:
  18172     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  18173     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  18174     RECOMP_FLAGS_IN();
  18175     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18176     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18177     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  18178     _flag_k = FK_ADD;
  18179 L_2501E8B3:
  18180     eax = esi; /* 0x2501E8B3: mov eax, esi */
  18181     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  18182     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  18183     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  18184     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  18185 L_2501EF40:
  18186     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
  18187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18188     ecx = ecx - 0x50u; /* 0x2501EF40: sub ecx, 0x50 */
  18189     _flag_k = FK_CMP;
  18190     RECOMP_BACKEDGE();
  18191     goto L_2501E860; /* 0x2501EF43: jmp 0x2501e860 */
  18192     { RECOMP_REGS_OUT(); return; } /* end of function */
  18193     RECOMP_REGS_OUT();
  18194 }
  18195 
  18196 void sub_2501EF50(void) {
  18197     int _fpu_cmp = 0;
  18198     uint32_t _cf = 0;
  18199     int _df = 1;
  18200     uint32_t _flag_k = FK_NONE;
  18201     uint32_t _flag_a = 0, _flag_b = 0;
  18202     uint32_t _itail_tgt = 0;
  18203     RECOMP_REGS_LOCALS
  18204     RECOMP_ENTER(0x2501EF50u);
  18205 
  18206     goto L_2501EF50;
  18207 L_2501E860:
  18208     PUSH32(esp, ebp); /* 0x2501E860: push ebp */
  18209     ebp = esp; /* 0x2501E861: mov ebp, esp */
  18210     PUSH32(esp, ebx); /* 0x2501E863: push ebx */
  18211     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2501E864: mov bl, byte ptr [ebp + 8] */
  18212     /* test LO8(ebx), 2 */ /* 0x2501E867: test bl, 2 */
  18213     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
  18214     _cf = 0;
  18215     _flag_k = FK_NARROW(FK_TEST, 24);
  18216     PUSH32(esp, esi); /* 0x2501E86A: push esi */
  18217     esi = ecx; /* 0x2501E86B: mov esi, ecx */
  18218     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E89E; /* 0x2501E86D: je 0x2501e89e */
  18219 L_2501E86F:
  18220     eax = MEM32(esi + (-0x4)); /* 0x2501E86F: mov eax, dword ptr [esi - 4] */
  18221     PUSH32(esp, edi); /* 0x2501E872: push edi */
  18222     PUSH32(esp, 0x2501E9D0u); /* 0x2501E873: push 0x2501e9d0 */
  18223     edi = esi + (-0x4); /* 0x2501E878: lea edi, [esi - 4] */
  18224     PUSH32(esp, eax); /* 0x2501E87B: push eax */
  18225     PUSH32(esp, 0x214u); /* 0x2501E87C: push 0x214 */
  18226     PUSH32(esp, esi); /* 0x2501E881: push esi */
  18227     RECOMP_ICALL(0x25137F92u); /* 0x2501E882: call 0x25137f92 */ /* not lifted */
  18228     RECOMP_FLAGS_IN();
  18229     /* test LO8(ebx), 1 */ /* 0x2501E887: test bl, 1 */
  18230     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18231     _cf = 0;
  18232     _flag_k = FK_NARROW(FK_TEST, 24);
  18233     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E895; /* 0x2501E88A: je 0x2501e895 */
  18234 L_2501E88C:
  18235     PUSH32(esp, edi); /* 0x2501E88C: push edi */
  18236     RECOMP_ICALL(0x25137EECu); /* 0x2501E88D: call 0x25137eec */ /* not lifted */
  18237     RECOMP_FLAGS_IN();
  18238     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18239     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18240     esp = esp + 4; /* 0x2501E892: add esp, 4 */
  18241     _flag_k = FK_ADD;
  18242 L_2501E895:
  18243     eax = edi; /* 0x2501E895: mov eax, edi */
  18244     edi = POP32_VAL(esp); /* 0x2501E897: pop edi */
  18245     esi = POP32_VAL(esp); /* 0x2501E898: pop esi */
  18246     ebx = POP32_VAL(esp); /* 0x2501E899: pop ebx */
  18247     ebp = POP32_VAL(esp); /* 0x2501E89A: pop ebp */
  18248     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E89B: ret 4 */
  18249 L_2501E89E:
  18250     ecx = esi; /* 0x2501E89E: mov ecx, esi */
  18251     RECOMP_ICALL(0x2501E9D0u); /* 0x2501E8A0: call 0x2501e9d0 */ /* not lifted */
  18252     RECOMP_FLAGS_IN();
  18253     /* test LO8(ebx), 1 */ /* 0x2501E8A5: test bl, 1 */
  18254     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
  18255     _cf = 0;
  18256     _flag_k = FK_NARROW(FK_TEST, 24);
  18257     if (TEST_Z(_flag_a, _flag_b)) goto L_2501E8B3; /* 0x2501E8A8: je 0x2501e8b3 */
  18258 L_2501E8AA:
  18259     PUSH32(esp, esi); /* 0x2501E8AA: push esi */
  18260     RECOMP_ICALL(0x25137EECu); /* 0x2501E8AB: call 0x25137eec */ /* not lifted */
  18261     RECOMP_FLAGS_IN();
  18262     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  18263     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18264     esp = esp + 4; /* 0x2501E8B0: add esp, 4 */
  18265     _flag_k = FK_ADD;
  18266 L_2501E8B3:
  18267     eax = esi; /* 0x2501E8B3: mov eax, esi */
  18268     esi = POP32_VAL(esp); /* 0x2501E8B5: pop esi */
  18269     ebx = POP32_VAL(esp); /* 0x2501E8B6: pop ebx */
  18270     ebp = POP32_VAL(esp); /* 0x2501E8B7: pop ebp */
  18271     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2501E8B8: ret 4 */
  18272 L_2501EF50:
  18273     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u);
  18274     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18275     ecx = ecx - 0x138u; /* 0x2501EF50: sub ecx, 0x138 */
  18276     _flag_k = FK_CMP;
  18277     RECOMP_BACKEDGE();
  18278     goto L_2501E860; /* 0x2501EF56: jmp 0x2501e860 */
  18279     { RECOMP_REGS_OUT(); return; } /* end of function */
  18280     RECOMP_REGS_OUT();
  18281 }