client/game/bbr.dll/lifted-0055.c (575959B)
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_250DF930(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(0x250DF930u); 17 18 L_250DF930: 19 eax = MEM32(0x2528D768); /* 0x250DF930: mov eax, dword ptr [0x2528d768] */ 20 PUSH32(esp, esi); /* 0x250DF935: push esi */ 21 esi = MEM32(0x2528D764); /* 0x250DF936: mov esi, dword ptr [0x2528d764] */ 22 PUSH32(esp, edi); /* 0x250DF93C: push edi */ 23 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24 edi = 0; /* 0x250DF93D: xor edi, edi */ 25 _cf = 0; 26 _flag_k = FK_TEST; 27 /* cmp esi, eax */ /* 0x250DF93F: cmp esi, eax */ 28 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 29 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30 _flag_k = FK_CMP; 31 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DF97C; /* 0x250DF941: je 0x250df97c */ 32 L_250DF943: 33 eax = MEM32(esi); /* 0x250DF943: mov eax, dword ptr [esi] */ 34 MEM32(eax + 0x1A0) = edi; /* 0x250DF945: mov dword ptr [eax + 0x1a0], edi */ 35 eax = MEM32(esi); /* 0x250DF94B: mov eax, dword ptr [esi] */ 36 edx = MEM32(eax + 0x1A0); /* 0x250DF94D: mov edx, dword ptr [eax + 0x1a0] */ 37 ecx = eax + 0x138; /* 0x250DF953: lea ecx, [eax + 0x138] */ 38 PUSH32(esp, ecx); /* 0x250DF959: push ecx */ 39 ecx = MEM32(0x25238B58); /* 0x250DF95A: mov ecx, dword ptr [0x25238b58] */ 40 PUSH32(esp, edx); /* 0x250DF960: push edx */ 41 RECOMP_ICALL(0x25105F30u); /* 0x250DF961: call 0x25105f30 */ /* not lifted */ 42 RECOMP_FLAGS_IN(); 43 ecx = MEM32(esi); /* 0x250DF966: mov ecx, dword ptr [esi] */ 44 PUSH32(esp, 0); /* 0x250DF968: push 0 */ 45 RECOMP_ICALL(0x251052E0u); /* 0x250DF96A: call 0x251052e0 */ /* not lifted */ 46 RECOMP_FLAGS_IN(); 47 eax = MEM32(0x2528D768); /* 0x250DF96F: mov eax, dword ptr [0x2528d768] */ 48 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 49 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 50 esi = esi + 4; /* 0x250DF974: add esi, 4 */ 51 _flag_k = FK_ADD; 52 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 53 edi = edi + 1; /* 0x250DF977: inc edi */ 54 _flag_k = FK_INC; 55 /* cmp esi, eax */ /* 0x250DF978: cmp esi, eax */ 56 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 57 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 58 _flag_k = FK_CMP; 59 RECOMP_BACKEDGE(); 60 if (CMP_NE(_flag_a, _flag_b)) goto L_250DF943; /* 0x250DF97A: jne 0x250df943 */ 61 L_250DF97C: 62 edi = POP32_VAL(esp); /* 0x250DF97C: pop edi */ 63 esi = POP32_VAL(esp); /* 0x250DF97D: pop esi */ 64 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DF97E: ret */ 65 RECOMP_REGS_OUT(); 66 } 67 68 void sub_250DF980(void) { 69 int _fpu_cmp = 0; 70 uint32_t _cf = 0; 71 int _df = 1; 72 uint32_t _flag_k = FK_NONE; 73 uint32_t _flag_a = 0, _flag_b = 0; 74 uint32_t _itail_tgt = 0; 75 RECOMP_REGS_LOCALS 76 RECOMP_ENTER(0x250DF980u); 77 78 L_250DF980: 79 eax = MEM32(0x2528D768); /* 0x250DF980: mov eax, dword ptr [0x2528d768] */ 80 PUSH32(esp, esi); /* 0x250DF985: push esi */ 81 esi = MEM32(0x2528D764); /* 0x250DF986: mov esi, dword ptr [0x2528d764] */ 82 /* cmp esi, eax */ /* 0x250DF98C: cmp esi, eax */ 83 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 84 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 85 _flag_k = FK_CMP; 86 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DF9A5; /* 0x250DF98E: je 0x250df9a5 */ 87 L_250DF990: 88 ecx = MEM32(esi); /* 0x250DF990: mov ecx, dword ptr [esi] */ 89 PUSH32(esp, 0); /* 0x250DF992: push 0 */ 90 RECOMP_ICALL(0x251052E0u); /* 0x250DF994: call 0x251052e0 */ /* not lifted */ 91 RECOMP_FLAGS_IN(); 92 eax = MEM32(0x2528D768); /* 0x250DF999: mov eax, dword ptr [0x2528d768] */ 93 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 94 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 95 esi = esi + 4; /* 0x250DF99E: add esi, 4 */ 96 _flag_k = FK_ADD; 97 /* cmp esi, eax */ /* 0x250DF9A1: cmp esi, eax */ 98 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 99 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 100 _flag_k = FK_CMP; 101 RECOMP_BACKEDGE(); 102 if (CMP_NE(_flag_a, _flag_b)) goto L_250DF990; /* 0x250DF9A3: jne 0x250df990 */ 103 L_250DF9A5: 104 esi = POP32_VAL(esp); /* 0x250DF9A5: pop esi */ 105 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DF9A6: ret */ 106 RECOMP_REGS_OUT(); 107 } 108 109 void sub_250DF9B0(void) { 110 int _fpu_cmp = 0; 111 uint32_t _cf = 0; 112 int _df = 1; 113 uint32_t _flag_k = FK_NONE; 114 uint32_t _flag_a = 0, _flag_b = 0; 115 uint32_t _itail_tgt = 0; 116 RECOMP_REGS_LOCALS 117 RECOMP_ENTER(0x250DF9B0u); 118 119 L_250DF9B0: 120 PUSH32(esp, ebp); /* 0x250DF9B0: push ebp */ 121 ebp = esp; /* 0x250DF9B1: mov ebp, esp */ 122 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 124 esp = esp - 8; /* 0x250DF9B3: sub esp, 8 */ 125 _flag_k = FK_CMP; 126 PUSH32(esp, esi); /* 0x250DF9B6: push esi */ 127 esi = ecx; /* 0x250DF9B7: mov esi, ecx */ 128 ecx = MEM32(esi + 0xC); /* 0x250DF9B9: mov ecx, dword ptr [esi + 0xc] */ 129 /* test ecx, ecx */ /* 0x250DF9BC: test ecx, ecx */ 130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 131 _cf = 0; 132 _flag_k = FK_TEST; 133 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFA95; /* 0x250DF9BE: je 0x250dfa95 */ 134 L_250DF9C4: 135 PUSH32(esp, 0x2524C5B8u); /* 0x250DF9C4: push 0x2524c5b8 */ 136 RECOMP_ICALL(0x250F0F70u); /* 0x250DF9C9: call 0x250f0f70 */ /* not lifted */ 137 RECOMP_FLAGS_IN(); 138 ecx = MEM32(0x25238B58); /* 0x250DF9CE: mov ecx, dword ptr [0x25238b58] */ 139 PUSH32(esp, 0x2524C5B8u); /* 0x250DF9D4: push 0x2524c5b8 */ 140 PUSH32(esp, 2); /* 0x250DF9D9: push 2 */ 141 RECOMP_ICALL(0x250E8950u); /* 0x250DF9DB: call 0x250e8950 */ /* not lifted */ 142 RECOMP_FLAGS_IN(); 143 ecx = MEM32(esi + 0xC); /* 0x250DF9E0: mov ecx, dword ptr [esi + 0xc] */ 144 fp_push(*(float*)&MEM32(ecx + 0x140)); /* 0x250DF9E3: fld dword ptr [ecx + 0x140] */ 145 eax = MEM32(esi + 0x24); /* 0x250DF9E9: mov eax, dword ptr [esi + 0x24] */ 146 _st[0] -= (double)*(float*)ADDR(ecx + 0x138); /* 0x250DF9EC: fsub dword ptr [ecx + 0x138] */ 147 MEM32(ebp + (-0x8)) = eax; /* 0x250DF9F2: mov dword ptr [ebp - 8], eax */ 148 MEM32(ebp + (-0x4)) = 0; /* 0x250DF9F5: mov dword ptr [ebp - 4], 0 */ 149 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0x8)); /* 0x250DF9FC: fidiv dword ptr [ebp - 8] */ 150 PUSH32(esp, 0x2524C578u); /* 0x250DF9FF: push 0x2524c578 */ 151 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250DFA04: fmul dword ptr [0x25151788] */ 152 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x18) = _v; } /* 0x250DFA0A: fstp dword ptr [esi + 0x18] */ 153 RECOMP_ICALL(0x250F0FA0u); /* 0x250DFA0D: call 0x250f0fa0 */ /* not lifted */ 154 RECOMP_FLAGS_IN(); 155 ecx = MEM32(0x25238B58); /* 0x250DFA12: mov ecx, dword ptr [0x25238b58] */ 156 PUSH32(esp, 0x2524C578u); /* 0x250DFA18: push 0x2524c578 */ 157 PUSH32(esp, 3); /* 0x250DFA1D: push 3 */ 158 RECOMP_ICALL(0x250E8950u); /* 0x250DFA1F: call 0x250e8950 */ /* not lifted */ 159 RECOMP_FLAGS_IN(); 160 SET_LO8(eax, MEM8(0x251B9E14)); /* 0x250DFA24: mov al, byte ptr [0x251b9e14] */ 161 /* test LO8(eax), LO8(eax) */ /* 0x250DFA29: test al, al */ 162 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 163 _cf = 0; 164 _flag_k = FK_NARROW(FK_TEST, 24); 165 PUSH32(esp, esi); /* 0x250DFA2B: push esi */ 166 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFA38; /* 0x250DFA2C: je 0x250dfa38 */ 167 L_250DFA2E: 168 ecx = MEM32(esi + 0xC); /* 0x250DFA2E: mov ecx, dword ptr [esi + 0xc] */ 169 RECOMP_ICALL(0x250F1640u); /* 0x250DFA31: call 0x250f1640 */ /* not lifted */ 170 RECOMP_FLAGS_IN(); 171 goto L_250DFA44; /* 0x250DFA36: jmp 0x250dfa44 */ 172 L_250DFA38: 173 RECOMP_ICALL(0x250FD420u); /* 0x250DFA38: call 0x250fd420 */ /* not lifted */ 174 RECOMP_FLAGS_IN(); 175 ecx = eax; /* 0x250DFA3D: mov ecx, eax */ 176 RECOMP_ICALL(0x250FFBB0u); /* 0x250DFA3F: call 0x250ffbb0 */ /* not lifted */ 177 RECOMP_FLAGS_IN(); 178 L_250DFA44: 179 RECOMP_ICALL(0x25104B90u); /* 0x250DFA44: call 0x25104b90 */ /* not lifted */ 180 RECOMP_FLAGS_IN(); 181 RECOMP_ICALL(0x250DD690u); /* 0x250DFA49: call 0x250dd690 */ /* not lifted */ 182 RECOMP_FLAGS_IN(); 183 ecx = MEM32(ebp + 0x8); /* 0x250DFA4E: mov ecx, dword ptr [ebp + 8] */ 184 edx = MEM32(ecx); /* 0x250DFA51: mov edx, dword ptr [ecx] */ 185 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x250DFA53: call dword ptr [edx + 0x20] */ 186 RECOMP_FLAGS_IN(); 187 PUSH32(esp, esi); /* 0x250DFA56: push esi */ 188 RECOMP_ICALL(0x25096DC0u); /* 0x250DFA57: call 0x25096dc0 */ /* not lifted */ 189 RECOMP_FLAGS_IN(); 190 esi = MEM32(0x2528D764); /* 0x250DFA5C: mov esi, dword ptr [0x2528d764] */ 191 eax = MEM32(0x2528D768); /* 0x250DFA62: mov eax, dword ptr [0x2528d768] */ 192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 194 esp = esp + 4; /* 0x250DFA67: add esp, 4 */ 195 _flag_k = FK_ADD; 196 /* cmp esi, eax */ /* 0x250DFA6A: cmp esi, eax */ 197 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 199 _flag_k = FK_CMP; 200 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DFA95; /* 0x250DFA6C: je 0x250dfa95 */ 201 L_250DFA6E: 202 eax = MEM32(esi); /* 0x250DFA6E: mov eax, dword ptr [esi] */ 203 edx = MEM32(eax + 0x1A0); /* 0x250DFA70: mov edx, dword ptr [eax + 0x1a0] */ 204 ecx = eax + 0x138; /* 0x250DFA76: lea ecx, [eax + 0x138] */ 205 PUSH32(esp, ecx); /* 0x250DFA7C: push ecx */ 206 ecx = MEM32(0x25238B58); /* 0x250DFA7D: mov ecx, dword ptr [0x25238b58] */ 207 PUSH32(esp, edx); /* 0x250DFA83: push edx */ 208 RECOMP_ICALL(0x25105F30u); /* 0x250DFA84: call 0x25105f30 */ /* not lifted */ 209 RECOMP_FLAGS_IN(); 210 eax = MEM32(0x2528D768); /* 0x250DFA89: mov eax, dword ptr [0x2528d768] */ 211 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 213 esi = esi + 4; /* 0x250DFA8E: add esi, 4 */ 214 _flag_k = FK_ADD; 215 /* cmp esi, eax */ /* 0x250DFA91: cmp esi, eax */ 216 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 218 _flag_k = FK_CMP; 219 RECOMP_BACKEDGE(); 220 if (CMP_NE(_flag_a, _flag_b)) goto L_250DFA6E; /* 0x250DFA93: jne 0x250dfa6e */ 221 L_250DFA95: 222 esi = POP32_VAL(esp); /* 0x250DFA95: pop esi */ 223 esp = ebp; /* 0x250DFA96: mov esp, ebp */ 224 ebp = POP32_VAL(esp); /* 0x250DFA98: pop ebp */ 225 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DFA99: ret 4 */ 226 RECOMP_REGS_OUT(); 227 } 228 229 void sub_250DFAA0(void) { 230 int _fpu_cmp = 0; 231 uint32_t _cf = 0; 232 int _df = 1; 233 uint32_t _flag_k = FK_NONE; 234 uint32_t _flag_a = 0, _flag_b = 0; 235 uint32_t _itail_tgt = 0; 236 RECOMP_REGS_LOCALS 237 RECOMP_ENTER(0x250DFAA0u); 238 239 L_250DFAA0: 240 PUSH32(esp, ebp); /* 0x250DFAA0: push ebp */ 241 ebp = esp; /* 0x250DFAA1: mov ebp, esp */ 242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 244 esp = esp - 0xCu; /* 0x250DFAA3: sub esp, 0xc */ 245 _flag_k = FK_CMP; 246 PUSH32(esp, ebx); /* 0x250DFAA6: push ebx */ 247 ebx = ecx; /* 0x250DFAA7: mov ebx, ecx */ 248 eax = MEM32(ebx + 0xC); /* 0x250DFAA9: mov eax, dword ptr [ebx + 0xc] */ 249 PUSH32(esp, edi); /* 0x250DFAAC: push edi */ 250 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 251 edi = 0; /* 0x250DFAAD: xor edi, edi */ 252 _cf = 0; 253 _flag_k = FK_TEST; 254 /* cmp eax, edi */ /* 0x250DFAAF: cmp eax, edi */ 255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 257 _flag_k = FK_CMP; 258 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DFC15; /* 0x250DFAB1: je 0x250dfc15 */ 259 L_250DFAB7: 260 RECOMP_ICALL(0x25106170u); /* 0x250DFAB7: call 0x25106170 */ /* not lifted */ 261 RECOMP_FLAGS_IN(); 262 ecx = eax; /* 0x250DFABC: mov ecx, eax */ 263 RECOMP_ICALL(0x25106530u); /* 0x250DFABE: call 0x25106530 */ /* not lifted */ 264 RECOMP_FLAGS_IN(); 265 /* cmp MEM8(0x251B9DE0), 1 */ /* 0x250DFAC3: cmp byte ptr [0x251b9de0], 1 */ 266 _flag_a = (uint32_t)(MEM8(0x251B9DE0)) << 24; _flag_b = (uint32_t)(1) << 24; 267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 268 _flag_k = FK_NARROW(FK_CMP, 24); 269 if (CMP_NE(_flag_a, _flag_b)) goto L_250DFAE4; /* 0x250DFACA: jne 0x250dfae4 */ 270 L_250DFACC: 271 PUSH32(esp, 0x25238C50u); /* 0x250DFACC: push 0x25238c50 */ 272 ecx = ebx; /* 0x250DFAD1: mov ecx, ebx */ 273 RECOMP_ICALL(0x250DFC30u); /* 0x250DFAD3: call 0x250dfc30 */ /* not lifted */ 274 RECOMP_FLAGS_IN(); 275 PUSH32(esp, 0x25238C54u); /* 0x250DFAD8: push 0x25238c54 */ 276 ecx = ebx; /* 0x250DFADD: mov ecx, ebx */ 277 RECOMP_ICALL(0x250DFC30u); /* 0x250DFADF: call 0x250dfc30 */ /* not lifted */ 278 RECOMP_FLAGS_IN(); 279 L_250DFAE4: 280 PUSH32(esp, esi); /* 0x250DFAE4: push esi */ 281 ecx = ebx; /* 0x250DFAE5: mov ecx, ebx */ 282 RECOMP_ICALL(0x250DFD50u); /* 0x250DFAE7: call 0x250dfd50 */ /* not lifted */ 283 RECOMP_FLAGS_IN(); 284 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 285 esi = 0; /* 0x250DFAEC: xor esi, esi */ 286 _cf = 0; 287 _flag_k = FK_TEST; 288 MEM32(ebp + (-0xC)) = esi; /* 0x250DFAEE: mov dword ptr [ebp - 0xc], esi */ 289 L_250DFAF1: 290 ecx = MEM32(0x25238B58); /* 0x250DFAF1: mov ecx, dword ptr [0x25238b58] */ 291 PUSH32(esp, esi); /* 0x250DFAF7: push esi */ 292 RECOMP_ICALL(0x250E9260u); /* 0x250DFAF8: call 0x250e9260 */ /* not lifted */ 293 RECOMP_FLAGS_IN(); 294 eax = MEM32(esi * 4 + 0x25238C38); /* 0x250DFAFD: mov eax, dword ptr [esi*4 + 0x25238c38] */ 295 MEM32(ebx + 0x15C) = eax; /* 0x250DFB04: mov dword ptr [ebx + 0x15c], eax */ 296 MEM32(esi * 4 + 0x25238C38) = edi; /* 0x250DFB0A: mov dword ptr [esi*4 + 0x25238c38], edi */ 297 ecx = MEM32(ebx + 0x15C); /* 0x250DFB11: mov ecx, dword ptr [ebx + 0x15c] */ 298 /* cmp ecx, edi */ /* 0x250DFB17: cmp ecx, edi */ 299 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 301 _flag_k = FK_CMP; 302 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DFB43; /* 0x250DFB19: je 0x250dfb43 */ 303 L_250DFB1B: 304 edx = MEM32(ecx); /* 0x250DFB1B: mov edx, dword ptr [ecx] */ 305 PUSH32(esp, ebx); /* 0x250DFB1D: push ebx */ 306 RECOMP_ICALL(MEM32(edx + 0x38)); /* 0x250DFB1E: call dword ptr [edx + 0x38] */ 307 RECOMP_FLAGS_IN(); 308 eax = MEM32(ebx + 0x15C); /* 0x250DFB21: mov eax, dword ptr [ebx + 0x15c] */ 309 ecx = MEM32(eax + 0x1B4); /* 0x250DFB27: mov ecx, dword ptr [eax + 0x1b4] */ 310 MEM32(ebx + 0x15C) = ecx; /* 0x250DFB2D: mov dword ptr [ebx + 0x15c], ecx */ 311 MEM32(eax + 0x1B4) = edi; /* 0x250DFB33: mov dword ptr [eax + 0x1b4], edi */ 312 ecx = MEM32(ebx + 0x15C); /* 0x250DFB39: mov ecx, dword ptr [ebx + 0x15c] */ 313 /* cmp ecx, edi */ /* 0x250DFB3F: cmp ecx, edi */ 314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 316 _flag_k = FK_CMP; 317 RECOMP_BACKEDGE(); 318 if (CMP_NE(_flag_a, _flag_b)) goto L_250DFB1B; /* 0x250DFB41: jne 0x250dfb1b */ 319 L_250DFB43: 320 /* cmp esi, 3 */ /* 0x250DFB43: cmp esi, 3 */ 321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(3); 322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 323 _flag_k = FK_CMP; 324 MEM32(ebx + 0x15C) = edi; /* 0x250DFB46: mov dword ptr [ebx + 0x15c], edi */ 325 if (CMP_NE(_flag_a, _flag_b)) goto L_250DFBF9; /* 0x250DFB4C: jne 0x250dfbf9 */ 326 L_250DFB52: 327 /* cmp MEM8(0x2528D609), 1 */ /* 0x250DFB52: cmp byte ptr [0x2528d609], 1 */ 328 _flag_a = (uint32_t)(MEM8(0x2528D609)) << 24; _flag_b = (uint32_t)(1) << 24; 329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 330 _flag_k = FK_NARROW(FK_CMP, 24); 331 if (CMP_NE(_flag_a, _flag_b)) goto L_250DFBF9; /* 0x250DFB59: jne 0x250dfbf9 */ 332 L_250DFB5F: 333 SET_LO8(eax, MEM8(0x2528D608)); /* 0x250DFB5F: mov al, byte ptr [0x2528d608] */ 334 /* test LO8(eax), LO8(eax) */ /* 0x250DFB64: test al, al */ 335 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 336 _cf = 0; 337 _flag_k = FK_NARROW(FK_TEST, 24); 338 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x250DFB66: mov byte ptr [ebp - 8], 0 */ 339 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFBF2; /* 0x250DFB6A: jbe 0x250dfbf2 */ 340 L_250DFB70: 341 eax = MEM32(ebp + (-0x8)); /* 0x250DFB70: mov eax, dword ptr [ebp - 8] */ 342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu); 343 eax = eax & 0xFFu; /* 0x250DFB73: and eax, 0xff */ 344 _cf = 0; 345 _flag_k = FK_TEST; 346 edx = eax; /* 0x250DFB78: mov edx, eax */ 347 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x250DFB7A: shl edx, 7 */ 348 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 349 edx = edx << 7u; /* 0x250DFB7A: shl edx, 7 */ 350 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 352 edx = edx - eax; /* 0x250DFB7D: sub edx, eax */ 353 _flag_k = FK_CMP; 354 SET_LO8(eax, MEM8(edx * 4 + 0x2524F7D0)); /* 0x250DFB7F: mov al, byte ptr [edx*4 + 0x2524f7d0] */ 355 /* test LO8(eax), LO8(eax) */ /* 0x250DFB86: test al, al */ 356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 357 _cf = 0; 358 _flag_k = FK_NARROW(FK_TEST, 24); 359 edi = edx * 4 + 0x2524F5D8; /* 0x250DFB88: lea edi, [edx*4 + 0x2524f5d8] */ 360 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250DFB8F: mov byte ptr [ebp - 4], 0 */ 361 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFBDE; /* 0x250DFB93: jbe 0x250dfbde */ 362 L_250DFB95: 363 esi = MEM32(ebp + (-0x4)); /* 0x250DFB95: mov esi, dword ptr [ebp - 4] */ 364 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFu); 365 esi = esi & 0xFFu; /* 0x250DFB98: and esi, 0xff */ 366 _cf = 0; 367 _flag_k = FK_TEST; 368 ecx = MEM32(edi + esi * 4 + 0x4); /* 0x250DFB9E: mov ecx, dword ptr [edi + esi*4 + 4] */ 369 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 370 eax = 0; /* 0x250DFBA2: xor eax, eax */ 371 _cf = 0; 372 _flag_k = FK_TEST; 373 SET_LO8(eax, MEM8(esi + edi + 0x194)); /* 0x250DFBA4: mov al, byte ptr [esi + edi + 0x194] */ 374 PUSH32(esp, ebx); /* 0x250DFBAB: push ebx */ 375 MEM32(ecx + 0x1C8) = eax; /* 0x250DFBAC: mov dword ptr [ecx + 0x1c8], eax */ 376 ecx = MEM32(edi + esi * 4 + 0x4); /* 0x250DFBB2: mov ecx, dword ptr [edi + esi*4 + 4] */ 377 edx = MEM32(ecx); /* 0x250DFBB6: mov edx, dword ptr [ecx] */ 378 RECOMP_ICALL(MEM32(edx + 0x38)); /* 0x250DFBB8: call dword ptr [edx + 0x38] */ 379 RECOMP_FLAGS_IN(); 380 eax = MEM32(edi + esi * 4 + 0x4); /* 0x250DFBBB: mov eax, dword ptr [edi + esi*4 + 4] */ 381 MEM32(eax + 0x1C8) = 0xFFu; /* 0x250DFBBF: mov dword ptr [eax + 0x1c8], 0xff */ 382 SET_LO8(eax, MEM8(ebp + (-0x4))); /* 0x250DFBC9: mov al, byte ptr [ebp - 4] */ 383 SET_LO8(ecx, MEM8(edi + 0x1F8)); /* 0x250DFBCC: mov cl, byte ptr [edi + 0x1f8] */ 384 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 385 SET_LO8(eax, LO8(eax) + 1); /* 0x250DFBD2: inc al */ 386 _flag_k = FK_NARROW(FK_INC, 24); 387 /* cmp LO8(eax), LO8(ecx) */ /* 0x250DFBD4: cmp al, cl */ 388 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 390 _flag_k = FK_NARROW(FK_CMP, 24); 391 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(eax)); /* 0x250DFBD6: mov byte ptr [ebp - 4], al */ 392 RECOMP_BACKEDGE(); 393 if (CMP_B(_flag_a, _flag_b)) goto L_250DFB95; /* 0x250DFBD9: jb 0x250dfb95 */ 394 L_250DFBDB: 395 esi = MEM32(ebp + (-0xC)); /* 0x250DFBDB: mov esi, dword ptr [ebp - 0xc] */ 396 L_250DFBDE: 397 SET_LO8(eax, MEM8(ebp + (-0x8))); /* 0x250DFBDE: mov al, byte ptr [ebp - 8] */ 398 SET_LO8(ecx, MEM8(0x2528D608)); /* 0x250DFBE1: mov cl, byte ptr [0x2528d608] */ 399 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 400 SET_LO8(eax, LO8(eax) + 1); /* 0x250DFBE7: inc al */ 401 _flag_k = FK_NARROW(FK_INC, 24); 402 /* cmp LO8(eax), LO8(ecx) */ /* 0x250DFBE9: cmp al, cl */ 403 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 405 _flag_k = FK_NARROW(FK_CMP, 24); 406 MEM8(ebp + (-0x8)) = (uint8_t)(LO8(eax)); /* 0x250DFBEB: mov byte ptr [ebp - 8], al */ 407 RECOMP_BACKEDGE(); 408 if (CMP_B(_flag_a, _flag_b)) goto L_250DFB70; /* 0x250DFBEE: jb 0x250dfb70 */ 409 L_250DFBF0: 410 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 411 edi = 0; /* 0x250DFBF0: xor edi, edi */ 412 _cf = 0; 413 _flag_k = FK_TEST; 414 L_250DFBF2: 415 MEM8(0x2528D608) = (uint8_t)(0); /* 0x250DFBF2: mov byte ptr [0x2528d608], 0 */ 416 L_250DFBF9: 417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 418 esi = esi + 1; /* 0x250DFBF9: inc esi */ 419 _flag_k = FK_INC; 420 /* cmp esi, 9 */ /* 0x250DFBFA: cmp esi, 9 */ 421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(9); 422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 423 _flag_k = FK_CMP; 424 MEM32(ebp + (-0xC)) = esi; /* 0x250DFBFD: mov dword ptr [ebp - 0xc], esi */ 425 RECOMP_BACKEDGE(); 426 if (CMP_B(_flag_a, _flag_b)) goto L_250DFAF1; /* 0x250DFC00: jb 0x250dfaf1 */ 427 L_250DFC06: 428 ecx = ebx; /* 0x250DFC06: mov ecx, ebx */ 429 MEM8(0x251BC0B4) = (uint8_t)(0); /* 0x250DFC08: mov byte ptr [0x251bc0b4], 0 */ 430 RECOMP_ICALL(0x250DF980u); /* 0x250DFC0F: call 0x250df980 */ /* not lifted */ 431 RECOMP_FLAGS_IN(); 432 esi = POP32_VAL(esp); /* 0x250DFC14: pop esi */ 433 L_250DFC15: 434 PUSH32(esp, ebx); /* 0x250DFC15: push ebx */ 435 RECOMP_ICALL(0x250FC390u); /* 0x250DFC16: call 0x250fc390 */ /* not lifted */ 436 RECOMP_FLAGS_IN(); 437 ecx = eax; /* 0x250DFC1B: mov ecx, eax */ 438 RECOMP_ICALL(0x250FCA00u); /* 0x250DFC1D: call 0x250fca00 */ /* not lifted */ 439 RECOMP_FLAGS_IN(); 440 edi = POP32_VAL(esp); /* 0x250DFC22: pop edi */ 441 ebx = POP32_VAL(esp); /* 0x250DFC23: pop ebx */ 442 esp = ebp; /* 0x250DFC24: mov esp, ebp */ 443 ebp = POP32_VAL(esp); /* 0x250DFC26: pop ebp */ 444 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DFC27: ret */ 445 RECOMP_REGS_OUT(); 446 } 447 448 void sub_250DFC30(void) { 449 int _fpu_cmp = 0; 450 uint32_t _cf = 0; 451 int _df = 1; 452 uint32_t _flag_k = FK_NONE; 453 uint32_t _flag_a = 0, _flag_b = 0; 454 uint32_t _itail_tgt = 0; 455 RECOMP_REGS_LOCALS 456 RECOMP_ENTER(0x250DFC30u); 457 458 L_250DFC30: 459 PUSH32(esp, ebp); /* 0x250DFC30: push ebp */ 460 ebp = esp; /* 0x250DFC31: mov ebp, esp */ 461 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 463 esp = esp - 0xCu; /* 0x250DFC33: sub esp, 0xc */ 464 _flag_k = FK_CMP; 465 eax = MEM32(ebp + 0x8); /* 0x250DFC36: mov eax, dword ptr [ebp + 8] */ 466 ecx = MEM32(eax); /* 0x250DFC39: mov ecx, dword ptr [eax] */ 467 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 468 edx = 0; /* 0x250DFC3B: xor edx, edx */ 469 _cf = 0; 470 _flag_k = FK_TEST; 471 /* cmp ecx, edx */ /* 0x250DFC3D: cmp ecx, edx */ 472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 474 _flag_k = FK_CMP; 475 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DFD3A; /* 0x250DFC3F: je 0x250dfd3a */ 476 L_250DFC45: 477 SET_LO8(ecx, MEM8(0x2524C570)); /* 0x250DFC45: mov cl, byte ptr [0x2524c570] */ 478 SET_LO8(eax, 1); /* 0x250DFC4B: mov al, 1 */ 479 /* test LO8(eax), LO8(ecx) */ /* 0x250DFC4D: test al, cl */ 480 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 481 _cf = 0; 482 _flag_k = FK_NARROW(FK_TEST, 24); 483 if (TEST_NZ(_flag_a, _flag_b)) goto L_250DFC7B; /* 0x250DFC4F: jne 0x250dfc7b */ 484 L_250DFC51: 485 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 486 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x250DFC51: or cl, al */ 487 _cf = 0; 488 _flag_k = FK_NARROW(FK_TEST, 24); 489 MEM8(0x2524C570) = (uint8_t)(LO8(ecx)); /* 0x250DFC53: mov byte ptr [0x2524c570], cl */ 490 eax = 0x25238CF0u; /* 0x250DFC59: mov eax, 0x25238cf0 */ 491 ecx = 0x2710u; /* 0x250DFC5E: mov ecx, 0x2710 */ 492 L_250DFC63: 493 MEM32(eax) = edx; /* 0x250DFC63: mov dword ptr [eax], edx */ 494 MEM32(eax + 0x4) = edx; /* 0x250DFC65: mov dword ptr [eax + 4], edx */ 495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 497 eax = eax + 8; /* 0x250DFC68: add eax, 8 */ 498 _flag_k = FK_ADD; 499 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 500 ecx = ecx - 1; /* 0x250DFC6B: dec ecx */ 501 _flag_k = FK_DEC; 502 RECOMP_BACKEDGE(); 503 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250DFC63; /* 0x250DFC6C: jne 0x250dfc63 */ 504 L_250DFC6E: 505 PUSH32(esp, 0x250DFD40u); /* 0x250DFC6E: push 0x250dfd40 */ 506 RECOMP_ICALL(0x251380B2u); /* 0x250DFC73: call 0x251380b2 */ /* not lifted */ 507 RECOMP_FLAGS_IN(); 508 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 510 esp = esp + 4; /* 0x250DFC78: add esp, 4 */ 511 _flag_k = FK_ADD; 512 L_250DFC7B: 513 ecx = MEM32(ebp + 0x8); /* 0x250DFC7B: mov ecx, dword ptr [ebp + 8] */ 514 PUSH32(esp, ebx); /* 0x250DFC7E: push ebx */ 515 PUSH32(esp, esi); /* 0x250DFC7F: push esi */ 516 esi = MEM32(ecx); /* 0x250DFC80: mov esi, dword ptr [ecx] */ 517 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 518 ebx = 0; /* 0x250DFC82: xor ebx, ebx */ 519 _cf = 0; 520 _flag_k = FK_TEST; 521 /* test esi, esi */ /* 0x250DFC84: test esi, esi */ 522 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 523 _cf = 0; 524 _flag_k = FK_TEST; 525 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFCDD; /* 0x250DFC86: je 0x250dfcdd */ 526 L_250DFC88: 527 PUSH32(esp, edi); /* 0x250DFC88: push edi */ 528 edi = 0x25238CF4u; /* 0x250DFC89: mov edi, 0x25238cf4 */ 529 L_250DFC8E: 530 ecx = esi; /* 0x250DFC8E: mov ecx, esi */ 531 MEM32(edi + (-0x4)) = esi; /* 0x250DFC90: mov dword ptr [edi - 4], esi */ 532 RECOMP_ICALL(0x250E2EC0u); /* 0x250DFC93: call 0x250e2ec0 */ /* not lifted */ 533 RECOMP_FLAGS_IN(); 534 fp_push(*(float*)&MEM32(0x2524C5C0)); /* 0x250DFC98: fld dword ptr [0x2524c5c0] */ 535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 537 eax = eax + 0x30u; /* 0x250DFC9E: add eax, 0x30 */ 538 _flag_k = FK_ADD; 539 edx = MEM32(eax); /* 0x250DFCA1: mov edx, dword ptr [eax] */ 540 ecx = MEM32(eax + 0x4); /* 0x250DFCA3: mov ecx, dword ptr [eax + 4] */ 541 MEM32(ebp + (-0xC)) = edx; /* 0x250DFCA6: mov dword ptr [ebp - 0xc], edx */ 542 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250DFCA9: fmul dword ptr [ebp - 0xc] */ 543 fp_push(*(float*)&MEM32(0x2524C5D0)); /* 0x250DFCAC: fld dword ptr [0x2524c5d0] */ 544 edx = MEM32(eax + 0x8); /* 0x250DFCB2: mov edx, dword ptr [eax + 8] */ 545 MEM32(ebp + (-0x8)) = ecx; /* 0x250DFCB5: mov dword ptr [ebp - 8], ecx */ 546 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250DFCB8: fmul dword ptr [ebp - 8] */ 547 MEM32(ebp + (-0x4)) = edx; /* 0x250DFCBB: mov dword ptr [ebp - 4], edx */ 548 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 549 ebx = ebx + 1; /* 0x250DFCBE: inc ebx */ 550 _flag_k = FK_INC; 551 { double _v = fp_pop(); _st[0] += _v; } /* 0x250DFCBF: faddp st(1) */ 552 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 554 edi = edi + 8; /* 0x250DFCC1: add edi, 8 */ 555 _flag_k = FK_ADD; 556 fp_push(*(float*)&MEM32(0x2524C5E0)); /* 0x250DFCC4: fld dword ptr [0x2524c5e0] */ 557 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250DFCCA: fmul dword ptr [ebp - 4] */ 558 { double _v = fp_pop(); _st[0] += _v; } /* 0x250DFCCD: faddp st(1) */ 559 { float _v = (float)fp_pop(); *(float*)ADDR(edi + (-0x8)) = _v; } /* 0x250DFCCF: fstp dword ptr [edi - 8] */ 560 esi = MEM32(esi + 0x1B4); /* 0x250DFCD2: mov esi, dword ptr [esi + 0x1b4] */ 561 /* test esi, esi */ /* 0x250DFCD8: test esi, esi */ 562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 563 _cf = 0; 564 _flag_k = FK_TEST; 565 RECOMP_BACKEDGE(); 566 if (TEST_NZ(_flag_a, _flag_b)) goto L_250DFC8E; /* 0x250DFCDA: jne 0x250dfc8e */ 567 L_250DFCDC: 568 edi = POP32_VAL(esp); /* 0x250DFCDC: pop edi */ 569 L_250DFCDD: 570 PUSH32(esp, 0x250D3260u); /* 0x250DFCDD: push 0x250d3260 */ 571 PUSH32(esp, 8); /* 0x250DFCE2: push 8 */ 572 PUSH32(esp, ebx); /* 0x250DFCE4: push ebx */ 573 PUSH32(esp, 0x25238CF0u); /* 0x250DFCE5: push 0x25238cf0 */ 574 MEM32(ebx * 8 + 0x25238CF0) = 0; /* 0x250DFCEA: mov dword ptr [ebx*8 + 0x25238cf0], 0 */ 575 RECOMP_ICALL(MEM32(0x251512B0)); /* 0x250DFCF5: call dword ptr [0x251512b0] */ 576 RECOMP_FLAGS_IN(); 577 ecx = MEM32(ebp + 0x8); /* 0x250DFCFB: mov ecx, dword ptr [ebp + 8] */ 578 eax = MEM32(0x25238CF0); /* 0x250DFCFE: mov eax, dword ptr [0x25238cf0] */ 579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 581 esp = esp + 0x10u; /* 0x250DFD03: add esp, 0x10 */ 582 _flag_k = FK_ADD; 583 MEM32(ecx) = eax; /* 0x250DFD06: mov dword ptr [ecx], eax */ 584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 585 ecx = 0; /* 0x250DFD08: xor ecx, ecx */ 586 _cf = 0; 587 _flag_k = FK_TEST; 588 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 589 ebx = ebx - 1; /* 0x250DFD0A: dec ebx */ 590 _flag_k = FK_DEC; 591 /* test ebx, ebx */ /* 0x250DFD0B: test ebx, ebx */ 592 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 593 _cf = 0; 594 _flag_k = FK_TEST; 595 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFD27; /* 0x250DFD0D: jbe 0x250dfd27 */ 596 L_250DFD0F: 597 eax = 0x25238CF0u; /* 0x250DFD0F: mov eax, 0x25238cf0 */ 598 ecx = ebx; /* 0x250DFD14: mov ecx, ebx */ 599 L_250DFD16: 600 edx = MEM32(eax); /* 0x250DFD16: mov edx, dword ptr [eax] */ 601 esi = MEM32(eax + 0x8); /* 0x250DFD18: mov esi, dword ptr [eax + 8] */ 602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 604 eax = eax + 8; /* 0x250DFD1B: add eax, 8 */ 605 _flag_k = FK_ADD; 606 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 607 ebx = ebx - 1; /* 0x250DFD1E: dec ebx */ 608 _flag_k = FK_DEC; 609 MEM32(edx + 0x1B4) = esi; /* 0x250DFD1F: mov dword ptr [edx + 0x1b4], esi */ 610 RECOMP_BACKEDGE(); 611 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_250DFD16; /* 0x250DFD25: jne 0x250dfd16 */ 612 L_250DFD27: 613 eax = MEM32(ecx * 8 + 0x25238CF0); /* 0x250DFD27: mov eax, dword ptr [ecx*8 + 0x25238cf0] */ 614 esi = POP32_VAL(esp); /* 0x250DFD2E: pop esi */ 615 MEM32(eax + 0x1B4) = 0; /* 0x250DFD2F: mov dword ptr [eax + 0x1b4], 0 */ 616 ebx = POP32_VAL(esp); /* 0x250DFD39: pop ebx */ 617 L_250DFD3A: 618 esp = ebp; /* 0x250DFD3A: mov esp, ebp */ 619 ebp = POP32_VAL(esp); /* 0x250DFD3C: pop ebp */ 620 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DFD3D: ret 4 */ 621 RECOMP_REGS_OUT(); 622 } 623 624 void sub_250DFD40(void) { 625 int _fpu_cmp = 0; 626 uint32_t _cf = 0; 627 int _df = 1; 628 uint32_t _flag_k = FK_NONE; 629 uint32_t _flag_a = 0, _flag_b = 0; 630 uint32_t _itail_tgt = 0; 631 RECOMP_REGS_LOCALS 632 RECOMP_ENTER(0x250DFD40u); 633 634 L_250DFD40: 635 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DFD40: ret */ 636 RECOMP_REGS_OUT(); 637 } 638 639 void sub_250DFD50(void) { 640 int _fpu_cmp = 0; 641 uint32_t _cf = 0; 642 int _df = 1; 643 uint32_t _flag_k = FK_NONE; 644 uint32_t _flag_a = 0, _flag_b = 0; 645 uint32_t _itail_tgt = 0; 646 RECOMP_REGS_LOCALS 647 RECOMP_ENTER(0x250DFD50u); 648 649 L_250DFD50: 650 edx = MEM32(ecx + 0x1C); /* 0x250DFD50: mov edx, dword ptr [ecx + 0x1c] */ 651 eax = ecx + 0xB4; /* 0x250DFD53: lea eax, [ecx + 0xb4] */ 652 MEM32(eax) = edx; /* 0x250DFD59: mov dword ptr [eax], edx */ 653 edx = MEM32(ecx + 0x20); /* 0x250DFD5B: mov edx, dword ptr [ecx + 0x20] */ 654 MEM32(ecx + 0xB8) = edx; /* 0x250DFD5E: mov dword ptr [ecx + 0xb8], edx */ 655 edx = MEM32(ecx + 0x24); /* 0x250DFD64: mov edx, dword ptr [ecx + 0x24] */ 656 MEM32(ecx + 0xBC) = edx; /* 0x250DFD67: mov dword ptr [ecx + 0xbc], edx */ 657 edx = MEM32(ecx + 0x28); /* 0x250DFD6D: mov edx, dword ptr [ecx + 0x28] */ 658 MEM32(ecx + 0xC0) = edx; /* 0x250DFD70: mov dword ptr [ecx + 0xc0], edx */ 659 MEM32(ecx + 0xC4) = 0; /* 0x250DFD76: mov dword ptr [ecx + 0xc4], 0 */ 660 MEM32(ecx + 0xC8) = 0x3F800000u; /* 0x250DFD80: mov dword ptr [ecx + 0xc8], 0x3f800000 */ 661 ecx = MEM32(0x25238B58); /* 0x250DFD8A: mov ecx, dword ptr [0x25238b58] */ 662 PUSH32(esp, eax); /* 0x250DFD90: push eax */ 663 RECOMP_ICALL(0x250F8340u); /* 0x250DFD91: call 0x250f8340 */ /* not lifted */ 664 RECOMP_FLAGS_IN(); 665 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DFD96: ret */ 666 RECOMP_REGS_OUT(); 667 } 668 669 void sub_250DFDA0(void) { 670 int _fpu_cmp = 0; 671 uint32_t _cf = 0; 672 int _df = 1; 673 uint32_t _flag_k = FK_NONE; 674 uint32_t _flag_a = 0, _flag_b = 0; 675 uint32_t _itail_tgt = 0; 676 RECOMP_REGS_LOCALS 677 RECOMP_ENTER(0x250DFDA0u); 678 679 L_250DFDA0: 680 PUSH32(esp, ebp); /* 0x250DFDA0: push ebp */ 681 ebp = esp; /* 0x250DFDA1: mov ebp, esp */ 682 PUSH32(esp, esi); /* 0x250DFDA3: push esi */ 683 PUSH32(esp, edi); /* 0x250DFDA4: push edi */ 684 edi = MEM32(ebp + 0x8); /* 0x250DFDA5: mov edi, dword ptr [ebp + 8] */ 685 /* test edi, edi */ /* 0x250DFDA8: test edi, edi */ 686 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 687 _cf = 0; 688 _flag_k = FK_TEST; 689 esi = ecx; /* 0x250DFDAA: mov esi, ecx */ 690 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFFF6; /* 0x250DFDAC: je 0x250dfff6 */ 691 L_250DFDB2: 692 eax = MEM32(esi + 0x8); /* 0x250DFDB2: mov eax, dword ptr [esi + 8] */ 693 PUSH32(esp, eax); /* 0x250DFDB5: push eax */ 694 ecx = edi; /* 0x250DFDB6: mov ecx, edi */ 695 RECOMP_ICALL(0x250E50E0u); /* 0x250DFDB8: call 0x250e50e0 */ /* not lifted */ 696 RECOMP_FLAGS_IN(); 697 ecx = edi; /* 0x250DFDBD: mov ecx, edi */ 698 RECOMP_ICALL(0x250E6360u); /* 0x250DFDBF: call 0x250e6360 */ /* not lifted */ 699 RECOMP_FLAGS_IN(); 700 fp_push(*(float*)&MEM32(edi + 0x60)); /* 0x250DFDC4: fld dword ptr [edi + 0x60] */ 701 ecx = MEM32(esi + 0x158); /* 0x250DFDC7: mov ecx, dword ptr [esi + 0x158] */ 702 edx = ecx; /* 0x250DFDCD: mov edx, ecx */ 703 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFDCF: shl edx, 4 */ 704 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 705 edx = edx << 4u; /* 0x250DFDCF: shl edx, 4 */ 706 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 708 edx = edx + ecx; /* 0x250DFDD2: add edx, ecx */ 709 _flag_k = FK_ADD; 710 edx = esi + edx * 4; /* 0x250DFDD4: lea edx, [esi + edx*4] */ 711 _st[0] = (double)*(float*)ADDR(edx + 0xDC) - _st[0]; /* 0x250DFDD7: fsubr dword ptr [edx + 0xdc] */ 712 fp_push(_st[0]); /* 0x250DFDDD: fld st(0) */ 713 _st[0] *= _st[1]; /* 0x250DFDDF: fmul st(1) */ 714 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFDE1: fcomp dword ptr [0x25151da0] */ 715 fp_pop(); 716 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFDE7: fnstsw ax */ 717 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFDE9: fstp st(0) */ 718 /* test HI8(eax), 0x41u */ /* 0x250DFDEB: test ah, 0x41 */ 719 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 720 _cf = 0; 721 _flag_k = FK_NARROW(FK_TEST, 24); 722 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFDEE: je 0x250dfef8 */ 723 L_250DFDF4: 724 fp_push(*(float*)&MEM32(edi + 0x48)); /* 0x250DFDF4: fld dword ptr [edi + 0x48] */ 725 _st[0] = (double)*(float*)ADDR(edx + 0x100) - _st[0]; /* 0x250DFDF7: fsubr dword ptr [edx + 0x100] */ 726 fp_push(_st[0]); /* 0x250DFDFD: fld st(0) */ 727 _st[0] *= _st[1]; /* 0x250DFDFF: fmul st(1) */ 728 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFE01: fcomp dword ptr [0x25151da0] */ 729 fp_pop(); 730 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFE07: fnstsw ax */ 731 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFE09: fstp st(0) */ 732 /* test HI8(eax), 0x41u */ /* 0x250DFE0B: test ah, 0x41 */ 733 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 734 _cf = 0; 735 _flag_k = FK_NARROW(FK_TEST, 24); 736 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFE0E: je 0x250dfef8 */ 737 L_250DFE14: 738 fp_push(*(float*)&MEM32(edi + 0x4C)); /* 0x250DFE14: fld dword ptr [edi + 0x4c] */ 739 _st[0] = (double)*(float*)ADDR(edx + 0x104) - _st[0]; /* 0x250DFE17: fsubr dword ptr [edx + 0x104] */ 740 fp_push(_st[0]); /* 0x250DFE1D: fld st(0) */ 741 _st[0] *= _st[1]; /* 0x250DFE1F: fmul st(1) */ 742 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFE21: fcomp dword ptr [0x25151da0] */ 743 fp_pop(); 744 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFE27: fnstsw ax */ 745 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFE29: fstp st(0) */ 746 /* test HI8(eax), 0x41u */ /* 0x250DFE2B: test ah, 0x41 */ 747 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 748 _cf = 0; 749 _flag_k = FK_NARROW(FK_TEST, 24); 750 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFE2E: je 0x250dfef8 */ 751 L_250DFE34: 752 fp_push(*(float*)&MEM32(edi + 0x50)); /* 0x250DFE34: fld dword ptr [edi + 0x50] */ 753 _st[0] = (double)*(float*)ADDR(edx + 0x108) - _st[0]; /* 0x250DFE37: fsubr dword ptr [edx + 0x108] */ 754 fp_push(_st[0]); /* 0x250DFE3D: fld st(0) */ 755 _st[0] *= _st[1]; /* 0x250DFE3F: fmul st(1) */ 756 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFE41: fcomp dword ptr [0x25151da0] */ 757 fp_pop(); 758 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFE47: fnstsw ax */ 759 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFE49: fstp st(0) */ 760 /* test HI8(eax), 0x41u */ /* 0x250DFE4B: test ah, 0x41 */ 761 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 762 _cf = 0; 763 _flag_k = FK_NARROW(FK_TEST, 24); 764 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFE4E: je 0x250dfef8 */ 765 L_250DFE54: 766 fp_push(*(float*)&MEM32(edi + 0x5C)); /* 0x250DFE54: fld dword ptr [edi + 0x5c] */ 767 _st[0] *= (double)*(float*)ADDR(edi + 0x30); /* 0x250DFE57: fmul dword ptr [edi + 0x30] */ 768 _st[0] = (double)*(float*)ADDR(edx + 0xF0) - _st[0]; /* 0x250DFE5A: fsubr dword ptr [edx + 0xf0] */ 769 fp_push(_st[0]); /* 0x250DFE60: fld st(0) */ 770 _st[0] *= _st[1]; /* 0x250DFE62: fmul st(1) */ 771 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFE64: fcomp dword ptr [0x25151da0] */ 772 fp_pop(); 773 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFE6A: fnstsw ax */ 774 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFE6C: fstp st(0) */ 775 /* test HI8(eax), 0x41u */ /* 0x250DFE6E: test ah, 0x41 */ 776 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 777 _cf = 0; 778 _flag_k = FK_NARROW(FK_TEST, 24); 779 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFE71: je 0x250dfef8 */ 780 L_250DFE77: 781 fp_push(*(float*)&MEM32(edi + 0x34)); /* 0x250DFE77: fld dword ptr [edi + 0x34] */ 782 _st[0] *= (double)*(float*)ADDR(edi + 0x5C); /* 0x250DFE7A: fmul dword ptr [edi + 0x5c] */ 783 _st[0] = (double)*(float*)ADDR(edx + 0xF4) - _st[0]; /* 0x250DFE7D: fsubr dword ptr [edx + 0xf4] */ 784 fp_push(_st[0]); /* 0x250DFE83: fld st(0) */ 785 _st[0] *= _st[1]; /* 0x250DFE85: fmul st(1) */ 786 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFE87: fcomp dword ptr [0x25151da0] */ 787 fp_pop(); 788 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFE8D: fnstsw ax */ 789 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFE8F: fstp st(0) */ 790 /* test HI8(eax), 0x41u */ /* 0x250DFE91: test ah, 0x41 */ 791 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 792 _cf = 0; 793 _flag_k = FK_NARROW(FK_TEST, 24); 794 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFE94: je 0x250dfef8 */ 795 L_250DFE96: 796 fp_push(*(float*)&MEM32(edi + 0x38)); /* 0x250DFE96: fld dword ptr [edi + 0x38] */ 797 _st[0] *= (double)*(float*)ADDR(edi + 0x5C); /* 0x250DFE99: fmul dword ptr [edi + 0x5c] */ 798 _st[0] = (double)*(float*)ADDR(edx + 0xF8) - _st[0]; /* 0x250DFE9C: fsubr dword ptr [edx + 0xf8] */ 799 fp_push(_st[0]); /* 0x250DFEA2: fld st(0) */ 800 _st[0] *= _st[1]; /* 0x250DFEA4: fmul st(1) */ 801 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFEA6: fcomp dword ptr [0x25151da0] */ 802 fp_pop(); 803 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFEAC: fnstsw ax */ 804 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFEAE: fstp st(0) */ 805 /* test HI8(eax), 0x41u */ /* 0x250DFEB0: test ah, 0x41 */ 806 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 807 _cf = 0; 808 _flag_k = FK_NARROW(FK_TEST, 24); 809 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFEB3: je 0x250dfef8 */ 810 L_250DFEB5: 811 fp_push(*(float*)&MEM32(edi + 0x5C)); /* 0x250DFEB5: fld dword ptr [edi + 0x5c] */ 812 _st[0] = (double)*(float*)ADDR(edx + 0xFC) - _st[0]; /* 0x250DFEB8: fsubr dword ptr [edx + 0xfc] */ 813 fp_push(_st[0]); /* 0x250DFEBE: fld st(0) */ 814 _st[0] *= _st[1]; /* 0x250DFEC0: fmul st(1) */ 815 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFEC2: fcomp dword ptr [0x25151da0] */ 816 fp_pop(); 817 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFEC8: fnstsw ax */ 818 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFECA: fstp st(0) */ 819 /* test HI8(eax), 0x41u */ /* 0x250DFECC: test ah, 0x41 */ 820 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 821 _cf = 0; 822 _flag_k = FK_NARROW(FK_TEST, 24); 823 if (TEST_Z(_flag_a, _flag_b)) goto L_250DFEF8; /* 0x250DFECF: je 0x250dfef8 */ 824 L_250DFED1: 825 fp_push(*(float*)&MEM32(edi + 0x58)); /* 0x250DFED1: fld dword ptr [edi + 0x58] */ 826 eax = ecx + 0x4; /* 0x250DFED4: lea eax, [ecx + 4] */ 827 edx = eax; /* 0x250DFED7: mov edx, eax */ 828 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFED9: shl edx, 4 */ 829 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 830 edx = edx << 4u; /* 0x250DFED9: shl edx, 4 */ 831 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 833 edx = edx + eax; /* 0x250DFEDC: add edx, eax */ 834 _flag_k = FK_ADD; 835 _st[0] = (double)*(float*)ADDR(esi + edx * 4) - _st[0]; /* 0x250DFEDE: fsubr dword ptr [esi + edx*4] */ 836 fp_push(_st[0]); /* 0x250DFEE1: fld st(0) */ 837 _st[0] *= _st[1]; /* 0x250DFEE3: fmul st(1) */ 838 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250DFEE5: fcomp dword ptr [0x25151da0] */ 839 fp_pop(); 840 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250DFEEB: fnstsw ax */ 841 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250DFEED: fstp st(0) */ 842 /* test HI8(eax), 0x41u */ /* 0x250DFEEF: test ah, 0x41 */ 843 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 844 _cf = 0; 845 _flag_k = FK_NARROW(FK_TEST, 24); 846 if (TEST_NZ(_flag_a, _flag_b)) goto L_250DFFF6; /* 0x250DFEF2: jne 0x250dfff6 */ 847 L_250DFEF8: 848 eax = 1; /* 0x250DFEF8: mov eax, 1 */ 849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 851 eax = eax - ecx; /* 0x250DFEFD: sub eax, ecx */ 852 _flag_k = FK_CMP; 853 MEM32(esi + 0x158) = eax; /* 0x250DFEFF: mov dword ptr [esi + 0x158], eax */ 854 fp_push(*(float*)&MEM32(edi + 0x60)); /* 0x250DFF05: fld dword ptr [edi + 0x60] */ 855 ecx = eax; /* 0x250DFF08: mov ecx, eax */ 856 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250DFF0A: shl ecx, 4 */ 857 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 858 ecx = ecx << 4u; /* 0x250DFF0A: shl ecx, 4 */ 859 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 861 ecx = ecx + eax; /* 0x250DFF0D: add ecx, eax */ 862 _flag_k = FK_ADD; 863 { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx * 4 + 0xDC) = _v; } /* 0x250DFF0F: fstp dword ptr [esi + ecx*4 + 0xdc] */ 864 fp_push(*(float*)&MEM32(edi + 0x48)); /* 0x250DFF16: fld dword ptr [edi + 0x48] */ 865 eax = MEM32(esi + 0x158); /* 0x250DFF19: mov eax, dword ptr [esi + 0x158] */ 866 edx = eax; /* 0x250DFF1F: mov edx, eax */ 867 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFF21: shl edx, 4 */ 868 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 869 edx = edx << 4u; /* 0x250DFF21: shl edx, 4 */ 870 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 872 edx = edx + eax; /* 0x250DFF24: add edx, eax */ 873 _flag_k = FK_ADD; 874 { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx * 4 + 0x100) = _v; } /* 0x250DFF26: fstp dword ptr [esi + edx*4 + 0x100] */ 875 fp_push(*(float*)&MEM32(edi + 0x4C)); /* 0x250DFF2D: fld dword ptr [edi + 0x4c] */ 876 eax = MEM32(esi + 0x158); /* 0x250DFF30: mov eax, dword ptr [esi + 0x158] */ 877 ecx = eax; /* 0x250DFF36: mov ecx, eax */ 878 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250DFF38: shl ecx, 4 */ 879 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 880 ecx = ecx << 4u; /* 0x250DFF38: shl ecx, 4 */ 881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 882 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 883 ecx = ecx + eax; /* 0x250DFF3B: add ecx, eax */ 884 _flag_k = FK_ADD; 885 { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx * 4 + 0x104) = _v; } /* 0x250DFF3D: fstp dword ptr [esi + ecx*4 + 0x104] */ 886 fp_push(*(float*)&MEM32(edi + 0x50)); /* 0x250DFF44: fld dword ptr [edi + 0x50] */ 887 eax = MEM32(esi + 0x158); /* 0x250DFF47: mov eax, dword ptr [esi + 0x158] */ 888 edx = eax; /* 0x250DFF4D: mov edx, eax */ 889 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFF4F: shl edx, 4 */ 890 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 891 edx = edx << 4u; /* 0x250DFF4F: shl edx, 4 */ 892 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 894 edx = edx + eax; /* 0x250DFF52: add edx, eax */ 895 _flag_k = FK_ADD; 896 { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx * 4 + 0x108) = _v; } /* 0x250DFF54: fstp dword ptr [esi + edx*4 + 0x108] */ 897 fp_push(*(float*)&MEM32(edi + 0x5C)); /* 0x250DFF5B: fld dword ptr [edi + 0x5c] */ 898 eax = MEM32(esi + 0x158); /* 0x250DFF5E: mov eax, dword ptr [esi + 0x158] */ 899 ecx = eax; /* 0x250DFF64: mov ecx, eax */ 900 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250DFF66: shl ecx, 4 */ 901 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 902 ecx = ecx << 4u; /* 0x250DFF66: shl ecx, 4 */ 903 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 905 ecx = ecx + eax; /* 0x250DFF69: add ecx, eax */ 906 _flag_k = FK_ADD; 907 _st[0] *= (double)*(float*)ADDR(edi + 0x30); /* 0x250DFF6B: fmul dword ptr [edi + 0x30] */ 908 { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx * 4 + 0xF0) = _v; } /* 0x250DFF6E: fstp dword ptr [esi + ecx*4 + 0xf0] */ 909 eax = MEM32(esi + 0x158); /* 0x250DFF75: mov eax, dword ptr [esi + 0x158] */ 910 fp_push(*(float*)&MEM32(edi + 0x34)); /* 0x250DFF7B: fld dword ptr [edi + 0x34] */ 911 edx = eax; /* 0x250DFF7E: mov edx, eax */ 912 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFF80: shl edx, 4 */ 913 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 914 edx = edx << 4u; /* 0x250DFF80: shl edx, 4 */ 915 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 917 edx = edx + eax; /* 0x250DFF83: add edx, eax */ 918 _flag_k = FK_ADD; 919 _st[0] *= (double)*(float*)ADDR(edi + 0x5C); /* 0x250DFF85: fmul dword ptr [edi + 0x5c] */ 920 { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx * 4 + 0xF4) = _v; } /* 0x250DFF88: fstp dword ptr [esi + edx*4 + 0xf4] */ 921 eax = MEM32(esi + 0x158); /* 0x250DFF8F: mov eax, dword ptr [esi + 0x158] */ 922 fp_push(*(float*)&MEM32(edi + 0x38)); /* 0x250DFF95: fld dword ptr [edi + 0x38] */ 923 ecx = eax; /* 0x250DFF98: mov ecx, eax */ 924 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250DFF9A: shl ecx, 4 */ 925 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 926 ecx = ecx << 4u; /* 0x250DFF9A: shl ecx, 4 */ 927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 928 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 929 ecx = ecx + eax; /* 0x250DFF9D: add ecx, eax */ 930 _flag_k = FK_ADD; 931 _st[0] *= (double)*(float*)ADDR(edi + 0x5C); /* 0x250DFF9F: fmul dword ptr [edi + 0x5c] */ 932 { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx * 4 + 0xF8) = _v; } /* 0x250DFFA2: fstp dword ptr [esi + ecx*4 + 0xf8] */ 933 eax = MEM32(esi + 0x158); /* 0x250DFFA9: mov eax, dword ptr [esi + 0x158] */ 934 fp_push(*(float*)&MEM32(edi + 0x5C)); /* 0x250DFFAF: fld dword ptr [edi + 0x5c] */ 935 edx = eax; /* 0x250DFFB2: mov edx, eax */ 936 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFFB4: shl edx, 4 */ 937 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 938 edx = edx << 4u; /* 0x250DFFB4: shl edx, 4 */ 939 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 941 edx = edx + eax; /* 0x250DFFB7: add edx, eax */ 942 _flag_k = FK_ADD; 943 { float _v = (float)fp_pop(); *(float*)ADDR(esi + edx * 4 + 0xFC) = _v; } /* 0x250DFFB9: fstp dword ptr [esi + edx*4 + 0xfc] */ 944 eax = MEM32(esi + 0x158); /* 0x250DFFC0: mov eax, dword ptr [esi + 0x158] */ 945 fp_push(*(float*)&MEM32(edi + 0x58)); /* 0x250DFFC6: fld dword ptr [edi + 0x58] */ 946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 947 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 948 eax = eax + 4; /* 0x250DFFC9: add eax, 4 */ 949 _flag_k = FK_ADD; 950 ecx = eax; /* 0x250DFFCC: mov ecx, eax */ 951 if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x250DFFCE: shl ecx, 4 */ 952 if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 953 ecx = ecx << 4u; /* 0x250DFFCE: shl ecx, 4 */ 954 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 956 ecx = ecx + eax; /* 0x250DFFD1: add ecx, eax */ 957 _flag_k = FK_ADD; 958 { float _v = (float)fp_pop(); *(float*)ADDR(esi + ecx * 4) = _v; } /* 0x250DFFD3: fstp dword ptr [esi + ecx*4] */ 959 eax = MEM32(esi + 0x158); /* 0x250DFFD6: mov eax, dword ptr [esi + 0x158] */ 960 ecx = MEM32(0x25238B58); /* 0x250DFFDC: mov ecx, dword ptr [0x25238b58] */ 961 edx = eax; /* 0x250DFFE2: mov edx, eax */ 962 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250DFFE4: shl edx, 4 */ 963 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 964 edx = edx << 4u; /* 0x250DFFE4: shl edx, 4 */ 965 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 967 edx = edx + eax; /* 0x250DFFE7: add edx, eax */ 968 _flag_k = FK_ADD; 969 eax = esi + edx * 4 + 0xD0; /* 0x250DFFE9: lea eax, [esi + edx*4 + 0xd0] */ 970 PUSH32(esp, eax); /* 0x250DFFF0: push eax */ 971 RECOMP_ICALL(0x250E9140u); /* 0x250DFFF1: call 0x250e9140 */ /* not lifted */ 972 RECOMP_FLAGS_IN(); 973 L_250DFFF6: 974 ecx = MEM32(esi + 0x10); /* 0x250DFFF6: mov ecx, dword ptr [esi + 0x10] */ 975 /* test ecx, ecx */ /* 0x250DFFF9: test ecx, ecx */ 976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 977 _cf = 0; 978 _flag_k = FK_TEST; 979 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0002; /* 0x250DFFFB: je 0x250e0002 */ 980 L_250DFFFD: 981 RECOMP_ICALL(0x250E6370u); /* 0x250DFFFD: call 0x250e6370 */ /* not lifted */ 982 RECOMP_FLAGS_IN(); 983 L_250E0002: 984 MEM32(esi + 0x10) = edi; /* 0x250E0002: mov dword ptr [esi + 0x10], edi */ 985 edi = POP32_VAL(esp); /* 0x250E0005: pop edi */ 986 esi = POP32_VAL(esp); /* 0x250E0006: pop esi */ 987 ebp = POP32_VAL(esp); /* 0x250E0007: pop ebp */ 988 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0008: ret 4 */ 989 RECOMP_REGS_OUT(); 990 } 991 992 void sub_250E0010(void) { 993 int _fpu_cmp = 0; 994 uint32_t _cf = 0; 995 int _df = 1; 996 uint32_t _flag_k = FK_NONE; 997 uint32_t _flag_a = 0, _flag_b = 0; 998 uint32_t _itail_tgt = 0; 999 RECOMP_REGS_LOCALS 1000 RECOMP_ENTER(0x250E0010u); 1001 1002 L_250E0010: 1003 PUSH32(esp, ebp); /* 0x250E0010: push ebp */ 1004 ebp = esp; /* 0x250E0011: mov ebp, esp */ 1005 edx = MEM32(ebp + 0x8); /* 0x250E0013: mov edx, dword ptr [ebp + 8] */ 1006 /* test edx, edx */ /* 0x250E0016: test edx, edx */ 1007 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1008 _cf = 0; 1009 _flag_k = FK_TEST; 1010 PUSH32(esp, esi); /* 0x250E0018: push esi */ 1011 PUSH32(esp, edi); /* 0x250E0019: push edi */ 1012 if (TEST_Z(_flag_a, _flag_b)) goto L_250E023D; /* 0x250E001A: je 0x250e023d */ 1013 L_250E0020: 1014 esi = MEM32(ecx + 0x158); /* 0x250E0020: mov esi, dword ptr [ecx + 0x158] */ 1015 eax = esi; /* 0x250E0026: mov eax, esi */ 1016 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x250E0028: shl eax, 4 */ 1017 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1018 eax = eax << 4u; /* 0x250E0028: shl eax, 4 */ 1019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1021 eax = eax + esi; /* 0x250E002B: add eax, esi */ 1022 _flag_k = FK_ADD; 1023 fp_push(*(float*)&MEM32(ecx + eax * 4 + 0xDC)); /* 0x250E002D: fld dword ptr [ecx + eax*4 + 0xdc] */ 1024 edi = ecx + eax * 4; /* 0x250E0034: lea edi, [ecx + eax*4] */ 1025 _st[0] -= (double)*(float*)ADDR(edx + 0xC); /* 0x250E0037: fsub dword ptr [edx + 0xc] */ 1026 fp_push(_st[0]); /* 0x250E003A: fld st(0) */ 1027 _st[0] *= _st[1]; /* 0x250E003C: fmul st(1) */ 1028 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E003E: fcomp dword ptr [0x25151da0] */ 1029 fp_pop(); 1030 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0044: fnstsw ax */ 1031 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E0046: fstp st(0) */ 1032 /* test HI8(eax), 0x41u */ /* 0x250E0048: test ah, 0x41 */ 1033 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1034 _cf = 0; 1035 _flag_k = FK_NARROW(FK_TEST, 24); 1036 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E004B: je 0x250e0148 */ 1037 L_250E0051: 1038 fp_push(*(float*)&MEM32(edi + 0x100)); /* 0x250E0051: fld dword ptr [edi + 0x100] */ 1039 _st[0] -= (double)*(float*)ADDR(edx + 0x30); /* 0x250E0057: fsub dword ptr [edx + 0x30] */ 1040 fp_push(_st[0]); /* 0x250E005A: fld st(0) */ 1041 _st[0] *= _st[1]; /* 0x250E005C: fmul st(1) */ 1042 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E005E: fcomp dword ptr [0x25151da0] */ 1043 fp_pop(); 1044 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0064: fnstsw ax */ 1045 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E0066: fstp st(0) */ 1046 /* test HI8(eax), 0x41u */ /* 0x250E0068: test ah, 0x41 */ 1047 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1048 _cf = 0; 1049 _flag_k = FK_NARROW(FK_TEST, 24); 1050 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E006B: je 0x250e0148 */ 1051 L_250E0071: 1052 fp_push(*(float*)&MEM32(edi + 0x104)); /* 0x250E0071: fld dword ptr [edi + 0x104] */ 1053 _st[0] -= (double)*(float*)ADDR(edx + 0x34); /* 0x250E0077: fsub dword ptr [edx + 0x34] */ 1054 fp_push(_st[0]); /* 0x250E007A: fld st(0) */ 1055 _st[0] *= _st[1]; /* 0x250E007C: fmul st(1) */ 1056 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E007E: fcomp dword ptr [0x25151da0] */ 1057 fp_pop(); 1058 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0084: fnstsw ax */ 1059 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E0086: fstp st(0) */ 1060 /* test HI8(eax), 0x41u */ /* 0x250E0088: test ah, 0x41 */ 1061 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1062 _cf = 0; 1063 _flag_k = FK_NARROW(FK_TEST, 24); 1064 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E008B: je 0x250e0148 */ 1065 L_250E0091: 1066 fp_push(*(float*)&MEM32(edi + 0x108)); /* 0x250E0091: fld dword ptr [edi + 0x108] */ 1067 _st[0] -= (double)*(float*)ADDR(edx + 0x38); /* 0x250E0097: fsub dword ptr [edx + 0x38] */ 1068 fp_push(_st[0]); /* 0x250E009A: fld st(0) */ 1069 _st[0] *= _st[1]; /* 0x250E009C: fmul st(1) */ 1070 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E009E: fcomp dword ptr [0x25151da0] */ 1071 fp_pop(); 1072 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E00A4: fnstsw ax */ 1073 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E00A6: fstp st(0) */ 1074 /* test HI8(eax), 0x41u */ /* 0x250E00A8: test ah, 0x41 */ 1075 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1076 _cf = 0; 1077 _flag_k = FK_NARROW(FK_TEST, 24); 1078 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E00AB: je 0x250e0148 */ 1079 L_250E00B1: 1080 fp_push(*(float*)&MEM32(edi + 0xF0)); /* 0x250E00B1: fld dword ptr [edi + 0xf0] */ 1081 _st[0] -= (double)*(float*)ADDR(edx + 0x20); /* 0x250E00B7: fsub dword ptr [edx + 0x20] */ 1082 fp_push(_st[0]); /* 0x250E00BA: fld st(0) */ 1083 _st[0] *= _st[1]; /* 0x250E00BC: fmul st(1) */ 1084 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E00BE: fcomp dword ptr [0x25151da0] */ 1085 fp_pop(); 1086 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E00C4: fnstsw ax */ 1087 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E00C6: fstp st(0) */ 1088 /* test HI8(eax), 0x41u */ /* 0x250E00C8: test ah, 0x41 */ 1089 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1090 _cf = 0; 1091 _flag_k = FK_NARROW(FK_TEST, 24); 1092 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E00CB: je 0x250e0148 */ 1093 L_250E00CD: 1094 fp_push(*(float*)&MEM32(edi + 0xF4)); /* 0x250E00CD: fld dword ptr [edi + 0xf4] */ 1095 _st[0] -= (double)*(float*)ADDR(edx + 0x24); /* 0x250E00D3: fsub dword ptr [edx + 0x24] */ 1096 fp_push(_st[0]); /* 0x250E00D6: fld st(0) */ 1097 _st[0] *= _st[1]; /* 0x250E00D8: fmul st(1) */ 1098 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E00DA: fcomp dword ptr [0x25151da0] */ 1099 fp_pop(); 1100 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E00E0: fnstsw ax */ 1101 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E00E2: fstp st(0) */ 1102 /* test HI8(eax), 0x41u */ /* 0x250E00E4: test ah, 0x41 */ 1103 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1104 _cf = 0; 1105 _flag_k = FK_NARROW(FK_TEST, 24); 1106 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E00E7: je 0x250e0148 */ 1107 L_250E00E9: 1108 fp_push(*(float*)&MEM32(edi + 0xF8)); /* 0x250E00E9: fld dword ptr [edi + 0xf8] */ 1109 _st[0] -= (double)*(float*)ADDR(edx + 0x28); /* 0x250E00EF: fsub dword ptr [edx + 0x28] */ 1110 fp_push(_st[0]); /* 0x250E00F2: fld st(0) */ 1111 _st[0] *= _st[1]; /* 0x250E00F4: fmul st(1) */ 1112 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E00F6: fcomp dword ptr [0x25151da0] */ 1113 fp_pop(); 1114 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E00FC: fnstsw ax */ 1115 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E00FE: fstp st(0) */ 1116 /* test HI8(eax), 0x41u */ /* 0x250E0100: test ah, 0x41 */ 1117 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1118 _cf = 0; 1119 _flag_k = FK_NARROW(FK_TEST, 24); 1120 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E0103: je 0x250e0148 */ 1121 L_250E0105: 1122 fp_push(*(float*)&MEM32(edi + 0xFC)); /* 0x250E0105: fld dword ptr [edi + 0xfc] */ 1123 _st[0] -= (double)*(float*)ADDR(edx + 0x2C); /* 0x250E010B: fsub dword ptr [edx + 0x2c] */ 1124 fp_push(_st[0]); /* 0x250E010E: fld st(0) */ 1125 _st[0] *= _st[1]; /* 0x250E0110: fmul st(1) */ 1126 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E0112: fcomp dword ptr [0x25151da0] */ 1127 fp_pop(); 1128 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0118: fnstsw ax */ 1129 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E011A: fstp st(0) */ 1130 /* test HI8(eax), 0x41u */ /* 0x250E011C: test ah, 0x41 */ 1131 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1132 _cf = 0; 1133 _flag_k = FK_NARROW(FK_TEST, 24); 1134 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0148; /* 0x250E011F: je 0x250e0148 */ 1135 L_250E0121: 1136 eax = esi + 0x4; /* 0x250E0121: lea eax, [esi + 4] */ 1137 edi = eax; /* 0x250E0124: mov edi, eax */ 1138 if (4u) _cf = (((edi) >> 28) & 1u); /* 0x250E0126: shl edi, 4 */ 1139 if (4u) { _flag_a = recomp_flags_pack((edi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1140 edi = edi << 4u; /* 0x250E0126: shl edi, 4 */ 1141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1142 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1143 edi = edi + eax; /* 0x250E0129: add edi, eax */ 1144 _flag_k = FK_ADD; 1145 fp_push(*(float*)&MEM32(ecx + edi * 4)); /* 0x250E012B: fld dword ptr [ecx + edi*4] */ 1146 _st[0] -= (double)*(float*)ADDR(edx + 0x40); /* 0x250E012E: fsub dword ptr [edx + 0x40] */ 1147 fp_push(_st[0]); /* 0x250E0131: fld st(0) */ 1148 _st[0] *= _st[1]; /* 0x250E0133: fmul st(1) */ 1149 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x25151DA0)); /* 0x250E0135: fcomp dword ptr [0x25151da0] */ 1150 fp_pop(); 1151 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E013B: fnstsw ax */ 1152 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E013D: fstp st(0) */ 1153 /* test HI8(eax), 0x41u */ /* 0x250E013F: test ah, 0x41 */ 1154 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1155 _cf = 0; 1156 _flag_k = FK_NARROW(FK_TEST, 24); 1157 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E023D; /* 0x250E0142: jne 0x250e023d */ 1158 L_250E0148: 1159 eax = 1; /* 0x250E0148: mov eax, 1 */ 1160 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1162 eax = eax - esi; /* 0x250E014D: sub eax, esi */ 1163 _flag_k = FK_CMP; 1164 MEM32(ecx + 0x158) = eax; /* 0x250E014F: mov dword ptr [ecx + 0x158], eax */ 1165 esi = eax; /* 0x250E0155: mov esi, eax */ 1166 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E0157: shl esi, 4 */ 1167 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1168 esi = esi << 4u; /* 0x250E0157: shl esi, 4 */ 1169 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1171 esi = esi + eax; /* 0x250E015A: add esi, eax */ 1172 _flag_k = FK_ADD; 1173 eax = MEM32(edx + 0xC); /* 0x250E015C: mov eax, dword ptr [edx + 0xc] */ 1174 MEM32(ecx + esi * 4 + 0xDC) = eax; /* 0x250E015F: mov dword ptr [ecx + esi*4 + 0xdc], eax */ 1175 eax = MEM32(ecx + 0x158); /* 0x250E0166: mov eax, dword ptr [ecx + 0x158] */ 1176 esi = eax; /* 0x250E016C: mov esi, eax */ 1177 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E016E: shl esi, 4 */ 1178 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1179 esi = esi << 4u; /* 0x250E016E: shl esi, 4 */ 1180 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1181 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1182 esi = esi + eax; /* 0x250E0171: add esi, eax */ 1183 _flag_k = FK_ADD; 1184 eax = MEM32(edx + 0x30); /* 0x250E0173: mov eax, dword ptr [edx + 0x30] */ 1185 MEM32(ecx + esi * 4 + 0x100) = eax; /* 0x250E0176: mov dword ptr [ecx + esi*4 + 0x100], eax */ 1186 eax = MEM32(ecx + 0x158); /* 0x250E017D: mov eax, dword ptr [ecx + 0x158] */ 1187 esi = eax; /* 0x250E0183: mov esi, eax */ 1188 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E0185: shl esi, 4 */ 1189 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1190 esi = esi << 4u; /* 0x250E0185: shl esi, 4 */ 1191 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1193 esi = esi + eax; /* 0x250E0188: add esi, eax */ 1194 _flag_k = FK_ADD; 1195 eax = MEM32(edx + 0x34); /* 0x250E018A: mov eax, dword ptr [edx + 0x34] */ 1196 MEM32(ecx + esi * 4 + 0x104) = eax; /* 0x250E018D: mov dword ptr [ecx + esi*4 + 0x104], eax */ 1197 eax = MEM32(ecx + 0x158); /* 0x250E0194: mov eax, dword ptr [ecx + 0x158] */ 1198 esi = eax; /* 0x250E019A: mov esi, eax */ 1199 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E019C: shl esi, 4 */ 1200 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1201 esi = esi << 4u; /* 0x250E019C: shl esi, 4 */ 1202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1204 esi = esi + eax; /* 0x250E019F: add esi, eax */ 1205 _flag_k = FK_ADD; 1206 eax = MEM32(edx + 0x38); /* 0x250E01A1: mov eax, dword ptr [edx + 0x38] */ 1207 MEM32(ecx + esi * 4 + 0x108) = eax; /* 0x250E01A4: mov dword ptr [ecx + esi*4 + 0x108], eax */ 1208 eax = MEM32(ecx + 0x158); /* 0x250E01AB: mov eax, dword ptr [ecx + 0x158] */ 1209 esi = eax; /* 0x250E01B1: mov esi, eax */ 1210 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E01B3: shl esi, 4 */ 1211 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1212 esi = esi << 4u; /* 0x250E01B3: shl esi, 4 */ 1213 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1215 esi = esi + eax; /* 0x250E01B6: add esi, eax */ 1216 _flag_k = FK_ADD; 1217 eax = MEM32(edx + 0x20); /* 0x250E01B8: mov eax, dword ptr [edx + 0x20] */ 1218 MEM32(ecx + esi * 4 + 0xF0) = eax; /* 0x250E01BB: mov dword ptr [ecx + esi*4 + 0xf0], eax */ 1219 eax = MEM32(ecx + 0x158); /* 0x250E01C2: mov eax, dword ptr [ecx + 0x158] */ 1220 esi = eax; /* 0x250E01C8: mov esi, eax */ 1221 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E01CA: shl esi, 4 */ 1222 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1223 esi = esi << 4u; /* 0x250E01CA: shl esi, 4 */ 1224 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1226 esi = esi + eax; /* 0x250E01CD: add esi, eax */ 1227 _flag_k = FK_ADD; 1228 eax = MEM32(edx + 0x24); /* 0x250E01CF: mov eax, dword ptr [edx + 0x24] */ 1229 MEM32(ecx + esi * 4 + 0xF4) = eax; /* 0x250E01D2: mov dword ptr [ecx + esi*4 + 0xf4], eax */ 1230 eax = MEM32(ecx + 0x158); /* 0x250E01D9: mov eax, dword ptr [ecx + 0x158] */ 1231 esi = eax; /* 0x250E01DF: mov esi, eax */ 1232 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E01E1: shl esi, 4 */ 1233 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1234 esi = esi << 4u; /* 0x250E01E1: shl esi, 4 */ 1235 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1237 esi = esi + eax; /* 0x250E01E4: add esi, eax */ 1238 _flag_k = FK_ADD; 1239 eax = MEM32(edx + 0x28); /* 0x250E01E6: mov eax, dword ptr [edx + 0x28] */ 1240 MEM32(ecx + esi * 4 + 0xF8) = eax; /* 0x250E01E9: mov dword ptr [ecx + esi*4 + 0xf8], eax */ 1241 eax = MEM32(ecx + 0x158); /* 0x250E01F0: mov eax, dword ptr [ecx + 0x158] */ 1242 esi = eax; /* 0x250E01F6: mov esi, eax */ 1243 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E01F8: shl esi, 4 */ 1244 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1245 esi = esi << 4u; /* 0x250E01F8: shl esi, 4 */ 1246 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1248 esi = esi + eax; /* 0x250E01FB: add esi, eax */ 1249 _flag_k = FK_ADD; 1250 eax = MEM32(edx + 0x2C); /* 0x250E01FD: mov eax, dword ptr [edx + 0x2c] */ 1251 MEM32(ecx + esi * 4 + 0xFC) = eax; /* 0x250E0200: mov dword ptr [ecx + esi*4 + 0xfc], eax */ 1252 eax = MEM32(ecx + 0x158); /* 0x250E0207: mov eax, dword ptr [ecx + 0x158] */ 1253 edx = MEM32(edx + 0x40); /* 0x250E020D: mov edx, dword ptr [edx + 0x40] */ 1254 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1255 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1256 eax = eax + 4; /* 0x250E0210: add eax, 4 */ 1257 _flag_k = FK_ADD; 1258 esi = eax; /* 0x250E0213: mov esi, eax */ 1259 if (4u) _cf = (((esi) >> 28) & 1u); /* 0x250E0215: shl esi, 4 */ 1260 if (4u) { _flag_a = recomp_flags_pack((esi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1261 esi = esi << 4u; /* 0x250E0215: shl esi, 4 */ 1262 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1263 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1264 esi = esi + eax; /* 0x250E0218: add esi, eax */ 1265 _flag_k = FK_ADD; 1266 MEM32(ecx + esi * 4) = edx; /* 0x250E021A: mov dword ptr [ecx + esi*4], edx */ 1267 eax = MEM32(ecx + 0x158); /* 0x250E021D: mov eax, dword ptr [ecx + 0x158] */ 1268 edx = eax; /* 0x250E0223: mov edx, eax */ 1269 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x250E0225: shl edx, 4 */ 1270 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1271 edx = edx << 4u; /* 0x250E0225: shl edx, 4 */ 1272 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1273 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1274 edx = edx + eax; /* 0x250E0228: add edx, eax */ 1275 _flag_k = FK_ADD; 1276 eax = ecx + edx * 4 + 0xD0; /* 0x250E022A: lea eax, [ecx + edx*4 + 0xd0] */ 1277 ecx = MEM32(0x25238B58); /* 0x250E0231: mov ecx, dword ptr [0x25238b58] */ 1278 PUSH32(esp, eax); /* 0x250E0237: push eax */ 1279 RECOMP_ICALL(0x250E9140u); /* 0x250E0238: call 0x250e9140 */ /* not lifted */ 1280 RECOMP_FLAGS_IN(); 1281 L_250E023D: 1282 edi = POP32_VAL(esp); /* 0x250E023D: pop edi */ 1283 esi = POP32_VAL(esp); /* 0x250E023E: pop esi */ 1284 ebp = POP32_VAL(esp); /* 0x250E023F: pop ebp */ 1285 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0240: ret 4 */ 1286 RECOMP_REGS_OUT(); 1287 } 1288 1289 void sub_250E0250(void) { 1290 int _fpu_cmp = 0; 1291 uint32_t _cf = 0; 1292 int _df = 1; 1293 uint32_t _flag_k = FK_NONE; 1294 uint32_t _flag_a = 0, _flag_b = 0; 1295 uint32_t _itail_tgt = 0; 1296 RECOMP_REGS_LOCALS 1297 RECOMP_ENTER(0x250E0250u); 1298 1299 L_250E0250: 1300 PUSH32(esp, ebx); /* 0x250E0250: push ebx */ 1301 PUSH32(esp, esi); /* 0x250E0251: push esi */ 1302 esi = ecx; /* 0x250E0252: mov esi, ecx */ 1303 PUSH32(esp, edi); /* 0x250E0254: push edi */ 1304 edi = 0x3F800000u; /* 0x250E0255: mov edi, 0x3f800000 */ 1305 eax = esi + 0xD0; /* 0x250E025A: lea eax, [esi + 0xd0] */ 1306 MEM32(eax) = edi; /* 0x250E0260: mov dword ptr [eax], edi */ 1307 MEM32(esi + 0xD4) = edi; /* 0x250E0262: mov dword ptr [esi + 0xd4], edi */ 1308 ecx = 0x3F0147AEu; /* 0x250E0268: mov ecx, 0x3f0147ae */ 1309 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1310 ebx = 0; /* 0x250E026D: xor ebx, ebx */ 1311 _cf = 0; 1312 _flag_k = FK_TEST; 1313 MEM32(esi + 0xD8) = edi; /* 0x250E026F: mov dword ptr [esi + 0xd8], edi */ 1314 MEM32(esi + 0xDC) = edi; /* 0x250E0275: mov dword ptr [esi + 0xdc], edi */ 1315 MEM32(esi + 0xE0) = edi; /* 0x250E027B: mov dword ptr [esi + 0xe0], edi */ 1316 MEM32(esi + 0xE4) = edi; /* 0x250E0281: mov dword ptr [esi + 0xe4], edi */ 1317 MEM32(esi + 0xE8) = edi; /* 0x250E0287: mov dword ptr [esi + 0xe8], edi */ 1318 MEM32(esi + 0xEC) = edi; /* 0x250E028D: mov dword ptr [esi + 0xec], edi */ 1319 MEM32(esi + 0xF0) = ecx; /* 0x250E0293: mov dword ptr [esi + 0xf0], ecx */ 1320 MEM32(esi + 0xF4) = ecx; /* 0x250E0299: mov dword ptr [esi + 0xf4], ecx */ 1321 MEM32(esi + 0xF8) = ecx; /* 0x250E029F: mov dword ptr [esi + 0xf8], ecx */ 1322 MEM32(esi + 0xFC) = edi; /* 0x250E02A5: mov dword ptr [esi + 0xfc], edi */ 1323 MEM32(esi + 0x100) = ebx; /* 0x250E02AB: mov dword ptr [esi + 0x100], ebx */ 1324 MEM32(esi + 0x104) = ebx; /* 0x250E02B1: mov dword ptr [esi + 0x104], ebx */ 1325 MEM32(esi + 0x108) = ebx; /* 0x250E02B7: mov dword ptr [esi + 0x108], ebx */ 1326 MEM32(esi + 0x10C) = edi; /* 0x250E02BD: mov dword ptr [esi + 0x10c], edi */ 1327 MEM32(esi + 0x110) = 0x41200000u; /* 0x250E02C3: mov dword ptr [esi + 0x110], 0x41200000 */ 1328 MEM32(esi + 0x158) = ebx; /* 0x250E02CD: mov dword ptr [esi + 0x158], ebx */ 1329 ecx = MEM32(0x25238B58); /* 0x250E02D3: mov ecx, dword ptr [0x25238b58] */ 1330 PUSH32(esp, eax); /* 0x250E02D9: push eax */ 1331 RECOMP_ICALL(0x250E9140u); /* 0x250E02DA: call 0x250e9140 */ /* not lifted */ 1332 RECOMP_FLAGS_IN(); 1333 eax = 0x3F0147AEu; /* 0x250E02DF: mov eax, 0x3f0147ae */ 1334 MEM32(esi + 0x114) = edi; /* 0x250E02E4: mov dword ptr [esi + 0x114], edi */ 1335 MEM32(esi + 0x118) = edi; /* 0x250E02EA: mov dword ptr [esi + 0x118], edi */ 1336 MEM32(esi + 0x11C) = edi; /* 0x250E02F0: mov dword ptr [esi + 0x11c], edi */ 1337 MEM32(esi + 0x120) = edi; /* 0x250E02F6: mov dword ptr [esi + 0x120], edi */ 1338 MEM32(esi + 0x124) = edi; /* 0x250E02FC: mov dword ptr [esi + 0x124], edi */ 1339 MEM32(esi + 0x128) = edi; /* 0x250E0302: mov dword ptr [esi + 0x128], edi */ 1340 MEM32(esi + 0x12C) = edi; /* 0x250E0308: mov dword ptr [esi + 0x12c], edi */ 1341 MEM32(esi + 0x130) = edi; /* 0x250E030E: mov dword ptr [esi + 0x130], edi */ 1342 MEM32(esi + 0x140) = edi; /* 0x250E0314: mov dword ptr [esi + 0x140], edi */ 1343 MEM32(esi + 0x150) = edi; /* 0x250E031A: mov dword ptr [esi + 0x150], edi */ 1344 edi = POP32_VAL(esp); /* 0x250E0320: pop edi */ 1345 MEM32(esi + 0x144) = ebx; /* 0x250E0321: mov dword ptr [esi + 0x144], ebx */ 1346 MEM32(esi + 0x148) = ebx; /* 0x250E0327: mov dword ptr [esi + 0x148], ebx */ 1347 MEM32(esi + 0x14C) = ebx; /* 0x250E032D: mov dword ptr [esi + 0x14c], ebx */ 1348 MEM32(esi + 0x134) = eax; /* 0x250E0333: mov dword ptr [esi + 0x134], eax */ 1349 MEM32(esi + 0x138) = eax; /* 0x250E0339: mov dword ptr [esi + 0x138], eax */ 1350 MEM32(esi + 0x13C) = eax; /* 0x250E033F: mov dword ptr [esi + 0x13c], eax */ 1351 MEM32(esi + 0x154) = 0x41200000u; /* 0x250E0345: mov dword ptr [esi + 0x154], 0x41200000 */ 1352 esi = POP32_VAL(esp); /* 0x250E034F: pop esi */ 1353 ebx = POP32_VAL(esp); /* 0x250E0350: pop ebx */ 1354 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0351: ret */ 1355 RECOMP_REGS_OUT(); 1356 } 1357 1358 void sub_250E0360(void) { 1359 int _fpu_cmp = 0; 1360 uint32_t _cf = 0; 1361 int _df = 1; 1362 uint32_t _flag_k = FK_NONE; 1363 uint32_t _flag_a = 0, _flag_b = 0; 1364 uint32_t _itail_tgt = 0; 1365 RECOMP_REGS_LOCALS 1366 RECOMP_ENTER(0x250E0360u); 1367 1368 L_250E0360: 1369 PUSH32(esp, esi); /* 0x250E0360: push esi */ 1370 esi = ecx; /* 0x250E0361: mov esi, ecx */ 1371 ecx = MEM32(esi + 0x10); /* 0x250E0363: mov ecx, dword ptr [esi + 0x10] */ 1372 /* test ecx, ecx */ /* 0x250E0366: test ecx, ecx */ 1373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1374 _cf = 0; 1375 _flag_k = FK_TEST; 1376 if (TEST_Z(_flag_a, _flag_b)) goto L_250E037B; /* 0x250E0368: je 0x250e037b */ 1377 L_250E036A: 1378 eax = MEM32(esi + 0x8); /* 0x250E036A: mov eax, dword ptr [esi + 8] */ 1379 PUSH32(esp, eax); /* 0x250E036D: push eax */ 1380 RECOMP_ICALL(0x250E5110u); /* 0x250E036E: call 0x250e5110 */ /* not lifted */ 1381 RECOMP_FLAGS_IN(); 1382 ecx = MEM32(esi + 0x10); /* 0x250E0373: mov ecx, dword ptr [esi + 0x10] */ 1383 RECOMP_ICALL(0x250E6370u); /* 0x250E0376: call 0x250e6370 */ /* not lifted */ 1384 RECOMP_FLAGS_IN(); 1385 L_250E037B: 1386 MEM32(esi + 0x10) = 0; /* 0x250E037B: mov dword ptr [esi + 0x10], 0 */ 1387 esi = POP32_VAL(esp); /* 0x250E0382: pop esi */ 1388 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0383: ret */ 1389 RECOMP_REGS_OUT(); 1390 } 1391 1392 void sub_250E0390(void) { 1393 int _fpu_cmp = 0; 1394 uint32_t _cf = 0; 1395 int _df = 1; 1396 uint32_t _flag_k = FK_NONE; 1397 uint32_t _flag_a = 0, _flag_b = 0; 1398 uint32_t _itail_tgt = 0; 1399 RECOMP_REGS_LOCALS 1400 RECOMP_ENTER(0x250E0390u); 1401 1402 L_250E0390: 1403 PUSH32(esp, ebp); /* 0x250E0390: push ebp */ 1404 ebp = esp; /* 0x250E0391: mov ebp, esp */ 1405 PUSH32(esp, ecx); /* 0x250E0393: push ecx */ 1406 PUSH32(esp, ebx); /* 0x250E0394: push ebx */ 1407 PUSH32(esp, esi); /* 0x250E0395: push esi */ 1408 esi = MEM32(0x25238B94); /* 0x250E0396: mov esi, dword ptr [0x25238b94] */ 1409 PUSH32(esp, edi); /* 0x250E039C: push edi */ 1410 edi = MEM32(ebp + 0x8); /* 0x250E039D: mov edi, dword ptr [ebp + 8] */ 1411 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 1412 SET_LO8(ebx, 0); /* 0x250E03A0: xor bl, bl */ 1413 _cf = 0; 1414 _flag_k = FK_NARROW(FK_TEST, 24); 1415 /* test edi, edi */ /* 0x250E03A2: test edi, edi */ 1416 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1417 _cf = 0; 1418 _flag_k = FK_TEST; 1419 MEM32(ebp + (-0x4)) = ecx; /* 0x250E03A4: mov dword ptr [ebp - 4], ecx */ 1420 if (TEST_Z(_flag_a, _flag_b)) goto L_250E03AB; /* 0x250E03A7: je 0x250e03ab */ 1421 L_250E03A9: 1422 MEM8(edi) = (uint8_t)(LO8(ebx)); /* 0x250E03A9: mov byte ptr [edi], bl */ 1423 L_250E03AB: 1424 ecx = esi; /* 0x250E03AB: mov ecx, esi */ 1425 RECOMP_ICALL(0x250D5F10u); /* 0x250E03AD: call 0x250d5f10 */ /* not lifted */ 1426 RECOMP_FLAGS_IN(); 1427 eax = MEM32(eax); /* 0x250E03B2: mov eax, dword ptr [eax] */ 1428 ecx = MEM32(0x25238B58); /* 0x250E03B4: mov ecx, dword ptr [0x25238b58] */ 1429 PUSH32(esp, eax); /* 0x250E03BA: push eax */ 1430 RECOMP_ICALL(0x250D2410u); /* 0x250E03BB: call 0x250d2410 */ /* not lifted */ 1431 RECOMP_FLAGS_IN(); 1432 /* cmp eax, 0x887601C2u */ /* 0x250E03C0: cmp eax, 0x887601c2 */ 1433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x887601C2u); 1434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1435 _flag_k = FK_CMP; 1436 ecx = esi; /* 0x250E03C5: mov ecx, esi */ 1437 if (CMP_NE(_flag_a, _flag_b)) goto L_250E03F4; /* 0x250E03C7: jne 0x250e03f4 */ 1438 L_250E03C9: 1439 RECOMP_ICALL(0x250D5F10u); /* 0x250E03C9: call 0x250d5f10 */ /* not lifted */ 1440 RECOMP_FLAGS_IN(); 1441 ecx = esi; /* 0x250E03CE: mov ecx, esi */ 1442 SET_LO8(ebx, 1); /* 0x250E03D0: mov bl, 1 */ 1443 RECOMP_ICALL(0x250D5F10u); /* 0x250E03D2: call 0x250d5f10 */ /* not lifted */ 1444 RECOMP_FLAGS_IN(); 1445 eax = MEM32(eax); /* 0x250E03D7: mov eax, dword ptr [eax] */ 1446 ecx = MEM32(0x25238B58); /* 0x250E03D9: mov ecx, dword ptr [0x25238b58] */ 1447 PUSH32(esp, eax); /* 0x250E03DF: push eax */ 1448 RECOMP_ICALL(0x250D2420u); /* 0x250E03E0: call 0x250d2420 */ /* not lifted */ 1449 RECOMP_FLAGS_IN(); 1450 ecx = esi; /* 0x250E03E5: mov ecx, esi */ 1451 RECOMP_ICALL(0x250D5F10u); /* 0x250E03E7: call 0x250d5f10 */ /* not lifted */ 1452 RECOMP_FLAGS_IN(); 1453 /* test edi, edi */ /* 0x250E03EC: test edi, edi */ 1454 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1455 _cf = 0; 1456 _flag_k = FK_TEST; 1457 if (TEST_Z(_flag_a, _flag_b)) goto L_250E03F9; /* 0x250E03EE: je 0x250e03f9 */ 1458 L_250E03F0: 1459 MEM8(edi) = (uint8_t)(LO8(ebx)); /* 0x250E03F0: mov byte ptr [edi], bl */ 1460 goto L_250E03F9; /* 0x250E03F2: jmp 0x250e03f9 */ 1461 L_250E03F4: 1462 RECOMP_ICALL(0x250D5F10u); /* 0x250E03F4: call 0x250d5f10 */ /* not lifted */ 1463 RECOMP_FLAGS_IN(); 1464 L_250E03F9: 1465 RECOMP_ICALL(0x250D6520u); /* 0x250E03F9: call 0x250d6520 */ /* not lifted */ 1466 RECOMP_FLAGS_IN(); 1467 /* test LO8(eax), LO8(eax) */ /* 0x250E03FE: test al, al */ 1468 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1469 _cf = 0; 1470 _flag_k = FK_NARROW(FK_TEST, 24); 1471 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E044B; /* 0x250E0400: jne 0x250e044b */ 1472 L_250E0402: 1473 ecx = esi; /* 0x250E0402: mov ecx, esi */ 1474 RECOMP_ICALL(0x250D5F30u); /* 0x250E0404: call 0x250d5f30 */ /* not lifted */ 1475 RECOMP_FLAGS_IN(); 1476 eax = MEM32(eax); /* 0x250E0409: mov eax, dword ptr [eax] */ 1477 ecx = MEM32(0x25238B58); /* 0x250E040B: mov ecx, dword ptr [0x25238b58] */ 1478 PUSH32(esp, eax); /* 0x250E0411: push eax */ 1479 RECOMP_ICALL(0x250D2410u); /* 0x250E0412: call 0x250d2410 */ /* not lifted */ 1480 RECOMP_FLAGS_IN(); 1481 /* cmp eax, 0x887601C2u */ /* 0x250E0417: cmp eax, 0x887601c2 */ 1482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x887601C2u); 1483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1484 _flag_k = FK_CMP; 1485 if (CMP_NE(_flag_a, _flag_b)) goto L_250E044B; /* 0x250E041C: jne 0x250e044b */ 1486 L_250E041E: 1487 ecx = esi; /* 0x250E041E: mov ecx, esi */ 1488 RECOMP_ICALL(0x250D5F30u); /* 0x250E0420: call 0x250d5f30 */ /* not lifted */ 1489 RECOMP_FLAGS_IN(); 1490 ecx = esi; /* 0x250E0425: mov ecx, esi */ 1491 SET_LO8(ebx, 1); /* 0x250E0427: mov bl, 1 */ 1492 RECOMP_ICALL(0x250D5F30u); /* 0x250E0429: call 0x250d5f30 */ /* not lifted */ 1493 RECOMP_FLAGS_IN(); 1494 eax = MEM32(eax); /* 0x250E042E: mov eax, dword ptr [eax] */ 1495 ecx = MEM32(0x25238B58); /* 0x250E0430: mov ecx, dword ptr [0x25238b58] */ 1496 PUSH32(esp, eax); /* 0x250E0436: push eax */ 1497 RECOMP_ICALL(0x250D2420u); /* 0x250E0437: call 0x250d2420 */ /* not lifted */ 1498 RECOMP_FLAGS_IN(); 1499 ecx = esi; /* 0x250E043C: mov ecx, esi */ 1500 RECOMP_ICALL(0x250D5F30u); /* 0x250E043E: call 0x250d5f30 */ /* not lifted */ 1501 RECOMP_FLAGS_IN(); 1502 /* test edi, edi */ /* 0x250E0443: test edi, edi */ 1503 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1504 _cf = 0; 1505 _flag_k = FK_TEST; 1506 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0452; /* 0x250E0445: je 0x250e0452 */ 1507 L_250E0447: 1508 MEM8(edi) = (uint8_t)(LO8(ebx)); /* 0x250E0447: mov byte ptr [edi], bl */ 1509 goto L_250E0452; /* 0x250E0449: jmp 0x250e0452 */ 1510 L_250E044B: 1511 ecx = esi; /* 0x250E044B: mov ecx, esi */ 1512 RECOMP_ICALL(0x250D5F30u); /* 0x250E044D: call 0x250d5f30 */ /* not lifted */ 1513 RECOMP_FLAGS_IN(); 1514 L_250E0452: 1515 ecx = esi; /* 0x250E0452: mov ecx, esi */ 1516 RECOMP_ICALL(0x250D5F40u); /* 0x250E0454: call 0x250d5f40 */ /* not lifted */ 1517 RECOMP_FLAGS_IN(); 1518 /* test eax, eax */ /* 0x250E0459: test eax, eax */ 1519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1520 _cf = 0; 1521 _flag_k = FK_TEST; 1522 if (TEST_Z(_flag_a, _flag_b)) goto L_250E04A5; /* 0x250E045B: je 0x250e04a5 */ 1523 L_250E045D: 1524 ecx = esi; /* 0x250E045D: mov ecx, esi */ 1525 RECOMP_ICALL(0x250D5F40u); /* 0x250E045F: call 0x250d5f40 */ /* not lifted */ 1526 RECOMP_FLAGS_IN(); 1527 eax = MEM32(eax); /* 0x250E0464: mov eax, dword ptr [eax] */ 1528 ecx = MEM32(0x25238B58); /* 0x250E0466: mov ecx, dword ptr [0x25238b58] */ 1529 PUSH32(esp, eax); /* 0x250E046C: push eax */ 1530 RECOMP_ICALL(0x250D2410u); /* 0x250E046D: call 0x250d2410 */ /* not lifted */ 1531 RECOMP_FLAGS_IN(); 1532 /* cmp eax, 0x887601C2u */ /* 0x250E0472: cmp eax, 0x887601c2 */ 1533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x887601C2u); 1534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1535 _flag_k = FK_CMP; 1536 if (CMP_NE(_flag_a, _flag_b)) goto L_250E04A5; /* 0x250E0477: jne 0x250e04a5 */ 1537 L_250E0479: 1538 ecx = esi; /* 0x250E0479: mov ecx, esi */ 1539 RECOMP_ICALL(0x250D5F40u); /* 0x250E047B: call 0x250d5f40 */ /* not lifted */ 1540 RECOMP_FLAGS_IN(); 1541 ecx = esi; /* 0x250E0480: mov ecx, esi */ 1542 RECOMP_ICALL(0x250D5F40u); /* 0x250E0482: call 0x250d5f40 */ /* not lifted */ 1543 RECOMP_FLAGS_IN(); 1544 eax = MEM32(eax); /* 0x250E0487: mov eax, dword ptr [eax] */ 1545 ecx = MEM32(0x25238B58); /* 0x250E0489: mov ecx, dword ptr [0x25238b58] */ 1546 PUSH32(esp, eax); /* 0x250E048F: push eax */ 1547 RECOMP_ICALL(0x250D2420u); /* 0x250E0490: call 0x250d2420 */ /* not lifted */ 1548 RECOMP_FLAGS_IN(); 1549 ecx = esi; /* 0x250E0495: mov ecx, esi */ 1550 RECOMP_ICALL(0x250D5F40u); /* 0x250E0497: call 0x250d5f40 */ /* not lifted */ 1551 RECOMP_FLAGS_IN(); 1552 /* test edi, edi */ /* 0x250E049C: test edi, edi */ 1553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1554 _cf = 0; 1555 _flag_k = FK_TEST; 1556 if (TEST_Z(_flag_a, _flag_b)) goto L_250E04B1; /* 0x250E049E: je 0x250e04b1 */ 1557 L_250E04A0: 1558 MEM8(edi) = (uint8_t)(1); /* 0x250E04A0: mov byte ptr [edi], 1 */ 1559 goto L_250E04B1; /* 0x250E04A3: jmp 0x250e04b1 */ 1560 L_250E04A5: 1561 ecx = esi; /* 0x250E04A5: mov ecx, esi */ 1562 RECOMP_ICALL(0x250D5F40u); /* 0x250E04A7: call 0x250d5f40 */ /* not lifted */ 1563 RECOMP_FLAGS_IN(); 1564 /* cmp LO8(ebx), 1 */ /* 0x250E04AC: cmp bl, 1 */ 1565 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 1566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1567 _flag_k = FK_NARROW(FK_CMP, 24); 1568 if (CMP_NE(_flag_a, _flag_b)) goto L_250E04BF; /* 0x250E04AF: jne 0x250e04bf */ 1569 L_250E04B1: 1570 ecx = MEM32(ebp + (-0x4)); /* 0x250E04B1: mov ecx, dword ptr [ebp - 4] */ 1571 PUSH32(esp, 1); /* 0x250E04B4: push 1 */ 1572 PUSH32(esp, 1); /* 0x250E04B6: push 1 */ 1573 PUSH32(esp, 0); /* 0x250E04B8: push 0 */ 1574 RECOMP_ICALL(0x250E0530u); /* 0x250E04BA: call 0x250e0530 */ /* not lifted */ 1575 RECOMP_FLAGS_IN(); 1576 L_250E04BF: 1577 ecx = MEM32(0x25238B58); /* 0x250E04BF: mov ecx, dword ptr [0x25238b58] */ 1578 RECOMP_ICALL(0x250F8460u); /* 0x250E04C5: call 0x250f8460 */ /* not lifted */ 1579 RECOMP_FLAGS_IN(); 1580 ecx = MEM32(0x25238B58); /* 0x250E04CA: mov ecx, dword ptr [0x25238b58] */ 1581 RECOMP_ICALL(0x25096DC0u); /* 0x250E04D0: call 0x25096dc0 */ /* not lifted */ 1582 RECOMP_FLAGS_IN(); 1583 edi = POP32_VAL(esp); /* 0x250E04D5: pop edi */ 1584 esi = POP32_VAL(esp); /* 0x250E04D6: pop esi */ 1585 SET_LO8(eax, 1); /* 0x250E04D7: mov al, 1 */ 1586 ebx = POP32_VAL(esp); /* 0x250E04D9: pop ebx */ 1587 esp = ebp; /* 0x250E04DA: mov esp, ebp */ 1588 ebp = POP32_VAL(esp); /* 0x250E04DC: pop ebp */ 1589 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E04DD: ret 4 */ 1590 RECOMP_REGS_OUT(); 1591 } 1592 1593 void sub_250E04E0(void) { 1594 int _fpu_cmp = 0; 1595 uint32_t _cf = 0; 1596 int _df = 1; 1597 uint32_t _flag_k = FK_NONE; 1598 uint32_t _flag_a = 0, _flag_b = 0; 1599 uint32_t _itail_tgt = 0; 1600 RECOMP_REGS_LOCALS 1601 RECOMP_ENTER(0x250E04E0u); 1602 1603 L_250E04E0: 1604 ecx = MEM32(0x25238B58); /* 0x250E04E0: mov ecx, dword ptr [0x25238b58] */ 1605 RECOMP_ICALL(0x25096DC0u); /* 0x250E04E6: call 0x25096dc0 */ /* not lifted */ 1606 RECOMP_FLAGS_IN(); 1607 ecx = MEM32(0x25238B58); /* 0x250E04EB: mov ecx, dword ptr [0x25238b58] */ 1608 RECOMP_ICALL(0x250F8570u); /* 0x250E04F1: call 0x250f8570 */ /* not lifted */ 1609 RECOMP_FLAGS_IN(); 1610 edx = 0x25238C38u; /* 0x250E04F6: mov edx, 0x25238c38 */ 1611 L_250E04FB: 1612 eax = MEM32(edx); /* 0x250E04FB: mov eax, dword ptr [edx] */ 1613 /* test eax, eax */ /* 0x250E04FD: test eax, eax */ 1614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1615 _cf = 0; 1616 _flag_k = FK_TEST; 1617 MEM32(edx) = 0; /* 0x250E04FF: mov dword ptr [edx], 0 */ 1618 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0519; /* 0x250E0505: je 0x250e0519 */ 1619 L_250E0507: 1620 ecx = eax + 0x1B4; /* 0x250E0507: lea ecx, [eax + 0x1b4] */ 1621 eax = MEM32(ecx); /* 0x250E050D: mov eax, dword ptr [ecx] */ 1622 /* test eax, eax */ /* 0x250E050F: test eax, eax */ 1623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1624 _cf = 0; 1625 _flag_k = FK_TEST; 1626 MEM32(ecx) = 0; /* 0x250E0511: mov dword ptr [ecx], 0 */ 1627 RECOMP_BACKEDGE(); 1628 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E0507; /* 0x250E0517: jne 0x250e0507 */ 1629 L_250E0519: 1630 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 1631 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1632 edx = edx + 4; /* 0x250E0519: add edx, 4 */ 1633 _flag_k = FK_ADD; 1634 /* cmp edx, 0x25238C5Cu */ /* 0x250E051C: cmp edx, 0x25238c5c */ 1635 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x25238C5Cu); 1636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1637 _flag_k = FK_CMP; 1638 RECOMP_BACKEDGE(); 1639 if (CMP_B(_flag_a, _flag_b)) goto L_250E04FB; /* 0x250E0522: jb 0x250e04fb */ 1640 L_250E0524: 1641 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0524: ret */ 1642 RECOMP_REGS_OUT(); 1643 } 1644 1645 void sub_250E0530(void) { 1646 int _fpu_cmp = 0; 1647 uint32_t _cf = 0; 1648 int _df = 1; 1649 uint32_t _flag_k = FK_NONE; 1650 uint32_t _flag_a = 0, _flag_b = 0; 1651 uint32_t _itail_tgt = 0; 1652 RECOMP_REGS_LOCALS 1653 RECOMP_ENTER(0x250E0530u); 1654 1655 L_250E0530: 1656 PUSH32(esp, ebp); /* 0x250E0530: push ebp */ 1657 ebp = esp; /* 0x250E0531: mov ebp, esp */ 1658 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1660 esp = esp - 0x10u; /* 0x250E0533: sub esp, 0x10 */ 1661 _flag_k = FK_CMP; 1662 eax = MEM32(ebp + 0x8); /* 0x250E0536: mov eax, dword ptr [ebp + 8] */ 1663 /* test eax, eax */ /* 0x250E0539: test eax, eax */ 1664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1665 _cf = 0; 1666 _flag_k = FK_TEST; 1667 PUSH32(esp, esi); /* 0x250E053B: push esi */ 1668 PUSH32(esp, edi); /* 0x250E053C: push edi */ 1669 edi = ecx; /* 0x250E053D: mov edi, ecx */ 1670 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E055F; /* 0x250E053F: jne 0x250e055f */ 1671 L_250E0541: 1672 eax = MEM32(edi + 0x1C); /* 0x250E0541: mov eax, dword ptr [edi + 0x1c] */ 1673 edx = MEM32(edi + 0x24); /* 0x250E0544: mov edx, dword ptr [edi + 0x24] */ 1674 ecx = MEM32(edi + 0x20); /* 0x250E0547: mov ecx, dword ptr [edi + 0x20] */ 1675 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1677 edx = edx + eax; /* 0x250E054A: add edx, eax */ 1678 _flag_k = FK_ADD; 1679 MEM32(ebp + (-0x10)) = eax; /* 0x250E054C: mov dword ptr [ebp - 0x10], eax */ 1680 eax = MEM32(edi + 0x28); /* 0x250E054F: mov eax, dword ptr [edi + 0x28] */ 1681 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1683 eax = eax + ecx; /* 0x250E0552: add eax, ecx */ 1684 _flag_k = FK_ADD; 1685 MEM32(ebp + (-0xC)) = ecx; /* 0x250E0554: mov dword ptr [ebp - 0xc], ecx */ 1686 MEM32(ebp + (-0x8)) = edx; /* 0x250E0557: mov dword ptr [ebp - 8], edx */ 1687 MEM32(ebp + (-0x4)) = eax; /* 0x250E055A: mov dword ptr [ebp - 4], eax */ 1688 goto L_250E0576; /* 0x250E055D: jmp 0x250e0576 */ 1689 L_250E055F: 1690 ecx = MEM32(eax); /* 0x250E055F: mov ecx, dword ptr [eax] */ 1691 edx = MEM32(eax + 0x4); /* 0x250E0561: mov edx, dword ptr [eax + 4] */ 1692 MEM32(ebp + (-0x10)) = ecx; /* 0x250E0564: mov dword ptr [ebp - 0x10], ecx */ 1693 ecx = MEM32(eax + 0x8); /* 0x250E0567: mov ecx, dword ptr [eax + 8] */ 1694 MEM32(ebp + (-0xC)) = edx; /* 0x250E056A: mov dword ptr [ebp - 0xc], edx */ 1695 edx = MEM32(eax + 0xC); /* 0x250E056D: mov edx, dword ptr [eax + 0xc] */ 1696 MEM32(ebp + (-0x8)) = ecx; /* 0x250E0570: mov dword ptr [ebp - 8], ecx */ 1697 MEM32(ebp + (-0x4)) = edx; /* 0x250E0573: mov dword ptr [ebp - 4], edx */ 1698 L_250E0576: 1699 ecx = MEM32(0x25238B94); /* 0x250E0576: mov ecx, dword ptr [0x25238b94] */ 1700 RECOMP_ICALL(0x250D5F40u); /* 0x250E057C: call 0x250d5f40 */ /* not lifted */ 1701 RECOMP_FLAGS_IN(); 1702 esi = eax; /* 0x250E0581: mov esi, eax */ 1703 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E0583: mov al, byte ptr [ebp + 0xc] */ 1704 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(esi); 1705 _cf = (esi) != 0; 1706 esi = (uint32_t)(-(int32_t)esi); /* 0x250E0586: neg esi */ 1707 _flag_k = FK_CMP; 1708 { uint32_t _sa = esi, _sb = esi, _sc = _cf; /* 0x250E0588: sbb esi, esi */ 1709 esi = _sc ? 0xFFFFFFFFu : 0; 1710 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1711 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1712 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1713 esi = esi & 2; /* 0x250E058A: and esi, 2 */ 1714 _cf = 0; 1715 _flag_k = FK_TEST; 1716 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 1717 esi = esi + 1; /* 0x250E058D: inc esi */ 1718 _flag_k = FK_INC; 1719 /* test LO8(eax), LO8(eax) */ /* 0x250E058E: test al, al */ 1720 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1721 _cf = 0; 1722 _flag_k = FK_NARROW(FK_TEST, 24); 1723 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E0595; /* 0x250E0590: jne 0x250e0595 */ 1724 L_250E0592: 1725 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 1726 esi = esi & 1; /* 0x250E0592: and esi, 1 */ 1727 _cf = 0; 1728 _flag_k = FK_TEST; 1729 L_250E0595: 1730 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x250E0595: mov al, byte ptr [ebp + 0x10] */ 1731 /* test LO8(eax), LO8(eax) */ /* 0x250E0598: test al, al */ 1732 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1733 _cf = 0; 1734 _flag_k = FK_NARROW(FK_TEST, 24); 1735 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E059F; /* 0x250E059A: jne 0x250e059f */ 1736 L_250E059C: 1737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1738 esi = esi & 2; /* 0x250E059C: and esi, 2 */ 1739 _cf = 0; 1740 _flag_k = FK_TEST; 1741 L_250E059F: 1742 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x2Cu); 1743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1744 edi = edi + 0x2Cu; /* 0x250E059F: add edi, 0x2c */ 1745 _flag_k = FK_ADD; 1746 PUSH32(esp, edi); /* 0x250E05A2: push edi */ 1747 ecx = ebp + 0xC; /* 0x250E05A3: lea ecx, [ebp + 0xc] */ 1748 RECOMP_ICALL(0x2510BFE0u); /* 0x250E05A6: call 0x2510bfe0 */ /* not lifted */ 1749 RECOMP_FLAGS_IN(); 1750 eax = MEM32(eax); /* 0x250E05AB: mov eax, dword ptr [eax] */ 1751 ecx = MEM32(0x25238B58); /* 0x250E05AD: mov ecx, dword ptr [0x25238b58] */ 1752 PUSH32(esp, 0); /* 0x250E05B3: push 0 */ 1753 PUSH32(esp, 0x3F800000u); /* 0x250E05B5: push 0x3f800000 */ 1754 PUSH32(esp, eax); /* 0x250E05BA: push eax */ 1755 PUSH32(esp, esi); /* 0x250E05BB: push esi */ 1756 eax = ebp + (-0x10); /* 0x250E05BC: lea eax, [ebp - 0x10] */ 1757 PUSH32(esp, eax); /* 0x250E05BF: push eax */ 1758 PUSH32(esp, 1); /* 0x250E05C0: push 1 */ 1759 RECOMP_ICALL(0x250D2770u); /* 0x250E05C2: call 0x250d2770 */ /* not lifted */ 1760 RECOMP_FLAGS_IN(); 1761 edi = POP32_VAL(esp); /* 0x250E05C7: pop edi */ 1762 esi = POP32_VAL(esp); /* 0x250E05C8: pop esi */ 1763 esp = ebp; /* 0x250E05C9: mov esp, ebp */ 1764 ebp = POP32_VAL(esp); /* 0x250E05CB: pop ebp */ 1765 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E05CC: ret 0xc */ 1766 RECOMP_REGS_OUT(); 1767 } 1768 1769 void sub_250E05D0(void) { 1770 int _fpu_cmp = 0; 1771 uint32_t _cf = 0; 1772 int _df = 1; 1773 uint32_t _flag_k = FK_NONE; 1774 uint32_t _flag_a = 0, _flag_b = 0; 1775 uint32_t _itail_tgt = 0; 1776 RECOMP_REGS_LOCALS 1777 RECOMP_ENTER(0x250E05D0u); 1778 1779 L_250E05D0: 1780 ecx = MEM32(ecx + 0x8); /* 0x250E05D0: mov ecx, dword ptr [ecx + 8] */ 1781 goto L_250EFE70; /* 0x250E05D3: jmp 0x250efe70 */ 1782 L_250EFE70: 1783 PUSH32(esp, esi); /* 0x250EFE70: push esi */ 1784 esi = ecx; /* 0x250EFE71: mov esi, ecx */ 1785 RECOMP_ICALL(0x250EFBE0u); /* 0x250EFE73: call 0x250efbe0 */ /* not lifted */ 1786 RECOMP_FLAGS_IN(); 1787 ecx = esi; /* 0x250EFE78: mov ecx, esi */ 1788 RECOMP_ICALL(0x250EFCB0u); /* 0x250EFE7A: call 0x250efcb0 */ /* not lifted */ 1789 RECOMP_FLAGS_IN(); 1790 ecx = esi; /* 0x250EFE7F: mov ecx, esi */ 1791 RECOMP_ICALL(0x250EFDB0u); /* 0x250EFE81: call 0x250efdb0 */ /* not lifted */ 1792 RECOMP_FLAGS_IN(); 1793 esi = POP32_VAL(esp); /* 0x250EFE86: pop esi */ 1794 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250EFE87: ret */ 1795 RECOMP_REGS_OUT(); 1796 } 1797 1798 void sub_250E05E0(void) { 1799 int _fpu_cmp = 0; 1800 uint32_t _cf = 0; 1801 int _df = 1; 1802 uint32_t _flag_k = FK_NONE; 1803 uint32_t _flag_a = 0, _flag_b = 0; 1804 uint32_t _itail_tgt = 0; 1805 RECOMP_REGS_LOCALS 1806 RECOMP_ENTER(0x250E05E0u); 1807 1808 L_250E05E0: 1809 PUSH32(esp, ebp); /* 0x250E05E0: push ebp */ 1810 ebp = esp; /* 0x250E05E1: mov ebp, esp */ 1811 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 1812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1813 esp = esp - 0x20u; /* 0x250E05E3: sub esp, 0x20 */ 1814 _flag_k = FK_CMP; 1815 eax = MEM32(ecx + 0x1C); /* 0x250E05E6: mov eax, dword ptr [ecx + 0x1c] */ 1816 edx = MEM32(ecx + 0x20); /* 0x250E05E9: mov edx, dword ptr [ecx + 0x20] */ 1817 MEM32(ebp + (-0x14)) = eax; /* 0x250E05EC: mov dword ptr [ebp - 0x14], eax */ 1818 PUSH32(esp, esi); /* 0x250E05EF: push esi */ 1819 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1820 esi = 0; /* 0x250E05F0: xor esi, esi */ 1821 _cf = 0; 1822 _flag_k = FK_TEST; 1823 MEM32(ebp + (-0x10)) = esi; /* 0x250E05F2: mov dword ptr [ebp - 0x10], esi */ 1824 fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x250E05F5: fild qword ptr [ebp - 0x14] */ 1825 MEM32(ebp + (-0x14)) = edx; /* 0x250E05F8: mov dword ptr [ebp - 0x14], edx */ 1826 PUSH32(esp, edi); /* 0x250E05FB: push edi */ 1827 edi = MEM32(ecx + 0x24); /* 0x250E05FC: mov edi, dword ptr [ecx + 0x24] */ 1828 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E05FF: fstp dword ptr [ebp - 4] */ 1829 MEM32(ebp + (-0x10)) = esi; /* 0x250E0602: mov dword ptr [ebp - 0x10], esi */ 1830 fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x250E0605: fild qword ptr [ebp - 0x14] */ 1831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1833 edi = edi + eax; /* 0x250E0608: add edi, eax */ 1834 _flag_k = FK_ADD; 1835 eax = MEM32(ecx + 0x28); /* 0x250E060A: mov eax, dword ptr [ecx + 0x28] */ 1836 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E060D: fstp dword ptr [ebp - 0xc] */ 1837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1839 eax = eax + edx; /* 0x250E0610: add eax, edx */ 1840 _flag_k = FK_ADD; 1841 edx = MEM32(ebp + 0xC); /* 0x250E0612: mov edx, dword ptr [ebp + 0xc] */ 1842 MEM32(ebp + (-0x14)) = edi; /* 0x250E0615: mov dword ptr [ebp - 0x14], edi */ 1843 MEM32(ebp + (-0x10)) = esi; /* 0x250E0618: mov dword ptr [ebp - 0x10], esi */ 1844 fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x250E061B: fild qword ptr [ebp - 0x14] */ 1845 MEM32(ebp + (-0x14)) = eax; /* 0x250E061E: mov dword ptr [ebp - 0x14], eax */ 1846 MEM32(ebp + (-0x10)) = esi; /* 0x250E0621: mov dword ptr [ebp - 0x10], esi */ 1847 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E0624: fstp dword ptr [ebp - 8] */ 1848 MEM32(ebp + (-0x1C)) = edx; /* 0x250E0627: mov dword ptr [ebp - 0x1c], edx */ 1849 fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x250E062A: fild qword ptr [ebp - 0x14] */ 1850 MEM32(ebp + (-0x18)) = esi; /* 0x250E062D: mov dword ptr [ebp - 0x18], esi */ 1851 eax = MEM32(ebp + 0x10); /* 0x250E0630: mov eax, dword ptr [ebp + 0x10] */ 1852 ecx = MEM32(ecx + 0xC); /* 0x250E0633: mov ecx, dword ptr [ecx + 0xc] */ 1853 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250E0636: fstp dword ptr [ebp - 0x10] */ 1854 edx = ebp + (-0x10); /* 0x250E0639: lea edx, [ebp - 0x10] */ 1855 fp_push_i64((int64_t)MEM64(ebp + (-0x1C))); /* 0x250E063C: fild qword ptr [ebp - 0x1c] */ 1856 MEM32(ebp + (-0x1C)) = eax; /* 0x250E063F: mov dword ptr [ebp - 0x1c], eax */ 1857 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E0642: fld dword ptr [ebp - 8] */ 1858 MEM32(ebp + (-0x18)) = esi; /* 0x250E0645: mov dword ptr [ebp - 0x18], esi */ 1859 _st[0] -= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E0648: fsub dword ptr [ebp - 4] */ 1860 PUSH32(esp, edx); /* 0x250E064B: push edx */ 1861 eax = ebp + (-0x8); /* 0x250E064C: lea eax, [ebp - 8] */ 1862 PUSH32(esp, eax); /* 0x250E064F: push eax */ 1863 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250E0650: fdivp st(1) */ 1864 edx = ebp + (-0xC); /* 0x250E0652: lea edx, [ebp - 0xc] */ 1865 PUSH32(esp, edx); /* 0x250E0655: push edx */ 1866 eax = ebp + (-0x4); /* 0x250E0656: lea eax, [ebp - 4] */ 1867 PUSH32(esp, eax); /* 0x250E0659: push eax */ 1868 _st[0] -= (double)*(float*)ADDR(0x25151788); /* 0x250E065A: fsub dword ptr [0x25151788] */ 1869 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0xC) = _v; } /* 0x250E0660: fstp dword ptr [ebp + 0xc] */ 1870 fp_push_i64((int64_t)MEM64(ebp + (-0x1C))); /* 0x250E0663: fild qword ptr [ebp - 0x1c] */ 1871 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E0666: fld dword ptr [ebp - 0x10] */ 1872 _st[0] -= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E0669: fsub dword ptr [ebp - 0xc] */ 1873 { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x250E066C: fdivp st(1) */ 1874 _st[0] = (double)*(float*)ADDR(0x25151788) - _st[0]; /* 0x250E066E: fsubr dword ptr [0x25151788] */ 1875 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x250E0674: fstp dword ptr [ebp + 0x10] */ 1876 RECOMP_ICALL(0x250F0CD0u); /* 0x250E0677: call 0x250f0cd0 */ /* not lifted */ 1877 RECOMP_FLAGS_IN(); 1878 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E067C: fld dword ptr [ebp - 8] */ 1879 eax = MEM32(ebp + 0x8); /* 0x250E067F: mov eax, dword ptr [ebp + 8] */ 1880 _st[0] -= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E0682: fsub dword ptr [ebp - 4] */ 1881 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x250E0685: mov dword ptr [ebp - 0x18], 0x3f800000 */ 1882 ecx = eax; /* 0x250E068C: mov ecx, eax */ 1883 _st[0] *= (double)*(float*)ADDR(ebp + 0xC); /* 0x250E068E: fmul dword ptr [ebp + 0xc] */ 1884 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E0691: fld dword ptr [ebp - 4] */ 1885 _st[0] += (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E0694: fadd dword ptr [ebp - 8] */ 1886 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250E0697: fmul dword ptr [0x25151788] */ 1887 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E069D: faddp st(1) */ 1888 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E069F: fstp dword ptr [ebp - 0x20] */ 1889 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E06A2: fld dword ptr [ebp - 0xc] */ 1890 _st[0] -= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x250E06A5: fsub dword ptr [ebp - 0x10] */ 1891 _st[0] *= (double)*(float*)ADDR(ebp + 0x10); /* 0x250E06A8: fmul dword ptr [ebp + 0x10] */ 1892 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E06AB: fld dword ptr [ebp - 0xc] */ 1893 _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x250E06AE: fadd dword ptr [ebp - 0x10] */ 1894 _st[0] *= (double)*(float*)ADDR(0x25151788); /* 0x250E06B1: fmul dword ptr [0x25151788] */ 1895 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E06B7: faddp st(1) */ 1896 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E06B9: fstp dword ptr [ebp - 0x1c] */ 1897 edx = MEM32(ebp + (-0x20)); /* 0x250E06BC: mov edx, dword ptr [ebp - 0x20] */ 1898 MEM32(ecx) = edx; /* 0x250E06BF: mov dword ptr [ecx], edx */ 1899 edx = MEM32(ebp + (-0x1C)); /* 0x250E06C1: mov edx, dword ptr [ebp - 0x1c] */ 1900 MEM32(ecx + 0x4) = edx; /* 0x250E06C4: mov dword ptr [ecx + 4], edx */ 1901 edx = MEM32(ebp + (-0x18)); /* 0x250E06C7: mov edx, dword ptr [ebp - 0x18] */ 1902 edi = POP32_VAL(esp); /* 0x250E06CA: pop edi */ 1903 MEM32(ecx + 0x8) = edx; /* 0x250E06CB: mov dword ptr [ecx + 8], edx */ 1904 esi = POP32_VAL(esp); /* 0x250E06CE: pop esi */ 1905 esp = ebp; /* 0x250E06CF: mov esp, ebp */ 1906 ebp = POP32_VAL(esp); /* 0x250E06D1: pop ebp */ 1907 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E06D2: ret 0xc */ 1908 RECOMP_REGS_OUT(); 1909 } 1910 1911 void sub_250E06E0(void) { 1912 int _fpu_cmp = 0; 1913 uint32_t _cf = 0; 1914 int _df = 1; 1915 uint32_t _flag_k = FK_NONE; 1916 uint32_t _flag_a = 0, _flag_b = 0; 1917 uint32_t _itail_tgt = 0; 1918 RECOMP_REGS_LOCALS 1919 RECOMP_ENTER(0x250E06E0u); 1920 1921 L_250E06E0: 1922 PUSH32(esp, ebp); /* 0x250E06E0: push ebp */ 1923 ebp = esp; /* 0x250E06E1: mov ebp, esp */ 1924 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 1925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1926 esp = esp - 0x38u; /* 0x250E06E3: sub esp, 0x38 */ 1927 _flag_k = FK_CMP; 1928 PUSH32(esp, esi); /* 0x250E06E6: push esi */ 1929 esi = ecx; /* 0x250E06E7: mov esi, ecx */ 1930 ecx = MEM32(esi + 0xC); /* 0x250E06E9: mov ecx, dword ptr [esi + 0xc] */ 1931 PUSH32(esp, edi); /* 0x250E06EC: push edi */ 1932 RECOMP_ICALL(0x250E2EC0u); /* 0x250E06ED: call 0x250e2ec0 */ /* not lifted */ 1933 RECOMP_FLAGS_IN(); 1934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 1935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1936 eax = eax + 0x30u; /* 0x250E06F2: add eax, 0x30 */ 1937 _flag_k = FK_ADD; 1938 ecx = MEM32(eax); /* 0x250E06F5: mov ecx, dword ptr [eax] */ 1939 MEM32(ebp + (-0x2C)) = ecx; /* 0x250E06F7: mov dword ptr [ebp - 0x2c], ecx */ 1940 edx = MEM32(eax + 0x4); /* 0x250E06FA: mov edx, dword ptr [eax + 4] */ 1941 ecx = MEM32(ebp + 0xC); /* 0x250E06FD: mov ecx, dword ptr [ebp + 0xc] */ 1942 MEM32(ebp + (-0x28)) = edx; /* 0x250E0700: mov dword ptr [ebp - 0x28], edx */ 1943 eax = MEM32(eax + 0x8); /* 0x250E0703: mov eax, dword ptr [eax + 8] */ 1944 edx = MEM32(ebp + 0x8); /* 0x250E0706: mov edx, dword ptr [ebp + 8] */ 1945 PUSH32(esp, ecx); /* 0x250E0709: push ecx */ 1946 MEM32(ebp + (-0x24)) = eax; /* 0x250E070A: mov dword ptr [ebp - 0x24], eax */ 1947 PUSH32(esp, edx); /* 0x250E070D: push edx */ 1948 eax = ebp + (-0x38); /* 0x250E070E: lea eax, [ebp - 0x38] */ 1949 PUSH32(esp, eax); /* 0x250E0711: push eax */ 1950 ecx = esi; /* 0x250E0712: mov ecx, esi */ 1951 RECOMP_ICALL(0x250E05E0u); /* 0x250E0714: call 0x250e05e0 */ /* not lifted */ 1952 RECOMP_FLAGS_IN(); 1953 ecx = MEM32(eax); /* 0x250E0719: mov ecx, dword ptr [eax] */ 1954 edx = MEM32(eax + 0x4); /* 0x250E071B: mov edx, dword ptr [eax + 4] */ 1955 eax = MEM32(eax + 0x8); /* 0x250E071E: mov eax, dword ptr [eax + 8] */ 1956 MEM32(ebp + (-0xC)) = eax; /* 0x250E0721: mov dword ptr [ebp - 0xc], eax */ 1957 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E0724: fld dword ptr [ebp - 0xc] */ 1958 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E0727: fmul dword ptr [ebp - 0xc] */ 1959 MEM32(ebp + (-0x10)) = edx; /* 0x250E072A: mov dword ptr [ebp - 0x10], edx */ 1960 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E072D: fld dword ptr [ebp - 0x10] */ 1961 MEM32(ebp + (-0x14)) = ecx; /* 0x250E0730: mov dword ptr [ebp - 0x14], ecx */ 1962 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x250E0733: fmul dword ptr [ebp - 0x10] */ 1963 PUSH32(esp, ecx); /* 0x250E0736: push ecx */ 1964 ecx = ebp + (-0x14); /* 0x250E0737: lea ecx, [ebp - 0x14] */ 1965 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E073A: faddp st(1) */ 1966 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E073C: fld dword ptr [ebp - 0x14] */ 1967 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x250E073F: fmul dword ptr [ebp - 0x14] */ 1968 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0742: faddp st(1) */ 1969 _st[0] = sqrt(_st[0]); /* 0x250E0744: fsqrt */ 1970 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250E0746: fdivr dword ptr [0x251517a4] */ 1971 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E074C: fstp dword ptr [esp] */ 1972 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E074F: call dword ptr [0x25151510] */ 1973 RECOMP_FLAGS_IN(); 1974 eax = MEM32(ebp + (-0xC)); /* 0x250E0755: mov eax, dword ptr [ebp - 0xc] */ 1975 edx = MEM32(ebp + (-0x10)); /* 0x250E0758: mov edx, dword ptr [ebp - 0x10] */ 1976 ecx = MEM32(ebp + (-0x14)); /* 0x250E075B: mov ecx, dword ptr [ebp - 0x14] */ 1977 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1978 esi = 0; /* 0x250E075E: xor esi, esi */ 1979 _cf = 0; 1980 _flag_k = FK_TEST; 1981 PUSH32(esp, esi); /* 0x250E0760: push esi */ 1982 PUSH32(esp, 0x251B2598u); /* 0x250E0761: push 0x251b2598 */ 1983 PUSH32(esp, 0x251B2598u); /* 0x250E0766: push 0x251b2598 */ 1984 MEM32(ebp + (-0x18)) = eax; /* 0x250E076B: mov dword ptr [ebp - 0x18], eax */ 1985 eax = MEM32(ebp + 0x10); /* 0x250E076E: mov eax, dword ptr [ebp + 0x10] */ 1986 PUSH32(esp, esi); /* 0x250E0771: push esi */ 1987 PUSH32(esp, eax); /* 0x250E0772: push eax */ 1988 MEM32(ebp + (-0x20)) = ecx; /* 0x250E0773: mov dword ptr [ebp - 0x20], ecx */ 1989 MEM32(ebp + (-0x1C)) = edx; /* 0x250E0776: mov dword ptr [ebp - 0x1c], edx */ 1990 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1991 edi = 0; /* 0x250E0779: xor edi, edi */ 1992 _cf = 0; 1993 _flag_k = FK_TEST; 1994 MEM32(ebp + 0x8) = 0x7F7FFFFFu; /* 0x250E077B: mov dword ptr [ebp + 8], 0x7f7fffff */ 1995 MEM32(ebp + (-0x10)) = eax; /* 0x250E0782: mov dword ptr [ebp - 0x10], eax */ 1996 MEM32(ebp + (-0xC)) = eax; /* 0x250E0785: mov dword ptr [ebp - 0xc], eax */ 1997 RECOMP_ICALL(0x251381ACu); /* 0x250E0788: call 0x251381ac */ /* not lifted */ 1998 RECOMP_FLAGS_IN(); 1999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2001 esp = esp + 0x14u; /* 0x250E078D: add esp, 0x14 */ 2002 _flag_k = FK_ADD; 2003 /* test eax, eax */ /* 0x250E0790: test eax, eax */ 2004 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2005 _cf = 0; 2006 _flag_k = FK_TEST; 2007 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E079C; /* 0x250E0792: jne 0x250e079c */ 2008 L_250E0794: 2009 ecx = ebp + (-0x10); /* 0x250E0794: lea ecx, [ebp - 0x10] */ 2010 RECOMP_ICALL(0x2509DA50u); /* 0x250E0797: call 0x2509da50 */ /* not lifted */ 2011 RECOMP_FLAGS_IN(); 2012 L_250E079C: 2013 eax = MEM32(ebp + (-0x10)); /* 0x250E079C: mov eax, dword ptr [ebp - 0x10] */ 2014 ecx = MEM32(ebp + (-0xC)); /* 0x250E079F: mov ecx, dword ptr [ebp - 0xc] */ 2015 PUSH32(esp, esi); /* 0x250E07A2: push esi */ 2016 PUSH32(esp, 0x251B25B8u); /* 0x250E07A3: push 0x251b25b8 */ 2017 PUSH32(esp, 0x251B25B8u); /* 0x250E07A8: push 0x251b25b8 */ 2018 PUSH32(esp, esi); /* 0x250E07AD: push esi */ 2019 PUSH32(esp, eax); /* 0x250E07AE: push eax */ 2020 MEM32(ebp + (-0x8)) = eax; /* 0x250E07AF: mov dword ptr [ebp - 8], eax */ 2021 MEM32(ebp + (-0x4)) = ecx; /* 0x250E07B2: mov dword ptr [ebp - 4], ecx */ 2022 RECOMP_ICALL(0x251381ACu); /* 0x250E07B5: call 0x251381ac */ /* not lifted */ 2023 RECOMP_FLAGS_IN(); 2024 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2026 esp = esp + 0x14u; /* 0x250E07BA: add esp, 0x14 */ 2027 _flag_k = FK_ADD; 2028 /* test eax, eax */ /* 0x250E07BD: test eax, eax */ 2029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2030 _cf = 0; 2031 _flag_k = FK_TEST; 2032 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E07BF: jne 0x250e07f4 */ 2033 L_250E07C1: 2034 /* cmp MEM32(ebp + (-0x8)), esi */ /* 0x250E07C1: cmp dword ptr [ebp - 8], esi */ 2035 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(esi); 2036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2037 _flag_k = FK_CMP; 2038 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E07C4: je 0x250e07f4 */ 2039 L_250E07C6: 2040 edx = MEM32(ebp + (-0x4)); /* 0x250E07C6: mov edx, dword ptr [ebp - 4] */ 2041 PUSH32(esp, edx); /* 0x250E07C9: push edx */ 2042 eax = ebp + (-0x8); /* 0x250E07CA: lea eax, [ebp - 8] */ 2043 PUSH32(esp, eax); /* 0x250E07CD: push eax */ 2044 RECOMP_ICALL(0x250E3530u); /* 0x250E07CE: call 0x250e3530 */ /* not lifted */ 2045 RECOMP_FLAGS_IN(); 2046 ecx = MEM32(ebp + (-0x8)); /* 0x250E07D3: mov ecx, dword ptr [ebp - 8] */ 2047 PUSH32(esp, esi); /* 0x250E07D6: push esi */ 2048 PUSH32(esp, 0x251B25B8u); /* 0x250E07D7: push 0x251b25b8 */ 2049 PUSH32(esp, 0x251B25B8u); /* 0x250E07DC: push 0x251b25b8 */ 2050 PUSH32(esp, esi); /* 0x250E07E1: push esi */ 2051 PUSH32(esp, ecx); /* 0x250E07E2: push ecx */ 2052 RECOMP_ICALL(0x251381ACu); /* 0x250E07E3: call 0x251381ac */ /* not lifted */ 2053 RECOMP_FLAGS_IN(); 2054 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 2055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2056 esp = esp + 0x1Cu; /* 0x250E07E8: add esp, 0x1c */ 2057 _flag_k = FK_ADD; 2058 /* test eax, eax */ /* 0x250E07EB: test eax, eax */ 2059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2060 _cf = 0; 2061 _flag_k = FK_TEST; 2062 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E07ED: jne 0x250e07f4 */ 2063 L_250E07EF: 2064 /* cmp MEM32(ebp + (-0x8)), esi */ /* 0x250E07EF: cmp dword ptr [ebp - 8], esi */ 2065 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(esi); 2066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2067 _flag_k = FK_CMP; 2068 RECOMP_BACKEDGE(); 2069 if (CMP_NE(_flag_a, _flag_b)) goto L_250E07C6; /* 0x250E07F2: jne 0x250e07c6 */ 2070 L_250E07F4: 2071 PUSH32(esp, esi); /* 0x250E07F4: push esi */ 2072 PUSH32(esp, 0x251B2598u); /* 0x250E07F5: push 0x251b2598 */ 2073 PUSH32(esp, 0x251B2598u); /* 0x250E07FA: push 0x251b2598 */ 2074 PUSH32(esp, esi); /* 0x250E07FF: push esi */ 2075 PUSH32(esp, esi); /* 0x250E0800: push esi */ 2076 MEM32(ebp + (-0x10)) = esi; /* 0x250E0801: mov dword ptr [ebp - 0x10], esi */ 2077 MEM32(ebp + (-0xC)) = esi; /* 0x250E0804: mov dword ptr [ebp - 0xc], esi */ 2078 RECOMP_ICALL(0x251381ACu); /* 0x250E0807: call 0x251381ac */ /* not lifted */ 2079 RECOMP_FLAGS_IN(); 2080 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2082 esp = esp + 0x14u; /* 0x250E080C: add esp, 0x14 */ 2083 _flag_k = FK_ADD; 2084 /* test eax, eax */ /* 0x250E080F: test eax, eax */ 2085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2086 _cf = 0; 2087 _flag_k = FK_TEST; 2088 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E081B; /* 0x250E0811: jne 0x250e081b */ 2089 L_250E0813: 2090 ecx = ebp + (-0x10); /* 0x250E0813: lea ecx, [ebp - 0x10] */ 2091 RECOMP_ICALL(0x2509DA50u); /* 0x250E0816: call 0x2509da50 */ /* not lifted */ 2092 RECOMP_FLAGS_IN(); 2093 L_250E081B: 2094 ecx = MEM32(ebp + (-0x8)); /* 0x250E081B: mov ecx, dword ptr [ebp - 8] */ 2095 /* cmp ecx, MEM32(ebp + (-0x10)) */ /* 0x250E081E: cmp ecx, dword ptr [ebp - 0x10] */ 2096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2098 _flag_k = FK_CMP; 2099 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0893; /* 0x250E0821: je 0x250e0893 */ 2100 L_250E0823: 2101 PUSH32(esp, esi); /* 0x250E0823: push esi */ 2102 eax = ebp + 0xC; /* 0x250E0824: lea eax, [ebp + 0xc] */ 2103 PUSH32(esp, eax); /* 0x250E0827: push eax */ 2104 eax = ebp + (-0x20); /* 0x250E0828: lea eax, [ebp - 0x20] */ 2105 PUSH32(esp, eax); /* 0x250E082B: push eax */ 2106 eax = ebp + (-0x2C); /* 0x250E082C: lea eax, [ebp - 0x2c] */ 2107 MEM32(ebp + 0xC) = 0; /* 0x250E082F: mov dword ptr [ebp + 0xc], 0 */ 2108 edx = MEM32(ecx); /* 0x250E0836: mov edx, dword ptr [ecx] */ 2109 PUSH32(esp, eax); /* 0x250E0838: push eax */ 2110 RECOMP_ICALL(MEM32(edx + 0x30)); /* 0x250E0839: call dword ptr [edx + 0x30] */ 2111 RECOMP_FLAGS_IN(); 2112 /* test LO8(eax), LO8(eax) */ /* 0x250E083C: test al, al */ 2113 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2114 _cf = 0; 2115 _flag_k = FK_NARROW(FK_TEST, 24); 2116 ecx = MEM32(ebp + (-0x8)); /* 0x250E083E: mov ecx, dword ptr [ebp - 8] */ 2117 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0858; /* 0x250E0841: je 0x250e0858 */ 2118 L_250E0843: 2119 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250E0843: fld dword ptr [ebp + 0xc] */ 2120 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250E0846: fcomp dword ptr [ebp + 8] */ 2121 fp_pop(); 2122 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0849: fnstsw ax */ 2123 /* test HI8(eax), 1 */ /* 0x250E084B: test ah, 1 */ 2124 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2125 _cf = 0; 2126 _flag_k = FK_NARROW(FK_TEST, 24); 2127 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0858; /* 0x250E084E: je 0x250e0858 */ 2128 L_250E0850: 2129 edx = MEM32(ebp + 0xC); /* 0x250E0850: mov edx, dword ptr [ebp + 0xc] */ 2130 MEM32(ebp + 0x8) = edx; /* 0x250E0853: mov dword ptr [ebp + 8], edx */ 2131 edi = ecx; /* 0x250E0856: mov edi, ecx */ 2132 L_250E0858: 2133 /* cmp ecx, esi */ /* 0x250E0858: cmp ecx, esi */ 2134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2136 _flag_k = FK_CMP; 2137 RECOMP_BACKEDGE(); 2138 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E085A: je 0x250e07f4 */ 2139 L_250E085C: 2140 eax = MEM32(ebp + (-0x4)); /* 0x250E085C: mov eax, dword ptr [ebp - 4] */ 2141 PUSH32(esp, eax); /* 0x250E085F: push eax */ 2142 ecx = ebp + (-0x8); /* 0x250E0860: lea ecx, [ebp - 8] */ 2143 PUSH32(esp, ecx); /* 0x250E0863: push ecx */ 2144 RECOMP_ICALL(0x250E3530u); /* 0x250E0864: call 0x250e3530 */ /* not lifted */ 2145 RECOMP_FLAGS_IN(); 2146 edx = MEM32(ebp + (-0x8)); /* 0x250E0869: mov edx, dword ptr [ebp - 8] */ 2147 PUSH32(esp, esi); /* 0x250E086C: push esi */ 2148 PUSH32(esp, 0x251B25B8u); /* 0x250E086D: push 0x251b25b8 */ 2149 PUSH32(esp, 0x251B25B8u); /* 0x250E0872: push 0x251b25b8 */ 2150 PUSH32(esp, esi); /* 0x250E0877: push esi */ 2151 PUSH32(esp, edx); /* 0x250E0878: push edx */ 2152 RECOMP_ICALL(0x251381ACu); /* 0x250E0879: call 0x251381ac */ /* not lifted */ 2153 RECOMP_FLAGS_IN(); 2154 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 2155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2156 esp = esp + 0x1Cu; /* 0x250E087E: add esp, 0x1c */ 2157 _flag_k = FK_ADD; 2158 /* test eax, eax */ /* 0x250E0881: test eax, eax */ 2159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2160 _cf = 0; 2161 _flag_k = FK_TEST; 2162 RECOMP_BACKEDGE(); 2163 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E0883: jne 0x250e07f4 */ 2164 L_250E0889: 2165 /* cmp MEM32(ebp + (-0x8)), esi */ /* 0x250E0889: cmp dword ptr [ebp - 8], esi */ 2166 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(esi); 2167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2168 _flag_k = FK_CMP; 2169 RECOMP_BACKEDGE(); 2170 if (CMP_NE(_flag_a, _flag_b)) goto L_250E085C; /* 0x250E088C: jne 0x250e085c */ 2171 L_250E088E: 2172 RECOMP_BACKEDGE(); 2173 goto L_250E07F4; /* 0x250E088E: jmp 0x250e07f4 */ 2174 L_250E0893: 2175 eax = edi; /* 0x250E0893: mov eax, edi */ 2176 edi = POP32_VAL(esp); /* 0x250E0895: pop edi */ 2177 esi = POP32_VAL(esp); /* 0x250E0896: pop esi */ 2178 esp = ebp; /* 0x250E0897: mov esp, ebp */ 2179 ebp = POP32_VAL(esp); /* 0x250E0899: pop ebp */ 2180 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E089A: ret 0xc */ 2181 RECOMP_REGS_OUT(); 2182 } 2183 2184 void sub_250E07F4(void) { 2185 int _fpu_cmp = 0; 2186 uint32_t _cf = 0; 2187 int _df = 1; 2188 uint32_t _flag_k = FK_NONE; 2189 uint32_t _flag_a = 0, _flag_b = 0; 2190 uint32_t _itail_tgt = 0; 2191 RECOMP_REGS_LOCALS 2192 RECOMP_ENTER(0x250E07F4u); 2193 2194 L_250E07F4: 2195 PUSH32(esp, esi); /* 0x250E07F4: push esi */ 2196 PUSH32(esp, 0x251B2598u); /* 0x250E07F5: push 0x251b2598 */ 2197 PUSH32(esp, 0x251B2598u); /* 0x250E07FA: push 0x251b2598 */ 2198 PUSH32(esp, esi); /* 0x250E07FF: push esi */ 2199 PUSH32(esp, esi); /* 0x250E0800: push esi */ 2200 MEM32(ebp + (-0x10)) = esi; /* 0x250E0801: mov dword ptr [ebp - 0x10], esi */ 2201 MEM32(ebp + (-0xC)) = esi; /* 0x250E0804: mov dword ptr [ebp - 0xc], esi */ 2202 RECOMP_ICALL(0x251381ACu); /* 0x250E0807: call 0x251381ac */ /* not lifted */ 2203 RECOMP_FLAGS_IN(); 2204 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2206 esp = esp + 0x14u; /* 0x250E080C: add esp, 0x14 */ 2207 _flag_k = FK_ADD; 2208 /* test eax, eax */ /* 0x250E080F: test eax, eax */ 2209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2210 _cf = 0; 2211 _flag_k = FK_TEST; 2212 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E081B; /* 0x250E0811: jne 0x250e081b */ 2213 L_250E0813: 2214 ecx = ebp + (-0x10); /* 0x250E0813: lea ecx, [ebp - 0x10] */ 2215 RECOMP_ICALL(0x2509DA50u); /* 0x250E0816: call 0x2509da50 */ /* not lifted */ 2216 RECOMP_FLAGS_IN(); 2217 L_250E081B: 2218 ecx = MEM32(ebp + (-0x8)); /* 0x250E081B: mov ecx, dword ptr [ebp - 8] */ 2219 /* cmp ecx, MEM32(ebp + (-0x10)) */ /* 0x250E081E: cmp ecx, dword ptr [ebp - 0x10] */ 2220 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2222 _flag_k = FK_CMP; 2223 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0893; /* 0x250E0821: je 0x250e0893 */ 2224 L_250E0823: 2225 PUSH32(esp, esi); /* 0x250E0823: push esi */ 2226 eax = ebp + 0xC; /* 0x250E0824: lea eax, [ebp + 0xc] */ 2227 PUSH32(esp, eax); /* 0x250E0827: push eax */ 2228 eax = ebp + (-0x20); /* 0x250E0828: lea eax, [ebp - 0x20] */ 2229 PUSH32(esp, eax); /* 0x250E082B: push eax */ 2230 eax = ebp + (-0x2C); /* 0x250E082C: lea eax, [ebp - 0x2c] */ 2231 MEM32(ebp + 0xC) = 0; /* 0x250E082F: mov dword ptr [ebp + 0xc], 0 */ 2232 edx = MEM32(ecx); /* 0x250E0836: mov edx, dword ptr [ecx] */ 2233 PUSH32(esp, eax); /* 0x250E0838: push eax */ 2234 RECOMP_ICALL(MEM32(edx + 0x30)); /* 0x250E0839: call dword ptr [edx + 0x30] */ 2235 RECOMP_FLAGS_IN(); 2236 /* test LO8(eax), LO8(eax) */ /* 0x250E083C: test al, al */ 2237 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2238 _cf = 0; 2239 _flag_k = FK_NARROW(FK_TEST, 24); 2240 ecx = MEM32(ebp + (-0x8)); /* 0x250E083E: mov ecx, dword ptr [ebp - 8] */ 2241 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0858; /* 0x250E0841: je 0x250e0858 */ 2242 L_250E0843: 2243 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x250E0843: fld dword ptr [ebp + 0xc] */ 2244 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250E0846: fcomp dword ptr [ebp + 8] */ 2245 fp_pop(); 2246 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E0849: fnstsw ax */ 2247 /* test HI8(eax), 1 */ /* 0x250E084B: test ah, 1 */ 2248 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2249 _cf = 0; 2250 _flag_k = FK_NARROW(FK_TEST, 24); 2251 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0858; /* 0x250E084E: je 0x250e0858 */ 2252 L_250E0850: 2253 edx = MEM32(ebp + 0xC); /* 0x250E0850: mov edx, dword ptr [ebp + 0xc] */ 2254 MEM32(ebp + 0x8) = edx; /* 0x250E0853: mov dword ptr [ebp + 8], edx */ 2255 edi = ecx; /* 0x250E0856: mov edi, ecx */ 2256 L_250E0858: 2257 /* cmp ecx, esi */ /* 0x250E0858: cmp ecx, esi */ 2258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2260 _flag_k = FK_CMP; 2261 RECOMP_BACKEDGE(); 2262 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E085A: je 0x250e07f4 */ 2263 L_250E085C: 2264 eax = MEM32(ebp + (-0x4)); /* 0x250E085C: mov eax, dword ptr [ebp - 4] */ 2265 PUSH32(esp, eax); /* 0x250E085F: push eax */ 2266 ecx = ebp + (-0x8); /* 0x250E0860: lea ecx, [ebp - 8] */ 2267 PUSH32(esp, ecx); /* 0x250E0863: push ecx */ 2268 RECOMP_ICALL(0x250E3530u); /* 0x250E0864: call 0x250e3530 */ /* not lifted */ 2269 RECOMP_FLAGS_IN(); 2270 edx = MEM32(ebp + (-0x8)); /* 0x250E0869: mov edx, dword ptr [ebp - 8] */ 2271 PUSH32(esp, esi); /* 0x250E086C: push esi */ 2272 PUSH32(esp, 0x251B25B8u); /* 0x250E086D: push 0x251b25b8 */ 2273 PUSH32(esp, 0x251B25B8u); /* 0x250E0872: push 0x251b25b8 */ 2274 PUSH32(esp, esi); /* 0x250E0877: push esi */ 2275 PUSH32(esp, edx); /* 0x250E0878: push edx */ 2276 RECOMP_ICALL(0x251381ACu); /* 0x250E0879: call 0x251381ac */ /* not lifted */ 2277 RECOMP_FLAGS_IN(); 2278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 2279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2280 esp = esp + 0x1Cu; /* 0x250E087E: add esp, 0x1c */ 2281 _flag_k = FK_ADD; 2282 /* test eax, eax */ /* 0x250E0881: test eax, eax */ 2283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2284 _cf = 0; 2285 _flag_k = FK_TEST; 2286 RECOMP_BACKEDGE(); 2287 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E07F4; /* 0x250E0883: jne 0x250e07f4 */ 2288 L_250E0889: 2289 /* cmp MEM32(ebp + (-0x8)), esi */ /* 0x250E0889: cmp dword ptr [ebp - 8], esi */ 2290 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(esi); 2291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2292 _flag_k = FK_CMP; 2293 RECOMP_BACKEDGE(); 2294 if (CMP_NE(_flag_a, _flag_b)) goto L_250E085C; /* 0x250E088C: jne 0x250e085c */ 2295 L_250E088E: 2296 RECOMP_BACKEDGE(); 2297 goto L_250E07F4; /* 0x250E088E: jmp 0x250e07f4 */ 2298 L_250E0893: 2299 eax = edi; /* 0x250E0893: mov eax, edi */ 2300 edi = POP32_VAL(esp); /* 0x250E0895: pop edi */ 2301 esi = POP32_VAL(esp); /* 0x250E0896: pop esi */ 2302 esp = ebp; /* 0x250E0897: mov esp, ebp */ 2303 ebp = POP32_VAL(esp); /* 0x250E0899: pop ebp */ 2304 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E089A: ret 0xc */ 2305 RECOMP_REGS_OUT(); 2306 } 2307 2308 void sub_250E08A0(void) { 2309 int _fpu_cmp = 0; 2310 uint32_t _cf = 0; 2311 int _df = 1; 2312 uint32_t _flag_k = FK_NONE; 2313 uint32_t _flag_a = 0, _flag_b = 0; 2314 uint32_t _itail_tgt = 0; 2315 RECOMP_REGS_LOCALS 2316 RECOMP_ENTER(0x250E08A0u); 2317 2318 L_250E08A0: 2319 PUSH32(esp, ebp); /* 0x250E08A0: push ebp */ 2320 ebp = esp; /* 0x250E08A1: mov ebp, esp */ 2321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 2322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2323 esp = esp - 0x24u; /* 0x250E08A3: sub esp, 0x24 */ 2324 _flag_k = FK_CMP; 2325 ecx = MEM32(ecx + 0xC); /* 0x250E08A6: mov ecx, dword ptr [ecx + 0xc] */ 2326 RECOMP_ICALL(0x250E2EC0u); /* 0x250E08A9: call 0x250e2ec0 */ /* not lifted */ 2327 RECOMP_FLAGS_IN(); 2328 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x250E08AE: mov cl, byte ptr [ebp + 0xc] */ 2329 /* test LO8(ecx), LO8(ecx) */ /* 0x250E08B1: test cl, cl */ 2330 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2331 _cf = 0; 2332 _flag_k = FK_NARROW(FK_TEST, 24); 2333 SET_LO8(ecx, MEM8(ebp + 0x10)); /* 0x250E08B3: mov cl, byte ptr [ebp + 0x10] */ 2334 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0980; /* 0x250E08B6: je 0x250e0980 */ 2335 L_250E08BC: 2336 /* test LO8(ecx), LO8(ecx) */ /* 0x250E08BC: test cl, cl */ 2337 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2338 _cf = 0; 2339 _flag_k = FK_NARROW(FK_TEST, 24); 2340 if (TEST_Z(_flag_a, _flag_b)) goto L_250E08FD; /* 0x250E08BE: je 0x250e08fd */ 2341 L_250E08C0: 2342 edx = MEM32(eax); /* 0x250E08C0: mov edx, dword ptr [eax] */ 2343 ecx = MEM32(ebp + 0x8); /* 0x250E08C2: mov ecx, dword ptr [ebp + 8] */ 2344 MEM32(ecx) = edx; /* 0x250E08C5: mov dword ptr [ecx], edx */ 2345 edx = MEM32(eax + 0x4); /* 0x250E08C7: mov edx, dword ptr [eax + 4] */ 2346 MEM32(ecx + 0x4) = edx; /* 0x250E08CA: mov dword ptr [ecx + 4], edx */ 2347 edx = MEM32(eax + 0x8); /* 0x250E08CD: mov edx, dword ptr [eax + 8] */ 2348 MEM32(ecx + 0x8) = edx; /* 0x250E08D0: mov dword ptr [ecx + 8], edx */ 2349 edx = MEM32(eax + 0x10); /* 0x250E08D3: mov edx, dword ptr [eax + 0x10] */ 2350 MEM32(ecx + 0x10) = edx; /* 0x250E08D6: mov dword ptr [ecx + 0x10], edx */ 2351 edx = MEM32(eax + 0x14); /* 0x250E08D9: mov edx, dword ptr [eax + 0x14] */ 2352 MEM32(ecx + 0x14) = edx; /* 0x250E08DC: mov dword ptr [ecx + 0x14], edx */ 2353 edx = MEM32(eax + 0x18); /* 0x250E08DF: mov edx, dword ptr [eax + 0x18] */ 2354 MEM32(ecx + 0x18) = edx; /* 0x250E08E2: mov dword ptr [ecx + 0x18], edx */ 2355 edx = MEM32(eax + 0x20); /* 0x250E08E5: mov edx, dword ptr [eax + 0x20] */ 2356 MEM32(ecx + 0x20) = edx; /* 0x250E08E8: mov dword ptr [ecx + 0x20], edx */ 2357 edx = MEM32(eax + 0x24); /* 0x250E08EB: mov edx, dword ptr [eax + 0x24] */ 2358 MEM32(ecx + 0x24) = edx; /* 0x250E08EE: mov dword ptr [ecx + 0x24], edx */ 2359 eax = MEM32(eax + 0x28); /* 0x250E08F1: mov eax, dword ptr [eax + 0x28] */ 2360 MEM32(ecx + 0x28) = eax; /* 0x250E08F4: mov dword ptr [ecx + 0x28], eax */ 2361 esp = ebp; /* 0x250E08F7: mov esp, ebp */ 2362 ebp = POP32_VAL(esp); /* 0x250E08F9: pop ebp */ 2363 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E08FA: ret 0xc */ 2364 L_250E08FD: 2365 ecx = MEM32(0x25238B88); /* 0x250E08FD: mov ecx, dword ptr [0x25238b88] */ 2366 edx = MEM32(0x25238B8C); /* 0x250E0903: mov edx, dword ptr [0x25238b8c] */ 2367 MEM32(ebp + (-0xC)) = ecx; /* 0x250E0909: mov dword ptr [ebp - 0xc], ecx */ 2368 ecx = MEM32(0x25238B90); /* 0x250E090C: mov ecx, dword ptr [0x25238b90] */ 2369 MEM32(ebp + (-0x4)) = ecx; /* 0x250E0912: mov dword ptr [ebp - 4], ecx */ 2370 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E0915: fld dword ptr [ebp - 4] */ 2371 _st[0] *= (double)*(float*)ADDR(eax + 0x24); /* 0x250E0918: fmul dword ptr [eax + 0x24] */ 2372 MEM32(ebp + (-0x8)) = edx; /* 0x250E091B: mov dword ptr [ebp - 8], edx */ 2373 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E091E: fld dword ptr [ebp - 8] */ 2374 ecx = MEM32(ebp + 0x8); /* 0x250E0921: mov ecx, dword ptr [ebp + 8] */ 2375 _st[0] *= (double)*(float*)ADDR(eax + 0x14); /* 0x250E0924: fmul dword ptr [eax + 0x14] */ 2376 PUSH32(esp, 0x25238B78u); /* 0x250E0927: push 0x25238b78 */ 2377 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E092C: faddp st(1) */ 2378 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E092E: fld dword ptr [ebp - 0xc] */ 2379 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x250E0931: fmul dword ptr [eax + 4] */ 2380 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0934: faddp st(1) */ 2381 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E0936: fld dword ptr [ebp - 4] */ 2382 _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x250E0939: fmul dword ptr [eax + 0x28] */ 2383 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E093C: fld dword ptr [ebp - 8] */ 2384 _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x250E093F: fmul dword ptr [eax + 0x18] */ 2385 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0942: faddp st(1) */ 2386 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E0944: fld dword ptr [ebp - 0xc] */ 2387 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250E0947: fmul dword ptr [eax + 8] */ 2388 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E094A: faddp st(1) */ 2389 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x250E094C: fstp dword ptr [ebp + 0x10] */ 2390 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E094F: fld dword ptr [ebp - 4] */ 2391 edx = MEM32(ebp + 0x10); /* 0x250E0952: mov edx, dword ptr [ebp + 0x10] */ 2392 _st[0] *= (double)*(float*)ADDR(eax + 0x20); /* 0x250E0955: fmul dword ptr [eax + 0x20] */ 2393 MEM32(ebp + (-0x4)) = edx; /* 0x250E0958: mov dword ptr [ebp - 4], edx */ 2394 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E095B: fld dword ptr [ebp - 8] */ 2395 _st[0] *= (double)*(float*)ADDR(eax + 0x10); /* 0x250E095E: fmul dword ptr [eax + 0x10] */ 2396 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0961: faddp st(1) */ 2397 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E0963: fld dword ptr [ebp - 0xc] */ 2398 _st[0] *= (double)*(float*)ADDR(eax); /* 0x250E0966: fmul dword ptr [eax] */ 2399 eax = ebp + (-0xC); /* 0x250E0968: lea eax, [ebp - 0xc] */ 2400 PUSH32(esp, eax); /* 0x250E096B: push eax */ 2401 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E096C: faddp st(1) */ 2402 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E096E: fstp dword ptr [ebp - 0xc] */ 2403 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E0971: fstp dword ptr [ebp - 8] */ 2404 RECOMP_ICALL(MEM32(0x25151538)); /* 0x250E0974: call dword ptr [0x25151538] */ 2405 RECOMP_FLAGS_IN(); 2406 esp = ebp; /* 0x250E097A: mov esp, ebp */ 2407 ebp = POP32_VAL(esp); /* 0x250E097C: pop ebp */ 2408 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E097D: ret 0xc */ 2409 L_250E0980: 2410 /* test LO8(ecx), LO8(ecx) */ /* 0x250E0980: test cl, cl */ 2411 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2412 _cf = 0; 2413 _flag_k = FK_NARROW(FK_TEST, 24); 2414 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0A45; /* 0x250E0982: je 0x250e0a45 */ 2415 L_250E0988: 2416 ecx = MEM32(0x25238B88); /* 0x250E0988: mov ecx, dword ptr [0x25238b88] */ 2417 edx = MEM32(0x25238B8C); /* 0x250E098E: mov edx, dword ptr [0x25238b8c] */ 2418 MEM32(ebp + (-0x8)) = edx; /* 0x250E0994: mov dword ptr [ebp - 8], edx */ 2419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 2420 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2421 eax = eax + 0x30u; /* 0x250E0997: add eax, 0x30 */ 2422 _flag_k = FK_ADD; 2423 edx = MEM32(eax); /* 0x250E099A: mov edx, dword ptr [eax] */ 2424 MEM32(ebp + (-0xC)) = ecx; /* 0x250E099C: mov dword ptr [ebp - 0xc], ecx */ 2425 ecx = MEM32(0x25238B90); /* 0x250E099F: mov ecx, dword ptr [0x25238b90] */ 2426 MEM32(ebp + (-0x18)) = edx; /* 0x250E09A5: mov dword ptr [ebp - 0x18], edx */ 2427 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250E09A8: fld dword ptr [ebp - 0x18] */ 2428 edx = MEM32(eax + 0x4); /* 0x250E09AB: mov edx, dword ptr [eax + 4] */ 2429 eax = MEM32(eax + 0x8); /* 0x250E09AE: mov eax, dword ptr [eax + 8] */ 2430 MEM32(ebp + (-0x4)) = ecx; /* 0x250E09B1: mov dword ptr [ebp - 4], ecx */ 2431 ecx = MEM32(ebp + 0x8); /* 0x250E09B4: mov ecx, dword ptr [ebp + 8] */ 2432 _st[0] -= (double)*(float*)ADDR(ecx + 0x30); /* 0x250E09B7: fsub dword ptr [ecx + 0x30] */ 2433 MEM32(ebp + (-0x14)) = edx; /* 0x250E09BA: mov dword ptr [ebp - 0x14], edx */ 2434 MEM32(ebp + (-0x10)) = eax; /* 0x250E09BD: mov dword ptr [ebp - 0x10], eax */ 2435 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x250E09C0: fstp dword ptr [ebp - 0x18] */ 2436 edx = MEM32(ebp + (-0x18)); /* 0x250E09C3: mov edx, dword ptr [ebp - 0x18] */ 2437 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E09C6: fld dword ptr [ebp - 0x14] */ 2438 MEM32(ebp + (-0x24)) = edx; /* 0x250E09C9: mov dword ptr [ebp - 0x24], edx */ 2439 _st[0] -= (double)*(float*)ADDR(ecx + 0x34); /* 0x250E09CC: fsub dword ptr [ecx + 0x34] */ 2440 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x250E09CF: fstp dword ptr [ebp - 0x14] */ 2441 eax = MEM32(ebp + (-0x14)); /* 0x250E09D2: mov eax, dword ptr [ebp - 0x14] */ 2442 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E09D5: fld dword ptr [ebp - 0x10] */ 2443 MEM32(ebp + (-0x20)) = eax; /* 0x250E09D8: mov dword ptr [ebp - 0x20], eax */ 2444 _st[0] -= (double)*(float*)ADDR(ecx + 0x38); /* 0x250E09DB: fsub dword ptr [ecx + 0x38] */ 2445 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x250E09DE: fstp dword ptr [ebp - 0x10] */ 2446 edx = MEM32(ebp + (-0x10)); /* 0x250E09E1: mov edx, dword ptr [ebp - 0x10] */ 2447 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E09E4: fld dword ptr [ebp - 4] */ 2448 MEM32(ebp + (-0x1C)) = edx; /* 0x250E09E7: mov dword ptr [ebp - 0x1c], edx */ 2449 _st[0] *= (double)*(float*)ADDR(ecx + 0x24); /* 0x250E09EA: fmul dword ptr [ecx + 0x24] */ 2450 edx = ebp + (-0x24); /* 0x250E09ED: lea edx, [ebp - 0x24] */ 2451 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E09F0: fld dword ptr [ebp - 8] */ 2452 PUSH32(esp, edx); /* 0x250E09F3: push edx */ 2453 _st[0] *= (double)*(float*)ADDR(ecx + 0x14); /* 0x250E09F4: fmul dword ptr [ecx + 0x14] */ 2454 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E09F7: faddp st(1) */ 2455 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E09F9: fld dword ptr [ebp - 0xc] */ 2456 _st[0] *= (double)*(float*)ADDR(ecx + 0x4); /* 0x250E09FC: fmul dword ptr [ecx + 4] */ 2457 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E09FF: faddp st(1) */ 2458 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E0A01: fld dword ptr [ebp - 4] */ 2459 _st[0] *= (double)*(float*)ADDR(ecx + 0x28); /* 0x250E0A04: fmul dword ptr [ecx + 0x28] */ 2460 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E0A07: fld dword ptr [ebp - 8] */ 2461 _st[0] *= (double)*(float*)ADDR(ecx + 0x18); /* 0x250E0A0A: fmul dword ptr [ecx + 0x18] */ 2462 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0A0D: faddp st(1) */ 2463 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E0A0F: fld dword ptr [ebp - 0xc] */ 2464 _st[0] *= (double)*(float*)ADDR(ecx + 0x8); /* 0x250E0A12: fmul dword ptr [ecx + 8] */ 2465 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0A15: faddp st(1) */ 2466 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x250E0A17: fstp dword ptr [ebp + 0x10] */ 2467 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E0A1A: fld dword ptr [ebp - 4] */ 2468 eax = MEM32(ebp + 0x10); /* 0x250E0A1D: mov eax, dword ptr [ebp + 0x10] */ 2469 _st[0] *= (double)*(float*)ADDR(ecx + 0x20); /* 0x250E0A20: fmul dword ptr [ecx + 0x20] */ 2470 MEM32(ebp + (-0x4)) = eax; /* 0x250E0A23: mov dword ptr [ebp - 4], eax */ 2471 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E0A26: fld dword ptr [ebp - 8] */ 2472 eax = ebp + (-0xC); /* 0x250E0A29: lea eax, [ebp - 0xc] */ 2473 _st[0] *= (double)*(float*)ADDR(ecx + 0x10); /* 0x250E0A2C: fmul dword ptr [ecx + 0x10] */ 2474 PUSH32(esp, eax); /* 0x250E0A2F: push eax */ 2475 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0A30: faddp st(1) */ 2476 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E0A32: fld dword ptr [ebp - 0xc] */ 2477 _st[0] *= (double)*(float*)ADDR(ecx); /* 0x250E0A35: fmul dword ptr [ecx] */ 2478 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E0A37: faddp st(1) */ 2479 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E0A39: fstp dword ptr [ebp - 0xc] */ 2480 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E0A3C: fstp dword ptr [ebp - 8] */ 2481 RECOMP_ICALL(MEM32(0x25151538)); /* 0x250E0A3F: call dword ptr [0x25151538] */ 2482 RECOMP_FLAGS_IN(); 2483 L_250E0A45: 2484 esp = ebp; /* 0x250E0A45: mov esp, ebp */ 2485 ebp = POP32_VAL(esp); /* 0x250E0A47: pop ebp */ 2486 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E0A48: ret 0xc */ 2487 RECOMP_REGS_OUT(); 2488 } 2489 2490 void sub_250E0A50(void) { 2491 int _fpu_cmp = 0; 2492 uint32_t _cf = 0; 2493 int _df = 1; 2494 uint32_t _flag_k = FK_NONE; 2495 uint32_t _flag_a = 0, _flag_b = 0; 2496 uint32_t _itail_tgt = 0; 2497 RECOMP_REGS_LOCALS 2498 RECOMP_ENTER(0x250E0A50u); 2499 2500 L_250E0A50: 2501 PUSH32(esp, ebp); /* 0x250E0A50: push ebp */ 2502 ebp = esp; /* 0x250E0A51: mov ebp, esp */ 2503 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E0A53: push -1 */ 2504 PUSH32(esp, 0x2514AFE1u); /* 0x250E0A55: push 0x2514afe1 */ 2505 eax = MEM32(FS_BASE + (0)); /* 0x250E0A5A: mov eax, dword ptr fs:[0] */ 2506 PUSH32(esp, eax); /* 0x250E0A60: push eax */ 2507 MEM32(FS_BASE + (0)) = esp; /* 0x250E0A61: mov dword ptr fs:[0], esp */ 2508 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCCu); 2509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2510 esp = esp - 0xCCu; /* 0x250E0A68: sub esp, 0xcc */ 2511 _flag_k = FK_CMP; 2512 PUSH32(esp, esi); /* 0x250E0A6E: push esi */ 2513 esi = ecx; /* 0x250E0A6F: mov esi, ecx */ 2514 MEM32(ebp + (-0x98)) = 0x3F800000u; /* 0x250E0A71: mov dword ptr [ebp - 0x98], 0x3f800000 */ 2515 MEM32(ebp + (-0x94)) = 0; /* 0x250E0A7B: mov dword ptr [ebp - 0x94], 0 */ 2516 MEM32(ebp + (-0x90)) = 0; /* 0x250E0A85: mov dword ptr [ebp - 0x90], 0 */ 2517 MEM32(ebp + (-0x8C)) = 0; /* 0x250E0A8F: mov dword ptr [ebp - 0x8c], 0 */ 2518 MEM32(ebp + (-0x88)) = 0; /* 0x250E0A99: mov dword ptr [ebp - 0x88], 0 */ 2519 MEM32(ebp + (-0x84)) = 0x3F800000u; /* 0x250E0AA3: mov dword ptr [ebp - 0x84], 0x3f800000 */ 2520 MEM32(ebp + (-0x80)) = 0; /* 0x250E0AAD: mov dword ptr [ebp - 0x80], 0 */ 2521 MEM32(ebp + (-0x7C)) = 0; /* 0x250E0AB4: mov dword ptr [ebp - 0x7c], 0 */ 2522 MEM32(ebp + (-0x78)) = 0; /* 0x250E0ABB: mov dword ptr [ebp - 0x78], 0 */ 2523 MEM32(ebp + (-0x74)) = 0; /* 0x250E0AC2: mov dword ptr [ebp - 0x74], 0 */ 2524 MEM32(ebp + (-0x70)) = 0x3F800000u; /* 0x250E0AC9: mov dword ptr [ebp - 0x70], 0x3f800000 */ 2525 MEM32(ebp + (-0x6C)) = 0; /* 0x250E0AD0: mov dword ptr [ebp - 0x6c], 0 */ 2526 MEM32(ebp + (-0x68)) = 0; /* 0x250E0AD7: mov dword ptr [ebp - 0x68], 0 */ 2527 MEM32(ebp + (-0x64)) = 0; /* 0x250E0ADE: mov dword ptr [ebp - 0x64], 0 */ 2528 MEM32(ebp + (-0x60)) = 0; /* 0x250E0AE5: mov dword ptr [ebp - 0x60], 0 */ 2529 MEM32(ebp + (-0x5C)) = 0x3F800000u; /* 0x250E0AEC: mov dword ptr [ebp - 0x5c], 0x3f800000 */ 2530 ecx = MEM32(esi + 0xC); /* 0x250E0AF3: mov ecx, dword ptr [esi + 0xc] */ 2531 eax = ebp + (-0x98); /* 0x250E0AF6: lea eax, [ebp - 0x98] */ 2532 PUSH32(esp, eax); /* 0x250E0AFC: push eax */ 2533 MEM32(ebp + (-0x4)) = 0; /* 0x250E0AFD: mov dword ptr [ebp - 4], 0 */ 2534 RECOMP_ICALL(0x250F0F70u); /* 0x250E0B04: call 0x250f0f70 */ /* not lifted */ 2535 RECOMP_FLAGS_IN(); 2536 MEM32(ebp + (-0x58)) = 0x3F800000u; /* 0x250E0B09: mov dword ptr [ebp - 0x58], 0x3f800000 */ 2537 MEM32(ebp + (-0x54)) = 0; /* 0x250E0B10: mov dword ptr [ebp - 0x54], 0 */ 2538 MEM32(ebp + (-0x50)) = 0; /* 0x250E0B17: mov dword ptr [ebp - 0x50], 0 */ 2539 MEM32(ebp + (-0x4C)) = 0; /* 0x250E0B1E: mov dword ptr [ebp - 0x4c], 0 */ 2540 MEM32(ebp + (-0x48)) = 0; /* 0x250E0B25: mov dword ptr [ebp - 0x48], 0 */ 2541 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x250E0B2C: mov dword ptr [ebp - 0x44], 0x3f800000 */ 2542 MEM32(ebp + (-0x40)) = 0; /* 0x250E0B33: mov dword ptr [ebp - 0x40], 0 */ 2543 MEM32(ebp + (-0x3C)) = 0; /* 0x250E0B3A: mov dword ptr [ebp - 0x3c], 0 */ 2544 MEM32(ebp + (-0x38)) = 0; /* 0x250E0B41: mov dword ptr [ebp - 0x38], 0 */ 2545 MEM32(ebp + (-0x34)) = 0; /* 0x250E0B48: mov dword ptr [ebp - 0x34], 0 */ 2546 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x250E0B4F: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2547 MEM32(ebp + (-0x2C)) = 0; /* 0x250E0B56: mov dword ptr [ebp - 0x2c], 0 */ 2548 MEM32(ebp + (-0x28)) = 0; /* 0x250E0B5D: mov dword ptr [ebp - 0x28], 0 */ 2549 MEM32(ebp + (-0x24)) = 0; /* 0x250E0B64: mov dword ptr [ebp - 0x24], 0 */ 2550 MEM32(ebp + (-0x20)) = 0; /* 0x250E0B6B: mov dword ptr [ebp - 0x20], 0 */ 2551 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x250E0B72: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 2552 ecx = ebp + (-0x58); /* 0x250E0B79: lea ecx, [ebp - 0x58] */ 2553 PUSH32(esp, ecx); /* 0x250E0B7C: push ecx */ 2554 ecx = MEM32(esi + 0xC); /* 0x250E0B7D: mov ecx, dword ptr [esi + 0xc] */ 2555 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E0B80: mov byte ptr [ebp - 4], 1 */ 2556 RECOMP_ICALL(0x250F0FA0u); /* 0x250E0B84: call 0x250f0fa0 */ /* not lifted */ 2557 RECOMP_FLAGS_IN(); 2558 edx = ebp + (-0x58); /* 0x250E0B89: lea edx, [ebp - 0x58] */ 2559 PUSH32(esp, edx); /* 0x250E0B8C: push edx */ 2560 eax = ebp + (-0xD8); /* 0x250E0B8D: lea eax, [ebp - 0xd8] */ 2561 PUSH32(esp, eax); /* 0x250E0B93: push eax */ 2562 ecx = ebp + (-0x98); /* 0x250E0B94: lea ecx, [ebp - 0x98] */ 2563 RECOMP_ICALL(MEM32(0x25151524)); /* 0x250E0B9A: call dword ptr [0x25151524] */ 2564 RECOMP_FLAGS_IN(); 2565 ecx = MEM32(ebp + 0x8); /* 0x250E0BA0: mov ecx, dword ptr [ebp + 8] */ 2566 edx = MEM32(ecx); /* 0x250E0BA3: mov edx, dword ptr [ecx] */ 2567 MEM32(ebp + (-0x18)) = edx; /* 0x250E0BA5: mov dword ptr [ebp - 0x18], edx */ 2568 edx = MEM32(ecx + 0x4); /* 0x250E0BA8: mov edx, dword ptr [ecx + 4] */ 2569 ecx = MEM32(ecx + 0x8); /* 0x250E0BAB: mov ecx, dword ptr [ecx + 8] */ 2570 MEM32(ebp + (-0x10)) = ecx; /* 0x250E0BAE: mov dword ptr [ebp - 0x10], ecx */ 2571 PUSH32(esp, eax); /* 0x250E0BB1: push eax */ 2572 ecx = ebp + (-0x18); /* 0x250E0BB2: lea ecx, [ebp - 0x18] */ 2573 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E0BB5: mov byte ptr [ebp - 4], 2 */ 2574 MEM32(ebp + (-0x14)) = edx; /* 0x250E0BB9: mov dword ptr [ebp - 0x14], edx */ 2575 RECOMP_ICALL(MEM32(0x2515151C)); /* 0x250E0BBC: call dword ptr [0x2515151c] */ 2576 RECOMP_FLAGS_IN(); 2577 ecx = MEM32(eax); /* 0x250E0BC2: mov ecx, dword ptr [eax] */ 2578 edx = MEM32(ebp + 0xC); /* 0x250E0BC4: mov edx, dword ptr [ebp + 0xc] */ 2579 MEM32(edx) = ecx; /* 0x250E0BC7: mov dword ptr [edx], ecx */ 2580 ecx = MEM32(eax + 0x4); /* 0x250E0BC9: mov ecx, dword ptr [eax + 4] */ 2581 MEM32(edx + 0x4) = ecx; /* 0x250E0BCC: mov dword ptr [edx + 4], ecx */ 2582 eax = MEM32(eax + 0x8); /* 0x250E0BCF: mov eax, dword ptr [eax + 8] */ 2583 ecx = MEM32(ebp + (-0xC)); /* 0x250E0BD2: mov ecx, dword ptr [ebp - 0xc] */ 2584 MEM32(edx + 0x8) = eax; /* 0x250E0BD5: mov dword ptr [edx + 8], eax */ 2585 SET_LO8(eax, 1); /* 0x250E0BD8: mov al, 1 */ 2586 esi = POP32_VAL(esp); /* 0x250E0BDA: pop esi */ 2587 MEM32(FS_BASE + (0)) = ecx; /* 0x250E0BDB: mov dword ptr fs:[0], ecx */ 2588 esp = ebp; /* 0x250E0BE2: mov esp, ebp */ 2589 ebp = POP32_VAL(esp); /* 0x250E0BE4: pop ebp */ 2590 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E0BE5: ret 8 */ 2591 RECOMP_REGS_OUT(); 2592 } 2593 2594 void sub_250E0BF0(void) { 2595 int _fpu_cmp = 0; 2596 uint32_t _cf = 0; 2597 int _df = 1; 2598 uint32_t _flag_k = FK_NONE; 2599 uint32_t _flag_a = 0, _flag_b = 0; 2600 uint32_t _itail_tgt = 0; 2601 RECOMP_REGS_LOCALS 2602 RECOMP_ENTER(0x250E0BF0u); 2603 2604 L_250E0BF0: 2605 PUSH32(esp, ebx); /* 0x250E0BF0: push ebx */ 2606 PUSH32(esp, esi); /* 0x250E0BF1: push esi */ 2607 PUSH32(esp, edi); /* 0x250E0BF2: push edi */ 2608 edi = ecx; /* 0x250E0BF3: mov edi, ecx */ 2609 ebx = MEM32(edi + 0x8); /* 0x250E0BF5: mov ebx, dword ptr [edi + 8] */ 2610 esi = MEM32(edi + 0x4); /* 0x250E0BF8: mov esi, dword ptr [edi + 4] */ 2611 /* cmp esi, ebx */ /* 0x250E0BFB: cmp esi, ebx */ 2612 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2614 _flag_k = FK_CMP; 2615 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C0D; /* 0x250E0BFD: je 0x250e0c0d */ 2616 L_250E0BFF: 2617 ecx = esi; /* 0x250E0BFF: mov ecx, esi */ 2618 RECOMP_ICALL(0x25105C10u); /* 0x250E0C01: call 0x25105c10 */ /* not lifted */ 2619 RECOMP_FLAGS_IN(); 2620 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 2621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2622 esi = esi + 0xCu; /* 0x250E0C06: add esi, 0xc */ 2623 _flag_k = FK_ADD; 2624 /* cmp esi, ebx */ /* 0x250E0C09: cmp esi, ebx */ 2625 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2627 _flag_k = FK_CMP; 2628 RECOMP_BACKEDGE(); 2629 if (CMP_NE(_flag_a, _flag_b)) goto L_250E0BFF; /* 0x250E0C0B: jne 0x250e0bff */ 2630 L_250E0C0D: 2631 eax = MEM32(edi + 0x4); /* 0x250E0C0D: mov eax, dword ptr [edi + 4] */ 2632 PUSH32(esp, eax); /* 0x250E0C10: push eax */ 2633 RECOMP_ICALL(0x25137EECu); /* 0x250E0C11: call 0x25137eec */ /* not lifted */ 2634 RECOMP_FLAGS_IN(); 2635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2636 eax = 0; /* 0x250E0C16: xor eax, eax */ 2637 _cf = 0; 2638 _flag_k = FK_TEST; 2639 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2640 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2641 esp = esp + 4; /* 0x250E0C18: add esp, 4 */ 2642 _flag_k = FK_ADD; 2643 MEM32(edi + 0x4) = eax; /* 0x250E0C1B: mov dword ptr [edi + 4], eax */ 2644 MEM32(edi + 0x8) = eax; /* 0x250E0C1E: mov dword ptr [edi + 8], eax */ 2645 MEM32(edi + 0xC) = eax; /* 0x250E0C21: mov dword ptr [edi + 0xc], eax */ 2646 edi = POP32_VAL(esp); /* 0x250E0C24: pop edi */ 2647 esi = POP32_VAL(esp); /* 0x250E0C25: pop esi */ 2648 ebx = POP32_VAL(esp); /* 0x250E0C26: pop ebx */ 2649 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0C27: ret */ 2650 RECOMP_REGS_OUT(); 2651 } 2652 2653 void sub_250E0C30(void) { 2654 int _fpu_cmp = 0; 2655 uint32_t _cf = 0; 2656 int _df = 1; 2657 uint32_t _flag_k = FK_NONE; 2658 uint32_t _flag_a = 0, _flag_b = 0; 2659 uint32_t _itail_tgt = 0; 2660 RECOMP_REGS_LOCALS 2661 RECOMP_ENTER(0x250E0C30u); 2662 2663 L_250E0C30: 2664 PUSH32(esp, ebp); /* 0x250E0C30: push ebp */ 2665 ebp = esp; /* 0x250E0C31: mov ebp, esp */ 2666 PUSH32(esp, esi); /* 0x250E0C33: push esi */ 2667 esi = MEM32(ebp + 0x8); /* 0x250E0C34: mov esi, dword ptr [ebp + 8] */ 2668 PUSH32(esp, edi); /* 0x250E0C37: push edi */ 2669 edi = MEM32(ebp + 0xC); /* 0x250E0C38: mov edi, dword ptr [ebp + 0xc] */ 2670 /* cmp esi, edi */ /* 0x250E0C3B: cmp esi, edi */ 2671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2673 _flag_k = FK_CMP; 2674 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C4D; /* 0x250E0C3D: je 0x250e0c4d */ 2675 L_250E0C3F: 2676 ecx = esi; /* 0x250E0C3F: mov ecx, esi */ 2677 RECOMP_ICALL(0x25105C10u); /* 0x250E0C41: call 0x25105c10 */ /* not lifted */ 2678 RECOMP_FLAGS_IN(); 2679 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 2680 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2681 esi = esi + 0xCu; /* 0x250E0C46: add esi, 0xc */ 2682 _flag_k = FK_ADD; 2683 /* cmp esi, edi */ /* 0x250E0C49: cmp esi, edi */ 2684 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2686 _flag_k = FK_CMP; 2687 RECOMP_BACKEDGE(); 2688 if (CMP_NE(_flag_a, _flag_b)) goto L_250E0C3F; /* 0x250E0C4B: jne 0x250e0c3f */ 2689 L_250E0C4D: 2690 edi = POP32_VAL(esp); /* 0x250E0C4D: pop edi */ 2691 esi = POP32_VAL(esp); /* 0x250E0C4E: pop esi */ 2692 ebp = POP32_VAL(esp); /* 0x250E0C4F: pop ebp */ 2693 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E0C50: ret 8 */ 2694 RECOMP_REGS_OUT(); 2695 } 2696 2697 void sub_250E0C60(void) { 2698 int _fpu_cmp = 0; 2699 uint32_t _cf = 0; 2700 int _df = 1; 2701 uint32_t _flag_k = FK_NONE; 2702 uint32_t _flag_a = 0, _flag_b = 0; 2703 uint32_t _itail_tgt = 0; 2704 RECOMP_REGS_LOCALS 2705 RECOMP_ENTER(0x250E0C60u); 2706 2707 L_250E0C60: 2708 PUSH32(esp, ebp); /* 0x250E0C60: push ebp */ 2709 ebp = esp; /* 0x250E0C61: mov ebp, esp */ 2710 PUSH32(esp, ebx); /* 0x250E0C63: push ebx */ 2711 ebx = MEM32(ebp + 0xC); /* 0x250E0C64: mov ebx, dword ptr [ebp + 0xc] */ 2712 PUSH32(esp, esi); /* 0x250E0C67: push esi */ 2713 esi = MEM32(ebp + 0x8); /* 0x250E0C68: mov esi, dword ptr [ebp + 8] */ 2714 /* cmp esi, ebx */ /* 0x250E0C6B: cmp esi, ebx */ 2715 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2717 _flag_k = FK_CMP; 2718 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0C90; /* 0x250E0C6D: je 0x250e0c90 */ 2719 L_250E0C6F: 2720 PUSH32(esp, edi); /* 0x250E0C6F: push edi */ 2721 edi = MEM32(ebp + 0x10); /* 0x250E0C70: mov edi, dword ptr [ebp + 0x10] */ 2722 L_250E0C73: 2723 PUSH32(esp, esi); /* 0x250E0C73: push esi */ 2724 PUSH32(esp, edi); /* 0x250E0C74: push edi */ 2725 RECOMP_ICALL(0x250E0CE0u); /* 0x250E0C75: call 0x250e0ce0 */ /* not lifted */ 2726 RECOMP_FLAGS_IN(); 2727 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 2728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2729 esi = esi + 0xCu; /* 0x250E0C7A: add esi, 0xc */ 2730 _flag_k = FK_ADD; 2731 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2733 esp = esp + 8; /* 0x250E0C7D: add esp, 8 */ 2734 _flag_k = FK_ADD; 2735 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2736 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2737 edi = edi + 0xCu; /* 0x250E0C80: add edi, 0xc */ 2738 _flag_k = FK_ADD; 2739 /* cmp esi, ebx */ /* 0x250E0C83: cmp esi, ebx */ 2740 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2742 _flag_k = FK_CMP; 2743 RECOMP_BACKEDGE(); 2744 if (CMP_NE(_flag_a, _flag_b)) goto L_250E0C73; /* 0x250E0C85: jne 0x250e0c73 */ 2745 L_250E0C87: 2746 eax = edi; /* 0x250E0C87: mov eax, edi */ 2747 edi = POP32_VAL(esp); /* 0x250E0C89: pop edi */ 2748 esi = POP32_VAL(esp); /* 0x250E0C8A: pop esi */ 2749 ebx = POP32_VAL(esp); /* 0x250E0C8B: pop ebx */ 2750 ebp = POP32_VAL(esp); /* 0x250E0C8C: pop ebp */ 2751 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E0C8D: ret 0xc */ 2752 L_250E0C90: 2753 eax = MEM32(ebp + 0x10); /* 0x250E0C90: mov eax, dword ptr [ebp + 0x10] */ 2754 esi = POP32_VAL(esp); /* 0x250E0C93: pop esi */ 2755 ebx = POP32_VAL(esp); /* 0x250E0C94: pop ebx */ 2756 ebp = POP32_VAL(esp); /* 0x250E0C95: pop ebp */ 2757 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x250E0C96: ret 0xc */ 2758 RECOMP_REGS_OUT(); 2759 } 2760 2761 void sub_250E0CA0(void) { 2762 int _fpu_cmp = 0; 2763 uint32_t _cf = 0; 2764 int _df = 1; 2765 uint32_t _flag_k = FK_NONE; 2766 uint32_t _flag_a = 0, _flag_b = 0; 2767 uint32_t _itail_tgt = 0; 2768 RECOMP_REGS_LOCALS 2769 RECOMP_ENTER(0x250E0CA0u); 2770 2771 L_250E0CA0: 2772 PUSH32(esp, ebp); /* 0x250E0CA0: push ebp */ 2773 ebp = esp; /* 0x250E0CA1: mov ebp, esp */ 2774 PUSH32(esp, ebx); /* 0x250E0CA3: push ebx */ 2775 ebx = MEM32(ebp + 0xC); /* 0x250E0CA4: mov ebx, dword ptr [ebp + 0xc] */ 2776 PUSH32(esp, esi); /* 0x250E0CA7: push esi */ 2777 esi = MEM32(ebp + 0x8); /* 0x250E0CA8: mov esi, dword ptr [ebp + 8] */ 2778 /* cmp esi, ebx */ /* 0x250E0CAB: cmp esi, ebx */ 2779 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2781 _flag_k = FK_CMP; 2782 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E0CCC; /* 0x250E0CAD: je 0x250e0ccc */ 2783 L_250E0CAF: 2784 PUSH32(esp, edi); /* 0x250E0CAF: push edi */ 2785 edi = MEM32(ebp + 0x10); /* 0x250E0CB0: mov edi, dword ptr [ebp + 0x10] */ 2786 L_250E0CB3: 2787 PUSH32(esp, esi); /* 0x250E0CB3: push esi */ 2788 ecx = edi; /* 0x250E0CB4: mov ecx, edi */ 2789 RECOMP_ICALL(0x25105C30u); /* 0x250E0CB6: call 0x25105c30 */ /* not lifted */ 2790 RECOMP_FLAGS_IN(); 2791 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu); 2792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2793 esi = esi + 0xCu; /* 0x250E0CBB: add esi, 0xc */ 2794 _flag_k = FK_ADD; 2795 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2796 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2797 edi = edi + 0xCu; /* 0x250E0CBE: add edi, 0xc */ 2798 _flag_k = FK_ADD; 2799 /* cmp esi, ebx */ /* 0x250E0CC1: cmp esi, ebx */ 2800 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2802 _flag_k = FK_CMP; 2803 RECOMP_BACKEDGE(); 2804 if (CMP_NE(_flag_a, _flag_b)) goto L_250E0CB3; /* 0x250E0CC3: jne 0x250e0cb3 */ 2805 L_250E0CC5: 2806 eax = edi; /* 0x250E0CC5: mov eax, edi */ 2807 edi = POP32_VAL(esp); /* 0x250E0CC7: pop edi */ 2808 esi = POP32_VAL(esp); /* 0x250E0CC8: pop esi */ 2809 ebx = POP32_VAL(esp); /* 0x250E0CC9: pop ebx */ 2810 ebp = POP32_VAL(esp); /* 0x250E0CCA: pop ebp */ 2811 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0CCB: ret */ 2812 L_250E0CCC: 2813 eax = MEM32(ebp + 0x10); /* 0x250E0CCC: mov eax, dword ptr [ebp + 0x10] */ 2814 esi = POP32_VAL(esp); /* 0x250E0CCF: pop esi */ 2815 ebx = POP32_VAL(esp); /* 0x250E0CD0: pop ebx */ 2816 ebp = POP32_VAL(esp); /* 0x250E0CD1: pop ebp */ 2817 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0CD2: ret */ 2818 RECOMP_REGS_OUT(); 2819 } 2820 2821 void sub_250E0CE0(void) { 2822 int _fpu_cmp = 0; 2823 uint32_t _cf = 0; 2824 int _df = 1; 2825 uint32_t _flag_k = FK_NONE; 2826 uint32_t _flag_a = 0, _flag_b = 0; 2827 uint32_t _itail_tgt = 0; 2828 RECOMP_REGS_LOCALS 2829 RECOMP_ENTER(0x250E0CE0u); 2830 2831 L_250E0CE0: 2832 PUSH32(esp, ebp); /* 0x250E0CE0: push ebp */ 2833 ebp = esp; /* 0x250E0CE1: mov ebp, esp */ 2834 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E0CE3: push -1 */ 2835 PUSH32(esp, 0x2514B001u); /* 0x250E0CE5: push 0x2514b001 */ 2836 eax = MEM32(FS_BASE + (0)); /* 0x250E0CEA: mov eax, dword ptr fs:[0] */ 2837 PUSH32(esp, eax); /* 0x250E0CF0: push eax */ 2838 MEM32(FS_BASE + (0)) = esp; /* 0x250E0CF1: mov dword ptr fs:[0], esp */ 2839 PUSH32(esp, ecx); /* 0x250E0CF8: push ecx */ 2840 ecx = MEM32(ebp + 0x8); /* 0x250E0CF9: mov ecx, dword ptr [ebp + 8] */ 2841 MEM32(ebp + (-0x10)) = ecx; /* 0x250E0CFC: mov dword ptr [ebp - 0x10], ecx */ 2842 /* test ecx, ecx */ /* 0x250E0CFF: test ecx, ecx */ 2843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2844 _cf = 0; 2845 _flag_k = FK_TEST; 2846 MEM32(ebp + (-0x4)) = 0; /* 0x250E0D01: mov dword ptr [ebp - 4], 0 */ 2847 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0D13; /* 0x250E0D08: je 0x250e0d13 */ 2848 L_250E0D0A: 2849 eax = MEM32(ebp + 0xC); /* 0x250E0D0A: mov eax, dword ptr [ebp + 0xc] */ 2850 PUSH32(esp, eax); /* 0x250E0D0D: push eax */ 2851 RECOMP_ICALL(0x25105BF0u); /* 0x250E0D0E: call 0x25105bf0 */ /* not lifted */ 2852 RECOMP_FLAGS_IN(); 2853 L_250E0D13: 2854 ecx = MEM32(ebp + (-0xC)); /* 0x250E0D13: mov ecx, dword ptr [ebp - 0xc] */ 2855 MEM32(FS_BASE + (0)) = ecx; /* 0x250E0D16: mov dword ptr fs:[0], ecx */ 2856 esp = ebp; /* 0x250E0D1D: mov esp, ebp */ 2857 ebp = POP32_VAL(esp); /* 0x250E0D1F: pop ebp */ 2858 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0D20: ret */ 2859 RECOMP_REGS_OUT(); 2860 } 2861 2862 void sub_250E0D30(void) { 2863 int _fpu_cmp = 0; 2864 uint32_t _cf = 0; 2865 int _df = 1; 2866 uint32_t _flag_k = FK_NONE; 2867 uint32_t _flag_a = 0, _flag_b = 0; 2868 uint32_t _itail_tgt = 0; 2869 RECOMP_REGS_LOCALS 2870 RECOMP_ENTER(0x250E0D30u); 2871 2872 goto L_250E0D30; 2873 L_250DF410: 2874 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 2875 ebp = esp; /* 0x250DF411: mov ebp, esp */ 2876 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 2877 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 2878 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 2879 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2880 _cf = 0; 2881 _flag_k = FK_NARROW(FK_TEST, 24); 2882 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 2883 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 2884 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 2885 L_250DF41F: 2886 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 2887 PUSH32(esp, edi); /* 0x250DF422: push edi */ 2888 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 2889 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 2890 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 2891 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 2892 PUSH32(esp, esi); /* 0x250DF431: push esi */ 2893 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 2894 RECOMP_FLAGS_IN(); 2895 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 2896 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2897 _cf = 0; 2898 _flag_k = FK_NARROW(FK_TEST, 24); 2899 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 2900 L_250DF43C: 2901 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 2902 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 2903 RECOMP_FLAGS_IN(); 2904 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2905 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2906 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 2907 _flag_k = FK_ADD; 2908 L_250DF445: 2909 eax = edi; /* 0x250DF445: mov eax, edi */ 2910 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 2911 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 2912 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 2913 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 2914 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 2915 L_250DF44E: 2916 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 2917 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 2918 RECOMP_FLAGS_IN(); 2919 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 2920 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2921 _cf = 0; 2922 _flag_k = FK_NARROW(FK_TEST, 24); 2923 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 2924 L_250DF45A: 2925 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 2926 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 2927 RECOMP_FLAGS_IN(); 2928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2930 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 2931 _flag_k = FK_ADD; 2932 L_250DF463: 2933 eax = esi; /* 0x250DF463: mov eax, esi */ 2934 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 2935 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 2936 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 2937 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 2938 L_250E0D30: 2939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 2940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2941 ecx = ecx - 8; /* 0x250E0D30: sub ecx, 8 */ 2942 _flag_k = FK_CMP; 2943 RECOMP_BACKEDGE(); 2944 goto L_250DF410; /* 0x250E0D33: jmp 0x250df410 */ 2945 { RECOMP_REGS_OUT(); return; } /* end of function */ 2946 RECOMP_REGS_OUT(); 2947 } 2948 2949 void sub_250E0D40(void) { 2950 int _fpu_cmp = 0; 2951 uint32_t _cf = 0; 2952 int _df = 1; 2953 uint32_t _flag_k = FK_NONE; 2954 uint32_t _flag_a = 0, _flag_b = 0; 2955 uint32_t _itail_tgt = 0; 2956 RECOMP_REGS_LOCALS 2957 RECOMP_ENTER(0x250E0D40u); 2958 2959 goto L_250E0D40; 2960 L_250DF410: 2961 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 2962 ebp = esp; /* 0x250DF411: mov ebp, esp */ 2963 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 2964 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 2965 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 2966 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2967 _cf = 0; 2968 _flag_k = FK_NARROW(FK_TEST, 24); 2969 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 2970 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 2971 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 2972 L_250DF41F: 2973 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 2974 PUSH32(esp, edi); /* 0x250DF422: push edi */ 2975 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 2976 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 2977 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 2978 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 2979 PUSH32(esp, esi); /* 0x250DF431: push esi */ 2980 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 2981 RECOMP_FLAGS_IN(); 2982 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 2983 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2984 _cf = 0; 2985 _flag_k = FK_NARROW(FK_TEST, 24); 2986 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 2987 L_250DF43C: 2988 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 2989 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 2990 RECOMP_FLAGS_IN(); 2991 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2993 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 2994 _flag_k = FK_ADD; 2995 L_250DF445: 2996 eax = edi; /* 0x250DF445: mov eax, edi */ 2997 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 2998 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 2999 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 3000 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 3001 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 3002 L_250DF44E: 3003 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 3004 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 3005 RECOMP_FLAGS_IN(); 3006 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 3007 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3008 _cf = 0; 3009 _flag_k = FK_NARROW(FK_TEST, 24); 3010 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 3011 L_250DF45A: 3012 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 3013 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 3014 RECOMP_FLAGS_IN(); 3015 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3017 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 3018 _flag_k = FK_ADD; 3019 L_250DF463: 3020 eax = esi; /* 0x250DF463: mov eax, esi */ 3021 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 3022 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 3023 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 3024 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 3025 L_250E0D40: 3026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x20u); 3027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3028 ecx = ecx - 0x20u; /* 0x250E0D40: sub ecx, 0x20 */ 3029 _flag_k = FK_CMP; 3030 RECOMP_BACKEDGE(); 3031 goto L_250DF410; /* 0x250E0D43: jmp 0x250df410 */ 3032 { RECOMP_REGS_OUT(); return; } /* end of function */ 3033 RECOMP_REGS_OUT(); 3034 } 3035 3036 void sub_250E0D50(void) { 3037 int _fpu_cmp = 0; 3038 uint32_t _cf = 0; 3039 int _df = 1; 3040 uint32_t _flag_k = FK_NONE; 3041 uint32_t _flag_a = 0, _flag_b = 0; 3042 uint32_t _itail_tgt = 0; 3043 RECOMP_REGS_LOCALS 3044 RECOMP_ENTER(0x250E0D50u); 3045 3046 goto L_250E0D50; 3047 L_250DF410: 3048 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 3049 ebp = esp; /* 0x250DF411: mov ebp, esp */ 3050 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 3051 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 3052 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 3053 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3054 _cf = 0; 3055 _flag_k = FK_NARROW(FK_TEST, 24); 3056 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 3057 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 3058 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 3059 L_250DF41F: 3060 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 3061 PUSH32(esp, edi); /* 0x250DF422: push edi */ 3062 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 3063 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 3064 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 3065 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 3066 PUSH32(esp, esi); /* 0x250DF431: push esi */ 3067 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 3068 RECOMP_FLAGS_IN(); 3069 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 3070 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3071 _cf = 0; 3072 _flag_k = FK_NARROW(FK_TEST, 24); 3073 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 3074 L_250DF43C: 3075 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 3076 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 3077 RECOMP_FLAGS_IN(); 3078 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3079 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3080 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 3081 _flag_k = FK_ADD; 3082 L_250DF445: 3083 eax = edi; /* 0x250DF445: mov eax, edi */ 3084 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 3085 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 3086 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 3087 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 3088 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 3089 L_250DF44E: 3090 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 3091 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 3092 RECOMP_FLAGS_IN(); 3093 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 3094 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3095 _cf = 0; 3096 _flag_k = FK_NARROW(FK_TEST, 24); 3097 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 3098 L_250DF45A: 3099 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 3100 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 3101 RECOMP_FLAGS_IN(); 3102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3104 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 3105 _flag_k = FK_ADD; 3106 L_250DF463: 3107 eax = esi; /* 0x250DF463: mov eax, esi */ 3108 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 3109 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 3110 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 3111 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 3112 L_250E0D50: 3113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x38u); 3114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3115 ecx = ecx - 0x38u; /* 0x250E0D50: sub ecx, 0x38 */ 3116 _flag_k = FK_CMP; 3117 RECOMP_BACKEDGE(); 3118 goto L_250DF410; /* 0x250E0D53: jmp 0x250df410 */ 3119 { RECOMP_REGS_OUT(); return; } /* end of function */ 3120 RECOMP_REGS_OUT(); 3121 } 3122 3123 void sub_250E0D60(void) { 3124 int _fpu_cmp = 0; 3125 uint32_t _cf = 0; 3126 int _df = 1; 3127 uint32_t _flag_k = FK_NONE; 3128 uint32_t _flag_a = 0, _flag_b = 0; 3129 uint32_t _itail_tgt = 0; 3130 RECOMP_REGS_LOCALS 3131 RECOMP_ENTER(0x250E0D60u); 3132 3133 goto L_250E0D60; 3134 L_250DF410: 3135 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 3136 ebp = esp; /* 0x250DF411: mov ebp, esp */ 3137 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 3138 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 3139 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 3140 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3141 _cf = 0; 3142 _flag_k = FK_NARROW(FK_TEST, 24); 3143 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 3144 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 3145 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 3146 L_250DF41F: 3147 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 3148 PUSH32(esp, edi); /* 0x250DF422: push edi */ 3149 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 3150 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 3151 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 3152 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 3153 PUSH32(esp, esi); /* 0x250DF431: push esi */ 3154 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 3155 RECOMP_FLAGS_IN(); 3156 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 3157 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3158 _cf = 0; 3159 _flag_k = FK_NARROW(FK_TEST, 24); 3160 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 3161 L_250DF43C: 3162 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 3163 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 3164 RECOMP_FLAGS_IN(); 3165 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3167 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 3168 _flag_k = FK_ADD; 3169 L_250DF445: 3170 eax = edi; /* 0x250DF445: mov eax, edi */ 3171 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 3172 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 3173 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 3174 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 3175 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 3176 L_250DF44E: 3177 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 3178 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 3179 RECOMP_FLAGS_IN(); 3180 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 3181 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3182 _cf = 0; 3183 _flag_k = FK_NARROW(FK_TEST, 24); 3184 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 3185 L_250DF45A: 3186 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 3187 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 3188 RECOMP_FLAGS_IN(); 3189 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3191 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 3192 _flag_k = FK_ADD; 3193 L_250DF463: 3194 eax = esi; /* 0x250DF463: mov eax, esi */ 3195 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 3196 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 3197 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 3198 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 3199 L_250E0D60: 3200 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u); 3201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3202 ecx = ecx - 0x50u; /* 0x250E0D60: sub ecx, 0x50 */ 3203 _flag_k = FK_CMP; 3204 RECOMP_BACKEDGE(); 3205 goto L_250DF410; /* 0x250E0D63: jmp 0x250df410 */ 3206 { RECOMP_REGS_OUT(); return; } /* end of function */ 3207 RECOMP_REGS_OUT(); 3208 } 3209 3210 void sub_250E0D70(void) { 3211 int _fpu_cmp = 0; 3212 uint32_t _cf = 0; 3213 int _df = 1; 3214 uint32_t _flag_k = FK_NONE; 3215 uint32_t _flag_a = 0, _flag_b = 0; 3216 uint32_t _itail_tgt = 0; 3217 RECOMP_REGS_LOCALS 3218 RECOMP_ENTER(0x250E0D70u); 3219 3220 goto L_250E0D70; 3221 L_250DF410: 3222 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 3223 ebp = esp; /* 0x250DF411: mov ebp, esp */ 3224 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 3225 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 3226 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 3227 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3228 _cf = 0; 3229 _flag_k = FK_NARROW(FK_TEST, 24); 3230 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 3231 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 3232 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 3233 L_250DF41F: 3234 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 3235 PUSH32(esp, edi); /* 0x250DF422: push edi */ 3236 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 3237 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 3238 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 3239 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 3240 PUSH32(esp, esi); /* 0x250DF431: push esi */ 3241 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 3242 RECOMP_FLAGS_IN(); 3243 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 3244 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3245 _cf = 0; 3246 _flag_k = FK_NARROW(FK_TEST, 24); 3247 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 3248 L_250DF43C: 3249 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 3250 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 3251 RECOMP_FLAGS_IN(); 3252 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3254 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 3255 _flag_k = FK_ADD; 3256 L_250DF445: 3257 eax = edi; /* 0x250DF445: mov eax, edi */ 3258 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 3259 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 3260 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 3261 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 3262 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 3263 L_250DF44E: 3264 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 3265 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 3266 RECOMP_FLAGS_IN(); 3267 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 3268 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3269 _cf = 0; 3270 _flag_k = FK_NARROW(FK_TEST, 24); 3271 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 3272 L_250DF45A: 3273 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 3274 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 3275 RECOMP_FLAGS_IN(); 3276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3278 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 3279 _flag_k = FK_ADD; 3280 L_250DF463: 3281 eax = esi; /* 0x250DF463: mov eax, esi */ 3282 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 3283 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 3284 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 3285 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 3286 L_250E0D70: 3287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x138u); 3288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3289 ecx = ecx - 0x138u; /* 0x250E0D70: sub ecx, 0x138 */ 3290 _flag_k = FK_CMP; 3291 RECOMP_BACKEDGE(); 3292 goto L_250DF410; /* 0x250E0D76: jmp 0x250df410 */ 3293 { RECOMP_REGS_OUT(); return; } /* end of function */ 3294 RECOMP_REGS_OUT(); 3295 } 3296 3297 void sub_250E0D80(void) { 3298 int _fpu_cmp = 0; 3299 uint32_t _cf = 0; 3300 int _df = 1; 3301 uint32_t _flag_k = FK_NONE; 3302 uint32_t _flag_a = 0, _flag_b = 0; 3303 uint32_t _itail_tgt = 0; 3304 RECOMP_REGS_LOCALS 3305 RECOMP_ENTER(0x250E0D80u); 3306 3307 goto L_250E0D80; 3308 L_250DF410: 3309 PUSH32(esp, ebp); /* 0x250DF410: push ebp */ 3310 ebp = esp; /* 0x250DF411: mov ebp, esp */ 3311 PUSH32(esp, ebx); /* 0x250DF413: push ebx */ 3312 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250DF414: mov bl, byte ptr [ebp + 8] */ 3313 /* test LO8(ebx), 2 */ /* 0x250DF417: test bl, 2 */ 3314 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3315 _cf = 0; 3316 _flag_k = FK_NARROW(FK_TEST, 24); 3317 PUSH32(esp, esi); /* 0x250DF41A: push esi */ 3318 esi = ecx; /* 0x250DF41B: mov esi, ecx */ 3319 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF44E; /* 0x250DF41D: je 0x250df44e */ 3320 L_250DF41F: 3321 eax = MEM32(esi + (-0x4)); /* 0x250DF41F: mov eax, dword ptr [esi - 4] */ 3322 PUSH32(esp, edi); /* 0x250DF422: push edi */ 3323 PUSH32(esp, 0x250F2480u); /* 0x250DF423: push 0x250f2480 */ 3324 edi = esi + (-0x4); /* 0x250DF428: lea edi, [esi - 4] */ 3325 PUSH32(esp, eax); /* 0x250DF42B: push eax */ 3326 PUSH32(esp, 0x240u); /* 0x250DF42C: push 0x240 */ 3327 PUSH32(esp, esi); /* 0x250DF431: push esi */ 3328 RECOMP_ICALL(0x25137F92u); /* 0x250DF432: call 0x25137f92 */ /* not lifted */ 3329 RECOMP_FLAGS_IN(); 3330 /* test LO8(ebx), 1 */ /* 0x250DF437: test bl, 1 */ 3331 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3332 _cf = 0; 3333 _flag_k = FK_NARROW(FK_TEST, 24); 3334 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF445; /* 0x250DF43A: je 0x250df445 */ 3335 L_250DF43C: 3336 PUSH32(esp, edi); /* 0x250DF43C: push edi */ 3337 RECOMP_ICALL(0x25137EECu); /* 0x250DF43D: call 0x25137eec */ /* not lifted */ 3338 RECOMP_FLAGS_IN(); 3339 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3340 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3341 esp = esp + 4; /* 0x250DF442: add esp, 4 */ 3342 _flag_k = FK_ADD; 3343 L_250DF445: 3344 eax = edi; /* 0x250DF445: mov eax, edi */ 3345 edi = POP32_VAL(esp); /* 0x250DF447: pop edi */ 3346 esi = POP32_VAL(esp); /* 0x250DF448: pop esi */ 3347 ebx = POP32_VAL(esp); /* 0x250DF449: pop ebx */ 3348 ebp = POP32_VAL(esp); /* 0x250DF44A: pop ebp */ 3349 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF44B: ret 4 */ 3350 L_250DF44E: 3351 ecx = esi; /* 0x250DF44E: mov ecx, esi */ 3352 RECOMP_ICALL(0x250F2480u); /* 0x250DF450: call 0x250f2480 */ /* not lifted */ 3353 RECOMP_FLAGS_IN(); 3354 /* test LO8(ebx), 1 */ /* 0x250DF455: test bl, 1 */ 3355 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3356 _cf = 0; 3357 _flag_k = FK_NARROW(FK_TEST, 24); 3358 if (TEST_Z(_flag_a, _flag_b)) goto L_250DF463; /* 0x250DF458: je 0x250df463 */ 3359 L_250DF45A: 3360 PUSH32(esp, esi); /* 0x250DF45A: push esi */ 3361 RECOMP_ICALL(0x25137EECu); /* 0x250DF45B: call 0x25137eec */ /* not lifted */ 3362 RECOMP_FLAGS_IN(); 3363 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3365 esp = esp + 4; /* 0x250DF460: add esp, 4 */ 3366 _flag_k = FK_ADD; 3367 L_250DF463: 3368 eax = esi; /* 0x250DF463: mov eax, esi */ 3369 esi = POP32_VAL(esp); /* 0x250DF465: pop esi */ 3370 ebx = POP32_VAL(esp); /* 0x250DF466: pop ebx */ 3371 ebp = POP32_VAL(esp); /* 0x250DF467: pop ebp */ 3372 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250DF468: ret 4 */ 3373 L_250E0D80: 3374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u); 3375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3376 ecx = ecx - 0x150u; /* 0x250E0D80: sub ecx, 0x150 */ 3377 _flag_k = FK_CMP; 3378 RECOMP_BACKEDGE(); 3379 goto L_250DF410; /* 0x250E0D86: jmp 0x250df410 */ 3380 { RECOMP_REGS_OUT(); return; } /* end of function */ 3381 RECOMP_REGS_OUT(); 3382 } 3383 3384 void sub_250E0D90(void) { 3385 int _fpu_cmp = 0; 3386 uint32_t _cf = 0; 3387 int _df = 1; 3388 uint32_t _flag_k = FK_NONE; 3389 uint32_t _flag_a = 0, _flag_b = 0; 3390 uint32_t _itail_tgt = 0; 3391 RECOMP_REGS_LOCALS 3392 RECOMP_ENTER(0x250E0D90u); 3393 3394 L_250E0D90: 3395 eax = MEM32(ecx + 0x34); /* 0x250E0D90: mov eax, dword ptr [ecx + 0x34] */ 3396 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0D93: ret */ 3397 RECOMP_REGS_OUT(); 3398 } 3399 3400 void sub_250E0DA0(void) { 3401 int _fpu_cmp = 0; 3402 uint32_t _cf = 0; 3403 int _df = 1; 3404 uint32_t _flag_k = FK_NONE; 3405 uint32_t _flag_a = 0, _flag_b = 0; 3406 uint32_t _itail_tgt = 0; 3407 RECOMP_REGS_LOCALS 3408 RECOMP_ENTER(0x250E0DA0u); 3409 3410 L_250E0DA0: 3411 PUSH32(esp, ebp); /* 0x250E0DA0: push ebp */ 3412 ebp = esp; /* 0x250E0DA1: mov ebp, esp */ 3413 eax = MEM32(ebp + 0x8); /* 0x250E0DA3: mov eax, dword ptr [ebp + 8] */ 3414 PUSH32(esp, esi); /* 0x250E0DA6: push esi */ 3415 esi = ecx; /* 0x250E0DA7: mov esi, ecx */ 3416 PUSH32(esp, eax); /* 0x250E0DA9: push eax */ 3417 RECOMP_ICALL(0x250E5C90u); /* 0x250E0DAA: call 0x250e5c90 */ /* not lifted */ 3418 RECOMP_FLAGS_IN(); 3419 MEM32(esi) = 0x25158444u; /* 0x250E0DAF: mov dword ptr [esi], 0x25158444 */ 3420 eax = esi; /* 0x250E0DB5: mov eax, esi */ 3421 esi = POP32_VAL(esp); /* 0x250E0DB7: pop esi */ 3422 ebp = POP32_VAL(esp); /* 0x250E0DB8: pop ebp */ 3423 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0DB9: ret 4 */ 3424 RECOMP_REGS_OUT(); 3425 } 3426 3427 void sub_250E0DC0(void) { 3428 int _fpu_cmp = 0; 3429 uint32_t _cf = 0; 3430 int _df = 1; 3431 uint32_t _flag_k = FK_NONE; 3432 uint32_t _flag_a = 0, _flag_b = 0; 3433 uint32_t _itail_tgt = 0; 3434 RECOMP_REGS_LOCALS 3435 RECOMP_ENTER(0x250E0DC0u); 3436 3437 L_250E0DC0: 3438 PUSH32(esp, esi); /* 0x250E0DC0: push esi */ 3439 esi = ecx; /* 0x250E0DC1: mov esi, ecx */ 3440 RECOMP_ICALL(0x250E5910u); /* 0x250E0DC3: call 0x250e5910 */ /* not lifted */ 3441 RECOMP_FLAGS_IN(); 3442 MEM32(esi) = 0x25158444u; /* 0x250E0DC8: mov dword ptr [esi], 0x25158444 */ 3443 eax = esi; /* 0x250E0DCE: mov eax, esi */ 3444 esi = POP32_VAL(esp); /* 0x250E0DD0: pop esi */ 3445 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0DD1: ret */ 3446 RECOMP_REGS_OUT(); 3447 } 3448 3449 void sub_250E0DE0(void) { 3450 int _fpu_cmp = 0; 3451 uint32_t _cf = 0; 3452 int _df = 1; 3453 uint32_t _flag_k = FK_NONE; 3454 uint32_t _flag_a = 0, _flag_b = 0; 3455 uint32_t _itail_tgt = 0; 3456 RECOMP_REGS_LOCALS 3457 RECOMP_ENTER(0x250E0DE0u); 3458 3459 L_250E0DE0: 3460 PUSH32(esp, ebp); /* 0x250E0DE0: push ebp */ 3461 ebp = esp; /* 0x250E0DE1: mov ebp, esp */ 3462 eax = MEM32(ebp + 0x8); /* 0x250E0DE3: mov eax, dword ptr [ebp + 8] */ 3463 PUSH32(esp, esi); /* 0x250E0DE6: push esi */ 3464 esi = ecx; /* 0x250E0DE7: mov esi, ecx */ 3465 PUSH32(esp, eax); /* 0x250E0DE9: push eax */ 3466 RECOMP_ICALL(0x250E5AF0u); /* 0x250E0DEA: call 0x250e5af0 */ /* not lifted */ 3467 RECOMP_FLAGS_IN(); 3468 MEM32(esi) = 0x25158444u; /* 0x250E0DEF: mov dword ptr [esi], 0x25158444 */ 3469 eax = esi; /* 0x250E0DF5: mov eax, esi */ 3470 esi = POP32_VAL(esp); /* 0x250E0DF7: pop esi */ 3471 ebp = POP32_VAL(esp); /* 0x250E0DF8: pop ebp */ 3472 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0DF9: ret 4 */ 3473 RECOMP_REGS_OUT(); 3474 } 3475 3476 void sub_250E0E00(void) { 3477 int _fpu_cmp = 0; 3478 uint32_t _cf = 0; 3479 int _df = 1; 3480 uint32_t _flag_k = FK_NONE; 3481 uint32_t _flag_a = 0, _flag_b = 0; 3482 uint32_t _itail_tgt = 0; 3483 RECOMP_REGS_LOCALS 3484 RECOMP_ENTER(0x250E0E00u); 3485 3486 L_250E0E00: 3487 eax = MEM32(ecx + 0x24); /* 0x250E0E00: mov eax, dword ptr [ecx + 0x24] */ 3488 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0E03: ret */ 3489 RECOMP_REGS_OUT(); 3490 } 3491 3492 void sub_250E0E10(void) { 3493 int _fpu_cmp = 0; 3494 uint32_t _cf = 0; 3495 int _df = 1; 3496 uint32_t _flag_k = FK_NONE; 3497 uint32_t _flag_a = 0, _flag_b = 0; 3498 uint32_t _itail_tgt = 0; 3499 RECOMP_REGS_LOCALS 3500 RECOMP_ENTER(0x250E0E10u); 3501 3502 L_250E0E10: 3503 PUSH32(esp, ebp); /* 0x250E0E10: push ebp */ 3504 ebp = esp; /* 0x250E0E11: mov ebp, esp */ 3505 PUSH32(esp, esi); /* 0x250E0E13: push esi */ 3506 PUSH32(esp, edi); /* 0x250E0E14: push edi */ 3507 edi = MEM32(ebp + 0x8); /* 0x250E0E15: mov edi, dword ptr [ebp + 8] */ 3508 esi = ecx; /* 0x250E0E18: mov esi, ecx */ 3509 PUSH32(esp, edi); /* 0x250E0E1A: push edi */ 3510 RECOMP_ICALL(0x250E5AF0u); /* 0x250E0E1B: call 0x250e5af0 */ /* not lifted */ 3511 RECOMP_FLAGS_IN(); 3512 MEM32(esi) = 0x25158444u; /* 0x250E0E20: mov dword ptr [esi], 0x25158444 */ 3513 eax = MEM32(edi + 0x24); /* 0x250E0E26: mov eax, dword ptr [edi + 0x24] */ 3514 MEM32(esi + 0x24) = eax; /* 0x250E0E29: mov dword ptr [esi + 0x24], eax */ 3515 edi = POP32_VAL(esp); /* 0x250E0E2C: pop edi */ 3516 MEM32(esi) = 0x2515845Cu; /* 0x250E0E2D: mov dword ptr [esi], 0x2515845c */ 3517 eax = esi; /* 0x250E0E33: mov eax, esi */ 3518 esi = POP32_VAL(esp); /* 0x250E0E35: pop esi */ 3519 ebp = POP32_VAL(esp); /* 0x250E0E36: pop ebp */ 3520 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0E37: ret 4 */ 3521 RECOMP_REGS_OUT(); 3522 } 3523 3524 void sub_250E0E40(void) { 3525 int _fpu_cmp = 0; 3526 uint32_t _cf = 0; 3527 int _df = 1; 3528 uint32_t _flag_k = FK_NONE; 3529 uint32_t _flag_a = 0, _flag_b = 0; 3530 uint32_t _itail_tgt = 0; 3531 RECOMP_REGS_LOCALS 3532 RECOMP_ENTER(0x250E0E40u); 3533 3534 L_250E0E40: 3535 goto L_250E62B0; /* 0x250E0E40: jmp 0x250e62b0 */ 3536 L_250E62B0: 3537 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 3538 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 3539 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 3540 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 3541 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 3542 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 3543 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 3544 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3546 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 3547 _flag_k = FK_CMP; 3548 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 3549 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 3550 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 3551 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 3552 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 3553 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 3554 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 3555 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 3556 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 3557 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 3558 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 3559 RECOMP_FLAGS_IN(); 3560 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 3561 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 3562 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3563 _cf = 0; 3564 _flag_k = FK_TEST; 3565 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 3566 L_250E62F7: 3567 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 3568 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 3569 _flag_k = FK_DEC; 3570 L_250E62FD: 3571 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 3572 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 3573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3574 _cf = 0; 3575 _flag_k = FK_TEST; 3576 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 3577 L_250E6304: 3578 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 3579 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 3580 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 3581 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3582 _cf = 0; 3583 _flag_k = FK_NARROW(FK_TEST, 24); 3584 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 3585 L_250E630D: 3586 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 3587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3589 _flag_k = FK_NARROW(FK_CMP, 24); 3590 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 3591 L_250E6311: 3592 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3593 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 3594 _flag_k = FK_NARROW(FK_DEC, 24); 3595 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 3596 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 3597 L_250E6317: 3598 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 3599 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 3600 RECOMP_FLAGS_IN(); 3601 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3603 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 3604 _flag_k = FK_ADD; 3605 L_250E6320: 3606 ecx = esi; /* 0x250E6320: mov ecx, esi */ 3607 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 3608 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 3609 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 3610 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 3611 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 3612 RECOMP_FLAGS_IN(); 3613 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 3614 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 3615 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 3616 esp = ebp; /* 0x250E634F: mov esp, ebp */ 3617 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 3618 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 3619 RECOMP_REGS_OUT(); 3620 } 3621 3622 void sub_250E0E50(void) { 3623 int _fpu_cmp = 0; 3624 uint32_t _cf = 0; 3625 int _df = 1; 3626 uint32_t _flag_k = FK_NONE; 3627 uint32_t _flag_a = 0, _flag_b = 0; 3628 uint32_t _itail_tgt = 0; 3629 RECOMP_REGS_LOCALS 3630 RECOMP_ENTER(0x250E0E50u); 3631 3632 L_250E0E50: 3633 PUSH32(esp, ebp); /* 0x250E0E50: push ebp */ 3634 ebp = esp; /* 0x250E0E51: mov ebp, esp */ 3635 PUSH32(esp, ebx); /* 0x250E0E53: push ebx */ 3636 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250E0E54: mov bl, byte ptr [ebp + 8] */ 3637 /* test LO8(ebx), 2 */ /* 0x250E0E57: test bl, 2 */ 3638 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3639 _cf = 0; 3640 _flag_k = FK_NARROW(FK_TEST, 24); 3641 PUSH32(esp, esi); /* 0x250E0E5A: push esi */ 3642 esi = ecx; /* 0x250E0E5B: mov esi, ecx */ 3643 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0E8B; /* 0x250E0E5D: je 0x250e0e8b */ 3644 L_250E0E5F: 3645 eax = MEM32(esi + (-0x4)); /* 0x250E0E5F: mov eax, dword ptr [esi - 4] */ 3646 PUSH32(esp, edi); /* 0x250E0E62: push edi */ 3647 PUSH32(esp, 0x250E0E40u); /* 0x250E0E63: push 0x250e0e40 */ 3648 edi = esi + (-0x4); /* 0x250E0E68: lea edi, [esi - 4] */ 3649 PUSH32(esp, eax); /* 0x250E0E6B: push eax */ 3650 PUSH32(esp, 0x28u); /* 0x250E0E6C: push 0x28 */ 3651 PUSH32(esp, esi); /* 0x250E0E6E: push esi */ 3652 RECOMP_ICALL(0x25137F92u); /* 0x250E0E6F: call 0x25137f92 */ /* not lifted */ 3653 RECOMP_FLAGS_IN(); 3654 /* test LO8(ebx), 1 */ /* 0x250E0E74: test bl, 1 */ 3655 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3656 _cf = 0; 3657 _flag_k = FK_NARROW(FK_TEST, 24); 3658 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0E82; /* 0x250E0E77: je 0x250e0e82 */ 3659 L_250E0E79: 3660 PUSH32(esp, edi); /* 0x250E0E79: push edi */ 3661 RECOMP_ICALL(0x25137EECu); /* 0x250E0E7A: call 0x25137eec */ /* not lifted */ 3662 RECOMP_FLAGS_IN(); 3663 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3665 esp = esp + 4; /* 0x250E0E7F: add esp, 4 */ 3666 _flag_k = FK_ADD; 3667 L_250E0E82: 3668 eax = edi; /* 0x250E0E82: mov eax, edi */ 3669 edi = POP32_VAL(esp); /* 0x250E0E84: pop edi */ 3670 esi = POP32_VAL(esp); /* 0x250E0E85: pop esi */ 3671 ebx = POP32_VAL(esp); /* 0x250E0E86: pop ebx */ 3672 ebp = POP32_VAL(esp); /* 0x250E0E87: pop ebp */ 3673 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0E88: ret 4 */ 3674 L_250E0E8B: 3675 ecx = esi; /* 0x250E0E8B: mov ecx, esi */ 3676 RECOMP_ICALL(0x250E0E40u); /* 0x250E0E8D: call 0x250e0e40 */ /* not lifted */ 3677 RECOMP_FLAGS_IN(); 3678 /* test LO8(ebx), 1 */ /* 0x250E0E92: test bl, 1 */ 3679 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3680 _cf = 0; 3681 _flag_k = FK_NARROW(FK_TEST, 24); 3682 if (TEST_Z(_flag_a, _flag_b)) goto L_250E0EA0; /* 0x250E0E95: je 0x250e0ea0 */ 3683 L_250E0E97: 3684 PUSH32(esp, esi); /* 0x250E0E97: push esi */ 3685 RECOMP_ICALL(0x25137EECu); /* 0x250E0E98: call 0x25137eec */ /* not lifted */ 3686 RECOMP_FLAGS_IN(); 3687 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3688 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3689 esp = esp + 4; /* 0x250E0E9D: add esp, 4 */ 3690 _flag_k = FK_ADD; 3691 L_250E0EA0: 3692 eax = esi; /* 0x250E0EA0: mov eax, esi */ 3693 esi = POP32_VAL(esp); /* 0x250E0EA2: pop esi */ 3694 ebx = POP32_VAL(esp); /* 0x250E0EA3: pop ebx */ 3695 ebp = POP32_VAL(esp); /* 0x250E0EA4: pop ebp */ 3696 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E0EA5: ret 4 */ 3697 RECOMP_REGS_OUT(); 3698 } 3699 3700 void sub_250E0EB0(void) { 3701 int _fpu_cmp = 0; 3702 uint32_t _cf = 0; 3703 int _df = 1; 3704 uint32_t _flag_k = FK_NONE; 3705 uint32_t _flag_a = 0, _flag_b = 0; 3706 uint32_t _itail_tgt = 0; 3707 RECOMP_REGS_LOCALS 3708 RECOMP_ENTER(0x250E0EB0u); 3709 3710 L_250E0EB0: 3711 PUSH32(esp, ebp); /* 0x250E0EB0: push ebp */ 3712 ebp = esp; /* 0x250E0EB1: mov ebp, esp */ 3713 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E0EB3: push -1 */ 3714 PUSH32(esp, 0x2514B018u); /* 0x250E0EB5: push 0x2514b018 */ 3715 eax = MEM32(FS_BASE + (0)); /* 0x250E0EBA: mov eax, dword ptr fs:[0] */ 3716 PUSH32(esp, eax); /* 0x250E0EC0: push eax */ 3717 MEM32(FS_BASE + (0)) = esp; /* 0x250E0EC1: mov dword ptr fs:[0], esp */ 3718 PUSH32(esp, ecx); /* 0x250E0EC8: push ecx */ 3719 eax = MEM32(ebp + 0x8); /* 0x250E0EC9: mov eax, dword ptr [ebp + 8] */ 3720 PUSH32(esp, esi); /* 0x250E0ECC: push esi */ 3721 esi = ecx; /* 0x250E0ECD: mov esi, ecx */ 3722 PUSH32(esp, eax); /* 0x250E0ECF: push eax */ 3723 MEM32(ebp + (-0x10)) = esi; /* 0x250E0ED0: mov dword ptr [ebp - 0x10], esi */ 3724 RECOMP_ICALL(0x250E5C90u); /* 0x250E0ED3: call 0x250e5c90 */ /* not lifted */ 3725 RECOMP_FLAGS_IN(); 3726 ecx = MEM32(ebp + 0xC); /* 0x250E0ED8: mov ecx, dword ptr [ebp + 0xc] */ 3727 PUSH32(esp, ecx); /* 0x250E0EDB: push ecx */ 3728 ecx = esi; /* 0x250E0EDC: mov ecx, esi */ 3729 MEM32(ebp + (-0x4)) = 0; /* 0x250E0EDE: mov dword ptr [ebp - 4], 0 */ 3730 MEM32(esi) = 0x2515845Cu; /* 0x250E0EE5: mov dword ptr [esi], 0x2515845c */ 3731 RECOMP_ICALL(0x25121FC0u); /* 0x250E0EEB: call 0x25121fc0 */ /* not lifted */ 3732 RECOMP_FLAGS_IN(); 3733 ecx = MEM32(ebp + (-0xC)); /* 0x250E0EF0: mov ecx, dword ptr [ebp - 0xc] */ 3734 eax = esi; /* 0x250E0EF3: mov eax, esi */ 3735 esi = POP32_VAL(esp); /* 0x250E0EF5: pop esi */ 3736 MEM32(FS_BASE + (0)) = ecx; /* 0x250E0EF6: mov dword ptr fs:[0], ecx */ 3737 esp = ebp; /* 0x250E0EFD: mov esp, ebp */ 3738 ebp = POP32_VAL(esp); /* 0x250E0EFF: pop ebp */ 3739 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E0F00: ret 8 */ 3740 RECOMP_REGS_OUT(); 3741 } 3742 3743 void sub_250E0F10(void) { 3744 int _fpu_cmp = 0; 3745 uint32_t _cf = 0; 3746 int _df = 1; 3747 uint32_t _flag_k = FK_NONE; 3748 uint32_t _flag_a = 0, _flag_b = 0; 3749 uint32_t _itail_tgt = 0; 3750 RECOMP_REGS_LOCALS 3751 RECOMP_ENTER(0x250E0F10u); 3752 3753 L_250E0F10: 3754 RECOMP_ICALL(0x250E0F20u); /* 0x250E0F10: call 0x250e0f20 */ /* not lifted */ 3755 RECOMP_FLAGS_IN(); 3756 goto L_250E0F50; /* 0x250E0F15: jmp 0x250e0f50 */ 3757 L_250E0F50: 3758 PUSH32(esp, 0x250E0F60u); /* 0x250E0F50: push 0x250e0f60 */ 3759 RECOMP_ICALL(0x251380B2u); /* 0x250E0F55: call 0x251380b2 */ /* not lifted */ 3760 RECOMP_FLAGS_IN(); 3761 ecx = POP32_VAL(esp); /* 0x250E0F5A: pop ecx */ 3762 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0F5B: ret */ 3763 RECOMP_REGS_OUT(); 3764 } 3765 3766 void sub_250E0F20(void) { 3767 int _fpu_cmp = 0; 3768 uint32_t _cf = 0; 3769 int _df = 1; 3770 uint32_t _flag_k = FK_NONE; 3771 uint32_t _flag_a = 0, _flag_b = 0; 3772 uint32_t _itail_tgt = 0; 3773 RECOMP_REGS_LOCALS 3774 RECOMP_ENTER(0x250E0F20u); 3775 3776 L_250E0F20: 3777 PUSH32(esp, ebp); /* 0x250E0F20: push ebp */ 3778 ebp = esp; /* 0x250E0F21: mov ebp, esp */ 3779 PUSH32(esp, ecx); /* 0x250E0F23: push ecx */ 3780 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250E0F24: mov al, byte ptr [ebp - 1] */ 3781 MEM8(0x2524C620) = (uint8_t)(LO8(eax)); /* 0x250E0F27: mov byte ptr [0x2524c620], al */ 3782 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3783 eax = 0; /* 0x250E0F2C: xor eax, eax */ 3784 _cf = 0; 3785 _flag_k = FK_TEST; 3786 MEM32(0x2524C624) = eax; /* 0x250E0F2E: mov dword ptr [0x2524c624], eax */ 3787 MEM32(0x2524C628) = eax; /* 0x250E0F33: mov dword ptr [0x2524c628], eax */ 3788 MEM32(0x2524C62C) = eax; /* 0x250E0F38: mov dword ptr [0x2524c62c], eax */ 3789 esp = ebp; /* 0x250E0F3D: mov esp, ebp */ 3790 ebp = POP32_VAL(esp); /* 0x250E0F3F: pop ebp */ 3791 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0F40: ret */ 3792 RECOMP_REGS_OUT(); 3793 } 3794 3795 void sub_250E0F50(void) { 3796 int _fpu_cmp = 0; 3797 uint32_t _cf = 0; 3798 int _df = 1; 3799 uint32_t _flag_k = FK_NONE; 3800 uint32_t _flag_a = 0, _flag_b = 0; 3801 uint32_t _itail_tgt = 0; 3802 RECOMP_REGS_LOCALS 3803 RECOMP_ENTER(0x250E0F50u); 3804 3805 L_250E0F50: 3806 PUSH32(esp, 0x250E0F60u); /* 0x250E0F50: push 0x250e0f60 */ 3807 RECOMP_ICALL(0x251380B2u); /* 0x250E0F55: call 0x251380b2 */ /* not lifted */ 3808 RECOMP_FLAGS_IN(); 3809 ecx = POP32_VAL(esp); /* 0x250E0F5A: pop ecx */ 3810 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0F5B: ret */ 3811 RECOMP_REGS_OUT(); 3812 } 3813 3814 void sub_250E0F60(void) { 3815 int _fpu_cmp = 0; 3816 uint32_t _cf = 0; 3817 int _df = 1; 3818 uint32_t _flag_k = FK_NONE; 3819 uint32_t _flag_a = 0, _flag_b = 0; 3820 uint32_t _itail_tgt = 0; 3821 RECOMP_REGS_LOCALS 3822 RECOMP_ENTER(0x250E0F60u); 3823 3824 L_250E0F60: 3825 eax = MEM32(0x2524C624); /* 0x250E0F60: mov eax, dword ptr [0x2524c624] */ 3826 PUSH32(esp, eax); /* 0x250E0F65: push eax */ 3827 RECOMP_ICALL(0x25137EECu); /* 0x250E0F66: call 0x25137eec */ /* not lifted */ 3828 RECOMP_FLAGS_IN(); 3829 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3830 eax = 0; /* 0x250E0F6B: xor eax, eax */ 3831 _cf = 0; 3832 _flag_k = FK_TEST; 3833 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3834 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3835 esp = esp + 4; /* 0x250E0F6D: add esp, 4 */ 3836 _flag_k = FK_ADD; 3837 MEM32(0x2524C624) = eax; /* 0x250E0F70: mov dword ptr [0x2524c624], eax */ 3838 MEM32(0x2524C628) = eax; /* 0x250E0F75: mov dword ptr [0x2524c628], eax */ 3839 MEM32(0x2524C62C) = eax; /* 0x250E0F7A: mov dword ptr [0x2524c62c], eax */ 3840 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0F7F: ret */ 3841 RECOMP_REGS_OUT(); 3842 } 3843 3844 void sub_250E0F80(void) { 3845 int _fpu_cmp = 0; 3846 uint32_t _cf = 0; 3847 int _df = 1; 3848 uint32_t _flag_k = FK_NONE; 3849 uint32_t _flag_a = 0, _flag_b = 0; 3850 uint32_t _itail_tgt = 0; 3851 RECOMP_REGS_LOCALS 3852 RECOMP_ENTER(0x250E0F80u); 3853 3854 L_250E0F80: 3855 RECOMP_ICALL(0x250E0F90u); /* 0x250E0F80: call 0x250e0f90 */ /* not lifted */ 3856 RECOMP_FLAGS_IN(); 3857 goto L_250E0FC0; /* 0x250E0F85: jmp 0x250e0fc0 */ 3858 L_250E0FC0: 3859 PUSH32(esp, 0x250E0FD0u); /* 0x250E0FC0: push 0x250e0fd0 */ 3860 RECOMP_ICALL(0x251380B2u); /* 0x250E0FC5: call 0x251380b2 */ /* not lifted */ 3861 RECOMP_FLAGS_IN(); 3862 ecx = POP32_VAL(esp); /* 0x250E0FCA: pop ecx */ 3863 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0FCB: ret */ 3864 RECOMP_REGS_OUT(); 3865 } 3866 3867 void sub_250E0F90(void) { 3868 int _fpu_cmp = 0; 3869 uint32_t _cf = 0; 3870 int _df = 1; 3871 uint32_t _flag_k = FK_NONE; 3872 uint32_t _flag_a = 0, _flag_b = 0; 3873 uint32_t _itail_tgt = 0; 3874 RECOMP_REGS_LOCALS 3875 RECOMP_ENTER(0x250E0F90u); 3876 3877 L_250E0F90: 3878 PUSH32(esp, ebp); /* 0x250E0F90: push ebp */ 3879 ebp = esp; /* 0x250E0F91: mov ebp, esp */ 3880 PUSH32(esp, ecx); /* 0x250E0F93: push ecx */ 3881 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250E0F94: mov al, byte ptr [ebp - 1] */ 3882 MEM8(0x2524C610) = (uint8_t)(LO8(eax)); /* 0x250E0F97: mov byte ptr [0x2524c610], al */ 3883 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3884 eax = 0; /* 0x250E0F9C: xor eax, eax */ 3885 _cf = 0; 3886 _flag_k = FK_TEST; 3887 MEM32(0x2524C614) = eax; /* 0x250E0F9E: mov dword ptr [0x2524c614], eax */ 3888 MEM32(0x2524C618) = eax; /* 0x250E0FA3: mov dword ptr [0x2524c618], eax */ 3889 MEM32(0x2524C61C) = eax; /* 0x250E0FA8: mov dword ptr [0x2524c61c], eax */ 3890 esp = ebp; /* 0x250E0FAD: mov esp, ebp */ 3891 ebp = POP32_VAL(esp); /* 0x250E0FAF: pop ebp */ 3892 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0FB0: ret */ 3893 RECOMP_REGS_OUT(); 3894 } 3895 3896 void sub_250E0FC0(void) { 3897 int _fpu_cmp = 0; 3898 uint32_t _cf = 0; 3899 int _df = 1; 3900 uint32_t _flag_k = FK_NONE; 3901 uint32_t _flag_a = 0, _flag_b = 0; 3902 uint32_t _itail_tgt = 0; 3903 RECOMP_REGS_LOCALS 3904 RECOMP_ENTER(0x250E0FC0u); 3905 3906 L_250E0FC0: 3907 PUSH32(esp, 0x250E0FD0u); /* 0x250E0FC0: push 0x250e0fd0 */ 3908 RECOMP_ICALL(0x251380B2u); /* 0x250E0FC5: call 0x251380b2 */ /* not lifted */ 3909 RECOMP_FLAGS_IN(); 3910 ecx = POP32_VAL(esp); /* 0x250E0FCA: pop ecx */ 3911 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0FCB: ret */ 3912 RECOMP_REGS_OUT(); 3913 } 3914 3915 void sub_250E0FD0(void) { 3916 int _fpu_cmp = 0; 3917 uint32_t _cf = 0; 3918 int _df = 1; 3919 uint32_t _flag_k = FK_NONE; 3920 uint32_t _flag_a = 0, _flag_b = 0; 3921 uint32_t _itail_tgt = 0; 3922 RECOMP_REGS_LOCALS 3923 RECOMP_ENTER(0x250E0FD0u); 3924 3925 L_250E0FD0: 3926 eax = MEM32(0x2524C614); /* 0x250E0FD0: mov eax, dword ptr [0x2524c614] */ 3927 PUSH32(esp, eax); /* 0x250E0FD5: push eax */ 3928 RECOMP_ICALL(0x25137EECu); /* 0x250E0FD6: call 0x25137eec */ /* not lifted */ 3929 RECOMP_FLAGS_IN(); 3930 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3931 eax = 0; /* 0x250E0FDB: xor eax, eax */ 3932 _cf = 0; 3933 _flag_k = FK_TEST; 3934 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3936 esp = esp + 4; /* 0x250E0FDD: add esp, 4 */ 3937 _flag_k = FK_ADD; 3938 MEM32(0x2524C614) = eax; /* 0x250E0FE0: mov dword ptr [0x2524c614], eax */ 3939 MEM32(0x2524C618) = eax; /* 0x250E0FE5: mov dword ptr [0x2524c618], eax */ 3940 MEM32(0x2524C61C) = eax; /* 0x250E0FEA: mov dword ptr [0x2524c61c], eax */ 3941 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E0FEF: ret */ 3942 RECOMP_REGS_OUT(); 3943 } 3944 3945 void sub_250E0FF0(void) { 3946 int _fpu_cmp = 0; 3947 uint32_t _cf = 0; 3948 int _df = 1; 3949 uint32_t _flag_k = FK_NONE; 3950 uint32_t _flag_a = 0, _flag_b = 0; 3951 uint32_t _itail_tgt = 0; 3952 RECOMP_REGS_LOCALS 3953 RECOMP_ENTER(0x250E0FF0u); 3954 3955 L_250E0FF0: 3956 RECOMP_ICALL(0x250E1000u); /* 0x250E0FF0: call 0x250e1000 */ /* not lifted */ 3957 RECOMP_FLAGS_IN(); 3958 goto L_250E1030; /* 0x250E0FF5: jmp 0x250e1030 */ 3959 L_250E1030: 3960 PUSH32(esp, 0x250E1040u); /* 0x250E1030: push 0x250e1040 */ 3961 RECOMP_ICALL(0x251380B2u); /* 0x250E1035: call 0x251380b2 */ /* not lifted */ 3962 RECOMP_FLAGS_IN(); 3963 ecx = POP32_VAL(esp); /* 0x250E103A: pop ecx */ 3964 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E103B: ret */ 3965 RECOMP_REGS_OUT(); 3966 } 3967 3968 void sub_250E1000(void) { 3969 int _fpu_cmp = 0; 3970 uint32_t _cf = 0; 3971 int _df = 1; 3972 uint32_t _flag_k = FK_NONE; 3973 uint32_t _flag_a = 0, _flag_b = 0; 3974 uint32_t _itail_tgt = 0; 3975 RECOMP_REGS_LOCALS 3976 RECOMP_ENTER(0x250E1000u); 3977 3978 L_250E1000: 3979 PUSH32(esp, ebp); /* 0x250E1000: push ebp */ 3980 ebp = esp; /* 0x250E1001: mov ebp, esp */ 3981 PUSH32(esp, ecx); /* 0x250E1003: push ecx */ 3982 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x250E1004: mov al, byte ptr [ebp - 1] */ 3983 MEM8(0x2524C600) = (uint8_t)(LO8(eax)); /* 0x250E1007: mov byte ptr [0x2524c600], al */ 3984 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3985 eax = 0; /* 0x250E100C: xor eax, eax */ 3986 _cf = 0; 3987 _flag_k = FK_TEST; 3988 MEM32(0x2524C604) = eax; /* 0x250E100E: mov dword ptr [0x2524c604], eax */ 3989 MEM32(0x2524C608) = eax; /* 0x250E1013: mov dword ptr [0x2524c608], eax */ 3990 MEM32(0x2524C60C) = eax; /* 0x250E1018: mov dword ptr [0x2524c60c], eax */ 3991 esp = ebp; /* 0x250E101D: mov esp, ebp */ 3992 ebp = POP32_VAL(esp); /* 0x250E101F: pop ebp */ 3993 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E1020: ret */ 3994 RECOMP_REGS_OUT(); 3995 } 3996 3997 void sub_250E1030(void) { 3998 int _fpu_cmp = 0; 3999 uint32_t _cf = 0; 4000 int _df = 1; 4001 uint32_t _flag_k = FK_NONE; 4002 uint32_t _flag_a = 0, _flag_b = 0; 4003 uint32_t _itail_tgt = 0; 4004 RECOMP_REGS_LOCALS 4005 RECOMP_ENTER(0x250E1030u); 4006 4007 L_250E1030: 4008 PUSH32(esp, 0x250E1040u); /* 0x250E1030: push 0x250e1040 */ 4009 RECOMP_ICALL(0x251380B2u); /* 0x250E1035: call 0x251380b2 */ /* not lifted */ 4010 RECOMP_FLAGS_IN(); 4011 ecx = POP32_VAL(esp); /* 0x250E103A: pop ecx */ 4012 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E103B: ret */ 4013 RECOMP_REGS_OUT(); 4014 } 4015 4016 void sub_250E1040(void) { 4017 int _fpu_cmp = 0; 4018 uint32_t _cf = 0; 4019 int _df = 1; 4020 uint32_t _flag_k = FK_NONE; 4021 uint32_t _flag_a = 0, _flag_b = 0; 4022 uint32_t _itail_tgt = 0; 4023 RECOMP_REGS_LOCALS 4024 RECOMP_ENTER(0x250E1040u); 4025 4026 L_250E1040: 4027 eax = MEM32(0x2524C604); /* 0x250E1040: mov eax, dword ptr [0x2524c604] */ 4028 PUSH32(esp, eax); /* 0x250E1045: push eax */ 4029 RECOMP_ICALL(0x25137EECu); /* 0x250E1046: call 0x25137eec */ /* not lifted */ 4030 RECOMP_FLAGS_IN(); 4031 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4032 eax = 0; /* 0x250E104B: xor eax, eax */ 4033 _cf = 0; 4034 _flag_k = FK_TEST; 4035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4037 esp = esp + 4; /* 0x250E104D: add esp, 4 */ 4038 _flag_k = FK_ADD; 4039 MEM32(0x2524C604) = eax; /* 0x250E1050: mov dword ptr [0x2524c604], eax */ 4040 MEM32(0x2524C608) = eax; /* 0x250E1055: mov dword ptr [0x2524c608], eax */ 4041 MEM32(0x2524C60C) = eax; /* 0x250E105A: mov dword ptr [0x2524c60c], eax */ 4042 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E105F: ret */ 4043 RECOMP_REGS_OUT(); 4044 } 4045 4046 void sub_250E1060(void) { 4047 int _fpu_cmp = 0; 4048 uint32_t _cf = 0; 4049 int _df = 1; 4050 uint32_t _flag_k = FK_NONE; 4051 uint32_t _flag_a = 0, _flag_b = 0; 4052 uint32_t _itail_tgt = 0; 4053 RECOMP_REGS_LOCALS 4054 RECOMP_ENTER(0x250E1060u); 4055 4056 L_250E1060: 4057 PUSH32(esp, ebp); /* 0x250E1060: push ebp */ 4058 ebp = esp; /* 0x250E1061: mov ebp, esp */ 4059 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E1063: push -1 */ 4060 PUSH32(esp, 0x2514B083u); /* 0x250E1065: push 0x2514b083 */ 4061 eax = MEM32(FS_BASE + (0)); /* 0x250E106A: mov eax, dword ptr fs:[0] */ 4062 PUSH32(esp, eax); /* 0x250E1070: push eax */ 4063 MEM32(FS_BASE + (0)) = esp; /* 0x250E1071: mov dword ptr fs:[0], esp */ 4064 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4066 esp = esp - 8; /* 0x250E1078: sub esp, 8 */ 4067 _flag_k = FK_CMP; 4068 PUSH32(esp, ebx); /* 0x250E107B: push ebx */ 4069 PUSH32(esp, esi); /* 0x250E107C: push esi */ 4070 esi = ecx; /* 0x250E107D: mov esi, ecx */ 4071 PUSH32(esp, edi); /* 0x250E107F: push edi */ 4072 MEM32(ebp + (-0x14)) = esi; /* 0x250E1080: mov dword ptr [ebp - 0x14], esi */ 4073 RECOMP_ICALL(MEM32(0x25151400)); /* 0x250E1083: call dword ptr [0x25151400] */ 4074 RECOMP_FLAGS_IN(); 4075 eax = ebp + (-0xD); /* 0x250E1089: lea eax, [ebp - 0xd] */ 4076 PUSH32(esp, eax); /* 0x250E108C: push eax */ 4077 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4078 ebx = 0; /* 0x250E108D: xor ebx, ebx */ 4079 _cf = 0; 4080 _flag_k = FK_TEST; 4081 PUSH32(esp, ebx); /* 0x250E108F: push ebx */ 4082 edx = ebp + (-0xE); /* 0x250E1090: lea edx, [ebp - 0xe] */ 4083 ecx = esi + 0xC; /* 0x250E1093: lea ecx, [esi + 0xc] */ 4084 PUSH32(esp, edx); /* 0x250E1096: push edx */ 4085 MEM32(ebp + (-0x4)) = ebx; /* 0x250E1097: mov dword ptr [ebp - 4], ebx */ 4086 RECOMP_ICALL(0x250E3CD0u); /* 0x250E109A: call 0x250e3cd0 */ /* not lifted */ 4087 RECOMP_FLAGS_IN(); 4088 MEM32(esi + 0x8) = 0x25158518u; /* 0x250E109F: mov dword ptr [esi + 8], 0x25158518 */ 4089 eax = ebp + (-0xF); /* 0x250E10A6: lea eax, [ebp - 0xf] */ 4090 PUSH32(esp, eax); /* 0x250E10A9: push eax */ 4091 PUSH32(esp, ebx); /* 0x250E10AA: push ebx */ 4092 edx = ebp + (-0x10); /* 0x250E10AB: lea edx, [ebp - 0x10] */ 4093 ecx = esi + 0x24; /* 0x250E10AE: lea ecx, [esi + 0x24] */ 4094 PUSH32(esp, edx); /* 0x250E10B1: push edx */ 4095 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E10B2: mov byte ptr [ebp - 4], 1 */ 4096 RECOMP_ICALL(0x250E3CD0u); /* 0x250E10B6: call 0x250e3cd0 */ /* not lifted */ 4097 RECOMP_FLAGS_IN(); 4098 MEM32(esi + 0x20) = 0x25158508u; /* 0x250E10BB: mov dword ptr [esi + 0x20], 0x25158508 */ 4099 eax = ebp + (-0xE); /* 0x250E10C2: lea eax, [ebp - 0xe] */ 4100 PUSH32(esp, eax); /* 0x250E10C5: push eax */ 4101 PUSH32(esp, ebx); /* 0x250E10C6: push ebx */ 4102 edx = ebp + (-0xD); /* 0x250E10C7: lea edx, [ebp - 0xd] */ 4103 ecx = esi + 0x3C; /* 0x250E10CA: lea ecx, [esi + 0x3c] */ 4104 PUSH32(esp, edx); /* 0x250E10CD: push edx */ 4105 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E10CE: mov byte ptr [ebp - 4], 2 */ 4106 RECOMP_ICALL(0x250E3CD0u); /* 0x250E10D2: call 0x250e3cd0 */ /* not lifted */ 4107 RECOMP_FLAGS_IN(); 4108 MEM32(esi + 0x38) = 0x251584F8u; /* 0x250E10D7: mov dword ptr [esi + 0x38], 0x251584f8 */ 4109 eax = ebp + (-0x10); /* 0x250E10DE: lea eax, [ebp - 0x10] */ 4110 PUSH32(esp, eax); /* 0x250E10E1: push eax */ 4111 PUSH32(esp, ebx); /* 0x250E10E2: push ebx */ 4112 edx = ebp + (-0xF); /* 0x250E10E3: lea edx, [ebp - 0xf] */ 4113 ecx = esi + 0x54; /* 0x250E10E6: lea ecx, [esi + 0x54] */ 4114 PUSH32(esp, edx); /* 0x250E10E9: push edx */ 4115 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250E10EA: mov byte ptr [ebp - 4], 3 */ 4116 RECOMP_ICALL(0x250E3CD0u); /* 0x250E10EE: call 0x250e3cd0 */ /* not lifted */ 4117 RECOMP_FLAGS_IN(); 4118 MEM32(esi + 0x50) = 0x251584E8u; /* 0x250E10F3: mov dword ptr [esi + 0x50], 0x251584e8 */ 4119 MEM32(esi + 0x78) = ebx; /* 0x250E10FA: mov dword ptr [esi + 0x78], ebx */ 4120 MEM32(esi + 0x7C) = ebx; /* 0x250E10FD: mov dword ptr [esi + 0x7c], ebx */ 4121 MEM32(esi + 0x80) = ebx; /* 0x250E1100: mov dword ptr [esi + 0x80], ebx */ 4122 MEM32(esi + 0x84) = ebx; /* 0x250E1106: mov dword ptr [esi + 0x84], ebx */ 4123 MEM32(esi + 0x88) = ebx; /* 0x250E110C: mov dword ptr [esi + 0x88], ebx */ 4124 MEM32(esi + 0x8C) = ebx; /* 0x250E1112: mov dword ptr [esi + 0x8c], ebx */ 4125 edi = 0x3F800000u; /* 0x250E1118: mov edi, 0x3f800000 */ 4126 MEM32(esi + 0x90) = edi; /* 0x250E111D: mov dword ptr [esi + 0x90], edi */ 4127 MEM32(esi + 0x98) = edi; /* 0x250E1123: mov dword ptr [esi + 0x98], edi */ 4128 MEM32(esi + 0x9C) = ebx; /* 0x250E1129: mov dword ptr [esi + 0x9c], ebx */ 4129 MEM32(esi + 0xA0) = ebx; /* 0x250E112F: mov dword ptr [esi + 0xa0], ebx */ 4130 MEM32(esi + 0xA4) = ebx; /* 0x250E1135: mov dword ptr [esi + 0xa4], ebx */ 4131 MEM32(esi + 0xA8) = ebx; /* 0x250E113B: mov dword ptr [esi + 0xa8], ebx */ 4132 MEM32(esi + 0xAC) = edi; /* 0x250E1141: mov dword ptr [esi + 0xac], edi */ 4133 MEM32(esi + 0xB0) = ebx; /* 0x250E1147: mov dword ptr [esi + 0xb0], ebx */ 4134 MEM32(esi + 0xB4) = ebx; /* 0x250E114D: mov dword ptr [esi + 0xb4], ebx */ 4135 MEM32(esi + 0xB8) = ebx; /* 0x250E1153: mov dword ptr [esi + 0xb8], ebx */ 4136 MEM32(esi + 0xBC) = ebx; /* 0x250E1159: mov dword ptr [esi + 0xbc], ebx */ 4137 MEM32(esi + 0xC0) = edi; /* 0x250E115F: mov dword ptr [esi + 0xc0], edi */ 4138 MEM32(esi + 0xC4) = ebx; /* 0x250E1165: mov dword ptr [esi + 0xc4], ebx */ 4139 MEM32(esi + 0xC8) = ebx; /* 0x250E116B: mov dword ptr [esi + 0xc8], ebx */ 4140 MEM32(esi + 0xCC) = ebx; /* 0x250E1171: mov dword ptr [esi + 0xcc], ebx */ 4141 MEM32(esi + 0xD0) = ebx; /* 0x250E1177: mov dword ptr [esi + 0xd0], ebx */ 4142 MEM32(esi + 0xD4) = edi; /* 0x250E117D: mov dword ptr [esi + 0xd4], edi */ 4143 MEM32(esi + 0xD8) = edi; /* 0x250E1183: mov dword ptr [esi + 0xd8], edi */ 4144 MEM32(esi + 0xDC) = ebx; /* 0x250E1189: mov dword ptr [esi + 0xdc], ebx */ 4145 MEM32(esi + 0xE0) = ebx; /* 0x250E118F: mov dword ptr [esi + 0xe0], ebx */ 4146 MEM32(esi + 0xE4) = ebx; /* 0x250E1195: mov dword ptr [esi + 0xe4], ebx */ 4147 MEM32(esi + 0xE8) = ebx; /* 0x250E119B: mov dword ptr [esi + 0xe8], ebx */ 4148 MEM32(esi + 0xEC) = edi; /* 0x250E11A1: mov dword ptr [esi + 0xec], edi */ 4149 MEM32(esi + 0xF0) = ebx; /* 0x250E11A7: mov dword ptr [esi + 0xf0], ebx */ 4150 MEM32(esi + 0xF4) = ebx; /* 0x250E11AD: mov dword ptr [esi + 0xf4], ebx */ 4151 MEM32(esi + 0xF8) = ebx; /* 0x250E11B3: mov dword ptr [esi + 0xf8], ebx */ 4152 MEM32(esi + 0xFC) = ebx; /* 0x250E11B9: mov dword ptr [esi + 0xfc], ebx */ 4153 MEM32(esi + 0x100) = edi; /* 0x250E11BF: mov dword ptr [esi + 0x100], edi */ 4154 MEM32(esi + 0x104) = ebx; /* 0x250E11C5: mov dword ptr [esi + 0x104], ebx */ 4155 MEM32(esi + 0x108) = ebx; /* 0x250E11CB: mov dword ptr [esi + 0x108], ebx */ 4156 MEM32(esi + 0x10C) = ebx; /* 0x250E11D1: mov dword ptr [esi + 0x10c], ebx */ 4157 MEM32(esi + 0x110) = ebx; /* 0x250E11D7: mov dword ptr [esi + 0x110], ebx */ 4158 MEM32(esi + 0x114) = edi; /* 0x250E11DD: mov dword ptr [esi + 0x114], edi */ 4159 ecx = MEM32(ebp + 0xC); /* 0x250E11E3: mov ecx, dword ptr [ebp + 0xc] */ 4160 /* cmp ecx, ebx */ /* 0x250E11E6: cmp ecx, ebx */ 4161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4163 _flag_k = FK_CMP; 4164 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250E11E8: mov byte ptr [ebp - 4], 6 */ 4165 MEM32(esi) = 0x251584B4u; /* 0x250E11EC: mov dword ptr [esi], 0x251584b4 */ 4166 MEM32(esi + 0x8) = 0x251584A4u; /* 0x250E11F2: mov dword ptr [esi + 8], 0x251584a4 */ 4167 MEM32(esi + 0x20) = 0x25158494u; /* 0x250E11F9: mov dword ptr [esi + 0x20], 0x25158494 */ 4168 MEM32(esi + 0x38) = 0x25158484u; /* 0x250E1200: mov dword ptr [esi + 0x38], 0x25158484 */ 4169 MEM32(esi + 0x50) = 0x25158474u; /* 0x250E1207: mov dword ptr [esi + 0x50], 0x25158474 */ 4170 MEM32(esi + 0x124) = ecx; /* 0x250E120E: mov dword ptr [esi + 0x124], ecx */ 4171 MEM32(esi + 0x128) = ebx; /* 0x250E1214: mov dword ptr [esi + 0x128], ebx */ 4172 MEM8(esi + 0x120) = (uint8_t)(1); /* 0x250E121A: mov byte ptr [esi + 0x120], 1 */ 4173 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1228; /* 0x250E1221: je 0x250e1228 */ 4174 L_250E1223: 4175 RECOMP_ICALL(0x250E6360u); /* 0x250E1223: call 0x250e6360 */ /* not lifted */ 4176 RECOMP_FLAGS_IN(); 4177 L_250E1228: 4178 ecx = MEM32(ebp + 0x8); /* 0x250E1228: mov ecx, dword ptr [ebp + 8] */ 4179 /* cmp ecx, ebx */ /* 0x250E122B: cmp ecx, ebx */ 4180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4182 _flag_k = FK_CMP; 4183 SET_LO8(eax, 0xFu); /* 0x250E122D: mov al, 0xf */ 4184 MEM32(esi + 0x6C) = ebx; /* 0x250E122F: mov dword ptr [esi + 0x6c], ebx */ 4185 MEM32(esi + 0x70) = ebx; /* 0x250E1232: mov dword ptr [esi + 0x70], ebx */ 4186 MEM32(esi + 0x74) = ebx; /* 0x250E1235: mov dword ptr [esi + 0x74], ebx */ 4187 MEM32(esi + 0x12C) = ebx; /* 0x250E1238: mov dword ptr [esi + 0x12c], ebx */ 4188 MEM32(esi + 0x11C) = edi; /* 0x250E123E: mov dword ptr [esi + 0x11c], edi */ 4189 MEM32(esi + 0x134) = 0xFFFFFFFFu; /* 0x250E1244: mov dword ptr [esi + 0x134], 0xffffffff */ 4190 MEM8(esi + 0x132) = (uint8_t)(LO8(eax)); /* 0x250E124E: mov byte ptr [esi + 0x132], al */ 4191 MEM8(esi + 0x130) = (uint8_t)(LO8(eax)); /* 0x250E1254: mov byte ptr [esi + 0x130], al */ 4192 MEM8(esi + 0x131) = (uint8_t)(LO8(eax)); /* 0x250E125A: mov byte ptr [esi + 0x131], al */ 4193 MEM8(esi + 0x68) = (uint8_t)(LO8(ebx)); /* 0x250E1260: mov byte ptr [esi + 0x68], bl */ 4194 MEM8(esi + 0x69) = (uint8_t)(LO8(ebx)); /* 0x250E1263: mov byte ptr [esi + 0x69], bl */ 4195 MEM8(esi + 0x6A) = (uint8_t)(LO8(ebx)); /* 0x250E1266: mov byte ptr [esi + 0x6a], bl */ 4196 MEM8(esi + 0x6B) = (uint8_t)(LO8(ebx)); /* 0x250E1269: mov byte ptr [esi + 0x6b], bl */ 4197 MEM32(esi + 0x94) = edi; /* 0x250E126C: mov dword ptr [esi + 0x94], edi */ 4198 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E127A; /* 0x250E1272: je 0x250e127a */ 4199 L_250E1274: 4200 eax = MEM32(ecx); /* 0x250E1274: mov eax, dword ptr [ecx] */ 4201 PUSH32(esp, esi); /* 0x250E1276: push esi */ 4202 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x250E1277: call dword ptr [eax + 0xc] */ 4203 RECOMP_FLAGS_IN(); 4204 L_250E127A: 4205 ecx = MEM32(ebp + (-0xC)); /* 0x250E127A: mov ecx, dword ptr [ebp - 0xc] */ 4206 edi = POP32_VAL(esp); /* 0x250E127D: pop edi */ 4207 eax = esi; /* 0x250E127E: mov eax, esi */ 4208 esi = POP32_VAL(esp); /* 0x250E1280: pop esi */ 4209 ebx = POP32_VAL(esp); /* 0x250E1281: pop ebx */ 4210 MEM32(FS_BASE + (0)) = ecx; /* 0x250E1282: mov dword ptr fs:[0], ecx */ 4211 esp = ebp; /* 0x250E1289: mov esp, ebp */ 4212 ebp = POP32_VAL(esp); /* 0x250E128B: pop ebp */ 4213 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E128C: ret 8 */ 4214 RECOMP_REGS_OUT(); 4215 } 4216 4217 void sub_250E1290(void) { 4218 int _fpu_cmp = 0; 4219 uint32_t _cf = 0; 4220 int _df = 1; 4221 uint32_t _flag_k = FK_NONE; 4222 uint32_t _flag_a = 0, _flag_b = 0; 4223 uint32_t _itail_tgt = 0; 4224 RECOMP_REGS_LOCALS 4225 RECOMP_ENTER(0x250E1290u); 4226 4227 L_250E1290: 4228 PUSH32(esp, ebp); /* 0x250E1290: push ebp */ 4229 ebp = esp; /* 0x250E1291: mov ebp, esp */ 4230 PUSH32(esp, ebx); /* 0x250E1293: push ebx */ 4231 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x250E1294: mov bl, byte ptr [ebp + 8] */ 4232 /* test LO8(ebx), 2 */ /* 0x250E1297: test bl, 2 */ 4233 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 4234 _cf = 0; 4235 _flag_k = FK_NARROW(FK_TEST, 24); 4236 PUSH32(esp, esi); /* 0x250E129A: push esi */ 4237 esi = ecx; /* 0x250E129B: mov esi, ecx */ 4238 if (TEST_Z(_flag_a, _flag_b)) goto L_250E12CE; /* 0x250E129D: je 0x250e12ce */ 4239 L_250E129F: 4240 eax = MEM32(esi + (-0x4)); /* 0x250E129F: mov eax, dword ptr [esi - 4] */ 4241 PUSH32(esp, edi); /* 0x250E12A2: push edi */ 4242 PUSH32(esp, 0x250E19E0u); /* 0x250E12A3: push 0x250e19e0 */ 4243 edi = esi + (-0x4); /* 0x250E12A8: lea edi, [esi - 4] */ 4244 PUSH32(esp, eax); /* 0x250E12AB: push eax */ 4245 PUSH32(esp, 0x138u); /* 0x250E12AC: push 0x138 */ 4246 PUSH32(esp, esi); /* 0x250E12B1: push esi */ 4247 RECOMP_ICALL(0x25137F92u); /* 0x250E12B2: call 0x25137f92 */ /* not lifted */ 4248 RECOMP_FLAGS_IN(); 4249 /* test LO8(ebx), 1 */ /* 0x250E12B7: test bl, 1 */ 4250 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 4251 _cf = 0; 4252 _flag_k = FK_NARROW(FK_TEST, 24); 4253 if (TEST_Z(_flag_a, _flag_b)) goto L_250E12C5; /* 0x250E12BA: je 0x250e12c5 */ 4254 L_250E12BC: 4255 PUSH32(esp, edi); /* 0x250E12BC: push edi */ 4256 RECOMP_ICALL(0x25137EECu); /* 0x250E12BD: call 0x25137eec */ /* not lifted */ 4257 RECOMP_FLAGS_IN(); 4258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4260 esp = esp + 4; /* 0x250E12C2: add esp, 4 */ 4261 _flag_k = FK_ADD; 4262 L_250E12C5: 4263 eax = edi; /* 0x250E12C5: mov eax, edi */ 4264 edi = POP32_VAL(esp); /* 0x250E12C7: pop edi */ 4265 esi = POP32_VAL(esp); /* 0x250E12C8: pop esi */ 4266 ebx = POP32_VAL(esp); /* 0x250E12C9: pop ebx */ 4267 ebp = POP32_VAL(esp); /* 0x250E12CA: pop ebp */ 4268 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E12CB: ret 4 */ 4269 L_250E12CE: 4270 ecx = esi; /* 0x250E12CE: mov ecx, esi */ 4271 RECOMP_ICALL(0x250E19E0u); /* 0x250E12D0: call 0x250e19e0 */ /* not lifted */ 4272 RECOMP_FLAGS_IN(); 4273 /* test LO8(ebx), 1 */ /* 0x250E12D5: test bl, 1 */ 4274 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 4275 _cf = 0; 4276 _flag_k = FK_NARROW(FK_TEST, 24); 4277 if (TEST_Z(_flag_a, _flag_b)) goto L_250E12E3; /* 0x250E12D8: je 0x250e12e3 */ 4278 L_250E12DA: 4279 PUSH32(esp, esi); /* 0x250E12DA: push esi */ 4280 RECOMP_ICALL(0x25137EECu); /* 0x250E12DB: call 0x25137eec */ /* not lifted */ 4281 RECOMP_FLAGS_IN(); 4282 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4284 esp = esp + 4; /* 0x250E12E0: add esp, 4 */ 4285 _flag_k = FK_ADD; 4286 L_250E12E3: 4287 eax = esi; /* 0x250E12E3: mov eax, esi */ 4288 esi = POP32_VAL(esp); /* 0x250E12E5: pop esi */ 4289 ebx = POP32_VAL(esp); /* 0x250E12E6: pop ebx */ 4290 ebp = POP32_VAL(esp); /* 0x250E12E7: pop ebp */ 4291 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E12E8: ret 4 */ 4292 RECOMP_REGS_OUT(); 4293 } 4294 4295 void sub_250E12F0(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(0x250E12F0u); 4304 4305 L_250E12F0: 4306 PUSH32(esp, ebp); /* 0x250E12F0: push ebp */ 4307 ebp = esp; /* 0x250E12F1: mov ebp, esp */ 4308 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E12F3: push -1 */ 4309 PUSH32(esp, 0x2514B0F6u); /* 0x250E12F5: push 0x2514b0f6 */ 4310 eax = MEM32(FS_BASE + (0)); /* 0x250E12FA: mov eax, dword ptr fs:[0] */ 4311 PUSH32(esp, eax); /* 0x250E1300: push eax */ 4312 MEM32(FS_BASE + (0)) = esp; /* 0x250E1301: mov dword ptr fs:[0], esp */ 4313 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4315 esp = esp - 0xCu; /* 0x250E1308: sub esp, 0xc */ 4316 _flag_k = FK_CMP; 4317 PUSH32(esp, ebx); /* 0x250E130B: push ebx */ 4318 PUSH32(esp, esi); /* 0x250E130C: push esi */ 4319 ebx = ecx; /* 0x250E130D: mov ebx, ecx */ 4320 PUSH32(esp, edi); /* 0x250E130F: push edi */ 4321 MEM32(ebp + (-0x18)) = ebx; /* 0x250E1310: mov dword ptr [ebp - 0x18], ebx */ 4322 RECOMP_ICALL(MEM32(0x25151400)); /* 0x250E1313: call dword ptr [0x25151400] */ 4323 RECOMP_FLAGS_IN(); 4324 eax = ebp + (-0xD); /* 0x250E1319: lea eax, [ebp - 0xd] */ 4325 PUSH32(esp, eax); /* 0x250E131C: push eax */ 4326 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4327 esi = 0; /* 0x250E131D: xor esi, esi */ 4328 _cf = 0; 4329 _flag_k = FK_TEST; 4330 PUSH32(esp, esi); /* 0x250E131F: push esi */ 4331 edx = ebp + (-0xE); /* 0x250E1320: lea edx, [ebp - 0xe] */ 4332 ecx = ebx + 0xC; /* 0x250E1323: lea ecx, [ebx + 0xc] */ 4333 PUSH32(esp, edx); /* 0x250E1326: push edx */ 4334 MEM32(ebp + (-0x4)) = esi; /* 0x250E1327: mov dword ptr [ebp - 4], esi */ 4335 RECOMP_ICALL(0x250E3CD0u); /* 0x250E132A: call 0x250e3cd0 */ /* not lifted */ 4336 RECOMP_FLAGS_IN(); 4337 MEM32(ebx + 0x8) = 0x25158518u; /* 0x250E132F: mov dword ptr [ebx + 8], 0x25158518 */ 4338 eax = ebp + (-0xF); /* 0x250E1336: lea eax, [ebp - 0xf] */ 4339 PUSH32(esp, eax); /* 0x250E1339: push eax */ 4340 PUSH32(esp, esi); /* 0x250E133A: push esi */ 4341 edx = ebp + (-0x10); /* 0x250E133B: lea edx, [ebp - 0x10] */ 4342 ecx = ebx + 0x24; /* 0x250E133E: lea ecx, [ebx + 0x24] */ 4343 PUSH32(esp, edx); /* 0x250E1341: push edx */ 4344 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E1342: mov byte ptr [ebp - 4], 1 */ 4345 RECOMP_ICALL(0x250E3CD0u); /* 0x250E1346: call 0x250e3cd0 */ /* not lifted */ 4346 RECOMP_FLAGS_IN(); 4347 MEM32(ebx + 0x20) = 0x25158508u; /* 0x250E134B: mov dword ptr [ebx + 0x20], 0x25158508 */ 4348 eax = ebp + (-0xE); /* 0x250E1352: lea eax, [ebp - 0xe] */ 4349 PUSH32(esp, eax); /* 0x250E1355: push eax */ 4350 PUSH32(esp, esi); /* 0x250E1356: push esi */ 4351 edx = ebp + (-0xD); /* 0x250E1357: lea edx, [ebp - 0xd] */ 4352 ecx = ebx + 0x3C; /* 0x250E135A: lea ecx, [ebx + 0x3c] */ 4353 PUSH32(esp, edx); /* 0x250E135D: push edx */ 4354 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E135E: mov byte ptr [ebp - 4], 2 */ 4355 RECOMP_ICALL(0x250E3CD0u); /* 0x250E1362: call 0x250e3cd0 */ /* not lifted */ 4356 RECOMP_FLAGS_IN(); 4357 MEM32(ebx + 0x38) = 0x251584F8u; /* 0x250E1367: mov dword ptr [ebx + 0x38], 0x251584f8 */ 4358 eax = ebp + (-0x10); /* 0x250E136E: lea eax, [ebp - 0x10] */ 4359 PUSH32(esp, eax); /* 0x250E1371: push eax */ 4360 ecx = ebp + (-0xF); /* 0x250E1372: lea ecx, [ebp - 0xf] */ 4361 PUSH32(esp, ecx); /* 0x250E1375: push ecx */ 4362 ecx = ebx + 0x54; /* 0x250E1376: lea ecx, [ebx + 0x54] */ 4363 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250E1379: mov byte ptr [ebp - 4], 3 */ 4364 RECOMP_ICALL(0x250E3C00u); /* 0x250E137D: call 0x250e3c00 */ /* not lifted */ 4365 RECOMP_FLAGS_IN(); 4366 MEM32(ebx + 0x50) = 0x251584E8u; /* 0x250E1382: mov dword ptr [ebx + 0x50], 0x251584e8 */ 4367 MEM32(ebx + 0x6C) = esi; /* 0x250E1389: mov dword ptr [ebx + 0x6c], esi */ 4368 MEM32(ebx + 0x70) = esi; /* 0x250E138C: mov dword ptr [ebx + 0x70], esi */ 4369 MEM32(ebx + 0x74) = esi; /* 0x250E138F: mov dword ptr [ebx + 0x74], esi */ 4370 MEM32(ebx + 0x78) = esi; /* 0x250E1392: mov dword ptr [ebx + 0x78], esi */ 4371 MEM32(ebx + 0x7C) = esi; /* 0x250E1395: mov dword ptr [ebx + 0x7c], esi */ 4372 MEM32(ebx + 0x80) = esi; /* 0x250E1398: mov dword ptr [ebx + 0x80], esi */ 4373 edi = ebx + 0x98; /* 0x250E139E: lea edi, [ebx + 0x98] */ 4374 MEM32(ebx + 0x84) = esi; /* 0x250E13A4: mov dword ptr [ebx + 0x84], esi */ 4375 MEM32(ebx + 0x88) = esi; /* 0x250E13AA: mov dword ptr [ebx + 0x88], esi */ 4376 MEM32(ebx + 0x8C) = esi; /* 0x250E13B0: mov dword ptr [ebx + 0x8c], esi */ 4377 eax = 0x3F800000u; /* 0x250E13B6: mov eax, 0x3f800000 */ 4378 MEM32(ebx + 0x90) = eax; /* 0x250E13BB: mov dword ptr [ebx + 0x90], eax */ 4379 MEM32(edi) = eax; /* 0x250E13C1: mov dword ptr [edi], eax */ 4380 MEM32(edi + 0x4) = esi; /* 0x250E13C3: mov dword ptr [edi + 4], esi */ 4381 MEM32(edi + 0x8) = esi; /* 0x250E13C6: mov dword ptr [edi + 8], esi */ 4382 MEM32(edi + 0xC) = esi; /* 0x250E13C9: mov dword ptr [edi + 0xc], esi */ 4383 MEM32(edi + 0x10) = esi; /* 0x250E13CC: mov dword ptr [edi + 0x10], esi */ 4384 MEM32(edi + 0x14) = eax; /* 0x250E13CF: mov dword ptr [edi + 0x14], eax */ 4385 MEM32(edi + 0x18) = esi; /* 0x250E13D2: mov dword ptr [edi + 0x18], esi */ 4386 MEM32(edi + 0x1C) = esi; /* 0x250E13D5: mov dword ptr [edi + 0x1c], esi */ 4387 MEM32(edi + 0x20) = esi; /* 0x250E13D8: mov dword ptr [edi + 0x20], esi */ 4388 MEM32(edi + 0x24) = esi; /* 0x250E13DB: mov dword ptr [edi + 0x24], esi */ 4389 MEM32(edi + 0x28) = eax; /* 0x250E13DE: mov dword ptr [edi + 0x28], eax */ 4390 MEM32(edi + 0x2C) = esi; /* 0x250E13E1: mov dword ptr [edi + 0x2c], esi */ 4391 MEM32(edi + 0x30) = esi; /* 0x250E13E4: mov dword ptr [edi + 0x30], esi */ 4392 MEM32(edi + 0x34) = esi; /* 0x250E13E7: mov dword ptr [edi + 0x34], esi */ 4393 MEM32(edi + 0x38) = esi; /* 0x250E13EA: mov dword ptr [edi + 0x38], esi */ 4394 MEM32(edi + 0x3C) = eax; /* 0x250E13ED: mov dword ptr [edi + 0x3c], eax */ 4395 MEM32(ebx + 0xD8) = eax; /* 0x250E13F0: mov dword ptr [ebx + 0xd8], eax */ 4396 MEM32(ebx + 0xDC) = esi; /* 0x250E13F6: mov dword ptr [ebx + 0xdc], esi */ 4397 MEM32(ebx + 0xE0) = esi; /* 0x250E13FC: mov dword ptr [ebx + 0xe0], esi */ 4398 MEM32(ebx + 0xE4) = esi; /* 0x250E1402: mov dword ptr [ebx + 0xe4], esi */ 4399 MEM32(ebx + 0xE8) = esi; /* 0x250E1408: mov dword ptr [ebx + 0xe8], esi */ 4400 MEM32(ebx + 0xEC) = eax; /* 0x250E140E: mov dword ptr [ebx + 0xec], eax */ 4401 MEM32(ebx + 0xF0) = esi; /* 0x250E1414: mov dword ptr [ebx + 0xf0], esi */ 4402 MEM32(ebx + 0xF4) = esi; /* 0x250E141A: mov dword ptr [ebx + 0xf4], esi */ 4403 MEM32(ebx + 0xF8) = esi; /* 0x250E1420: mov dword ptr [ebx + 0xf8], esi */ 4404 MEM32(ebx + 0xFC) = esi; /* 0x250E1426: mov dword ptr [ebx + 0xfc], esi */ 4405 MEM32(ebx + 0x100) = eax; /* 0x250E142C: mov dword ptr [ebx + 0x100], eax */ 4406 MEM32(ebx + 0x104) = esi; /* 0x250E1432: mov dword ptr [ebx + 0x104], esi */ 4407 MEM32(ebx + 0x108) = esi; /* 0x250E1438: mov dword ptr [ebx + 0x108], esi */ 4408 MEM32(ebx + 0x10C) = esi; /* 0x250E143E: mov dword ptr [ebx + 0x10c], esi */ 4409 MEM32(ebx + 0x110) = esi; /* 0x250E1444: mov dword ptr [ebx + 0x110], esi */ 4410 MEM32(ebx + 0x114) = eax; /* 0x250E144A: mov dword ptr [ebx + 0x114], eax */ 4411 eax = MEM32(ebp + 0x8); /* 0x250E1450: mov eax, dword ptr [ebp + 8] */ 4412 MEM32(ebx + 0x124) = esi; /* 0x250E1453: mov dword ptr [ebx + 0x124], esi */ 4413 MEM32(ebx + 0x128) = esi; /* 0x250E1459: mov dword ptr [ebx + 0x128], esi */ 4414 MEM32(ebx) = 0x251584B4u; /* 0x250E145F: mov dword ptr [ebx], 0x251584b4 */ 4415 MEM32(ebx + 0x8) = 0x251584A4u; /* 0x250E1465: mov dword ptr [ebx + 8], 0x251584a4 */ 4416 MEM32(ebx + 0x20) = 0x25158494u; /* 0x250E146C: mov dword ptr [ebx + 0x20], 0x25158494 */ 4417 MEM32(ebx + 0x38) = 0x25158484u; /* 0x250E1473: mov dword ptr [ebx + 0x38], 0x25158484 */ 4418 MEM32(ebx + 0x50) = 0x25158474u; /* 0x250E147A: mov dword ptr [ebx + 0x50], 0x25158474 */ 4419 edx = eax + 0x78; /* 0x250E1481: lea edx, [eax + 0x78] */ 4420 ecx = MEM32(edx); /* 0x250E1484: mov ecx, dword ptr [edx] */ 4421 MEM32(ebx + 0x78) = ecx; /* 0x250E1486: mov dword ptr [ebx + 0x78], ecx */ 4422 ecx = MEM32(edx + 0x4); /* 0x250E1489: mov ecx, dword ptr [edx + 4] */ 4423 MEM32(ebx + 0x7C) = ecx; /* 0x250E148C: mov dword ptr [ebx + 0x7c], ecx */ 4424 edx = MEM32(edx + 0x8); /* 0x250E148F: mov edx, dword ptr [edx + 8] */ 4425 MEM32(ebx + 0x80) = edx; /* 0x250E1492: mov dword ptr [ebx + 0x80], edx */ 4426 ecx = eax + 0x84; /* 0x250E1498: lea ecx, [eax + 0x84] */ 4427 edx = MEM32(ecx); /* 0x250E149E: mov edx, dword ptr [ecx] */ 4428 MEM32(ebx + 0x84) = edx; /* 0x250E14A0: mov dword ptr [ebx + 0x84], edx */ 4429 edx = MEM32(ecx + 0x4); /* 0x250E14A6: mov edx, dword ptr [ecx + 4] */ 4430 MEM32(ebx + 0x88) = edx; /* 0x250E14A9: mov dword ptr [ebx + 0x88], edx */ 4431 edx = MEM32(ecx + 0x8); /* 0x250E14AF: mov edx, dword ptr [ecx + 8] */ 4432 MEM32(ebx + 0x8C) = edx; /* 0x250E14B2: mov dword ptr [ebx + 0x8c], edx */ 4433 ecx = MEM32(ecx + 0xC); /* 0x250E14B8: mov ecx, dword ptr [ecx + 0xc] */ 4434 MEM32(ebx + 0x90) = ecx; /* 0x250E14BB: mov dword ptr [ebx + 0x90], ecx */ 4435 MEM8(ebx + 0x120) = (uint8_t)(1); /* 0x250E14C1: mov byte ptr [ebx + 0x120], 1 */ 4436 ecx = MEM32(eax + 0x124); /* 0x250E14C8: mov ecx, dword ptr [eax + 0x124] */ 4437 /* cmp ecx, esi */ /* 0x250E14CE: cmp ecx, esi */ 4438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 4439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4440 _flag_k = FK_CMP; 4441 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250E14D0: mov byte ptr [ebp - 4], 6 */ 4442 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E14E4; /* 0x250E14D4: je 0x250e14e4 */ 4443 L_250E14D6: 4444 MEM32(ebx + 0x124) = ecx; /* 0x250E14D6: mov dword ptr [ebx + 0x124], ecx */ 4445 RECOMP_ICALL(0x250E6360u); /* 0x250E14DC: call 0x250e6360 */ /* not lifted */ 4446 RECOMP_FLAGS_IN(); 4447 eax = MEM32(ebp + 0x8); /* 0x250E14E1: mov eax, dword ptr [ebp + 8] */ 4448 L_250E14E4: 4449 edx = MEM32(eax + 0x12C); /* 0x250E14E4: mov edx, dword ptr [eax + 0x12c] */ 4450 MEM32(ebx + 0x12C) = edx; /* 0x250E14EA: mov dword ptr [ebx + 0x12c], edx */ 4451 ecx = MEM32(eax + 0x11C); /* 0x250E14F0: mov ecx, dword ptr [eax + 0x11c] */ 4452 MEM32(ebx + 0x11C) = ecx; /* 0x250E14F6: mov dword ptr [ebx + 0x11c], ecx */ 4453 /* cmp MEM32(eax + 0x128), esi */ /* 0x250E14FC: cmp dword ptr [eax + 0x128], esi */ 4454 _flag_a = (uint32_t)(MEM32(eax + 0x128)); _flag_b = (uint32_t)(esi); 4455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4456 _flag_k = FK_CMP; 4457 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1560; /* 0x250E1502: je 0x250e1560 */ 4458 L_250E1504: 4459 PUSH32(esp, 0x28u); /* 0x250E1504: push 0x28 */ 4460 RECOMP_ICALL(0x251380D0u); /* 0x250E1506: call 0x251380d0 */ /* not lifted */ 4461 RECOMP_FLAGS_IN(); 4462 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4463 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4464 esp = esp + 4; /* 0x250E150B: add esp, 4 */ 4465 _flag_k = FK_ADD; 4466 MEM32(ebp + (-0x14)) = eax; /* 0x250E150E: mov dword ptr [ebp - 0x14], eax */ 4467 /* cmp eax, esi */ /* 0x250E1511: cmp eax, esi */ 4468 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4470 _flag_k = FK_CMP; 4471 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x250E1513: mov byte ptr [ebp - 4], 7 */ 4472 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E154C; /* 0x250E1517: je 0x250e154c */ 4473 L_250E1519: 4474 edx = MEM32(ebp + 0x8); /* 0x250E1519: mov edx, dword ptr [ebp + 8] */ 4475 edx = MEM32(edx + 0x128); /* 0x250E151C: mov edx, dword ptr [edx + 0x128] */ 4476 edx = MEM32(edx + 0xC); /* 0x250E1522: mov edx, dword ptr [edx + 0xc] */ 4477 /* cmp edx, esi */ /* 0x250E1525: cmp edx, esi */ 4478 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4480 _flag_k = FK_CMP; 4481 if (CMP_NE(_flag_a, _flag_b)) goto L_250E152F; /* 0x250E1527: jne 0x250e152f */ 4482 L_250E1529: 4483 edx = MEM32(0x251511E4); /* 0x250E1529: mov edx, dword ptr [0x251511e4] */ 4484 L_250E152F: 4485 PUSH32(esp, edx); /* 0x250E152F: push edx */ 4486 ecx = eax; /* 0x250E1530: mov ecx, eax */ 4487 RECOMP_ICALL(0x250E5C90u); /* 0x250E1532: call 0x250e5c90 */ /* not lifted */ 4488 RECOMP_FLAGS_IN(); 4489 esi = MEM32(ebp + (-0x14)); /* 0x250E1537: mov esi, dword ptr [ebp - 0x14] */ 4490 PUSH32(esp, ebx); /* 0x250E153A: push ebx */ 4491 ecx = esi; /* 0x250E153B: mov ecx, esi */ 4492 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x250E153D: mov byte ptr [ebp - 4], 8 */ 4493 MEM32(esi) = 0x2515845Cu; /* 0x250E1541: mov dword ptr [esi], 0x2515845c */ 4494 RECOMP_ICALL(0x25121FC0u); /* 0x250E1547: call 0x25121fc0 */ /* not lifted */ 4495 RECOMP_FLAGS_IN(); 4496 L_250E154C: 4497 ecx = esi; /* 0x250E154C: mov ecx, esi */ 4498 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250E154E: mov byte ptr [ebp - 4], 6 */ 4499 MEM32(ebx + 0x128) = esi; /* 0x250E1552: mov dword ptr [ebx + 0x128], esi */ 4500 RECOMP_ICALL(0x250E6370u); /* 0x250E1558: call 0x250e6370 */ /* not lifted */ 4501 RECOMP_FLAGS_IN(); 4502 eax = MEM32(ebp + 0x8); /* 0x250E155D: mov eax, dword ptr [ebp + 8] */ 4503 L_250E1560: 4504 esi = eax + 0x98; /* 0x250E1560: lea esi, [eax + 0x98] */ 4505 eax = MEM32(ebx); /* 0x250E1566: mov eax, dword ptr [ebx] */ 4506 ecx = 0x10u; /* 0x250E1568: mov ecx, 0x10 */ 4507 PUSH32(esp, 1); /* 0x250E156D: push 1 */ 4508 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250E156F: 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; } 4509 PUSH32(esp, 3); /* 0x250E1571: push 3 */ 4510 ecx = ebx; /* 0x250E1573: mov ecx, ebx */ 4511 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E1575: call dword ptr [eax + 0x2c] */ 4512 RECOMP_FLAGS_IN(); 4513 eax = MEM32(ebp + 0x8); /* 0x250E1578: mov eax, dword ptr [ebp + 8] */ 4514 ecx = MEM32(eax + 0x134); /* 0x250E157B: mov ecx, dword ptr [eax + 0x134] */ 4515 MEM32(ebx + 0x134) = ecx; /* 0x250E1581: mov dword ptr [ebx + 0x134], ecx */ 4516 SET_LO8(ecx, 0xFu); /* 0x250E1587: mov cl, 0xf */ 4517 MEM8(ebx + 0x132) = (uint8_t)(LO8(ecx)); /* 0x250E1589: mov byte ptr [ebx + 0x132], cl */ 4518 MEM8(ebx + 0x130) = (uint8_t)(LO8(ecx)); /* 0x250E158F: mov byte ptr [ebx + 0x130], cl */ 4519 MEM8(ebx + 0x131) = (uint8_t)(LO8(ecx)); /* 0x250E1595: mov byte ptr [ebx + 0x131], cl */ 4520 MEM8(ebx + 0x68) = (uint8_t)(0); /* 0x250E159B: mov byte ptr [ebx + 0x68], 0 */ 4521 MEM8(ebx + 0x69) = (uint8_t)(0); /* 0x250E159F: mov byte ptr [ebx + 0x69], 0 */ 4522 MEM8(ebx + 0x6A) = (uint8_t)(0); /* 0x250E15A3: mov byte ptr [ebx + 0x6a], 0 */ 4523 MEM8(ebx + 0x6B) = (uint8_t)(0); /* 0x250E15A7: mov byte ptr [ebx + 0x6b], 0 */ 4524 edx = MEM32(eax + 0x94); /* 0x250E15AB: mov edx, dword ptr [eax + 0x94] */ 4525 MEM32(ebx + 0x94) = edx; /* 0x250E15B1: mov dword ptr [ebx + 0x94], edx */ 4526 esi = MEM32(eax + 0x74); /* 0x250E15B7: mov esi, dword ptr [eax + 0x74] */ 4527 /* test esi, esi */ /* 0x250E15BA: test esi, esi */ 4528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4529 _cf = 0; 4530 _flag_k = FK_TEST; 4531 if (TEST_Z(_flag_a, _flag_b)) goto L_250E15D4; /* 0x250E15BC: je 0x250e15d4 */ 4532 L_250E15BE: 4533 eax = MEM32(esi); /* 0x250E15BE: mov eax, dword ptr [esi] */ 4534 ecx = esi; /* 0x250E15C0: mov ecx, esi */ 4535 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x250E15C2: call dword ptr [eax + 8] */ 4536 RECOMP_FLAGS_IN(); 4537 PUSH32(esp, eax); /* 0x250E15C5: push eax */ 4538 ecx = ebx; /* 0x250E15C6: mov ecx, ebx */ 4539 RECOMP_ICALL(0x250E1CD0u); /* 0x250E15C8: call 0x250e1cd0 */ /* not lifted */ 4540 RECOMP_FLAGS_IN(); 4541 esi = MEM32(esi + 0x70); /* 0x250E15CD: mov esi, dword ptr [esi + 0x70] */ 4542 /* test esi, esi */ /* 0x250E15D0: test esi, esi */ 4543 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4544 _cf = 0; 4545 _flag_k = FK_TEST; 4546 RECOMP_BACKEDGE(); 4547 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E15BE; /* 0x250E15D2: jne 0x250e15be */ 4548 L_250E15D4: 4549 ecx = MEM32(ebp + (-0xC)); /* 0x250E15D4: mov ecx, dword ptr [ebp - 0xc] */ 4550 edi = POP32_VAL(esp); /* 0x250E15D7: pop edi */ 4551 esi = POP32_VAL(esp); /* 0x250E15D8: pop esi */ 4552 eax = ebx; /* 0x250E15D9: mov eax, ebx */ 4553 ebx = POP32_VAL(esp); /* 0x250E15DB: pop ebx */ 4554 MEM32(FS_BASE + (0)) = ecx; /* 0x250E15DC: mov dword ptr fs:[0], ecx */ 4555 esp = ebp; /* 0x250E15E3: mov esp, ebp */ 4556 ebp = POP32_VAL(esp); /* 0x250E15E5: pop ebp */ 4557 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E15E6: ret 4 */ 4558 RECOMP_REGS_OUT(); 4559 } 4560 4561 void sub_250E15F0(void) { 4562 int _fpu_cmp = 0; 4563 uint32_t _cf = 0; 4564 int _df = 1; 4565 uint32_t _flag_k = FK_NONE; 4566 uint32_t _flag_a = 0, _flag_b = 0; 4567 uint32_t _itail_tgt = 0; 4568 RECOMP_REGS_LOCALS 4569 RECOMP_ENTER(0x250E15F0u); 4570 4571 L_250E15F0: 4572 PUSH32(esp, ebp); /* 0x250E15F0: push ebp */ 4573 ebp = esp; /* 0x250E15F1: mov ebp, esp */ 4574 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E15F3: push -1 */ 4575 PUSH32(esp, 0x2514B153u); /* 0x250E15F5: push 0x2514b153 */ 4576 eax = MEM32(FS_BASE + (0)); /* 0x250E15FA: mov eax, dword ptr fs:[0] */ 4577 PUSH32(esp, eax); /* 0x250E1600: push eax */ 4578 MEM32(FS_BASE + (0)) = esp; /* 0x250E1601: mov dword ptr fs:[0], esp */ 4579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4581 esp = esp - 0x14u; /* 0x250E1608: sub esp, 0x14 */ 4582 _flag_k = FK_CMP; 4583 eax = MEM32(ebp + 0x8); /* 0x250E160B: mov eax, dword ptr [ebp + 8] */ 4584 PUSH32(esp, ebx); /* 0x250E160E: push ebx */ 4585 PUSH32(esp, esi); /* 0x250E160F: push esi */ 4586 PUSH32(esp, edi); /* 0x250E1610: push edi */ 4587 esi = ecx; /* 0x250E1611: mov esi, ecx */ 4588 PUSH32(esp, eax); /* 0x250E1613: push eax */ 4589 MEM32(ebp + (-0x20)) = esi; /* 0x250E1614: mov dword ptr [ebp - 0x20], esi */ 4590 RECOMP_ICALL(MEM32(0x25151430)); /* 0x250E1617: call dword ptr [0x25151430] */ 4591 RECOMP_FLAGS_IN(); 4592 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x250E161D: mov dl, byte ptr [ebp + 0xb] */ 4593 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x250E1620: mov al, byte ptr [ebp + 0xb] */ 4594 ecx = esi + 0xC; /* 0x250E1623: lea ecx, [esi + 0xc] */ 4595 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4596 ebx = 0; /* 0x250E1626: xor ebx, ebx */ 4597 _cf = 0; 4598 _flag_k = FK_TEST; 4599 MEM32(ebp + (-0x4)) = ebx; /* 0x250E1628: mov dword ptr [ebp - 4], ebx */ 4600 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x250E162B: mov byte ptr [ecx], dl */ 4601 MEM8(ecx + 0x1) = (uint8_t)(LO8(eax)); /* 0x250E162D: mov byte ptr [ecx + 1], al */ 4602 MEM8(ecx + 0xC) = (uint8_t)(LO8(ebx)); /* 0x250E1630: mov byte ptr [ecx + 0xc], bl */ 4603 RECOMP_ICALL(0x250DE4E0u); /* 0x250E1633: call 0x250de4e0 */ /* not lifted */ 4604 RECOMP_FLAGS_IN(); 4605 MEM32(esi + 0x8) = 0x25158518u; /* 0x250E1638: mov dword ptr [esi + 8], 0x25158518 */ 4606 edx = ebp + (-0xD); /* 0x250E163F: lea edx, [ebp - 0xd] */ 4607 PUSH32(esp, edx); /* 0x250E1642: push edx */ 4608 PUSH32(esp, ebx); /* 0x250E1643: push ebx */ 4609 eax = ebp + (-0xE); /* 0x250E1644: lea eax, [ebp - 0xe] */ 4610 ecx = esi + 0x24; /* 0x250E1647: lea ecx, [esi + 0x24] */ 4611 PUSH32(esp, eax); /* 0x250E164A: push eax */ 4612 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E164B: mov byte ptr [ebp - 4], 1 */ 4613 RECOMP_ICALL(0x250E3CD0u); /* 0x250E164F: call 0x250e3cd0 */ /* not lifted */ 4614 RECOMP_FLAGS_IN(); 4615 MEM32(esi + 0x20) = 0x25158508u; /* 0x250E1654: mov dword ptr [esi + 0x20], 0x25158508 */ 4616 edx = ebp + (-0xF); /* 0x250E165B: lea edx, [ebp - 0xf] */ 4617 PUSH32(esp, edx); /* 0x250E165E: push edx */ 4618 PUSH32(esp, ebx); /* 0x250E165F: push ebx */ 4619 eax = ebp + (-0x10); /* 0x250E1660: lea eax, [ebp - 0x10] */ 4620 ecx = esi + 0x3C; /* 0x250E1663: lea ecx, [esi + 0x3c] */ 4621 PUSH32(esp, eax); /* 0x250E1666: push eax */ 4622 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E1667: mov byte ptr [ebp - 4], 2 */ 4623 RECOMP_ICALL(0x250E3CD0u); /* 0x250E166B: call 0x250e3cd0 */ /* not lifted */ 4624 RECOMP_FLAGS_IN(); 4625 MEM32(esi + 0x38) = 0x251584F8u; /* 0x250E1670: mov dword ptr [esi + 0x38], 0x251584f8 */ 4626 edx = ebp + (-0xE); /* 0x250E1677: lea edx, [ebp - 0xe] */ 4627 PUSH32(esp, edx); /* 0x250E167A: push edx */ 4628 PUSH32(esp, ebx); /* 0x250E167B: push ebx */ 4629 eax = ebp + (-0xD); /* 0x250E167C: lea eax, [ebp - 0xd] */ 4630 ecx = esi + 0x54; /* 0x250E167F: lea ecx, [esi + 0x54] */ 4631 PUSH32(esp, eax); /* 0x250E1682: push eax */ 4632 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250E1683: mov byte ptr [ebp - 4], 3 */ 4633 RECOMP_ICALL(0x250E3CD0u); /* 0x250E1687: call 0x250e3cd0 */ /* not lifted */ 4634 RECOMP_FLAGS_IN(); 4635 MEM32(esi + 0x50) = 0x251584E8u; /* 0x250E168C: mov dword ptr [esi + 0x50], 0x251584e8 */ 4636 MEM32(esi + 0x78) = ebx; /* 0x250E1693: mov dword ptr [esi + 0x78], ebx */ 4637 MEM32(esi + 0x7C) = ebx; /* 0x250E1696: mov dword ptr [esi + 0x7c], ebx */ 4638 MEM32(esi + 0x80) = ebx; /* 0x250E1699: mov dword ptr [esi + 0x80], ebx */ 4639 edi = esi + 0x98; /* 0x250E169F: lea edi, [esi + 0x98] */ 4640 MEM32(esi + 0x84) = ebx; /* 0x250E16A5: mov dword ptr [esi + 0x84], ebx */ 4641 MEM32(esi + 0x88) = ebx; /* 0x250E16AB: mov dword ptr [esi + 0x88], ebx */ 4642 MEM32(esi + 0x8C) = ebx; /* 0x250E16B1: mov dword ptr [esi + 0x8c], ebx */ 4643 eax = 0x3F800000u; /* 0x250E16B7: mov eax, 0x3f800000 */ 4644 MEM32(esi + 0x90) = eax; /* 0x250E16BC: mov dword ptr [esi + 0x90], eax */ 4645 MEM32(edi) = eax; /* 0x250E16C2: mov dword ptr [edi], eax */ 4646 MEM32(edi + 0x4) = ebx; /* 0x250E16C4: mov dword ptr [edi + 4], ebx */ 4647 MEM32(edi + 0x8) = ebx; /* 0x250E16C7: mov dword ptr [edi + 8], ebx */ 4648 MEM32(edi + 0xC) = ebx; /* 0x250E16CA: mov dword ptr [edi + 0xc], ebx */ 4649 MEM32(edi + 0x10) = ebx; /* 0x250E16CD: mov dword ptr [edi + 0x10], ebx */ 4650 MEM32(edi + 0x14) = eax; /* 0x250E16D0: mov dword ptr [edi + 0x14], eax */ 4651 MEM32(edi + 0x18) = ebx; /* 0x250E16D3: mov dword ptr [edi + 0x18], ebx */ 4652 MEM32(edi + 0x1C) = ebx; /* 0x250E16D6: mov dword ptr [edi + 0x1c], ebx */ 4653 MEM32(edi + 0x20) = ebx; /* 0x250E16D9: mov dword ptr [edi + 0x20], ebx */ 4654 MEM32(edi + 0x24) = ebx; /* 0x250E16DC: mov dword ptr [edi + 0x24], ebx */ 4655 MEM32(edi + 0x28) = eax; /* 0x250E16DF: mov dword ptr [edi + 0x28], eax */ 4656 MEM32(edi + 0x2C) = ebx; /* 0x250E16E2: mov dword ptr [edi + 0x2c], ebx */ 4657 MEM32(edi + 0x30) = ebx; /* 0x250E16E5: mov dword ptr [edi + 0x30], ebx */ 4658 MEM32(edi + 0x34) = ebx; /* 0x250E16E8: mov dword ptr [edi + 0x34], ebx */ 4659 MEM32(edi + 0x38) = ebx; /* 0x250E16EB: mov dword ptr [edi + 0x38], ebx */ 4660 MEM32(edi + 0x3C) = eax; /* 0x250E16EE: mov dword ptr [edi + 0x3c], eax */ 4661 MEM32(esi + 0xD8) = eax; /* 0x250E16F1: mov dword ptr [esi + 0xd8], eax */ 4662 MEM32(esi + 0xDC) = ebx; /* 0x250E16F7: mov dword ptr [esi + 0xdc], ebx */ 4663 MEM32(esi + 0xE0) = ebx; /* 0x250E16FD: mov dword ptr [esi + 0xe0], ebx */ 4664 MEM32(esi + 0xE4) = ebx; /* 0x250E1703: mov dword ptr [esi + 0xe4], ebx */ 4665 MEM32(esi + 0xE8) = ebx; /* 0x250E1709: mov dword ptr [esi + 0xe8], ebx */ 4666 MEM32(esi + 0xEC) = eax; /* 0x250E170F: mov dword ptr [esi + 0xec], eax */ 4667 MEM32(esi + 0xF0) = ebx; /* 0x250E1715: mov dword ptr [esi + 0xf0], ebx */ 4668 MEM32(esi + 0xF4) = ebx; /* 0x250E171B: mov dword ptr [esi + 0xf4], ebx */ 4669 MEM32(esi + 0xF8) = ebx; /* 0x250E1721: mov dword ptr [esi + 0xf8], ebx */ 4670 MEM32(esi + 0xFC) = ebx; /* 0x250E1727: mov dword ptr [esi + 0xfc], ebx */ 4671 MEM32(esi + 0x100) = eax; /* 0x250E172D: mov dword ptr [esi + 0x100], eax */ 4672 MEM32(esi + 0x104) = ebx; /* 0x250E1733: mov dword ptr [esi + 0x104], ebx */ 4673 MEM32(esi + 0x108) = ebx; /* 0x250E1739: mov dword ptr [esi + 0x108], ebx */ 4674 MEM32(esi + 0x10C) = ebx; /* 0x250E173F: mov dword ptr [esi + 0x10c], ebx */ 4675 MEM32(esi + 0x110) = ebx; /* 0x250E1745: mov dword ptr [esi + 0x110], ebx */ 4676 MEM32(esi + 0x114) = eax; /* 0x250E174B: mov dword ptr [esi + 0x114], eax */ 4677 ecx = MEM32(ebp + 0x8); /* 0x250E1751: mov ecx, dword ptr [ebp + 8] */ 4678 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x250E1754: mov byte ptr [ebp - 4], 6 */ 4679 MEM32(esi) = 0x251584B4u; /* 0x250E1758: mov dword ptr [esi], 0x251584b4 */ 4680 MEM32(esi + 0x8) = 0x251584A4u; /* 0x250E175E: mov dword ptr [esi + 8], 0x251584a4 */ 4681 MEM32(esi + 0x20) = 0x25158494u; /* 0x250E1765: mov dword ptr [esi + 0x20], 0x25158494 */ 4682 MEM32(esi + 0x38) = 0x25158484u; /* 0x250E176C: mov dword ptr [esi + 0x38], 0x25158484 */ 4683 MEM32(esi + 0x50) = 0x25158474u; /* 0x250E1773: mov dword ptr [esi + 0x50], 0x25158474 */ 4684 RECOMP_ICALL(MEM32(0x251513EC)); /* 0x250E177A: call dword ptr [0x251513ec] */ 4685 RECOMP_FLAGS_IN(); 4686 SET_LO8(ecx, 0xFu); /* 0x250E1780: mov cl, 0xf */ 4687 MEM8(esi + 0x132) = (uint8_t)(LO8(ecx)); /* 0x250E1782: mov byte ptr [esi + 0x132], cl */ 4688 MEM8(esi + 0x130) = (uint8_t)(LO8(ecx)); /* 0x250E1788: mov byte ptr [esi + 0x130], cl */ 4689 MEM8(esi + 0x131) = (uint8_t)(LO8(ecx)); /* 0x250E178E: mov byte ptr [esi + 0x131], cl */ 4690 PUSH32(esp, ebx); /* 0x250E1794: push ebx */ 4691 ecx = ebp + (-0x18); /* 0x250E1795: lea ecx, [ebp - 0x18] */ 4692 PUSH32(esp, ecx); /* 0x250E1798: push ecx */ 4693 PUSH32(esp, 0x251B9EACu); /* 0x250E1799: push 0x251b9eac */ 4694 ecx = eax; /* 0x250E179E: mov ecx, eax */ 4695 MEM32(ebp + 0x8) = eax; /* 0x250E17A0: mov dword ptr [ebp + 8], eax */ 4696 MEM32(esi + 0x124) = ebx; /* 0x250E17A3: mov dword ptr [esi + 0x124], ebx */ 4697 MEM32(esi + 0x128) = ebx; /* 0x250E17A9: mov dword ptr [esi + 0x128], ebx */ 4698 MEM32(esi + 0x6C) = ebx; /* 0x250E17AF: mov dword ptr [esi + 0x6c], ebx */ 4699 MEM32(esi + 0x70) = ebx; /* 0x250E17B2: mov dword ptr [esi + 0x70], ebx */ 4700 MEM32(esi + 0x74) = ebx; /* 0x250E17B5: mov dword ptr [esi + 0x74], ebx */ 4701 MEM32(esi + 0x12C) = ebx; /* 0x250E17B8: mov dword ptr [esi + 0x12c], ebx */ 4702 MEM8(esi + 0x120) = (uint8_t)(1); /* 0x250E17BE: mov byte ptr [esi + 0x120], 1 */ 4703 MEM32(esi + 0x11C) = 0x3F800000u; /* 0x250E17C5: mov dword ptr [esi + 0x11c], 0x3f800000 */ 4704 MEM32(esi + 0x134) = 0xFFFFFFFFu; /* 0x250E17CF: mov dword ptr [esi + 0x134], 0xffffffff */ 4705 MEM8(esi + 0x68) = (uint8_t)(LO8(ebx)); /* 0x250E17D9: mov byte ptr [esi + 0x68], bl */ 4706 MEM8(esi + 0x69) = (uint8_t)(LO8(ebx)); /* 0x250E17DC: mov byte ptr [esi + 0x69], bl */ 4707 MEM8(esi + 0x6A) = (uint8_t)(LO8(ebx)); /* 0x250E17DF: mov byte ptr [esi + 0x6a], bl */ 4708 MEM8(esi + 0x6B) = (uint8_t)(LO8(ebx)); /* 0x250E17E2: mov byte ptr [esi + 0x6b], bl */ 4709 MEM32(esi + 0x94) = 0x3F800000u; /* 0x250E17E5: mov dword ptr [esi + 0x94], 0x3f800000 */ 4710 MEM32(ebp + (-0x18)) = ebx; /* 0x250E17EF: mov dword ptr [ebp - 0x18], ebx */ 4711 RECOMP_ICALL(MEM32(0x251513E8)); /* 0x250E17F2: call dword ptr [0x251513e8] */ 4712 RECOMP_FLAGS_IN(); 4713 /* test eax, eax */ /* 0x250E17F8: test eax, eax */ 4714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4715 _cf = 0; 4716 _flag_k = FK_TEST; 4717 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1805; /* 0x250E17FA: jne 0x250e1805 */ 4718 L_250E17FC: 4719 edx = MEM32(ebp + (-0x18)); /* 0x250E17FC: mov edx, dword ptr [ebp - 0x18] */ 4720 MEM32(esi + 0x134) = edx; /* 0x250E17FF: mov dword ptr [esi + 0x134], edx */ 4721 L_250E1805: 4722 PUSH32(esp, ebx); /* 0x250E1805: push ebx */ 4723 PUSH32(esp, edi); /* 0x250E1806: push edi */ 4724 edi = MEM32(ebp + 0x8); /* 0x250E1807: mov edi, dword ptr [ebp + 8] */ 4725 PUSH32(esp, 0x251B9EA0u); /* 0x250E180A: push 0x251b9ea0 */ 4726 ecx = edi; /* 0x250E180F: mov ecx, edi */ 4727 RECOMP_ICALL(MEM32(0x251513C4)); /* 0x250E1811: call dword ptr [0x251513c4] */ 4728 RECOMP_FLAGS_IN(); 4729 PUSH32(esp, ebx); /* 0x250E1817: push ebx */ 4730 eax = esi + 0x78; /* 0x250E1818: lea eax, [esi + 0x78] */ 4731 PUSH32(esp, eax); /* 0x250E181B: push eax */ 4732 PUSH32(esp, 0x251B9E94u); /* 0x250E181C: push 0x251b9e94 */ 4733 ecx = edi; /* 0x250E1821: mov ecx, edi */ 4734 RECOMP_ICALL(MEM32(0x251513C0)); /* 0x250E1823: call dword ptr [0x251513c0] */ 4735 RECOMP_FLAGS_IN(); 4736 PUSH32(esp, ebx); /* 0x250E1829: push ebx */ 4737 eax = esi + 0x84; /* 0x250E182A: lea eax, [esi + 0x84] */ 4738 PUSH32(esp, eax); /* 0x250E1830: push eax */ 4739 PUSH32(esp, 0x251B9E88u); /* 0x250E1831: push 0x251b9e88 */ 4740 ecx = edi; /* 0x250E1836: mov ecx, edi */ 4741 RECOMP_ICALL(MEM32(0x251513C8)); /* 0x250E1838: call dword ptr [0x251513c8] */ 4742 RECOMP_FLAGS_IN(); 4743 PUSH32(esp, ebx); /* 0x250E183E: push ebx */ 4744 eax = esi + 0x94; /* 0x250E183F: lea eax, [esi + 0x94] */ 4745 PUSH32(esp, eax); /* 0x250E1845: push eax */ 4746 PUSH32(esp, 0x251B9E80u); /* 0x250E1846: push 0x251b9e80 */ 4747 ecx = edi; /* 0x250E184B: mov ecx, edi */ 4748 RECOMP_ICALL(MEM32(0x251513BC)); /* 0x250E184D: call dword ptr [0x251513bc] */ 4749 RECOMP_FLAGS_IN(); 4750 PUSH32(esp, ebx); /* 0x250E1853: push ebx */ 4751 eax = ebp + 0x8; /* 0x250E1854: lea eax, [ebp + 8] */ 4752 PUSH32(esp, eax); /* 0x250E1857: push eax */ 4753 PUSH32(esp, 0x251B9E78u); /* 0x250E1858: push 0x251b9e78 */ 4754 ecx = edi; /* 0x250E185D: mov ecx, edi */ 4755 RECOMP_ICALL(MEM32(0x2515142C)); /* 0x250E185F: call dword ptr [0x2515142c] */ 4756 RECOMP_FLAGS_IN(); 4757 /* test eax, eax */ /* 0x250E1865: test eax, eax */ 4758 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4759 _cf = 0; 4760 _flag_k = FK_TEST; 4761 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1892; /* 0x250E1867: jne 0x250e1892 */ 4762 L_250E1869: 4763 ecx = MEM32(ebp + 0x8); /* 0x250E1869: mov ecx, dword ptr [ebp + 8] */ 4764 PUSH32(esp, ebx); /* 0x250E186C: push ebx */ 4765 PUSH32(esp, 0x251B9CD8u); /* 0x250E186D: push 0x251b9cd8 */ 4766 PUSH32(esp, 0x251B2570u); /* 0x250E1872: push 0x251b2570 */ 4767 PUSH32(esp, ebx); /* 0x250E1877: push ebx */ 4768 PUSH32(esp, ecx); /* 0x250E1878: push ecx */ 4769 RECOMP_ICALL(0x251381ACu); /* 0x250E1879: call 0x251381ac */ /* not lifted */ 4770 RECOMP_FLAGS_IN(); 4771 ecx = MEM32(ebp + 0x8); /* 0x250E187E: mov ecx, dword ptr [ebp + 8] */ 4772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4774 esp = esp + 0x14u; /* 0x250E1881: add esp, 0x14 */ 4775 _flag_k = FK_ADD; 4776 /* cmp ecx, ebx */ /* 0x250E1884: cmp ecx, ebx */ 4777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4779 _flag_k = FK_CMP; 4780 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E188C; /* 0x250E1886: je 0x250e188c */ 4781 L_250E1888: 4782 /* cmp eax, ebx */ /* 0x250E1888: cmp eax, ebx */ 4783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4785 _flag_k = FK_CMP; 4786 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1892; /* 0x250E188A: je 0x250e1892 */ 4787 L_250E188C: 4788 MEM32(esi + 0x124) = eax; /* 0x250E188C: mov dword ptr [esi + 0x124], eax */ 4789 L_250E1892: 4790 PUSH32(esp, ebx); /* 0x250E1892: push ebx */ 4791 edx = ebp + 0x8; /* 0x250E1893: lea edx, [ebp + 8] */ 4792 PUSH32(esp, edx); /* 0x250E1896: push edx */ 4793 PUSH32(esp, 0x251B9E70u); /* 0x250E1897: push 0x251b9e70 */ 4794 ecx = edi; /* 0x250E189C: mov ecx, edi */ 4795 RECOMP_ICALL(MEM32(0x2515142C)); /* 0x250E189E: call dword ptr [0x2515142c] */ 4796 RECOMP_FLAGS_IN(); 4797 /* test eax, eax */ /* 0x250E18A4: test eax, eax */ 4798 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4799 _cf = 0; 4800 _flag_k = FK_TEST; 4801 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E18D1; /* 0x250E18A6: jne 0x250e18d1 */ 4802 L_250E18A8: 4803 eax = MEM32(ebp + 0x8); /* 0x250E18A8: mov eax, dword ptr [ebp + 8] */ 4804 PUSH32(esp, ebx); /* 0x250E18AB: push ebx */ 4805 PUSH32(esp, 0x251B9E18u); /* 0x250E18AC: push 0x251b9e18 */ 4806 PUSH32(esp, 0x251B2570u); /* 0x250E18B1: push 0x251b2570 */ 4807 PUSH32(esp, ebx); /* 0x250E18B6: push ebx */ 4808 PUSH32(esp, eax); /* 0x250E18B7: push eax */ 4809 RECOMP_ICALL(0x251381ACu); /* 0x250E18B8: call 0x251381ac */ /* not lifted */ 4810 RECOMP_FLAGS_IN(); 4811 ecx = MEM32(ebp + 0x8); /* 0x250E18BD: mov ecx, dword ptr [ebp + 8] */ 4812 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4814 esp = esp + 0x14u; /* 0x250E18C0: add esp, 0x14 */ 4815 _flag_k = FK_ADD; 4816 /* cmp ecx, ebx */ /* 0x250E18C3: cmp ecx, ebx */ 4817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4819 _flag_k = FK_CMP; 4820 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E18CB; /* 0x250E18C5: je 0x250e18cb */ 4821 L_250E18C7: 4822 /* cmp eax, ebx */ /* 0x250E18C7: cmp eax, ebx */ 4823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4825 _flag_k = FK_CMP; 4826 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E18D1; /* 0x250E18C9: je 0x250e18d1 */ 4827 L_250E18CB: 4828 MEM32(esi + 0x128) = eax; /* 0x250E18CB: mov dword ptr [esi + 0x128], eax */ 4829 L_250E18D1: 4830 PUSH32(esp, ebx); /* 0x250E18D1: push ebx */ 4831 ecx = ebp + (-0x14); /* 0x250E18D2: lea ecx, [ebp - 0x14] */ 4832 PUSH32(esp, ecx); /* 0x250E18D5: push ecx */ 4833 PUSH32(esp, 0x251B9E64u); /* 0x250E18D6: push 0x251b9e64 */ 4834 ecx = edi; /* 0x250E18DB: mov ecx, edi */ 4835 MEM32(ebp + (-0x14)) = ebx; /* 0x250E18DD: mov dword ptr [ebp - 0x14], ebx */ 4836 RECOMP_ICALL(MEM32(0x251513E8)); /* 0x250E18E0: call dword ptr [0x251513e8] */ 4837 RECOMP_FLAGS_IN(); 4838 /* cmp MEM32(ebp + (-0x14)), ebx */ /* 0x250E18E6: cmp dword ptr [ebp - 0x14], ebx */ 4839 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ebx); 4840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4841 _flag_k = FK_CMP; 4842 MEM32(ebp + 0x8) = ebx; /* 0x250E18E9: mov dword ptr [ebp + 8], ebx */ 4843 if (CMP_LE(_flag_a, _flag_b)) goto L_250E1940; /* 0x250E18EC: jle 0x250e1940 */ 4844 L_250E18EE: 4845 edx = MEM32(ebp + 0x8); /* 0x250E18EE: mov edx, dword ptr [ebp + 8] */ 4846 PUSH32(esp, edx); /* 0x250E18F1: push edx */ 4847 eax = ebp + (-0x1C); /* 0x250E18F2: lea eax, [ebp - 0x1c] */ 4848 PUSH32(esp, eax); /* 0x250E18F5: push eax */ 4849 PUSH32(esp, 0x251B9E5Cu); /* 0x250E18F6: push 0x251b9e5c */ 4850 ecx = edi; /* 0x250E18FB: mov ecx, edi */ 4851 RECOMP_ICALL(MEM32(0x2515142C)); /* 0x250E18FD: call dword ptr [0x2515142c] */ 4852 RECOMP_FLAGS_IN(); 4853 /* cmp eax, ebx */ /* 0x250E1903: cmp eax, ebx */ 4854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4856 _flag_k = FK_CMP; 4857 if (CMP_NE(_flag_a, _flag_b)) goto L_250E1932; /* 0x250E1905: jne 0x250e1932 */ 4858 L_250E1907: 4859 ecx = MEM32(ebp + (-0x1C)); /* 0x250E1907: mov ecx, dword ptr [ebp - 0x1c] */ 4860 PUSH32(esp, ebx); /* 0x250E190A: push ebx */ 4861 PUSH32(esp, 0x251B2598u); /* 0x250E190B: push 0x251b2598 */ 4862 PUSH32(esp, 0x251B2570u); /* 0x250E1910: push 0x251b2570 */ 4863 PUSH32(esp, ebx); /* 0x250E1915: push ebx */ 4864 PUSH32(esp, ecx); /* 0x250E1916: push ecx */ 4865 RECOMP_ICALL(0x251381ACu); /* 0x250E1917: call 0x251381ac */ /* not lifted */ 4866 RECOMP_FLAGS_IN(); 4867 ecx = MEM32(ebp + (-0x1C)); /* 0x250E191C: mov ecx, dword ptr [ebp - 0x1c] */ 4868 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4870 esp = esp + 0x14u; /* 0x250E191F: add esp, 0x14 */ 4871 _flag_k = FK_ADD; 4872 /* cmp ecx, ebx */ /* 0x250E1922: cmp ecx, ebx */ 4873 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4875 _flag_k = FK_CMP; 4876 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E192A; /* 0x250E1924: je 0x250e192a */ 4877 L_250E1926: 4878 /* cmp eax, ebx */ /* 0x250E1926: cmp eax, ebx */ 4879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4881 _flag_k = FK_CMP; 4882 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1932; /* 0x250E1928: je 0x250e1932 */ 4883 L_250E192A: 4884 PUSH32(esp, eax); /* 0x250E192A: push eax */ 4885 ecx = esi; /* 0x250E192B: mov ecx, esi */ 4886 RECOMP_ICALL(0x250E1CD0u); /* 0x250E192D: call 0x250e1cd0 */ /* not lifted */ 4887 RECOMP_FLAGS_IN(); 4888 L_250E1932: 4889 eax = MEM32(ebp + 0x8); /* 0x250E1932: mov eax, dword ptr [ebp + 8] */ 4890 ecx = MEM32(ebp + (-0x14)); /* 0x250E1935: mov ecx, dword ptr [ebp - 0x14] */ 4891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4892 eax = eax + 1; /* 0x250E1938: inc eax */ 4893 _flag_k = FK_INC; 4894 /* cmp eax, ecx */ /* 0x250E1939: cmp eax, ecx */ 4895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4897 _flag_k = FK_CMP; 4898 MEM32(ebp + 0x8) = eax; /* 0x250E193B: mov dword ptr [ebp + 8], eax */ 4899 RECOMP_BACKEDGE(); 4900 if (CMP_L(_flag_a, _flag_b)) goto L_250E18EE; /* 0x250E193E: jl 0x250e18ee */ 4901 L_250E1940: 4902 ecx = MEM32(esi + 0x124); /* 0x250E1940: mov ecx, dword ptr [esi + 0x124] */ 4903 /* cmp ecx, ebx */ /* 0x250E1946: cmp ecx, ebx */ 4904 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4906 _flag_k = FK_CMP; 4907 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E194F; /* 0x250E1948: je 0x250e194f */ 4908 L_250E194A: 4909 RECOMP_ICALL(0x250E6360u); /* 0x250E194A: call 0x250e6360 */ /* not lifted */ 4910 RECOMP_FLAGS_IN(); 4911 L_250E194F: 4912 ecx = MEM32(esi + 0x128); /* 0x250E194F: mov ecx, dword ptr [esi + 0x128] */ 4913 /* cmp ecx, ebx */ /* 0x250E1955: cmp ecx, ebx */ 4914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4916 _flag_k = FK_CMP; 4917 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E195E; /* 0x250E1957: je 0x250e195e */ 4918 L_250E1959: 4919 RECOMP_ICALL(0x250E6360u); /* 0x250E1959: call 0x250e6360 */ /* not lifted */ 4920 RECOMP_FLAGS_IN(); 4921 L_250E195E: 4922 ecx = MEM32(ebp + (-0xC)); /* 0x250E195E: mov ecx, dword ptr [ebp - 0xc] */ 4923 edi = POP32_VAL(esp); /* 0x250E1961: pop edi */ 4924 eax = esi; /* 0x250E1962: mov eax, esi */ 4925 esi = POP32_VAL(esp); /* 0x250E1964: pop esi */ 4926 ebx = POP32_VAL(esp); /* 0x250E1965: pop ebx */ 4927 MEM32(FS_BASE + (0)) = ecx; /* 0x250E1966: mov dword ptr fs:[0], ecx */ 4928 esp = ebp; /* 0x250E196D: mov esp, ebp */ 4929 ebp = POP32_VAL(esp); /* 0x250E196F: pop ebp */ 4930 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1970: ret 4 */ 4931 RECOMP_REGS_OUT(); 4932 } 4933 4934 void sub_250E1980(void) { 4935 int _fpu_cmp = 0; 4936 uint32_t _cf = 0; 4937 int _df = 1; 4938 uint32_t _flag_k = FK_NONE; 4939 uint32_t _flag_a = 0, _flag_b = 0; 4940 uint32_t _itail_tgt = 0; 4941 RECOMP_REGS_LOCALS 4942 RECOMP_ENTER(0x250E1980u); 4943 4944 L_250E1980: 4945 PUSH32(esp, ebp); /* 0x250E1980: push ebp */ 4946 ebp = esp; /* 0x250E1981: mov ebp, esp */ 4947 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E1983: push -1 */ 4948 PUSH32(esp, 0x2514B16Bu); /* 0x250E1985: push 0x2514b16b */ 4949 eax = MEM32(FS_BASE + (0)); /* 0x250E198A: mov eax, dword ptr fs:[0] */ 4950 PUSH32(esp, eax); /* 0x250E1990: push eax */ 4951 MEM32(FS_BASE + (0)) = esp; /* 0x250E1991: mov dword ptr fs:[0], esp */ 4952 PUSH32(esp, ecx); /* 0x250E1998: push ecx */ 4953 PUSH32(esp, 0x138u); /* 0x250E1999: push 0x138 */ 4954 RECOMP_ICALL(0x251380D0u); /* 0x250E199E: call 0x251380d0 */ /* not lifted */ 4955 RECOMP_FLAGS_IN(); 4956 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4958 esp = esp + 4; /* 0x250E19A3: add esp, 4 */ 4959 _flag_k = FK_ADD; 4960 MEM32(ebp + (-0x10)) = eax; /* 0x250E19A6: mov dword ptr [ebp - 0x10], eax */ 4961 /* test eax, eax */ /* 0x250E19A9: test eax, eax */ 4962 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4963 _cf = 0; 4964 _flag_k = FK_TEST; 4965 MEM32(ebp + (-0x4)) = 0; /* 0x250E19AB: mov dword ptr [ebp - 4], 0 */ 4966 if (TEST_Z(_flag_a, _flag_b)) goto L_250E19CD; /* 0x250E19B2: je 0x250e19cd */ 4967 L_250E19B4: 4968 ecx = MEM32(ebp + 0x8); /* 0x250E19B4: mov ecx, dword ptr [ebp + 8] */ 4969 PUSH32(esp, ecx); /* 0x250E19B7: push ecx */ 4970 ecx = eax; /* 0x250E19B8: mov ecx, eax */ 4971 RECOMP_ICALL(0x250E15F0u); /* 0x250E19BA: call 0x250e15f0 */ /* not lifted */ 4972 RECOMP_FLAGS_IN(); 4973 ecx = MEM32(ebp + (-0xC)); /* 0x250E19BF: mov ecx, dword ptr [ebp - 0xc] */ 4974 MEM32(FS_BASE + (0)) = ecx; /* 0x250E19C2: mov dword ptr fs:[0], ecx */ 4975 esp = ebp; /* 0x250E19C9: mov esp, ebp */ 4976 ebp = POP32_VAL(esp); /* 0x250E19CB: pop ebp */ 4977 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E19CC: ret */ 4978 L_250E19CD: 4979 ecx = MEM32(ebp + (-0xC)); /* 0x250E19CD: mov ecx, dword ptr [ebp - 0xc] */ 4980 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4981 eax = 0; /* 0x250E19D0: xor eax, eax */ 4982 _cf = 0; 4983 _flag_k = FK_TEST; 4984 MEM32(FS_BASE + (0)) = ecx; /* 0x250E19D2: mov dword ptr fs:[0], ecx */ 4985 esp = ebp; /* 0x250E19D9: mov esp, ebp */ 4986 ebp = POP32_VAL(esp); /* 0x250E19DB: pop ebp */ 4987 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E19DC: ret */ 4988 RECOMP_REGS_OUT(); 4989 } 4990 4991 void sub_250E19E0(void) { 4992 int _fpu_cmp = 0; 4993 uint32_t _cf = 0; 4994 int _df = 1; 4995 uint32_t _flag_k = FK_NONE; 4996 uint32_t _flag_a = 0, _flag_b = 0; 4997 uint32_t _itail_tgt = 0; 4998 RECOMP_REGS_LOCALS 4999 RECOMP_ENTER(0x250E19E0u); 5000 5001 L_250E19E0: 5002 PUSH32(esp, ebp); /* 0x250E19E0: push ebp */ 5003 ebp = esp; /* 0x250E19E1: mov ebp, esp */ 5004 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E19E3: push -1 */ 5005 PUSH32(esp, 0x2514B255u); /* 0x250E19E5: push 0x2514b255 */ 5006 eax = MEM32(FS_BASE + (0)); /* 0x250E19EA: mov eax, dword ptr fs:[0] */ 5007 PUSH32(esp, eax); /* 0x250E19F0: push eax */ 5008 MEM32(FS_BASE + (0)) = esp; /* 0x250E19F1: mov dword ptr fs:[0], esp */ 5009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5011 esp = esp - 8; /* 0x250E19F8: sub esp, 8 */ 5012 _flag_k = FK_CMP; 5013 PUSH32(esp, ebx); /* 0x250E19FB: push ebx */ 5014 PUSH32(esp, esi); /* 0x250E19FC: push esi */ 5015 PUSH32(esp, edi); /* 0x250E19FD: push edi */ 5016 edi = ecx; /* 0x250E19FE: mov edi, ecx */ 5017 esi = edi + 0x50; /* 0x250E1A00: lea esi, [edi + 0x50] */ 5018 MEM32(ebp + (-0x10)) = edi; /* 0x250E1A03: mov dword ptr [ebp - 0x10], edi */ 5019 MEM32(edi) = 0x251584B4u; /* 0x250E1A06: mov dword ptr [edi], 0x251584b4 */ 5020 MEM32(edi + 0x8) = 0x251584A4u; /* 0x250E1A0C: mov dword ptr [edi + 8], 0x251584a4 */ 5021 MEM32(edi + 0x20) = 0x25158494u; /* 0x250E1A13: mov dword ptr [edi + 0x20], 0x25158494 */ 5022 MEM32(edi + 0x38) = 0x25158484u; /* 0x250E1A1A: mov dword ptr [edi + 0x38], 0x25158484 */ 5023 MEM32(esi) = 0x25158474u; /* 0x250E1A21: mov dword ptr [esi], 0x25158474 */ 5024 ecx = MEM32(edi + 0x124); /* 0x250E1A27: mov ecx, dword ptr [edi + 0x124] */ 5025 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5026 ebx = 0; /* 0x250E1A2D: xor ebx, ebx */ 5027 _cf = 0; 5028 _flag_k = FK_TEST; 5029 /* cmp ecx, ebx */ /* 0x250E1A2F: cmp ecx, ebx */ 5030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5032 _flag_k = FK_CMP; 5033 MEM32(ebp + (-0x4)) = 6; /* 0x250E1A31: mov dword ptr [ebp - 4], 6 */ 5034 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A3F; /* 0x250E1A38: je 0x250e1a3f */ 5035 L_250E1A3A: 5036 RECOMP_ICALL(0x250E6370u); /* 0x250E1A3A: call 0x250e6370 */ /* not lifted */ 5037 RECOMP_FLAGS_IN(); 5038 L_250E1A3F: 5039 ecx = MEM32(edi + 0x128); /* 0x250E1A3F: mov ecx, dword ptr [edi + 0x128] */ 5040 /* cmp ecx, ebx */ /* 0x250E1A45: cmp ecx, ebx */ 5041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5043 _flag_k = FK_CMP; 5044 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A5A; /* 0x250E1A47: je 0x250e1a5a */ 5045 L_250E1A49: 5046 eax = MEM32(ecx); /* 0x250E1A49: mov eax, dword ptr [ecx] */ 5047 PUSH32(esp, ebx); /* 0x250E1A4B: push ebx */ 5048 RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x250E1A4C: call dword ptr [eax + 0x10] */ 5049 RECOMP_FLAGS_IN(); 5050 ecx = MEM32(edi + 0x128); /* 0x250E1A4F: mov ecx, dword ptr [edi + 0x128] */ 5051 RECOMP_ICALL(0x250E6370u); /* 0x250E1A55: call 0x250e6370 */ /* not lifted */ 5052 RECOMP_FLAGS_IN(); 5053 L_250E1A5A: 5054 ecx = MEM32(edi + 0x6C); /* 0x250E1A5A: mov ecx, dword ptr [edi + 0x6c] */ 5055 /* cmp ecx, ebx */ /* 0x250E1A5D: cmp ecx, ebx */ 5056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5058 _flag_k = FK_CMP; 5059 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A67; /* 0x250E1A5F: je 0x250e1a67 */ 5060 L_250E1A61: 5061 edx = MEM32(ecx); /* 0x250E1A61: mov edx, dword ptr [ecx] */ 5062 PUSH32(esp, edi); /* 0x250E1A63: push edi */ 5063 RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x250E1A64: call dword ptr [edx + 0x10] */ 5064 RECOMP_FLAGS_IN(); 5065 L_250E1A67: 5066 ecx = MEM32(edi + 0x74); /* 0x250E1A67: mov ecx, dword ptr [edi + 0x74] */ 5067 /* cmp ecx, ebx */ /* 0x250E1A6A: cmp ecx, ebx */ 5068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5070 _flag_k = FK_CMP; 5071 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1A7B; /* 0x250E1A6C: je 0x250e1a7b */ 5072 L_250E1A6E: 5073 eax = MEM32(ecx); /* 0x250E1A6E: mov eax, dword ptr [ecx] */ 5074 PUSH32(esp, 1); /* 0x250E1A70: push 1 */ 5075 RECOMP_ICALL(MEM32(eax)); /* 0x250E1A72: call dword ptr [eax] */ 5076 RECOMP_FLAGS_IN(); 5077 ecx = MEM32(edi + 0x74); /* 0x250E1A74: mov ecx, dword ptr [edi + 0x74] */ 5078 /* cmp ecx, ebx */ /* 0x250E1A77: cmp ecx, ebx */ 5079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5081 _flag_k = FK_CMP; 5082 RECOMP_BACKEDGE(); 5083 if (CMP_NE(_flag_a, _flag_b)) goto L_250E1A6E; /* 0x250E1A79: jne 0x250e1a6e */ 5084 L_250E1A7B: 5085 eax = edi; /* 0x250E1A7B: mov eax, edi */ 5086 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 5087 _cf = (eax) != 0; 5088 eax = (uint32_t)(-(int32_t)eax); /* 0x250E1A7D: neg eax */ 5089 _flag_k = FK_CMP; 5090 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1A7F: sbb eax, eax */ 5091 eax = _sc ? 0xFFFFFFFFu : 0; 5092 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5093 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5095 eax = eax & esi; /* 0x250E1A81: and eax, esi */ 5096 _cf = 0; 5097 _flag_k = FK_TEST; 5098 esi = eax + 0x4; /* 0x250E1A83: lea esi, [eax + 4] */ 5099 MEM32(eax) = 0x251584E8u; /* 0x250E1A86: mov dword ptr [eax], 0x251584e8 */ 5100 eax = MEM32(esi + 0x4); /* 0x250E1A8C: mov eax, dword ptr [esi + 4] */ 5101 ecx = MEM32(eax); /* 0x250E1A8F: mov ecx, dword ptr [eax] */ 5102 PUSH32(esp, eax); /* 0x250E1A91: push eax */ 5103 PUSH32(esp, ecx); /* 0x250E1A92: push ecx */ 5104 ecx = ebp + (-0x14); /* 0x250E1A93: lea ecx, [ebp - 0x14] */ 5105 PUSH32(esp, ecx); /* 0x250E1A96: push ecx */ 5106 ecx = esi; /* 0x250E1A97: mov ecx, esi */ 5107 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x250E1A99: mov byte ptr [ebp - 4], 3 */ 5108 RECOMP_ICALL(0x25029FC0u); /* 0x250E1A9D: call 0x25029fc0 */ /* not lifted */ 5109 RECOMP_FLAGS_IN(); 5110 eax = MEM32(esi + 0x4); /* 0x250E1AA2: mov eax, dword ptr [esi + 4] */ 5111 PUSH32(esp, eax); /* 0x250E1AA5: push eax */ 5112 RECOMP_ICALL(0x25137EECu); /* 0x250E1AA6: call 0x25137eec */ /* not lifted */ 5113 RECOMP_FLAGS_IN(); 5114 eax = MEM32(esi + 0x8); /* 0x250E1AAB: mov eax, dword ptr [esi + 8] */ 5115 PUSH32(esp, eax); /* 0x250E1AAE: push eax */ 5116 MEM32(esi + 0x4) = ebx; /* 0x250E1AAF: mov dword ptr [esi + 4], ebx */ 5117 MEM32(esi + 0x10) = ebx; /* 0x250E1AB2: mov dword ptr [esi + 0x10], ebx */ 5118 RECOMP_ICALL(0x25137EECu); /* 0x250E1AB5: call 0x25137eec */ /* not lifted */ 5119 RECOMP_FLAGS_IN(); 5120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5122 esp = esp + 8; /* 0x250E1ABA: add esp, 8 */ 5123 _flag_k = FK_ADD; 5124 eax = edi; /* 0x250E1ABD: mov eax, edi */ 5125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 5126 _cf = (eax) != 0; 5127 eax = (uint32_t)(-(int32_t)eax); /* 0x250E1ABF: neg eax */ 5128 _flag_k = FK_CMP; 5129 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1AC1: sbb eax, eax */ 5130 eax = _sc ? 0xFFFFFFFFu : 0; 5131 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5132 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5133 MEM32(esi + 0x8) = ebx; /* 0x250E1AC3: mov dword ptr [esi + 8], ebx */ 5134 ecx = edi + 0x38; /* 0x250E1AC6: lea ecx, [edi + 0x38] */ 5135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5136 eax = eax & ecx; /* 0x250E1AC9: and eax, ecx */ 5137 _cf = 0; 5138 _flag_k = FK_TEST; 5139 esi = eax + 0x4; /* 0x250E1ACB: lea esi, [eax + 4] */ 5140 MEM32(eax) = 0x251584F8u; /* 0x250E1ACE: mov dword ptr [eax], 0x251584f8 */ 5141 eax = MEM32(esi + 0x4); /* 0x250E1AD4: mov eax, dword ptr [esi + 4] */ 5142 ecx = MEM32(eax); /* 0x250E1AD7: mov ecx, dword ptr [eax] */ 5143 PUSH32(esp, eax); /* 0x250E1AD9: push eax */ 5144 PUSH32(esp, ecx); /* 0x250E1ADA: push ecx */ 5145 edx = ebp + (-0x14); /* 0x250E1ADB: lea edx, [ebp - 0x14] */ 5146 PUSH32(esp, edx); /* 0x250E1ADE: push edx */ 5147 ecx = esi; /* 0x250E1ADF: mov ecx, esi */ 5148 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E1AE1: mov byte ptr [ebp - 4], 2 */ 5149 RECOMP_ICALL(0x250DE350u); /* 0x250E1AE5: call 0x250de350 */ /* not lifted */ 5150 RECOMP_FLAGS_IN(); 5151 eax = MEM32(esi + 0x4); /* 0x250E1AEA: mov eax, dword ptr [esi + 4] */ 5152 PUSH32(esp, eax); /* 0x250E1AED: push eax */ 5153 RECOMP_ICALL(0x25137EECu); /* 0x250E1AEE: call 0x25137eec */ /* not lifted */ 5154 RECOMP_FLAGS_IN(); 5155 eax = MEM32(esi + 0x8); /* 0x250E1AF3: mov eax, dword ptr [esi + 8] */ 5156 PUSH32(esp, eax); /* 0x250E1AF6: push eax */ 5157 MEM32(esi + 0x4) = ebx; /* 0x250E1AF7: mov dword ptr [esi + 4], ebx */ 5158 MEM32(esi + 0x10) = ebx; /* 0x250E1AFA: mov dword ptr [esi + 0x10], ebx */ 5159 RECOMP_ICALL(0x25137EECu); /* 0x250E1AFD: call 0x25137eec */ /* not lifted */ 5160 RECOMP_FLAGS_IN(); 5161 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5162 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5163 esp = esp + 8; /* 0x250E1B02: add esp, 8 */ 5164 _flag_k = FK_ADD; 5165 eax = edi; /* 0x250E1B05: mov eax, edi */ 5166 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 5167 _cf = (eax) != 0; 5168 eax = (uint32_t)(-(int32_t)eax); /* 0x250E1B07: neg eax */ 5169 _flag_k = FK_CMP; 5170 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1B09: sbb eax, eax */ 5171 eax = _sc ? 0xFFFFFFFFu : 0; 5172 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5173 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5174 MEM32(esi + 0x8) = ebx; /* 0x250E1B0B: mov dword ptr [esi + 8], ebx */ 5175 ecx = edi + 0x20; /* 0x250E1B0E: lea ecx, [edi + 0x20] */ 5176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5177 eax = eax & ecx; /* 0x250E1B11: and eax, ecx */ 5178 _cf = 0; 5179 _flag_k = FK_TEST; 5180 esi = eax + 0x4; /* 0x250E1B13: lea esi, [eax + 4] */ 5181 MEM32(eax) = 0x25158508u; /* 0x250E1B16: mov dword ptr [eax], 0x25158508 */ 5182 eax = MEM32(esi + 0x4); /* 0x250E1B1C: mov eax, dword ptr [esi + 4] */ 5183 ecx = MEM32(eax); /* 0x250E1B1F: mov ecx, dword ptr [eax] */ 5184 PUSH32(esp, eax); /* 0x250E1B21: push eax */ 5185 PUSH32(esp, ecx); /* 0x250E1B22: push ecx */ 5186 eax = ebp + (-0x14); /* 0x250E1B23: lea eax, [ebp - 0x14] */ 5187 PUSH32(esp, eax); /* 0x250E1B26: push eax */ 5188 ecx = esi; /* 0x250E1B27: mov ecx, esi */ 5189 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E1B29: mov byte ptr [ebp - 4], 1 */ 5190 RECOMP_ICALL(0x25007170u); /* 0x250E1B2D: call 0x25007170 */ /* not lifted */ 5191 RECOMP_FLAGS_IN(); 5192 eax = MEM32(esi + 0x4); /* 0x250E1B32: mov eax, dword ptr [esi + 4] */ 5193 PUSH32(esp, eax); /* 0x250E1B35: push eax */ 5194 RECOMP_ICALL(0x25137EECu); /* 0x250E1B36: call 0x25137eec */ /* not lifted */ 5195 RECOMP_FLAGS_IN(); 5196 eax = MEM32(esi + 0x8); /* 0x250E1B3B: mov eax, dword ptr [esi + 8] */ 5197 PUSH32(esp, eax); /* 0x250E1B3E: push eax */ 5198 MEM32(esi + 0x4) = ebx; /* 0x250E1B3F: mov dword ptr [esi + 4], ebx */ 5199 MEM32(esi + 0x10) = ebx; /* 0x250E1B42: mov dword ptr [esi + 0x10], ebx */ 5200 RECOMP_ICALL(0x25137EECu); /* 0x250E1B45: call 0x25137eec */ /* not lifted */ 5201 RECOMP_FLAGS_IN(); 5202 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5204 esp = esp + 8; /* 0x250E1B4A: add esp, 8 */ 5205 _flag_k = FK_ADD; 5206 eax = edi; /* 0x250E1B4D: mov eax, edi */ 5207 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 5208 _cf = (eax) != 0; 5209 eax = (uint32_t)(-(int32_t)eax); /* 0x250E1B4F: neg eax */ 5210 _flag_k = FK_CMP; 5211 MEM32(esi + 0x8) = ebx; /* 0x250E1B51: mov dword ptr [esi + 8], ebx */ 5212 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250E1B54: mov byte ptr [ebp - 4], bl */ 5213 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E1B57: sbb eax, eax */ 5214 eax = _sc ? 0xFFFFFFFFu : 0; 5215 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5216 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5217 ecx = edi + 0x8; /* 0x250E1B59: lea ecx, [edi + 8] */ 5218 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5219 eax = eax & ecx; /* 0x250E1B5C: and eax, ecx */ 5220 _cf = 0; 5221 _flag_k = FK_TEST; 5222 esi = eax + 0x4; /* 0x250E1B5E: lea esi, [eax + 4] */ 5223 MEM32(eax) = 0x25158518u; /* 0x250E1B61: mov dword ptr [eax], 0x25158518 */ 5224 eax = MEM32(esi + 0x4); /* 0x250E1B67: mov eax, dword ptr [esi + 4] */ 5225 ecx = MEM32(eax); /* 0x250E1B6A: mov ecx, dword ptr [eax] */ 5226 PUSH32(esp, eax); /* 0x250E1B6C: push eax */ 5227 PUSH32(esp, ecx); /* 0x250E1B6D: push ecx */ 5228 ecx = ebp + (-0x14); /* 0x250E1B6E: lea ecx, [ebp - 0x14] */ 5229 PUSH32(esp, ecx); /* 0x250E1B71: push ecx */ 5230 ecx = esi; /* 0x250E1B72: mov ecx, esi */ 5231 RECOMP_ICALL(0x25006FC0u); /* 0x250E1B74: call 0x25006fc0 */ /* not lifted */ 5232 RECOMP_FLAGS_IN(); 5233 eax = MEM32(esi + 0x4); /* 0x250E1B79: mov eax, dword ptr [esi + 4] */ 5234 PUSH32(esp, eax); /* 0x250E1B7C: push eax */ 5235 RECOMP_ICALL(0x25137EECu); /* 0x250E1B7D: call 0x25137eec */ /* not lifted */ 5236 RECOMP_FLAGS_IN(); 5237 eax = MEM32(esi + 0x8); /* 0x250E1B82: mov eax, dword ptr [esi + 8] */ 5238 PUSH32(esp, eax); /* 0x250E1B85: push eax */ 5239 MEM32(esi + 0x4) = ebx; /* 0x250E1B86: mov dword ptr [esi + 4], ebx */ 5240 MEM32(esi + 0x10) = ebx; /* 0x250E1B89: mov dword ptr [esi + 0x10], ebx */ 5241 RECOMP_ICALL(0x25137EECu); /* 0x250E1B8C: call 0x25137eec */ /* not lifted */ 5242 RECOMP_FLAGS_IN(); 5243 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5245 esp = esp + 8; /* 0x250E1B91: add esp, 8 */ 5246 _flag_k = FK_ADD; 5247 ecx = edi; /* 0x250E1B94: mov ecx, edi */ 5248 MEM32(esi + 0x8) = ebx; /* 0x250E1B96: mov dword ptr [esi + 8], ebx */ 5249 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E1B99: mov dword ptr [ebp - 4], 0xffffffff */ 5250 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E1BA0: call dword ptr [0x251513fc] */ 5251 RECOMP_FLAGS_IN(); 5252 ecx = MEM32(ebp + (-0xC)); /* 0x250E1BA6: mov ecx, dword ptr [ebp - 0xc] */ 5253 edi = POP32_VAL(esp); /* 0x250E1BA9: pop edi */ 5254 esi = POP32_VAL(esp); /* 0x250E1BAA: pop esi */ 5255 ebx = POP32_VAL(esp); /* 0x250E1BAB: pop ebx */ 5256 MEM32(FS_BASE + (0)) = ecx; /* 0x250E1BAC: mov dword ptr fs:[0], ecx */ 5257 esp = ebp; /* 0x250E1BB3: mov esp, ebp */ 5258 ebp = POP32_VAL(esp); /* 0x250E1BB5: pop ebp */ 5259 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E1BB6: ret */ 5260 RECOMP_REGS_OUT(); 5261 } 5262 5263 void sub_250E1BC0(void) { 5264 int _fpu_cmp = 0; 5265 uint32_t _cf = 0; 5266 int _df = 1; 5267 uint32_t _flag_k = FK_NONE; 5268 uint32_t _flag_a = 0, _flag_b = 0; 5269 uint32_t _itail_tgt = 0; 5270 RECOMP_REGS_LOCALS 5271 RECOMP_ENTER(0x250E1BC0u); 5272 5273 L_250E1BC0: 5274 PUSH32(esp, ebp); /* 0x250E1BC0: push ebp */ 5275 ebp = esp; /* 0x250E1BC1: mov ebp, esp */ 5276 PUSH32(esp, ebx); /* 0x250E1BC3: push ebx */ 5277 PUSH32(esp, esi); /* 0x250E1BC4: push esi */ 5278 PUSH32(esp, edi); /* 0x250E1BC5: push edi */ 5279 edi = ecx; /* 0x250E1BC6: mov edi, ecx */ 5280 ecx = MEM32(ebp + 0x8); /* 0x250E1BC8: mov ecx, dword ptr [ebp + 8] */ 5281 RECOMP_ICALL(MEM32(0x251513EC)); /* 0x250E1BCB: call dword ptr [0x251513ec] */ 5282 RECOMP_FLAGS_IN(); 5283 esi = eax; /* 0x250E1BD1: mov esi, eax */ 5284 eax = edi + 0x98; /* 0x250E1BD3: lea eax, [edi + 0x98] */ 5285 PUSH32(esp, eax); /* 0x250E1BD9: push eax */ 5286 PUSH32(esp, 0x251B9EA0u); /* 0x250E1BDA: push 0x251b9ea0 */ 5287 ecx = esi; /* 0x250E1BDF: mov ecx, esi */ 5288 RECOMP_ICALL(MEM32(0x25151440)); /* 0x250E1BE1: call dword ptr [0x25151440] */ 5289 RECOMP_FLAGS_IN(); 5290 ecx = MEM32(edi + 0x134); /* 0x250E1BE7: mov ecx, dword ptr [edi + 0x134] */ 5291 PUSH32(esp, ecx); /* 0x250E1BED: push ecx */ 5292 PUSH32(esp, 0x251B9EACu); /* 0x250E1BEE: push 0x251b9eac */ 5293 ecx = esi; /* 0x250E1BF3: mov ecx, esi */ 5294 RECOMP_ICALL(MEM32(0x251513F8)); /* 0x250E1BF5: call dword ptr [0x251513f8] */ 5295 RECOMP_FLAGS_IN(); 5296 edx = edi + 0x78; /* 0x250E1BFB: lea edx, [edi + 0x78] */ 5297 PUSH32(esp, edx); /* 0x250E1BFE: push edx */ 5298 PUSH32(esp, 0x251B9E94u); /* 0x250E1BFF: push 0x251b9e94 */ 5299 ecx = esi; /* 0x250E1C04: mov ecx, esi */ 5300 RECOMP_ICALL(MEM32(0x2515143C)); /* 0x250E1C06: call dword ptr [0x2515143c] */ 5301 RECOMP_FLAGS_IN(); 5302 eax = edi + 0x84; /* 0x250E1C0C: lea eax, [edi + 0x84] */ 5303 PUSH32(esp, eax); /* 0x250E1C12: push eax */ 5304 PUSH32(esp, 0x251B9E88u); /* 0x250E1C13: push 0x251b9e88 */ 5305 ecx = esi; /* 0x250E1C18: mov ecx, esi */ 5306 RECOMP_ICALL(MEM32(0x25151438)); /* 0x250E1C1A: call dword ptr [0x25151438] */ 5307 RECOMP_FLAGS_IN(); 5308 ecx = MEM32(edi + 0x94); /* 0x250E1C20: mov ecx, dword ptr [edi + 0x94] */ 5309 PUSH32(esp, ecx); /* 0x250E1C26: push ecx */ 5310 PUSH32(esp, 0x251B9E80u); /* 0x250E1C27: push 0x251b9e80 */ 5311 ecx = esi; /* 0x250E1C2C: mov ecx, esi */ 5312 RECOMP_ICALL(MEM32(0x25151434)); /* 0x250E1C2E: call dword ptr [0x25151434] */ 5313 RECOMP_FLAGS_IN(); 5314 edx = MEM32(edi + 0x124); /* 0x250E1C34: mov edx, dword ptr [edi + 0x124] */ 5315 ebx = MEM32(0x251513F0); /* 0x250E1C3A: mov ebx, dword ptr [0x251513f0] */ 5316 PUSH32(esp, edx); /* 0x250E1C40: push edx */ 5317 PUSH32(esp, 0x251B9E78u); /* 0x250E1C41: push 0x251b9e78 */ 5318 ecx = esi; /* 0x250E1C46: mov ecx, esi */ 5319 RECOMP_ICALL(ebx); /* 0x250E1C48: call ebx */ 5320 RECOMP_FLAGS_IN(); 5321 eax = MEM32(edi + 0x128); /* 0x250E1C4A: mov eax, dword ptr [edi + 0x128] */ 5322 PUSH32(esp, eax); /* 0x250E1C50: push eax */ 5323 PUSH32(esp, 0x251B9E70u); /* 0x250E1C51: push 0x251b9e70 */ 5324 ecx = esi; /* 0x250E1C56: mov ecx, esi */ 5325 RECOMP_ICALL(ebx); /* 0x250E1C58: call ebx */ 5326 RECOMP_FLAGS_IN(); 5327 eax = MEM32(edi + 0x74); /* 0x250E1C5A: mov eax, dword ptr [edi + 0x74] */ 5328 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5329 ecx = 0; /* 0x250E1C5D: xor ecx, ecx */ 5330 _cf = 0; 5331 _flag_k = FK_TEST; 5332 /* test eax, eax */ /* 0x250E1C5F: test eax, eax */ 5333 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5334 _cf = 0; 5335 _flag_k = FK_TEST; 5336 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1C6B; /* 0x250E1C61: je 0x250e1c6b */ 5337 L_250E1C63: 5338 eax = MEM32(eax + 0x70); /* 0x250E1C63: mov eax, dword ptr [eax + 0x70] */ 5339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5340 ecx = ecx + 1; /* 0x250E1C66: inc ecx */ 5341 _flag_k = FK_INC; 5342 /* test eax, eax */ /* 0x250E1C67: test eax, eax */ 5343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5344 _cf = 0; 5345 _flag_k = FK_TEST; 5346 RECOMP_BACKEDGE(); 5347 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1C63; /* 0x250E1C69: jne 0x250e1c63 */ 5348 L_250E1C6B: 5349 PUSH32(esp, ecx); /* 0x250E1C6B: push ecx */ 5350 PUSH32(esp, 0x251B9E64u); /* 0x250E1C6C: push 0x251b9e64 */ 5351 ecx = esi; /* 0x250E1C71: mov ecx, esi */ 5352 RECOMP_ICALL(MEM32(0x251513F8)); /* 0x250E1C73: call dword ptr [0x251513f8] */ 5353 RECOMP_FLAGS_IN(); 5354 edi = MEM32(edi + 0x74); /* 0x250E1C79: mov edi, dword ptr [edi + 0x74] */ 5355 /* test edi, edi */ /* 0x250E1C7C: test edi, edi */ 5356 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5357 _cf = 0; 5358 _flag_k = FK_TEST; 5359 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1C91; /* 0x250E1C7E: je 0x250e1c91 */ 5360 L_250E1C80: 5361 PUSH32(esp, edi); /* 0x250E1C80: push edi */ 5362 PUSH32(esp, 0x251B9E5Cu); /* 0x250E1C81: push 0x251b9e5c */ 5363 ecx = esi; /* 0x250E1C86: mov ecx, esi */ 5364 RECOMP_ICALL(ebx); /* 0x250E1C88: call ebx */ 5365 RECOMP_FLAGS_IN(); 5366 edi = MEM32(edi + 0x70); /* 0x250E1C8A: mov edi, dword ptr [edi + 0x70] */ 5367 /* test edi, edi */ /* 0x250E1C8D: test edi, edi */ 5368 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5369 _cf = 0; 5370 _flag_k = FK_TEST; 5371 RECOMP_BACKEDGE(); 5372 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1C80; /* 0x250E1C8F: jne 0x250e1c80 */ 5373 L_250E1C91: 5374 edi = POP32_VAL(esp); /* 0x250E1C91: pop edi */ 5375 esi = POP32_VAL(esp); /* 0x250E1C92: pop esi */ 5376 ebx = POP32_VAL(esp); /* 0x250E1C93: pop ebx */ 5377 ebp = POP32_VAL(esp); /* 0x250E1C94: pop ebp */ 5378 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1C95: ret 4 */ 5379 RECOMP_REGS_OUT(); 5380 } 5381 5382 void sub_250E1CA0(void) { 5383 int _fpu_cmp = 0; 5384 uint32_t _cf = 0; 5385 int _df = 1; 5386 uint32_t _flag_k = FK_NONE; 5387 uint32_t _flag_a = 0, _flag_b = 0; 5388 uint32_t _itail_tgt = 0; 5389 RECOMP_REGS_LOCALS 5390 RECOMP_ENTER(0x250E1CA0u); 5391 5392 L_250E1CA0: 5393 PUSH32(esp, ebp); /* 0x250E1CA0: push ebp */ 5394 ebp = esp; /* 0x250E1CA1: mov ebp, esp */ 5395 PUSH32(esp, esi); /* 0x250E1CA3: push esi */ 5396 esi = ecx; /* 0x250E1CA4: mov esi, ecx */ 5397 ecx = MEM32(esi + 0x124); /* 0x250E1CA6: mov ecx, dword ptr [esi + 0x124] */ 5398 /* test ecx, ecx */ /* 0x250E1CAC: test ecx, ecx */ 5399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5400 _cf = 0; 5401 _flag_k = FK_TEST; 5402 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1CB5; /* 0x250E1CAE: je 0x250e1cb5 */ 5403 L_250E1CB0: 5404 RECOMP_ICALL(0x250E6370u); /* 0x250E1CB0: call 0x250e6370 */ /* not lifted */ 5405 RECOMP_FLAGS_IN(); 5406 L_250E1CB5: 5407 ecx = MEM32(ebp + 0x8); /* 0x250E1CB5: mov ecx, dword ptr [ebp + 8] */ 5408 /* test ecx, ecx */ /* 0x250E1CB8: test ecx, ecx */ 5409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5410 _cf = 0; 5411 _flag_k = FK_TEST; 5412 MEM32(esi + 0x124) = ecx; /* 0x250E1CBA: mov dword ptr [esi + 0x124], ecx */ 5413 esi = POP32_VAL(esp); /* 0x250E1CC0: pop esi */ 5414 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1CC8; /* 0x250E1CC1: je 0x250e1cc8 */ 5415 L_250E1CC3: 5416 RECOMP_ICALL(0x250E6360u); /* 0x250E1CC3: call 0x250e6360 */ /* not lifted */ 5417 RECOMP_FLAGS_IN(); 5418 L_250E1CC8: 5419 ebp = POP32_VAL(esp); /* 0x250E1CC8: pop ebp */ 5420 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1CC9: ret 4 */ 5421 RECOMP_REGS_OUT(); 5422 } 5423 5424 void sub_250E1CD0(void) { 5425 int _fpu_cmp = 0; 5426 uint32_t _cf = 0; 5427 int _df = 1; 5428 uint32_t _flag_k = FK_NONE; 5429 uint32_t _flag_a = 0, _flag_b = 0; 5430 uint32_t _itail_tgt = 0; 5431 RECOMP_REGS_LOCALS 5432 RECOMP_ENTER(0x250E1CD0u); 5433 5434 L_250E1CD0: 5435 PUSH32(esp, ebp); /* 0x250E1CD0: push ebp */ 5436 ebp = esp; /* 0x250E1CD1: mov ebp, esp */ 5437 PUSH32(esp, esi); /* 0x250E1CD3: push esi */ 5438 esi = MEM32(ebp + 0x8); /* 0x250E1CD4: mov esi, dword ptr [ebp + 8] */ 5439 PUSH32(esp, edi); /* 0x250E1CD7: push edi */ 5440 edi = ecx; /* 0x250E1CD8: mov edi, ecx */ 5441 ecx = MEM32(esi + 0x6C); /* 0x250E1CDA: mov ecx, dword ptr [esi + 0x6c] */ 5442 /* test ecx, ecx */ /* 0x250E1CDD: test ecx, ecx */ 5443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5444 _cf = 0; 5445 _flag_k = FK_TEST; 5446 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1CE7; /* 0x250E1CDF: je 0x250e1ce7 */ 5447 L_250E1CE1: 5448 eax = MEM32(ecx); /* 0x250E1CE1: mov eax, dword ptr [ecx] */ 5449 PUSH32(esp, esi); /* 0x250E1CE3: push esi */ 5450 RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x250E1CE4: call dword ptr [eax + 0x10] */ 5451 RECOMP_FLAGS_IN(); 5452 L_250E1CE7: 5453 MEM32(esi + 0x6C) = edi; /* 0x250E1CE7: mov dword ptr [esi + 0x6c], edi */ 5454 ecx = MEM32(edi + 0x74); /* 0x250E1CEA: mov ecx, dword ptr [edi + 0x74] */ 5455 MEM32(esi + 0x70) = ecx; /* 0x250E1CED: mov dword ptr [esi + 0x70], ecx */ 5456 edx = MEM32(edi); /* 0x250E1CF0: mov edx, dword ptr [edi] */ 5457 PUSH32(esp, 0); /* 0x250E1CF2: push 0 */ 5458 PUSH32(esp, 8); /* 0x250E1CF4: push 8 */ 5459 ecx = edi; /* 0x250E1CF6: mov ecx, edi */ 5460 MEM32(edi + 0x74) = esi; /* 0x250E1CF8: mov dword ptr [edi + 0x74], esi */ 5461 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E1CFB: call dword ptr [edx + 0x2c] */ 5462 RECOMP_FLAGS_IN(); 5463 eax = MEM32(esi); /* 0x250E1CFE: mov eax, dword ptr [esi] */ 5464 PUSH32(esp, 0); /* 0x250E1D00: push 0 */ 5465 PUSH32(esp, 8); /* 0x250E1D02: push 8 */ 5466 ecx = esi; /* 0x250E1D04: mov ecx, esi */ 5467 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E1D06: call dword ptr [eax + 0x2c] */ 5468 RECOMP_FLAGS_IN(); 5469 edi = POP32_VAL(esp); /* 0x250E1D09: pop edi */ 5470 esi = POP32_VAL(esp); /* 0x250E1D0A: pop esi */ 5471 ebp = POP32_VAL(esp); /* 0x250E1D0B: pop ebp */ 5472 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1D0C: ret 4 */ 5473 RECOMP_REGS_OUT(); 5474 } 5475 5476 void sub_250E1D10(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(0x250E1D10u); 5485 5486 L_250E1D10: 5487 PUSH32(esp, ebp); /* 0x250E1D10: push ebp */ 5488 ebp = esp; /* 0x250E1D11: mov ebp, esp */ 5489 eax = MEM32(ecx + 0x74); /* 0x250E1D13: mov eax, dword ptr [ecx + 0x74] */ 5490 /* test eax, eax */ /* 0x250E1D16: test eax, eax */ 5491 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5492 _cf = 0; 5493 _flag_k = FK_TEST; 5494 edx = ecx + 0x74; /* 0x250E1D18: lea edx, [ecx + 0x74] */ 5495 PUSH32(esp, esi); /* 0x250E1D1B: push esi */ 5496 esi = MEM32(ebp + 0x8); /* 0x250E1D1C: mov esi, dword ptr [ebp + 8] */ 5497 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1D2E; /* 0x250E1D1F: je 0x250e1d2e */ 5498 L_250E1D21: 5499 /* cmp eax, esi */ /* 0x250E1D21: cmp eax, esi */ 5500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5502 _flag_k = FK_CMP; 5503 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E1D2E; /* 0x250E1D23: je 0x250e1d2e */ 5504 L_250E1D25: 5505 edx = eax + 0x70; /* 0x250E1D25: lea edx, [eax + 0x70] */ 5506 eax = MEM32(edx); /* 0x250E1D28: mov eax, dword ptr [edx] */ 5507 /* test eax, eax */ /* 0x250E1D2A: test eax, eax */ 5508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5509 _cf = 0; 5510 _flag_k = FK_TEST; 5511 RECOMP_BACKEDGE(); 5512 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1D21; /* 0x250E1D2C: jne 0x250e1d21 */ 5513 L_250E1D2E: 5514 eax = MEM32(edx); /* 0x250E1D2E: mov eax, dword ptr [edx] */ 5515 /* test eax, eax */ /* 0x250E1D30: test eax, eax */ 5516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5517 _cf = 0; 5518 _flag_k = FK_TEST; 5519 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1D47; /* 0x250E1D32: je 0x250e1d47 */ 5520 L_250E1D34: 5521 eax = MEM32(eax + 0x70); /* 0x250E1D34: mov eax, dword ptr [eax + 0x70] */ 5522 MEM32(edx) = eax; /* 0x250E1D37: mov dword ptr [edx], eax */ 5523 MEM32(esi + 0x6C) = 0; /* 0x250E1D39: mov dword ptr [esi + 0x6c], 0 */ 5524 MEM32(esi + 0x70) = 0; /* 0x250E1D40: mov dword ptr [esi + 0x70], 0 */ 5525 L_250E1D47: 5526 edx = MEM32(ecx); /* 0x250E1D47: mov edx, dword ptr [ecx] */ 5527 PUSH32(esp, 0); /* 0x250E1D49: push 0 */ 5528 PUSH32(esp, 8); /* 0x250E1D4B: push 8 */ 5529 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E1D4D: call dword ptr [edx + 0x2c] */ 5530 RECOMP_FLAGS_IN(); 5531 eax = MEM32(esi); /* 0x250E1D50: mov eax, dword ptr [esi] */ 5532 PUSH32(esp, 0); /* 0x250E1D52: push 0 */ 5533 PUSH32(esp, 8); /* 0x250E1D54: push 8 */ 5534 ecx = esi; /* 0x250E1D56: mov ecx, esi */ 5535 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E1D58: call dword ptr [eax + 0x2c] */ 5536 RECOMP_FLAGS_IN(); 5537 esi = POP32_VAL(esp); /* 0x250E1D5B: pop esi */ 5538 ebp = POP32_VAL(esp); /* 0x250E1D5C: pop ebp */ 5539 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1D5D: ret 4 */ 5540 RECOMP_REGS_OUT(); 5541 } 5542 5543 void sub_250E1D60(void) { 5544 int _fpu_cmp = 0; 5545 uint32_t _cf = 0; 5546 int _df = 1; 5547 uint32_t _flag_k = FK_NONE; 5548 uint32_t _flag_a = 0, _flag_b = 0; 5549 uint32_t _itail_tgt = 0; 5550 RECOMP_REGS_LOCALS 5551 RECOMP_ENTER(0x250E1D60u); 5552 5553 L_250E1D60: 5554 PUSH32(esp, ebp); /* 0x250E1D60: push ebp */ 5555 ebp = esp; /* 0x250E1D61: mov ebp, esp */ 5556 PUSH32(esp, edi); /* 0x250E1D63: push edi */ 5557 edi = ecx; /* 0x250E1D64: mov edi, ecx */ 5558 eax = MEM32(edi + 0x74); /* 0x250E1D66: mov eax, dword ptr [edi + 0x74] */ 5559 /* test eax, eax */ /* 0x250E1D69: test eax, eax */ 5560 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5561 _cf = 0; 5562 _flag_k = FK_TEST; 5563 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1D81; /* 0x250E1D6B: je 0x250e1d81 */ 5564 L_250E1D6D: 5565 PUSH32(esp, esi); /* 0x250E1D6D: push esi */ 5566 esi = MEM32(ebp + 0x8); /* 0x250E1D6E: mov esi, dword ptr [ebp + 8] */ 5567 L_250E1D71: 5568 edx = MEM32(esi); /* 0x250E1D71: mov edx, dword ptr [esi] */ 5569 PUSH32(esp, eax); /* 0x250E1D73: push eax */ 5570 ecx = esi; /* 0x250E1D74: mov ecx, esi */ 5571 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x250E1D76: call dword ptr [edx + 0xc] */ 5572 RECOMP_FLAGS_IN(); 5573 eax = MEM32(edi + 0x74); /* 0x250E1D79: mov eax, dword ptr [edi + 0x74] */ 5574 /* test eax, eax */ /* 0x250E1D7C: test eax, eax */ 5575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5576 _cf = 0; 5577 _flag_k = FK_TEST; 5578 RECOMP_BACKEDGE(); 5579 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1D71; /* 0x250E1D7E: jne 0x250e1d71 */ 5580 L_250E1D80: 5581 esi = POP32_VAL(esp); /* 0x250E1D80: pop esi */ 5582 L_250E1D81: 5583 edi = POP32_VAL(esp); /* 0x250E1D81: pop edi */ 5584 ebp = POP32_VAL(esp); /* 0x250E1D82: pop ebp */ 5585 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E1D83: ret 4 */ 5586 RECOMP_REGS_OUT(); 5587 } 5588 5589 void sub_250E1D90(void) { 5590 int _fpu_cmp = 0; 5591 uint32_t _cf = 0; 5592 int _df = 1; 5593 uint32_t _flag_k = FK_NONE; 5594 uint32_t _flag_a = 0, _flag_b = 0; 5595 uint32_t _itail_tgt = 0; 5596 RECOMP_REGS_LOCALS 5597 RECOMP_ENTER(0x250E1D90u); 5598 5599 L_250E1D90: 5600 SET_LO8(eax, MEM8(ecx + 0x130)); /* 0x250E1D90: mov al, byte ptr [ecx + 0x130] */ 5601 PUSH32(esp, esi); /* 0x250E1D96: push esi */ 5602 esi = MEM32(ecx + 0x74); /* 0x250E1D97: mov esi, dword ptr [ecx + 0x74] */ 5603 /* test esi, esi */ /* 0x250E1D9A: test esi, esi */ 5604 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5605 _cf = 0; 5606 _flag_k = FK_TEST; 5607 MEM8(ecx + 0x131) = (uint8_t)(LO8(eax)); /* 0x250E1D9C: mov byte ptr [ecx + 0x131], al */ 5608 MEM8(ecx + 0x130) = (uint8_t)(0); /* 0x250E1DA2: mov byte ptr [ecx + 0x130], 0 */ 5609 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1DB9; /* 0x250E1DA9: je 0x250e1db9 */ 5610 L_250E1DAB: 5611 edx = MEM32(esi); /* 0x250E1DAB: mov edx, dword ptr [esi] */ 5612 ecx = esi; /* 0x250E1DAD: mov ecx, esi */ 5613 RECOMP_ICALL(MEM32(edx + 0x20)); /* 0x250E1DAF: call dword ptr [edx + 0x20] */ 5614 RECOMP_FLAGS_IN(); 5615 esi = MEM32(esi + 0x70); /* 0x250E1DB2: mov esi, dword ptr [esi + 0x70] */ 5616 /* test esi, esi */ /* 0x250E1DB5: test esi, esi */ 5617 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5618 _cf = 0; 5619 _flag_k = FK_TEST; 5620 RECOMP_BACKEDGE(); 5621 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1DAB; /* 0x250E1DB7: jne 0x250e1dab */ 5622 L_250E1DB9: 5623 esi = POP32_VAL(esp); /* 0x250E1DB9: pop esi */ 5624 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E1DBA: ret */ 5625 RECOMP_REGS_OUT(); 5626 } 5627 5628 void sub_250E1DC0(void) { 5629 int _fpu_cmp = 0; 5630 uint32_t _cf = 0; 5631 int _df = 1; 5632 uint32_t _flag_k = FK_NONE; 5633 uint32_t _flag_a = 0, _flag_b = 0; 5634 uint32_t _itail_tgt = 0; 5635 RECOMP_REGS_LOCALS 5636 RECOMP_ENTER(0x250E1DC0u); 5637 5638 L_250E1DC0: 5639 PUSH32(esp, ebp); /* 0x250E1DC0: push ebp */ 5640 ebp = esp; /* 0x250E1DC1: mov ebp, esp */ 5641 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E1DC3: push -1 */ 5642 PUSH32(esp, 0x2514B278u); /* 0x250E1DC5: push 0x2514b278 */ 5643 eax = MEM32(FS_BASE + (0)); /* 0x250E1DCA: mov eax, dword ptr fs:[0] */ 5644 PUSH32(esp, eax); /* 0x250E1DD0: push eax */ 5645 MEM32(FS_BASE + (0)) = esp; /* 0x250E1DD1: mov dword ptr fs:[0], esp */ 5646 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 5647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5648 esp = esp - 0x3Cu; /* 0x250E1DD8: sub esp, 0x3c */ 5649 _flag_k = FK_CMP; 5650 PUSH32(esp, ebx); /* 0x250E1DDB: push ebx */ 5651 PUSH32(esp, esi); /* 0x250E1DDC: push esi */ 5652 PUSH32(esp, edi); /* 0x250E1DDD: push edi */ 5653 ebx = ecx; /* 0x250E1DDE: mov ebx, ecx */ 5654 RECOMP_ICALL(0x250E2EC0u); /* 0x250E1DE0: call 0x250e2ec0 */ /* not lifted */ 5655 RECOMP_FLAGS_IN(); 5656 ecx = MEM32(0x25238B58); /* 0x250E1DE5: mov ecx, dword ptr [0x25238b58] */ 5657 PUSH32(esp, eax); /* 0x250E1DEB: push eax */ 5658 PUSH32(esp, 1); /* 0x250E1DEC: push 1 */ 5659 RECOMP_ICALL(0x250E8950u); /* 0x250E1DEE: call 0x250e8950 */ /* not lifted */ 5660 RECOMP_FLAGS_IN(); 5661 eax = MEM32(0x25238B94); /* 0x250E1DF3: mov eax, dword ptr [0x25238b94] */ 5662 ecx = MEM32(eax + 0x894); /* 0x250E1DF8: mov ecx, dword ptr [eax + 0x894] */ 5663 eax = MEM32(ecx + 0x4E8); /* 0x250E1DFE: mov eax, dword ptr [ecx + 0x4e8] */ 5664 PUSH32(esp, 0xAu); /* 0x250E1E04: push 0xa */ 5665 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5666 edi = 0; /* 0x250E1E06: xor edi, edi */ 5667 _cf = 0; 5668 _flag_k = FK_TEST; 5669 PUSH32(esp, edi); /* 0x250E1E08: push edi */ 5670 PUSH32(esp, 7); /* 0x250E1E09: push 7 */ 5671 MEM32(ebp + (-0x38)) = 7; /* 0x250E1E0B: mov dword ptr [ebp - 0x38], 7 */ 5672 MEM32(ebp + (-0x14)) = eax; /* 0x250E1E12: mov dword ptr [ebp - 0x14], eax */ 5673 MEM32(ebp + (-0x34)) = eax; /* 0x250E1E15: mov dword ptr [ebp - 0x34], eax */ 5674 RECOMP_ICALL(0x250EFE90u); /* 0x250E1E18: call 0x250efe90 */ /* not lifted */ 5675 RECOMP_FLAGS_IN(); 5676 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(eax)); /* 0x250E1E1D: mov byte ptr [ebp - 0x30], al */ 5677 ecx = MEM32(0x25238B94); /* 0x250E1E20: mov ecx, dword ptr [0x25238b94] */ 5678 ecx = MEM32(ecx + 0x894); /* 0x250E1E26: mov ecx, dword ptr [ecx + 0x894] */ 5679 eax = MEM32(ecx + 0x504); /* 0x250E1E2C: mov eax, dword ptr [ecx + 0x504] */ 5680 PUSH32(esp, 0xAu); /* 0x250E1E32: push 0xa */ 5681 PUSH32(esp, edi); /* 0x250E1E34: push edi */ 5682 PUSH32(esp, 0xEu); /* 0x250E1E35: push 0xe */ 5683 MEM32(ebp + (-0x4)) = edi; /* 0x250E1E37: mov dword ptr [ebp - 4], edi */ 5684 MEM32(ebp + (-0x2C)) = 0xEu; /* 0x250E1E3A: mov dword ptr [ebp - 0x2c], 0xe */ 5685 MEM32(ebp + (-0x10)) = eax; /* 0x250E1E41: mov dword ptr [ebp - 0x10], eax */ 5686 MEM32(ebp + (-0x28)) = eax; /* 0x250E1E44: mov dword ptr [ebp - 0x28], eax */ 5687 RECOMP_ICALL(0x250EFE90u); /* 0x250E1E47: call 0x250efe90 */ /* not lifted */ 5688 RECOMP_FLAGS_IN(); 5689 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x250E1E4C: mov byte ptr [ebp - 0x24], al */ 5690 SET_LO8(eax, MEM8(ebx + 0x68)); /* 0x250E1E4F: mov al, byte ptr [ebx + 0x68] */ 5691 /* test LO8(eax), LO8(eax) */ /* 0x250E1E52: test al, al */ 5692 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5693 _cf = 0; 5694 _flag_k = FK_NARROW(FK_TEST, 24); 5695 esi = MEM32(ebp + 0x8); /* 0x250E1E54: mov esi, dword ptr [ebp + 8] */ 5696 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E1E57: mov byte ptr [ebp - 4], 1 */ 5697 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1F30; /* 0x250E1E5B: je 0x250e1f30 */ 5698 L_250E1E61: 5699 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x250E1E61: mov al, byte ptr [esi + 0x18] */ 5700 ecx = MEM32(esi + 0x30); /* 0x250E1E64: mov ecx, dword ptr [esi + 0x30] */ 5701 edx = ebp + (-0x20); /* 0x250E1E67: lea edx, [ebp - 0x20] */ 5702 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x250E1E6A: mov byte ptr [ebp - 0x20], al */ 5703 eax = MEM32(ecx + 0x8); /* 0x250E1E6D: mov eax, dword ptr [ecx + 8] */ 5704 PUSH32(esp, edx); /* 0x250E1E70: push edx */ 5705 PUSH32(esp, eax); /* 0x250E1E71: push eax */ 5706 RECOMP_ICALL(0x250E41F0u); /* 0x250E1E72: call 0x250e41f0 */ /* not lifted */ 5707 RECOMP_FLAGS_IN(); 5708 eax = MEM32(esi + 0x1C); /* 0x250E1E77: mov eax, dword ptr [esi + 0x1c] */ 5709 ecx = MEM32(esi + 0x30); /* 0x250E1E7A: mov ecx, dword ptr [esi + 0x30] */ 5710 edx = ebp + (-0x20); /* 0x250E1E7D: lea edx, [ebp - 0x20] */ 5711 MEM32(ebp + (-0x20)) = eax; /* 0x250E1E80: mov dword ptr [ebp - 0x20], eax */ 5712 eax = MEM32(ecx + 0x8); /* 0x250E1E83: mov eax, dword ptr [ecx + 8] */ 5713 PUSH32(esp, edx); /* 0x250E1E86: push edx */ 5714 PUSH32(esp, eax); /* 0x250E1E87: push eax */ 5715 RECOMP_ICALL(0x250E41F0u); /* 0x250E1E88: call 0x250e41f0 */ /* not lifted */ 5716 RECOMP_FLAGS_IN(); 5717 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x250E1E8D: mov al, byte ptr [esi + 0x2c] */ 5718 ecx = MEM32(esi + 0x30); /* 0x250E1E90: mov ecx, dword ptr [esi + 0x30] */ 5719 edx = ebp + (-0x20); /* 0x250E1E93: lea edx, [ebp - 0x20] */ 5720 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x250E1E96: mov byte ptr [ebp - 0x20], al */ 5721 eax = MEM32(ecx + 0x8); /* 0x250E1E99: mov eax, dword ptr [ecx + 8] */ 5722 PUSH32(esp, edx); /* 0x250E1E9C: push edx */ 5723 PUSH32(esp, eax); /* 0x250E1E9D: push eax */ 5724 RECOMP_ICALL(0x250E41F0u); /* 0x250E1E9E: call 0x250e41f0 */ /* not lifted */ 5725 RECOMP_FLAGS_IN(); 5726 ecx = esi; /* 0x250E1EA3: mov ecx, esi */ 5727 MEM8(esi + 0x18) = (uint8_t)(1); /* 0x250E1EA5: mov byte ptr [esi + 0x18], 1 */ 5728 MEM32(esi + 0x1C) = edi; /* 0x250E1EA9: mov dword ptr [esi + 0x1c], edi */ 5729 MEM8(esi + 0x2C) = (uint8_t)(0); /* 0x250E1EAC: mov byte ptr [esi + 0x2c], 0 */ 5730 RECOMP_ICALL(0x2511B510u); /* 0x250E1EB0: call 0x2511b510 */ /* not lifted */ 5731 RECOMP_FLAGS_IN(); 5732 ecx = MEM32(esi + 0x30); /* 0x250E1EB5: mov ecx, dword ptr [esi + 0x30] */ 5733 eax = MEM32(ecx + 0x8); /* 0x250E1EB8: mov eax, dword ptr [ecx + 8] */ 5734 edx = eax + (-0xC); /* 0x250E1EBB: lea edx, [eax - 0xc] */ 5735 edi = MEM32(edx); /* 0x250E1EBE: mov edi, dword ptr [edx] */ 5736 MEM32(ebp + (-0x20)) = edi; /* 0x250E1EC0: mov dword ptr [ebp - 0x20], edi */ 5737 edi = MEM32(edx + 0x4); /* 0x250E1EC3: mov edi, dword ptr [edx + 4] */ 5738 edx = MEM32(edx + 0x8); /* 0x250E1EC6: mov edx, dword ptr [edx + 8] */ 5739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 5740 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5741 eax = eax + 0xFFFFFFF4u; /* 0x250E1EC9: add eax, -0xc */ 5742 _flag_k = FK_ADD; 5743 PUSH32(esp, eax); /* 0x250E1ECC: push eax */ 5744 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1ECD: mov dword ptr [ebp - 0x1c], edi */ 5745 MEM32(ebp + (-0x18)) = edx; /* 0x250E1ED0: mov dword ptr [ebp - 0x18], edx */ 5746 RECOMP_ICALL(0x250E3C70u); /* 0x250E1ED3: call 0x250e3c70 */ /* not lifted */ 5747 RECOMP_FLAGS_IN(); 5748 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x250E1ED8: mov al, byte ptr [ebp - 0x20] */ 5749 ecx = MEM32(esi + 0x30); /* 0x250E1EDB: mov ecx, dword ptr [esi + 0x30] */ 5750 MEM8(esi + 0x2C) = (uint8_t)(LO8(eax)); /* 0x250E1EDE: mov byte ptr [esi + 0x2c], al */ 5751 eax = MEM32(ecx + 0x8); /* 0x250E1EE1: mov eax, dword ptr [ecx + 8] */ 5752 edx = eax + (-0xC); /* 0x250E1EE4: lea edx, [eax - 0xc] */ 5753 edi = MEM32(edx); /* 0x250E1EE7: mov edi, dword ptr [edx] */ 5754 MEM32(ebp + (-0x20)) = edi; /* 0x250E1EE9: mov dword ptr [ebp - 0x20], edi */ 5755 edi = MEM32(edx + 0x4); /* 0x250E1EEC: mov edi, dword ptr [edx + 4] */ 5756 edx = MEM32(edx + 0x8); /* 0x250E1EEF: mov edx, dword ptr [edx + 8] */ 5757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 5758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5759 eax = eax + 0xFFFFFFF4u; /* 0x250E1EF2: add eax, -0xc */ 5760 _flag_k = FK_ADD; 5761 PUSH32(esp, eax); /* 0x250E1EF5: push eax */ 5762 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1EF6: mov dword ptr [ebp - 0x1c], edi */ 5763 MEM32(ebp + (-0x18)) = edx; /* 0x250E1EF9: mov dword ptr [ebp - 0x18], edx */ 5764 RECOMP_ICALL(0x250E3C70u); /* 0x250E1EFC: call 0x250e3c70 */ /* not lifted */ 5765 RECOMP_FLAGS_IN(); 5766 eax = MEM32(ebp + (-0x20)); /* 0x250E1F01: mov eax, dword ptr [ebp - 0x20] */ 5767 ecx = MEM32(esi + 0x30); /* 0x250E1F04: mov ecx, dword ptr [esi + 0x30] */ 5768 MEM32(esi + 0x1C) = eax; /* 0x250E1F07: mov dword ptr [esi + 0x1c], eax */ 5769 eax = MEM32(ecx + 0x8); /* 0x250E1F0A: mov eax, dword ptr [ecx + 8] */ 5770 edx = eax + (-0xC); /* 0x250E1F0D: lea edx, [eax - 0xc] */ 5771 edi = MEM32(edx); /* 0x250E1F10: mov edi, dword ptr [edx] */ 5772 MEM32(ebp + (-0x20)) = edi; /* 0x250E1F12: mov dword ptr [ebp - 0x20], edi */ 5773 edi = MEM32(edx + 0x4); /* 0x250E1F15: mov edi, dword ptr [edx + 4] */ 5774 edx = MEM32(edx + 0x8); /* 0x250E1F18: mov edx, dword ptr [edx + 8] */ 5775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 5776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5777 eax = eax + 0xFFFFFFF4u; /* 0x250E1F1B: add eax, -0xc */ 5778 _flag_k = FK_ADD; 5779 PUSH32(esp, eax); /* 0x250E1F1E: push eax */ 5780 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1F1F: mov dword ptr [ebp - 0x1c], edi */ 5781 MEM32(ebp + (-0x18)) = edx; /* 0x250E1F22: mov dword ptr [ebp - 0x18], edx */ 5782 RECOMP_ICALL(0x250E3C70u); /* 0x250E1F25: call 0x250e3c70 */ /* not lifted */ 5783 RECOMP_FLAGS_IN(); 5784 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x250E1F2A: mov al, byte ptr [ebp - 0x20] */ 5785 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250E1F2D: mov byte ptr [esi + 0x18], al */ 5786 L_250E1F30: 5787 SET_LO8(eax, MEM8(ebx + 0x6B)); /* 0x250E1F30: mov al, byte ptr [ebx + 0x6b] */ 5788 /* test LO8(eax), LO8(eax) */ /* 0x250E1F33: test al, al */ 5789 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5790 _cf = 0; 5791 _flag_k = FK_NARROW(FK_TEST, 24); 5792 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1FF8; /* 0x250E1F35: je 0x250e1ff8 */ 5793 L_250E1F3B: 5794 SET_LO8(eax, MEM8(esi + 0x18)); /* 0x250E1F3B: mov al, byte ptr [esi + 0x18] */ 5795 ecx = MEM32(esi + 0x30); /* 0x250E1F3E: mov ecx, dword ptr [esi + 0x30] */ 5796 edx = ebp + (-0x20); /* 0x250E1F41: lea edx, [ebp - 0x20] */ 5797 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x250E1F44: mov byte ptr [ebp - 0x20], al */ 5798 eax = MEM32(ecx + 0x8); /* 0x250E1F47: mov eax, dword ptr [ecx + 8] */ 5799 PUSH32(esp, edx); /* 0x250E1F4A: push edx */ 5800 PUSH32(esp, eax); /* 0x250E1F4B: push eax */ 5801 RECOMP_ICALL(0x250E41F0u); /* 0x250E1F4C: call 0x250e41f0 */ /* not lifted */ 5802 RECOMP_FLAGS_IN(); 5803 eax = MEM32(esi + 0x1C); /* 0x250E1F51: mov eax, dword ptr [esi + 0x1c] */ 5804 ecx = MEM32(esi + 0x30); /* 0x250E1F54: mov ecx, dword ptr [esi + 0x30] */ 5805 edx = ebp + (-0x20); /* 0x250E1F57: lea edx, [ebp - 0x20] */ 5806 MEM32(ebp + (-0x20)) = eax; /* 0x250E1F5A: mov dword ptr [ebp - 0x20], eax */ 5807 eax = MEM32(ecx + 0x8); /* 0x250E1F5D: mov eax, dword ptr [ecx + 8] */ 5808 PUSH32(esp, edx); /* 0x250E1F60: push edx */ 5809 PUSH32(esp, eax); /* 0x250E1F61: push eax */ 5810 RECOMP_ICALL(0x250E41F0u); /* 0x250E1F62: call 0x250e41f0 */ /* not lifted */ 5811 RECOMP_FLAGS_IN(); 5812 MEM8(esi + 0x18) = (uint8_t)(0); /* 0x250E1F67: mov byte ptr [esi + 0x18], 0 */ 5813 MEM32(esi + 0x1C) = 2; /* 0x250E1F6B: mov dword ptr [esi + 0x1c], 2 */ 5814 edi = MEM32(ebx + 0x74); /* 0x250E1F72: mov edi, dword ptr [ebx + 0x74] */ 5815 /* test edi, edi */ /* 0x250E1F75: test edi, edi */ 5816 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5817 _cf = 0; 5818 _flag_k = FK_TEST; 5819 if (TEST_Z(_flag_a, _flag_b)) goto L_250E1FA6; /* 0x250E1F77: je 0x250e1fa6 */ 5820 L_250E1F79: 5821 PUSH32(esp, 0); /* 0x250E1F79: push 0 */ 5822 eax = edi + 0x78; /* 0x250E1F7B: lea eax, [edi + 0x78] */ 5823 PUSH32(esp, eax); /* 0x250E1F7E: push eax */ 5824 ecx = ebp + (-0x20); /* 0x250E1F7F: lea ecx, [ebp - 0x20] */ 5825 PUSH32(esp, ecx); /* 0x250E1F82: push ecx */ 5826 ecx = esi; /* 0x250E1F83: mov ecx, esi */ 5827 MEM32(ebp + (-0x20)) = 0; /* 0x250E1F85: mov dword ptr [ebp - 0x20], 0 */ 5828 MEM32(ebp + (-0x1C)) = 0; /* 0x250E1F8C: mov dword ptr [ebp - 0x1c], 0 */ 5829 MEM32(ebp + (-0x18)) = 0; /* 0x250E1F93: mov dword ptr [ebp - 0x18], 0 */ 5830 RECOMP_ICALL(0x25119B60u); /* 0x250E1F9A: call 0x25119b60 */ /* not lifted */ 5831 RECOMP_FLAGS_IN(); 5832 edi = MEM32(edi + 0x70); /* 0x250E1F9F: mov edi, dword ptr [edi + 0x70] */ 5833 /* test edi, edi */ /* 0x250E1FA2: test edi, edi */ 5834 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5835 _cf = 0; 5836 _flag_k = FK_TEST; 5837 RECOMP_BACKEDGE(); 5838 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1F79; /* 0x250E1FA4: jne 0x250e1f79 */ 5839 L_250E1FA6: 5840 ecx = MEM32(esi + 0x30); /* 0x250E1FA6: mov ecx, dword ptr [esi + 0x30] */ 5841 eax = MEM32(ecx + 0x8); /* 0x250E1FA9: mov eax, dword ptr [ecx + 8] */ 5842 edx = eax + (-0xC); /* 0x250E1FAC: lea edx, [eax - 0xc] */ 5843 edi = MEM32(edx); /* 0x250E1FAF: mov edi, dword ptr [edx] */ 5844 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FB1: mov dword ptr [ebp - 0x20], edi */ 5845 edi = MEM32(edx + 0x4); /* 0x250E1FB4: mov edi, dword ptr [edx + 4] */ 5846 edx = MEM32(edx + 0x8); /* 0x250E1FB7: mov edx, dword ptr [edx + 8] */ 5847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 5848 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5849 eax = eax + 0xFFFFFFF4u; /* 0x250E1FBA: add eax, -0xc */ 5850 _flag_k = FK_ADD; 5851 PUSH32(esp, eax); /* 0x250E1FBD: push eax */ 5852 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FBE: mov dword ptr [ebp - 0x1c], edi */ 5853 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FC1: mov dword ptr [ebp - 0x18], edx */ 5854 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FC4: call 0x250e3c70 */ /* not lifted */ 5855 RECOMP_FLAGS_IN(); 5856 eax = MEM32(ebp + (-0x20)); /* 0x250E1FC9: mov eax, dword ptr [ebp - 0x20] */ 5857 ecx = MEM32(esi + 0x30); /* 0x250E1FCC: mov ecx, dword ptr [esi + 0x30] */ 5858 MEM32(esi + 0x1C) = eax; /* 0x250E1FCF: mov dword ptr [esi + 0x1c], eax */ 5859 eax = MEM32(ecx + 0x8); /* 0x250E1FD2: mov eax, dword ptr [ecx + 8] */ 5860 edx = eax + (-0xC); /* 0x250E1FD5: lea edx, [eax - 0xc] */ 5861 edi = MEM32(edx); /* 0x250E1FD8: mov edi, dword ptr [edx] */ 5862 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FDA: mov dword ptr [ebp - 0x20], edi */ 5863 edi = MEM32(edx + 0x4); /* 0x250E1FDD: mov edi, dword ptr [edx + 4] */ 5864 edx = MEM32(edx + 0x8); /* 0x250E1FE0: mov edx, dword ptr [edx + 8] */ 5865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 5866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5867 eax = eax + 0xFFFFFFF4u; /* 0x250E1FE3: add eax, -0xc */ 5868 _flag_k = FK_ADD; 5869 PUSH32(esp, eax); /* 0x250E1FE6: push eax */ 5870 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FE7: mov dword ptr [ebp - 0x1c], edi */ 5871 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FEA: mov dword ptr [ebp - 0x18], edx */ 5872 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FED: call 0x250e3c70 */ /* not lifted */ 5873 RECOMP_FLAGS_IN(); 5874 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x250E1FF2: mov al, byte ptr [ebp - 0x20] */ 5875 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250E1FF5: mov byte ptr [esi + 0x18], al */ 5876 L_250E1FF8: 5877 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E1FF8: mov al, byte ptr [ebx + 0x69] */ 5878 /* test LO8(eax), LO8(eax) */ /* 0x250E1FFB: test al, al */ 5879 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5880 _cf = 0; 5881 _flag_k = FK_NARROW(FK_TEST, 24); 5882 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E200A; /* 0x250E1FFD: jne 0x250e200a */ 5883 L_250E1FFF: 5884 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E1FFF: mov al, byte ptr [ebx + 0x6a] */ 5885 /* test LO8(eax), LO8(eax) */ /* 0x250E2002: test al, al */ 5886 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5887 _cf = 0; 5888 _flag_k = FK_NARROW(FK_TEST, 24); 5889 if (TEST_Z(_flag_a, _flag_b)) goto L_250E215D; /* 0x250E2004: je 0x250e215d */ 5890 L_250E200A: 5891 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x250E200A: mov cl, byte ptr [ebp + 0xf] */ 5892 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(ecx)); /* 0x250E200D: mov byte ptr [ebp - 0x48], cl */ 5893 PUSH32(esp, 0); /* 0x250E2010: push 0 */ 5894 ecx = ebp + (-0x48); /* 0x250E2012: lea ecx, [ebp - 0x48] */ 5895 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2015: call dword ptr [0x25151208] */ 5896 RECOMP_FLAGS_IN(); 5897 edx = MEM32(ebx); /* 0x250E201B: mov edx, dword ptr [ebx] */ 5898 ecx = ebx; /* 0x250E201D: mov ecx, ebx */ 5899 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E201F: mov byte ptr [ebp - 4], 2 */ 5900 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E2023: call dword ptr [edx + 0x28] */ 5901 RECOMP_FLAGS_IN(); 5902 /* test eax, eax */ /* 0x250E2026: test eax, eax */ 5903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5904 _cf = 0; 5905 _flag_k = FK_TEST; 5906 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E2028: je 0x250e206b */ 5907 L_250E202A: 5908 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E202A: mov al, byte ptr [ebx + 0x69] */ 5909 /* test LO8(eax), LO8(eax) */ /* 0x250E202D: test al, al */ 5910 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5911 _cf = 0; 5912 _flag_k = FK_NARROW(FK_TEST, 24); 5913 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E202F: je 0x250e206b */ 5914 L_250E2031: 5915 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E2031: mov al, byte ptr [ebx + 0x6a] */ 5916 /* test LO8(eax), LO8(eax) */ /* 0x250E2034: test al, al */ 5917 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5918 _cf = 0; 5919 _flag_k = FK_NARROW(FK_TEST, 24); 5920 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2058; /* 0x250E2036: je 0x250e2058 */ 5921 L_250E2038: 5922 eax = MEM32(ebx); /* 0x250E2038: mov eax, dword ptr [ebx] */ 5923 PUSH32(esp, 0x251B9EC0u); /* 0x250E203A: push 0x251b9ec0 */ 5924 ecx = ebx; /* 0x250E203F: mov ecx, ebx */ 5925 RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x250E2041: call dword ptr [eax + 0x28] */ 5926 RECOMP_FLAGS_IN(); 5927 PUSH32(esp, eax); /* 0x250E2044: push eax */ 5928 ecx = ebp + (-0x48); /* 0x250E2045: lea ecx, [ebp - 0x48] */ 5929 PUSH32(esp, 0x251B9EB8u); /* 0x250E2048: push 0x251b9eb8 */ 5930 PUSH32(esp, ecx); /* 0x250E204D: push ecx */ 5931 RECOMP_ICALL(0x250E3DA0u); /* 0x250E204E: call 0x250e3da0 */ /* not lifted */ 5932 RECOMP_FLAGS_IN(); 5933 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5934 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5935 esp = esp + 0x10u; /* 0x250E2053: add esp, 0x10 */ 5936 _flag_k = FK_ADD; 5937 goto L_250E2088; /* 0x250E2056: jmp 0x250e2088 */ 5938 L_250E2058: 5939 edx = MEM32(ebx); /* 0x250E2058: mov edx, dword ptr [ebx] */ 5940 ecx = ebx; /* 0x250E205A: mov ecx, ebx */ 5941 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E205C: call dword ptr [edx + 0x28] */ 5942 RECOMP_FLAGS_IN(); 5943 PUSH32(esp, eax); /* 0x250E205F: push eax */ 5944 PUSH32(esp, 0x251B2358u); /* 0x250E2060: push 0x251b2358 */ 5945 eax = ebp + (-0x48); /* 0x250E2065: lea eax, [ebp - 0x48] */ 5946 PUSH32(esp, eax); /* 0x250E2068: push eax */ 5947 goto L_250E2080; /* 0x250E2069: jmp 0x250e2080 */ 5948 L_250E206B: 5949 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E206B: mov al, byte ptr [ebx + 0x6a] */ 5950 /* test LO8(eax), LO8(eax) */ /* 0x250E206E: test al, al */ 5951 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5952 _cf = 0; 5953 _flag_k = FK_NARROW(FK_TEST, 24); 5954 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2088; /* 0x250E2070: je 0x250e2088 */ 5955 L_250E2072: 5956 PUSH32(esp, 0x251B9EC0u); /* 0x250E2072: push 0x251b9ec0 */ 5957 PUSH32(esp, 0x251B2358u); /* 0x250E2077: push 0x251b2358 */ 5958 ecx = ebp + (-0x48); /* 0x250E207C: lea ecx, [ebp - 0x48] */ 5959 PUSH32(esp, ecx); /* 0x250E207F: push ecx */ 5960 L_250E2080: 5961 RECOMP_ICALL(0x250E3DA0u); /* 0x250E2080: call 0x250e3da0 */ /* not lifted */ 5962 RECOMP_FLAGS_IN(); 5963 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5965 esp = esp + 0xCu; /* 0x250E2085: add esp, 0xc */ 5966 _flag_k = FK_ADD; 5967 L_250E2088: 5968 edi = MEM32(esi + 0x30); /* 0x250E2088: mov edi, dword ptr [esi + 0x30] */ 5969 eax = esi + 0xC; /* 0x250E208B: lea eax, [esi + 0xc] */ 5970 PUSH32(esp, eax); /* 0x250E208E: push eax */ 5971 ecx = ebp + (-0x20); /* 0x250E208F: lea ecx, [ebp - 0x20] */ 5972 RECOMP_ICALL(0x250E2200u); /* 0x250E2092: call 0x250e2200 */ /* not lifted */ 5973 RECOMP_FLAGS_IN(); 5974 eax = MEM32(edi + 0x8); /* 0x250E2097: mov eax, dword ptr [edi + 8] */ 5975 edx = ebp + (-0x20); /* 0x250E209A: lea edx, [ebp - 0x20] */ 5976 PUSH32(esp, edx); /* 0x250E209D: push edx */ 5977 PUSH32(esp, 1); /* 0x250E209E: push 1 */ 5978 PUSH32(esp, eax); /* 0x250E20A0: push eax */ 5979 ecx = edi; /* 0x250E20A1: mov ecx, edi */ 5980 RECOMP_ICALL(0x25098CD0u); /* 0x250E20A3: call 0x25098cd0 */ /* not lifted */ 5981 RECOMP_FLAGS_IN(); 5982 PUSH32(esp, 0x3F800000u); /* 0x250E20A8: push 0x3f800000 */ 5983 PUSH32(esp, 0); /* 0x250E20AD: push 0 */ 5984 PUSH32(esp, 0x3F800000u); /* 0x250E20AF: push 0x3f800000 */ 5985 PUSH32(esp, 0x3F800000u); /* 0x250E20B4: push 0x3f800000 */ 5986 ecx = esi + 0xC; /* 0x250E20B9: lea ecx, [esi + 0xc] */ 5987 RECOMP_ICALL(0x2510C030u); /* 0x250E20BC: call 0x2510c030 */ /* not lifted */ 5988 RECOMP_FLAGS_IN(); 5989 eax = MEM32(ebp + (-0x44)); /* 0x250E20C1: mov eax, dword ptr [ebp - 0x44] */ 5990 /* test eax, eax */ /* 0x250E20C4: test eax, eax */ 5991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5992 _cf = 0; 5993 _flag_k = FK_TEST; 5994 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E20CD; /* 0x250E20C6: jne 0x250e20cd */ 5995 L_250E20C8: 5996 eax = MEM32(0x251511E4); /* 0x250E20C8: mov eax, dword ptr [0x251511e4] */ 5997 L_250E20CD: 5998 PUSH32(esp, eax); /* 0x250E20CD: push eax */ 5999 eax = ebp + (-0x20); /* 0x250E20CE: lea eax, [ebp - 0x20] */ 6000 PUSH32(esp, eax); /* 0x250E20D1: push eax */ 6001 ecx = esi; /* 0x250E20D2: mov ecx, esi */ 6002 MEM32(ebp + (-0x20)) = 0; /* 0x250E20D4: mov dword ptr [ebp - 0x20], 0 */ 6003 MEM32(ebp + (-0x1C)) = 0; /* 0x250E20DB: mov dword ptr [ebp - 0x1c], 0 */ 6004 MEM32(ebp + (-0x18)) = 0; /* 0x250E20E2: mov dword ptr [ebp - 0x18], 0 */ 6005 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 6006 RECOMP_FLAGS_IN(); 6007 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 6008 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 6009 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 6010 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 6011 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 6012 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 6013 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 6014 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 6015 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 6016 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 6017 PUSH32(esp, eax); /* 0x250E2109: push eax */ 6018 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 6019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6020 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 6021 _flag_k = FK_ADD; 6022 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 6023 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 6024 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 6025 RECOMP_FLAGS_IN(); 6026 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 6027 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6028 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6029 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 6030 _flag_k = FK_ADD; 6031 PUSH32(esp, eax); /* 0x250E211C: push eax */ 6032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6034 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 6035 _flag_k = FK_ADD; 6036 PUSH32(esp, eax); /* 0x250E2120: push eax */ 6037 ecx = edi; /* 0x250E2121: mov ecx, edi */ 6038 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 6039 RECOMP_FLAGS_IN(); 6040 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 6041 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 6042 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 6043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 6044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6045 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 6046 _flag_k = FK_ADD; 6047 PUSH32(esp, edx); /* 0x250E2134: push edx */ 6048 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 6049 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 6050 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 6051 PUSH32(esp, eax); /* 0x250E213E: push eax */ 6052 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 6053 PUSH32(esp, edx); /* 0x250E2140: push edx */ 6054 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 6055 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 6056 RECOMP_FLAGS_IN(); 6057 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 6058 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 6059 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 6060 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 6061 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 6062 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 6063 RECOMP_FLAGS_IN(); 6064 L_250E215D: 6065 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 6066 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 6067 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6068 _cf = 0; 6069 _flag_k = FK_NARROW(FK_TEST, 24); 6070 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 6071 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 6072 L_250E2168: 6073 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 6074 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 6075 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 6076 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 6077 PUSH32(esp, edx); /* 0x250E2178: push edx */ 6078 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 6079 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 6080 RECOMP_FLAGS_IN(); 6081 L_250E2180: 6082 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 6083 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 6084 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6085 _cf = 0; 6086 _flag_k = FK_NARROW(FK_TEST, 24); 6087 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 6088 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 6089 L_250E218E: 6090 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 6091 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 6092 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 6093 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 6094 PUSH32(esp, eax); /* 0x250E219F: push eax */ 6095 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 6096 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 6097 RECOMP_FLAGS_IN(); 6098 L_250E21A7: 6099 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 6100 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 6101 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6102 _cf = 0; 6103 _flag_k = FK_NARROW(FK_TEST, 24); 6104 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 6105 L_250E21AE: 6106 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 6107 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 6108 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6109 _cf = 0; 6110 _flag_k = FK_TEST; 6111 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 6112 L_250E21B5: 6113 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 6114 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 6115 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 6116 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 6117 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 6118 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 6119 RECOMP_FLAGS_IN(); 6120 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 6121 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 6122 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6123 _cf = 0; 6124 _flag_k = FK_TEST; 6125 RECOMP_BACKEDGE(); 6126 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 6127 L_250E21C8: 6128 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 6129 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 6130 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 6131 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 6132 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 6133 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 6134 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 6135 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 6136 RECOMP_REGS_OUT(); 6137 } 6138 6139 void sub_250E1F79(void) { 6140 int _fpu_cmp = 0; 6141 uint32_t _cf = 0; 6142 int _df = 1; 6143 uint32_t _flag_k = FK_NONE; 6144 uint32_t _flag_a = 0, _flag_b = 0; 6145 uint32_t _itail_tgt = 0; 6146 RECOMP_REGS_LOCALS 6147 RECOMP_ENTER(0x250E1F79u); 6148 6149 L_250E1F79: 6150 PUSH32(esp, 0); /* 0x250E1F79: push 0 */ 6151 eax = edi + 0x78; /* 0x250E1F7B: lea eax, [edi + 0x78] */ 6152 PUSH32(esp, eax); /* 0x250E1F7E: push eax */ 6153 ecx = ebp + (-0x20); /* 0x250E1F7F: lea ecx, [ebp - 0x20] */ 6154 PUSH32(esp, ecx); /* 0x250E1F82: push ecx */ 6155 ecx = esi; /* 0x250E1F83: mov ecx, esi */ 6156 MEM32(ebp + (-0x20)) = 0; /* 0x250E1F85: mov dword ptr [ebp - 0x20], 0 */ 6157 MEM32(ebp + (-0x1C)) = 0; /* 0x250E1F8C: mov dword ptr [ebp - 0x1c], 0 */ 6158 MEM32(ebp + (-0x18)) = 0; /* 0x250E1F93: mov dword ptr [ebp - 0x18], 0 */ 6159 RECOMP_ICALL(0x25119B60u); /* 0x250E1F9A: call 0x25119b60 */ /* not lifted */ 6160 RECOMP_FLAGS_IN(); 6161 edi = MEM32(edi + 0x70); /* 0x250E1F9F: mov edi, dword ptr [edi + 0x70] */ 6162 /* test edi, edi */ /* 0x250E1FA2: test edi, edi */ 6163 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6164 _cf = 0; 6165 _flag_k = FK_TEST; 6166 RECOMP_BACKEDGE(); 6167 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1F79; /* 0x250E1FA4: jne 0x250e1f79 */ 6168 L_250E1FA6: 6169 ecx = MEM32(esi + 0x30); /* 0x250E1FA6: mov ecx, dword ptr [esi + 0x30] */ 6170 eax = MEM32(ecx + 0x8); /* 0x250E1FA9: mov eax, dword ptr [ecx + 8] */ 6171 edx = eax + (-0xC); /* 0x250E1FAC: lea edx, [eax - 0xc] */ 6172 edi = MEM32(edx); /* 0x250E1FAF: mov edi, dword ptr [edx] */ 6173 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FB1: mov dword ptr [ebp - 0x20], edi */ 6174 edi = MEM32(edx + 0x4); /* 0x250E1FB4: mov edi, dword ptr [edx + 4] */ 6175 edx = MEM32(edx + 0x8); /* 0x250E1FB7: mov edx, dword ptr [edx + 8] */ 6176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6177 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6178 eax = eax + 0xFFFFFFF4u; /* 0x250E1FBA: add eax, -0xc */ 6179 _flag_k = FK_ADD; 6180 PUSH32(esp, eax); /* 0x250E1FBD: push eax */ 6181 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FBE: mov dword ptr [ebp - 0x1c], edi */ 6182 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FC1: mov dword ptr [ebp - 0x18], edx */ 6183 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FC4: call 0x250e3c70 */ /* not lifted */ 6184 RECOMP_FLAGS_IN(); 6185 eax = MEM32(ebp + (-0x20)); /* 0x250E1FC9: mov eax, dword ptr [ebp - 0x20] */ 6186 ecx = MEM32(esi + 0x30); /* 0x250E1FCC: mov ecx, dword ptr [esi + 0x30] */ 6187 MEM32(esi + 0x1C) = eax; /* 0x250E1FCF: mov dword ptr [esi + 0x1c], eax */ 6188 eax = MEM32(ecx + 0x8); /* 0x250E1FD2: mov eax, dword ptr [ecx + 8] */ 6189 edx = eax + (-0xC); /* 0x250E1FD5: lea edx, [eax - 0xc] */ 6190 edi = MEM32(edx); /* 0x250E1FD8: mov edi, dword ptr [edx] */ 6191 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FDA: mov dword ptr [ebp - 0x20], edi */ 6192 edi = MEM32(edx + 0x4); /* 0x250E1FDD: mov edi, dword ptr [edx + 4] */ 6193 edx = MEM32(edx + 0x8); /* 0x250E1FE0: mov edx, dword ptr [edx + 8] */ 6194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6196 eax = eax + 0xFFFFFFF4u; /* 0x250E1FE3: add eax, -0xc */ 6197 _flag_k = FK_ADD; 6198 PUSH32(esp, eax); /* 0x250E1FE6: push eax */ 6199 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FE7: mov dword ptr [ebp - 0x1c], edi */ 6200 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FEA: mov dword ptr [ebp - 0x18], edx */ 6201 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FED: call 0x250e3c70 */ /* not lifted */ 6202 RECOMP_FLAGS_IN(); 6203 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x250E1FF2: mov al, byte ptr [ebp - 0x20] */ 6204 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250E1FF5: mov byte ptr [esi + 0x18], al */ 6205 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E1FF8: mov al, byte ptr [ebx + 0x69] */ 6206 /* test LO8(eax), LO8(eax) */ /* 0x250E1FFB: test al, al */ 6207 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6208 _cf = 0; 6209 _flag_k = FK_NARROW(FK_TEST, 24); 6210 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E200A; /* 0x250E1FFD: jne 0x250e200a */ 6211 L_250E1FFF: 6212 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E1FFF: mov al, byte ptr [ebx + 0x6a] */ 6213 /* test LO8(eax), LO8(eax) */ /* 0x250E2002: test al, al */ 6214 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6215 _cf = 0; 6216 _flag_k = FK_NARROW(FK_TEST, 24); 6217 if (TEST_Z(_flag_a, _flag_b)) goto L_250E215D; /* 0x250E2004: je 0x250e215d */ 6218 L_250E200A: 6219 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x250E200A: mov cl, byte ptr [ebp + 0xf] */ 6220 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(ecx)); /* 0x250E200D: mov byte ptr [ebp - 0x48], cl */ 6221 PUSH32(esp, 0); /* 0x250E2010: push 0 */ 6222 ecx = ebp + (-0x48); /* 0x250E2012: lea ecx, [ebp - 0x48] */ 6223 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2015: call dword ptr [0x25151208] */ 6224 RECOMP_FLAGS_IN(); 6225 edx = MEM32(ebx); /* 0x250E201B: mov edx, dword ptr [ebx] */ 6226 ecx = ebx; /* 0x250E201D: mov ecx, ebx */ 6227 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E201F: mov byte ptr [ebp - 4], 2 */ 6228 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E2023: call dword ptr [edx + 0x28] */ 6229 RECOMP_FLAGS_IN(); 6230 /* test eax, eax */ /* 0x250E2026: test eax, eax */ 6231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6232 _cf = 0; 6233 _flag_k = FK_TEST; 6234 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E2028: je 0x250e206b */ 6235 L_250E202A: 6236 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E202A: mov al, byte ptr [ebx + 0x69] */ 6237 /* test LO8(eax), LO8(eax) */ /* 0x250E202D: test al, al */ 6238 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6239 _cf = 0; 6240 _flag_k = FK_NARROW(FK_TEST, 24); 6241 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E202F: je 0x250e206b */ 6242 L_250E2031: 6243 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E2031: mov al, byte ptr [ebx + 0x6a] */ 6244 /* test LO8(eax), LO8(eax) */ /* 0x250E2034: test al, al */ 6245 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6246 _cf = 0; 6247 _flag_k = FK_NARROW(FK_TEST, 24); 6248 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2058; /* 0x250E2036: je 0x250e2058 */ 6249 L_250E2038: 6250 eax = MEM32(ebx); /* 0x250E2038: mov eax, dword ptr [ebx] */ 6251 PUSH32(esp, 0x251B9EC0u); /* 0x250E203A: push 0x251b9ec0 */ 6252 ecx = ebx; /* 0x250E203F: mov ecx, ebx */ 6253 RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x250E2041: call dword ptr [eax + 0x28] */ 6254 RECOMP_FLAGS_IN(); 6255 PUSH32(esp, eax); /* 0x250E2044: push eax */ 6256 ecx = ebp + (-0x48); /* 0x250E2045: lea ecx, [ebp - 0x48] */ 6257 PUSH32(esp, 0x251B9EB8u); /* 0x250E2048: push 0x251b9eb8 */ 6258 PUSH32(esp, ecx); /* 0x250E204D: push ecx */ 6259 RECOMP_ICALL(0x250E3DA0u); /* 0x250E204E: call 0x250e3da0 */ /* not lifted */ 6260 RECOMP_FLAGS_IN(); 6261 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6262 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6263 esp = esp + 0x10u; /* 0x250E2053: add esp, 0x10 */ 6264 _flag_k = FK_ADD; 6265 goto L_250E2088; /* 0x250E2056: jmp 0x250e2088 */ 6266 L_250E2058: 6267 edx = MEM32(ebx); /* 0x250E2058: mov edx, dword ptr [ebx] */ 6268 ecx = ebx; /* 0x250E205A: mov ecx, ebx */ 6269 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E205C: call dword ptr [edx + 0x28] */ 6270 RECOMP_FLAGS_IN(); 6271 PUSH32(esp, eax); /* 0x250E205F: push eax */ 6272 PUSH32(esp, 0x251B2358u); /* 0x250E2060: push 0x251b2358 */ 6273 eax = ebp + (-0x48); /* 0x250E2065: lea eax, [ebp - 0x48] */ 6274 PUSH32(esp, eax); /* 0x250E2068: push eax */ 6275 goto L_250E2080; /* 0x250E2069: jmp 0x250e2080 */ 6276 L_250E206B: 6277 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E206B: mov al, byte ptr [ebx + 0x6a] */ 6278 /* test LO8(eax), LO8(eax) */ /* 0x250E206E: test al, al */ 6279 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6280 _cf = 0; 6281 _flag_k = FK_NARROW(FK_TEST, 24); 6282 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2088; /* 0x250E2070: je 0x250e2088 */ 6283 L_250E2072: 6284 PUSH32(esp, 0x251B9EC0u); /* 0x250E2072: push 0x251b9ec0 */ 6285 PUSH32(esp, 0x251B2358u); /* 0x250E2077: push 0x251b2358 */ 6286 ecx = ebp + (-0x48); /* 0x250E207C: lea ecx, [ebp - 0x48] */ 6287 PUSH32(esp, ecx); /* 0x250E207F: push ecx */ 6288 L_250E2080: 6289 RECOMP_ICALL(0x250E3DA0u); /* 0x250E2080: call 0x250e3da0 */ /* not lifted */ 6290 RECOMP_FLAGS_IN(); 6291 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6293 esp = esp + 0xCu; /* 0x250E2085: add esp, 0xc */ 6294 _flag_k = FK_ADD; 6295 L_250E2088: 6296 edi = MEM32(esi + 0x30); /* 0x250E2088: mov edi, dword ptr [esi + 0x30] */ 6297 eax = esi + 0xC; /* 0x250E208B: lea eax, [esi + 0xc] */ 6298 PUSH32(esp, eax); /* 0x250E208E: push eax */ 6299 ecx = ebp + (-0x20); /* 0x250E208F: lea ecx, [ebp - 0x20] */ 6300 RECOMP_ICALL(0x250E2200u); /* 0x250E2092: call 0x250e2200 */ /* not lifted */ 6301 RECOMP_FLAGS_IN(); 6302 eax = MEM32(edi + 0x8); /* 0x250E2097: mov eax, dword ptr [edi + 8] */ 6303 edx = ebp + (-0x20); /* 0x250E209A: lea edx, [ebp - 0x20] */ 6304 PUSH32(esp, edx); /* 0x250E209D: push edx */ 6305 PUSH32(esp, 1); /* 0x250E209E: push 1 */ 6306 PUSH32(esp, eax); /* 0x250E20A0: push eax */ 6307 ecx = edi; /* 0x250E20A1: mov ecx, edi */ 6308 RECOMP_ICALL(0x25098CD0u); /* 0x250E20A3: call 0x25098cd0 */ /* not lifted */ 6309 RECOMP_FLAGS_IN(); 6310 PUSH32(esp, 0x3F800000u); /* 0x250E20A8: push 0x3f800000 */ 6311 PUSH32(esp, 0); /* 0x250E20AD: push 0 */ 6312 PUSH32(esp, 0x3F800000u); /* 0x250E20AF: push 0x3f800000 */ 6313 PUSH32(esp, 0x3F800000u); /* 0x250E20B4: push 0x3f800000 */ 6314 ecx = esi + 0xC; /* 0x250E20B9: lea ecx, [esi + 0xc] */ 6315 RECOMP_ICALL(0x2510C030u); /* 0x250E20BC: call 0x2510c030 */ /* not lifted */ 6316 RECOMP_FLAGS_IN(); 6317 eax = MEM32(ebp + (-0x44)); /* 0x250E20C1: mov eax, dword ptr [ebp - 0x44] */ 6318 /* test eax, eax */ /* 0x250E20C4: test eax, eax */ 6319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6320 _cf = 0; 6321 _flag_k = FK_TEST; 6322 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E20CD; /* 0x250E20C6: jne 0x250e20cd */ 6323 L_250E20C8: 6324 eax = MEM32(0x251511E4); /* 0x250E20C8: mov eax, dword ptr [0x251511e4] */ 6325 L_250E20CD: 6326 PUSH32(esp, eax); /* 0x250E20CD: push eax */ 6327 eax = ebp + (-0x20); /* 0x250E20CE: lea eax, [ebp - 0x20] */ 6328 PUSH32(esp, eax); /* 0x250E20D1: push eax */ 6329 ecx = esi; /* 0x250E20D2: mov ecx, esi */ 6330 MEM32(ebp + (-0x20)) = 0; /* 0x250E20D4: mov dword ptr [ebp - 0x20], 0 */ 6331 MEM32(ebp + (-0x1C)) = 0; /* 0x250E20DB: mov dword ptr [ebp - 0x1c], 0 */ 6332 MEM32(ebp + (-0x18)) = 0; /* 0x250E20E2: mov dword ptr [ebp - 0x18], 0 */ 6333 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 6334 RECOMP_FLAGS_IN(); 6335 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 6336 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 6337 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 6338 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 6339 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 6340 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 6341 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 6342 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 6343 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 6344 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 6345 PUSH32(esp, eax); /* 0x250E2109: push eax */ 6346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 6347 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6348 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 6349 _flag_k = FK_ADD; 6350 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 6351 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 6352 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 6353 RECOMP_FLAGS_IN(); 6354 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 6355 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6356 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6357 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 6358 _flag_k = FK_ADD; 6359 PUSH32(esp, eax); /* 0x250E211C: push eax */ 6360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6361 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6362 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 6363 _flag_k = FK_ADD; 6364 PUSH32(esp, eax); /* 0x250E2120: push eax */ 6365 ecx = edi; /* 0x250E2121: mov ecx, edi */ 6366 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 6367 RECOMP_FLAGS_IN(); 6368 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 6369 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 6370 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 6371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 6372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6373 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 6374 _flag_k = FK_ADD; 6375 PUSH32(esp, edx); /* 0x250E2134: push edx */ 6376 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 6377 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 6378 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 6379 PUSH32(esp, eax); /* 0x250E213E: push eax */ 6380 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 6381 PUSH32(esp, edx); /* 0x250E2140: push edx */ 6382 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 6383 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 6384 RECOMP_FLAGS_IN(); 6385 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 6386 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 6387 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 6388 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 6389 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 6390 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 6391 RECOMP_FLAGS_IN(); 6392 L_250E215D: 6393 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 6394 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 6395 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6396 _cf = 0; 6397 _flag_k = FK_NARROW(FK_TEST, 24); 6398 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 6399 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 6400 L_250E2168: 6401 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 6402 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 6403 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 6404 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 6405 PUSH32(esp, edx); /* 0x250E2178: push edx */ 6406 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 6407 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 6408 RECOMP_FLAGS_IN(); 6409 L_250E2180: 6410 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 6411 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 6412 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6413 _cf = 0; 6414 _flag_k = FK_NARROW(FK_TEST, 24); 6415 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 6416 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 6417 L_250E218E: 6418 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 6419 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 6420 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 6421 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 6422 PUSH32(esp, eax); /* 0x250E219F: push eax */ 6423 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 6424 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 6425 RECOMP_FLAGS_IN(); 6426 L_250E21A7: 6427 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 6428 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 6429 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6430 _cf = 0; 6431 _flag_k = FK_NARROW(FK_TEST, 24); 6432 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 6433 L_250E21AE: 6434 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 6435 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 6436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6437 _cf = 0; 6438 _flag_k = FK_TEST; 6439 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 6440 L_250E21B5: 6441 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 6442 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 6443 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 6444 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 6445 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 6446 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 6447 RECOMP_FLAGS_IN(); 6448 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 6449 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 6450 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6451 _cf = 0; 6452 _flag_k = FK_TEST; 6453 RECOMP_BACKEDGE(); 6454 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 6455 L_250E21C8: 6456 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 6457 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 6458 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 6459 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 6460 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 6461 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 6462 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 6463 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 6464 RECOMP_REGS_OUT(); 6465 } 6466 6467 void sub_250E1F9A(void) { 6468 int _fpu_cmp = 0; 6469 uint32_t _cf = 0; 6470 int _df = 1; 6471 uint32_t _flag_k = FK_NONE; 6472 uint32_t _flag_a = 0, _flag_b = 0; 6473 uint32_t _itail_tgt = 0; 6474 RECOMP_REGS_LOCALS 6475 RECOMP_ENTER(0x250E1F9Au); 6476 6477 goto L_250E1F9A; 6478 L_250E1F79: 6479 PUSH32(esp, 0); /* 0x250E1F79: push 0 */ 6480 eax = edi + 0x78; /* 0x250E1F7B: lea eax, [edi + 0x78] */ 6481 PUSH32(esp, eax); /* 0x250E1F7E: push eax */ 6482 ecx = ebp + (-0x20); /* 0x250E1F7F: lea ecx, [ebp - 0x20] */ 6483 PUSH32(esp, ecx); /* 0x250E1F82: push ecx */ 6484 ecx = esi; /* 0x250E1F83: mov ecx, esi */ 6485 MEM32(ebp + (-0x20)) = 0; /* 0x250E1F85: mov dword ptr [ebp - 0x20], 0 */ 6486 MEM32(ebp + (-0x1C)) = 0; /* 0x250E1F8C: mov dword ptr [ebp - 0x1c], 0 */ 6487 MEM32(ebp + (-0x18)) = 0; /* 0x250E1F93: mov dword ptr [ebp - 0x18], 0 */ 6488 L_250E1F9A: 6489 RECOMP_ICALL(0x25119B60u); /* 0x250E1F9A: call 0x25119b60 */ /* not lifted */ 6490 RECOMP_FLAGS_IN(); 6491 edi = MEM32(edi + 0x70); /* 0x250E1F9F: mov edi, dword ptr [edi + 0x70] */ 6492 /* test edi, edi */ /* 0x250E1FA2: test edi, edi */ 6493 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6494 _cf = 0; 6495 _flag_k = FK_TEST; 6496 RECOMP_BACKEDGE(); 6497 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E1F79; /* 0x250E1FA4: jne 0x250e1f79 */ 6498 L_250E1FA6: 6499 ecx = MEM32(esi + 0x30); /* 0x250E1FA6: mov ecx, dword ptr [esi + 0x30] */ 6500 eax = MEM32(ecx + 0x8); /* 0x250E1FA9: mov eax, dword ptr [ecx + 8] */ 6501 edx = eax + (-0xC); /* 0x250E1FAC: lea edx, [eax - 0xc] */ 6502 edi = MEM32(edx); /* 0x250E1FAF: mov edi, dword ptr [edx] */ 6503 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FB1: mov dword ptr [ebp - 0x20], edi */ 6504 edi = MEM32(edx + 0x4); /* 0x250E1FB4: mov edi, dword ptr [edx + 4] */ 6505 edx = MEM32(edx + 0x8); /* 0x250E1FB7: mov edx, dword ptr [edx + 8] */ 6506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6507 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6508 eax = eax + 0xFFFFFFF4u; /* 0x250E1FBA: add eax, -0xc */ 6509 _flag_k = FK_ADD; 6510 PUSH32(esp, eax); /* 0x250E1FBD: push eax */ 6511 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FBE: mov dword ptr [ebp - 0x1c], edi */ 6512 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FC1: mov dword ptr [ebp - 0x18], edx */ 6513 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FC4: call 0x250e3c70 */ /* not lifted */ 6514 RECOMP_FLAGS_IN(); 6515 eax = MEM32(ebp + (-0x20)); /* 0x250E1FC9: mov eax, dword ptr [ebp - 0x20] */ 6516 ecx = MEM32(esi + 0x30); /* 0x250E1FCC: mov ecx, dword ptr [esi + 0x30] */ 6517 MEM32(esi + 0x1C) = eax; /* 0x250E1FCF: mov dword ptr [esi + 0x1c], eax */ 6518 eax = MEM32(ecx + 0x8); /* 0x250E1FD2: mov eax, dword ptr [ecx + 8] */ 6519 edx = eax + (-0xC); /* 0x250E1FD5: lea edx, [eax - 0xc] */ 6520 edi = MEM32(edx); /* 0x250E1FD8: mov edi, dword ptr [edx] */ 6521 MEM32(ebp + (-0x20)) = edi; /* 0x250E1FDA: mov dword ptr [ebp - 0x20], edi */ 6522 edi = MEM32(edx + 0x4); /* 0x250E1FDD: mov edi, dword ptr [edx + 4] */ 6523 edx = MEM32(edx + 0x8); /* 0x250E1FE0: mov edx, dword ptr [edx + 8] */ 6524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6525 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6526 eax = eax + 0xFFFFFFF4u; /* 0x250E1FE3: add eax, -0xc */ 6527 _flag_k = FK_ADD; 6528 PUSH32(esp, eax); /* 0x250E1FE6: push eax */ 6529 MEM32(ebp + (-0x1C)) = edi; /* 0x250E1FE7: mov dword ptr [ebp - 0x1c], edi */ 6530 MEM32(ebp + (-0x18)) = edx; /* 0x250E1FEA: mov dword ptr [ebp - 0x18], edx */ 6531 RECOMP_ICALL(0x250E3C70u); /* 0x250E1FED: call 0x250e3c70 */ /* not lifted */ 6532 RECOMP_FLAGS_IN(); 6533 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x250E1FF2: mov al, byte ptr [ebp - 0x20] */ 6534 MEM8(esi + 0x18) = (uint8_t)(LO8(eax)); /* 0x250E1FF5: mov byte ptr [esi + 0x18], al */ 6535 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E1FF8: mov al, byte ptr [ebx + 0x69] */ 6536 /* test LO8(eax), LO8(eax) */ /* 0x250E1FFB: test al, al */ 6537 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6538 _cf = 0; 6539 _flag_k = FK_NARROW(FK_TEST, 24); 6540 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E200A; /* 0x250E1FFD: jne 0x250e200a */ 6541 L_250E1FFF: 6542 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E1FFF: mov al, byte ptr [ebx + 0x6a] */ 6543 /* test LO8(eax), LO8(eax) */ /* 0x250E2002: test al, al */ 6544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6545 _cf = 0; 6546 _flag_k = FK_NARROW(FK_TEST, 24); 6547 if (TEST_Z(_flag_a, _flag_b)) goto L_250E215D; /* 0x250E2004: je 0x250e215d */ 6548 L_250E200A: 6549 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x250E200A: mov cl, byte ptr [ebp + 0xf] */ 6550 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(ecx)); /* 0x250E200D: mov byte ptr [ebp - 0x48], cl */ 6551 PUSH32(esp, 0); /* 0x250E2010: push 0 */ 6552 ecx = ebp + (-0x48); /* 0x250E2012: lea ecx, [ebp - 0x48] */ 6553 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2015: call dword ptr [0x25151208] */ 6554 RECOMP_FLAGS_IN(); 6555 edx = MEM32(ebx); /* 0x250E201B: mov edx, dword ptr [ebx] */ 6556 ecx = ebx; /* 0x250E201D: mov ecx, ebx */ 6557 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x250E201F: mov byte ptr [ebp - 4], 2 */ 6558 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E2023: call dword ptr [edx + 0x28] */ 6559 RECOMP_FLAGS_IN(); 6560 /* test eax, eax */ /* 0x250E2026: test eax, eax */ 6561 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6562 _cf = 0; 6563 _flag_k = FK_TEST; 6564 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E2028: je 0x250e206b */ 6565 L_250E202A: 6566 SET_LO8(eax, MEM8(ebx + 0x69)); /* 0x250E202A: mov al, byte ptr [ebx + 0x69] */ 6567 /* test LO8(eax), LO8(eax) */ /* 0x250E202D: test al, al */ 6568 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6569 _cf = 0; 6570 _flag_k = FK_NARROW(FK_TEST, 24); 6571 if (TEST_Z(_flag_a, _flag_b)) goto L_250E206B; /* 0x250E202F: je 0x250e206b */ 6572 L_250E2031: 6573 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E2031: mov al, byte ptr [ebx + 0x6a] */ 6574 /* test LO8(eax), LO8(eax) */ /* 0x250E2034: test al, al */ 6575 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6576 _cf = 0; 6577 _flag_k = FK_NARROW(FK_TEST, 24); 6578 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2058; /* 0x250E2036: je 0x250e2058 */ 6579 L_250E2038: 6580 eax = MEM32(ebx); /* 0x250E2038: mov eax, dword ptr [ebx] */ 6581 PUSH32(esp, 0x251B9EC0u); /* 0x250E203A: push 0x251b9ec0 */ 6582 ecx = ebx; /* 0x250E203F: mov ecx, ebx */ 6583 RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x250E2041: call dword ptr [eax + 0x28] */ 6584 RECOMP_FLAGS_IN(); 6585 PUSH32(esp, eax); /* 0x250E2044: push eax */ 6586 ecx = ebp + (-0x48); /* 0x250E2045: lea ecx, [ebp - 0x48] */ 6587 PUSH32(esp, 0x251B9EB8u); /* 0x250E2048: push 0x251b9eb8 */ 6588 PUSH32(esp, ecx); /* 0x250E204D: push ecx */ 6589 RECOMP_ICALL(0x250E3DA0u); /* 0x250E204E: call 0x250e3da0 */ /* not lifted */ 6590 RECOMP_FLAGS_IN(); 6591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6593 esp = esp + 0x10u; /* 0x250E2053: add esp, 0x10 */ 6594 _flag_k = FK_ADD; 6595 goto L_250E2088; /* 0x250E2056: jmp 0x250e2088 */ 6596 L_250E2058: 6597 edx = MEM32(ebx); /* 0x250E2058: mov edx, dword ptr [ebx] */ 6598 ecx = ebx; /* 0x250E205A: mov ecx, ebx */ 6599 RECOMP_ICALL(MEM32(edx + 0x28)); /* 0x250E205C: call dword ptr [edx + 0x28] */ 6600 RECOMP_FLAGS_IN(); 6601 PUSH32(esp, eax); /* 0x250E205F: push eax */ 6602 PUSH32(esp, 0x251B2358u); /* 0x250E2060: push 0x251b2358 */ 6603 eax = ebp + (-0x48); /* 0x250E2065: lea eax, [ebp - 0x48] */ 6604 PUSH32(esp, eax); /* 0x250E2068: push eax */ 6605 goto L_250E2080; /* 0x250E2069: jmp 0x250e2080 */ 6606 L_250E206B: 6607 SET_LO8(eax, MEM8(ebx + 0x6A)); /* 0x250E206B: mov al, byte ptr [ebx + 0x6a] */ 6608 /* test LO8(eax), LO8(eax) */ /* 0x250E206E: test al, al */ 6609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6610 _cf = 0; 6611 _flag_k = FK_NARROW(FK_TEST, 24); 6612 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2088; /* 0x250E2070: je 0x250e2088 */ 6613 L_250E2072: 6614 PUSH32(esp, 0x251B9EC0u); /* 0x250E2072: push 0x251b9ec0 */ 6615 PUSH32(esp, 0x251B2358u); /* 0x250E2077: push 0x251b2358 */ 6616 ecx = ebp + (-0x48); /* 0x250E207C: lea ecx, [ebp - 0x48] */ 6617 PUSH32(esp, ecx); /* 0x250E207F: push ecx */ 6618 L_250E2080: 6619 RECOMP_ICALL(0x250E3DA0u); /* 0x250E2080: call 0x250e3da0 */ /* not lifted */ 6620 RECOMP_FLAGS_IN(); 6621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6623 esp = esp + 0xCu; /* 0x250E2085: add esp, 0xc */ 6624 _flag_k = FK_ADD; 6625 L_250E2088: 6626 edi = MEM32(esi + 0x30); /* 0x250E2088: mov edi, dword ptr [esi + 0x30] */ 6627 eax = esi + 0xC; /* 0x250E208B: lea eax, [esi + 0xc] */ 6628 PUSH32(esp, eax); /* 0x250E208E: push eax */ 6629 ecx = ebp + (-0x20); /* 0x250E208F: lea ecx, [ebp - 0x20] */ 6630 RECOMP_ICALL(0x250E2200u); /* 0x250E2092: call 0x250e2200 */ /* not lifted */ 6631 RECOMP_FLAGS_IN(); 6632 eax = MEM32(edi + 0x8); /* 0x250E2097: mov eax, dword ptr [edi + 8] */ 6633 edx = ebp + (-0x20); /* 0x250E209A: lea edx, [ebp - 0x20] */ 6634 PUSH32(esp, edx); /* 0x250E209D: push edx */ 6635 PUSH32(esp, 1); /* 0x250E209E: push 1 */ 6636 PUSH32(esp, eax); /* 0x250E20A0: push eax */ 6637 ecx = edi; /* 0x250E20A1: mov ecx, edi */ 6638 RECOMP_ICALL(0x25098CD0u); /* 0x250E20A3: call 0x25098cd0 */ /* not lifted */ 6639 RECOMP_FLAGS_IN(); 6640 PUSH32(esp, 0x3F800000u); /* 0x250E20A8: push 0x3f800000 */ 6641 PUSH32(esp, 0); /* 0x250E20AD: push 0 */ 6642 PUSH32(esp, 0x3F800000u); /* 0x250E20AF: push 0x3f800000 */ 6643 PUSH32(esp, 0x3F800000u); /* 0x250E20B4: push 0x3f800000 */ 6644 ecx = esi + 0xC; /* 0x250E20B9: lea ecx, [esi + 0xc] */ 6645 RECOMP_ICALL(0x2510C030u); /* 0x250E20BC: call 0x2510c030 */ /* not lifted */ 6646 RECOMP_FLAGS_IN(); 6647 eax = MEM32(ebp + (-0x44)); /* 0x250E20C1: mov eax, dword ptr [ebp - 0x44] */ 6648 /* test eax, eax */ /* 0x250E20C4: test eax, eax */ 6649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6650 _cf = 0; 6651 _flag_k = FK_TEST; 6652 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E20CD; /* 0x250E20C6: jne 0x250e20cd */ 6653 L_250E20C8: 6654 eax = MEM32(0x251511E4); /* 0x250E20C8: mov eax, dword ptr [0x251511e4] */ 6655 L_250E20CD: 6656 PUSH32(esp, eax); /* 0x250E20CD: push eax */ 6657 eax = ebp + (-0x20); /* 0x250E20CE: lea eax, [ebp - 0x20] */ 6658 PUSH32(esp, eax); /* 0x250E20D1: push eax */ 6659 ecx = esi; /* 0x250E20D2: mov ecx, esi */ 6660 MEM32(ebp + (-0x20)) = 0; /* 0x250E20D4: mov dword ptr [ebp - 0x20], 0 */ 6661 MEM32(ebp + (-0x1C)) = 0; /* 0x250E20DB: mov dword ptr [ebp - 0x1c], 0 */ 6662 MEM32(ebp + (-0x18)) = 0; /* 0x250E20E2: mov dword ptr [ebp - 0x18], 0 */ 6663 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 6664 RECOMP_FLAGS_IN(); 6665 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 6666 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 6667 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 6668 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 6669 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 6670 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 6671 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 6672 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 6673 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 6674 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 6675 PUSH32(esp, eax); /* 0x250E2109: push eax */ 6676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 6677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6678 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 6679 _flag_k = FK_ADD; 6680 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 6681 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 6682 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 6683 RECOMP_FLAGS_IN(); 6684 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 6685 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6686 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6687 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 6688 _flag_k = FK_ADD; 6689 PUSH32(esp, eax); /* 0x250E211C: push eax */ 6690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6692 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 6693 _flag_k = FK_ADD; 6694 PUSH32(esp, eax); /* 0x250E2120: push eax */ 6695 ecx = edi; /* 0x250E2121: mov ecx, edi */ 6696 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 6697 RECOMP_FLAGS_IN(); 6698 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 6699 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 6700 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 6701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 6702 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6703 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 6704 _flag_k = FK_ADD; 6705 PUSH32(esp, edx); /* 0x250E2134: push edx */ 6706 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 6707 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 6708 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 6709 PUSH32(esp, eax); /* 0x250E213E: push eax */ 6710 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 6711 PUSH32(esp, edx); /* 0x250E2140: push edx */ 6712 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 6713 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 6714 RECOMP_FLAGS_IN(); 6715 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 6716 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 6717 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 6718 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 6719 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 6720 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 6721 RECOMP_FLAGS_IN(); 6722 L_250E215D: 6723 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 6724 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 6725 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6726 _cf = 0; 6727 _flag_k = FK_NARROW(FK_TEST, 24); 6728 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 6729 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 6730 L_250E2168: 6731 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 6732 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 6733 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 6734 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 6735 PUSH32(esp, edx); /* 0x250E2178: push edx */ 6736 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 6737 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 6738 RECOMP_FLAGS_IN(); 6739 L_250E2180: 6740 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 6741 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 6742 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6743 _cf = 0; 6744 _flag_k = FK_NARROW(FK_TEST, 24); 6745 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 6746 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 6747 L_250E218E: 6748 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 6749 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 6750 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 6751 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 6752 PUSH32(esp, eax); /* 0x250E219F: push eax */ 6753 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 6754 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 6755 RECOMP_FLAGS_IN(); 6756 L_250E21A7: 6757 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 6758 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 6759 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6760 _cf = 0; 6761 _flag_k = FK_NARROW(FK_TEST, 24); 6762 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 6763 L_250E21AE: 6764 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 6765 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 6766 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6767 _cf = 0; 6768 _flag_k = FK_TEST; 6769 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 6770 L_250E21B5: 6771 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 6772 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 6773 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 6774 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 6775 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 6776 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 6777 RECOMP_FLAGS_IN(); 6778 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 6779 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 6780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6781 _cf = 0; 6782 _flag_k = FK_TEST; 6783 RECOMP_BACKEDGE(); 6784 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 6785 L_250E21C8: 6786 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 6787 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 6788 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 6789 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 6790 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 6791 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 6792 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 6793 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 6794 RECOMP_REGS_OUT(); 6795 } 6796 6797 void sub_250E2080(void) { 6798 int _fpu_cmp = 0; 6799 uint32_t _cf = 0; 6800 int _df = 1; 6801 uint32_t _flag_k = FK_NONE; 6802 uint32_t _flag_a = 0, _flag_b = 0; 6803 uint32_t _itail_tgt = 0; 6804 RECOMP_REGS_LOCALS 6805 RECOMP_ENTER(0x250E2080u); 6806 6807 L_250E2080: 6808 RECOMP_ICALL(0x250E3DA0u); /* 0x250E2080: call 0x250e3da0 */ /* not lifted */ 6809 RECOMP_FLAGS_IN(); 6810 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6812 esp = esp + 0xCu; /* 0x250E2085: add esp, 0xc */ 6813 _flag_k = FK_ADD; 6814 edi = MEM32(esi + 0x30); /* 0x250E2088: mov edi, dword ptr [esi + 0x30] */ 6815 eax = esi + 0xC; /* 0x250E208B: lea eax, [esi + 0xc] */ 6816 PUSH32(esp, eax); /* 0x250E208E: push eax */ 6817 ecx = ebp + (-0x20); /* 0x250E208F: lea ecx, [ebp - 0x20] */ 6818 RECOMP_ICALL(0x250E2200u); /* 0x250E2092: call 0x250e2200 */ /* not lifted */ 6819 RECOMP_FLAGS_IN(); 6820 eax = MEM32(edi + 0x8); /* 0x250E2097: mov eax, dword ptr [edi + 8] */ 6821 edx = ebp + (-0x20); /* 0x250E209A: lea edx, [ebp - 0x20] */ 6822 PUSH32(esp, edx); /* 0x250E209D: push edx */ 6823 PUSH32(esp, 1); /* 0x250E209E: push 1 */ 6824 PUSH32(esp, eax); /* 0x250E20A0: push eax */ 6825 ecx = edi; /* 0x250E20A1: mov ecx, edi */ 6826 RECOMP_ICALL(0x25098CD0u); /* 0x250E20A3: call 0x25098cd0 */ /* not lifted */ 6827 RECOMP_FLAGS_IN(); 6828 PUSH32(esp, 0x3F800000u); /* 0x250E20A8: push 0x3f800000 */ 6829 PUSH32(esp, 0); /* 0x250E20AD: push 0 */ 6830 PUSH32(esp, 0x3F800000u); /* 0x250E20AF: push 0x3f800000 */ 6831 PUSH32(esp, 0x3F800000u); /* 0x250E20B4: push 0x3f800000 */ 6832 ecx = esi + 0xC; /* 0x250E20B9: lea ecx, [esi + 0xc] */ 6833 RECOMP_ICALL(0x2510C030u); /* 0x250E20BC: call 0x2510c030 */ /* not lifted */ 6834 RECOMP_FLAGS_IN(); 6835 eax = MEM32(ebp + (-0x44)); /* 0x250E20C1: mov eax, dword ptr [ebp - 0x44] */ 6836 /* test eax, eax */ /* 0x250E20C4: test eax, eax */ 6837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6838 _cf = 0; 6839 _flag_k = FK_TEST; 6840 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E20CD; /* 0x250E20C6: jne 0x250e20cd */ 6841 L_250E20C8: 6842 eax = MEM32(0x251511E4); /* 0x250E20C8: mov eax, dword ptr [0x251511e4] */ 6843 L_250E20CD: 6844 PUSH32(esp, eax); /* 0x250E20CD: push eax */ 6845 eax = ebp + (-0x20); /* 0x250E20CE: lea eax, [ebp - 0x20] */ 6846 PUSH32(esp, eax); /* 0x250E20D1: push eax */ 6847 ecx = esi; /* 0x250E20D2: mov ecx, esi */ 6848 MEM32(ebp + (-0x20)) = 0; /* 0x250E20D4: mov dword ptr [ebp - 0x20], 0 */ 6849 MEM32(ebp + (-0x1C)) = 0; /* 0x250E20DB: mov dword ptr [ebp - 0x1c], 0 */ 6850 MEM32(ebp + (-0x18)) = 0; /* 0x250E20E2: mov dword ptr [ebp - 0x18], 0 */ 6851 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 6852 RECOMP_FLAGS_IN(); 6853 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 6854 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 6855 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 6856 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 6857 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 6858 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 6859 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 6860 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 6861 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 6862 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 6863 PUSH32(esp, eax); /* 0x250E2109: push eax */ 6864 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 6865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6866 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 6867 _flag_k = FK_ADD; 6868 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 6869 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 6870 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 6871 RECOMP_FLAGS_IN(); 6872 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 6873 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6875 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 6876 _flag_k = FK_ADD; 6877 PUSH32(esp, eax); /* 0x250E211C: push eax */ 6878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 6879 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6880 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 6881 _flag_k = FK_ADD; 6882 PUSH32(esp, eax); /* 0x250E2120: push eax */ 6883 ecx = edi; /* 0x250E2121: mov ecx, edi */ 6884 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 6885 RECOMP_FLAGS_IN(); 6886 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 6887 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 6888 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 6889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 6890 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6891 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 6892 _flag_k = FK_ADD; 6893 PUSH32(esp, edx); /* 0x250E2134: push edx */ 6894 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 6895 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 6896 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 6897 PUSH32(esp, eax); /* 0x250E213E: push eax */ 6898 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 6899 PUSH32(esp, edx); /* 0x250E2140: push edx */ 6900 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 6901 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 6902 RECOMP_FLAGS_IN(); 6903 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 6904 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 6905 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 6906 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 6907 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 6908 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 6909 RECOMP_FLAGS_IN(); 6910 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 6911 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 6912 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6913 _cf = 0; 6914 _flag_k = FK_NARROW(FK_TEST, 24); 6915 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 6916 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 6917 L_250E2168: 6918 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 6919 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 6920 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 6921 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 6922 PUSH32(esp, edx); /* 0x250E2178: push edx */ 6923 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 6924 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 6925 RECOMP_FLAGS_IN(); 6926 L_250E2180: 6927 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 6928 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 6929 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6930 _cf = 0; 6931 _flag_k = FK_NARROW(FK_TEST, 24); 6932 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 6933 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 6934 L_250E218E: 6935 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 6936 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 6937 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 6938 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 6939 PUSH32(esp, eax); /* 0x250E219F: push eax */ 6940 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 6941 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 6942 RECOMP_FLAGS_IN(); 6943 L_250E21A7: 6944 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 6945 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 6946 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6947 _cf = 0; 6948 _flag_k = FK_NARROW(FK_TEST, 24); 6949 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 6950 L_250E21AE: 6951 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 6952 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 6953 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6954 _cf = 0; 6955 _flag_k = FK_TEST; 6956 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 6957 L_250E21B5: 6958 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 6959 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 6960 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 6961 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 6962 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 6963 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 6964 RECOMP_FLAGS_IN(); 6965 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 6966 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 6967 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6968 _cf = 0; 6969 _flag_k = FK_TEST; 6970 RECOMP_BACKEDGE(); 6971 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 6972 L_250E21C8: 6973 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 6974 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 6975 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 6976 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 6977 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 6978 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 6979 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 6980 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 6981 RECOMP_REGS_OUT(); 6982 } 6983 6984 void sub_250E2088(void) { 6985 int _fpu_cmp = 0; 6986 uint32_t _cf = 0; 6987 int _df = 1; 6988 uint32_t _flag_k = FK_NONE; 6989 uint32_t _flag_a = 0, _flag_b = 0; 6990 uint32_t _itail_tgt = 0; 6991 RECOMP_REGS_LOCALS 6992 RECOMP_ENTER(0x250E2088u); 6993 6994 L_250E2088: 6995 edi = MEM32(esi + 0x30); /* 0x250E2088: mov edi, dword ptr [esi + 0x30] */ 6996 eax = esi + 0xC; /* 0x250E208B: lea eax, [esi + 0xc] */ 6997 PUSH32(esp, eax); /* 0x250E208E: push eax */ 6998 ecx = ebp + (-0x20); /* 0x250E208F: lea ecx, [ebp - 0x20] */ 6999 RECOMP_ICALL(0x250E2200u); /* 0x250E2092: call 0x250e2200 */ /* not lifted */ 7000 RECOMP_FLAGS_IN(); 7001 eax = MEM32(edi + 0x8); /* 0x250E2097: mov eax, dword ptr [edi + 8] */ 7002 edx = ebp + (-0x20); /* 0x250E209A: lea edx, [ebp - 0x20] */ 7003 PUSH32(esp, edx); /* 0x250E209D: push edx */ 7004 PUSH32(esp, 1); /* 0x250E209E: push 1 */ 7005 PUSH32(esp, eax); /* 0x250E20A0: push eax */ 7006 ecx = edi; /* 0x250E20A1: mov ecx, edi */ 7007 RECOMP_ICALL(0x25098CD0u); /* 0x250E20A3: call 0x25098cd0 */ /* not lifted */ 7008 RECOMP_FLAGS_IN(); 7009 PUSH32(esp, 0x3F800000u); /* 0x250E20A8: push 0x3f800000 */ 7010 PUSH32(esp, 0); /* 0x250E20AD: push 0 */ 7011 PUSH32(esp, 0x3F800000u); /* 0x250E20AF: push 0x3f800000 */ 7012 PUSH32(esp, 0x3F800000u); /* 0x250E20B4: push 0x3f800000 */ 7013 ecx = esi + 0xC; /* 0x250E20B9: lea ecx, [esi + 0xc] */ 7014 RECOMP_ICALL(0x2510C030u); /* 0x250E20BC: call 0x2510c030 */ /* not lifted */ 7015 RECOMP_FLAGS_IN(); 7016 eax = MEM32(ebp + (-0x44)); /* 0x250E20C1: mov eax, dword ptr [ebp - 0x44] */ 7017 /* test eax, eax */ /* 0x250E20C4: test eax, eax */ 7018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7019 _cf = 0; 7020 _flag_k = FK_TEST; 7021 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E20CD; /* 0x250E20C6: jne 0x250e20cd */ 7022 L_250E20C8: 7023 eax = MEM32(0x251511E4); /* 0x250E20C8: mov eax, dword ptr [0x251511e4] */ 7024 L_250E20CD: 7025 PUSH32(esp, eax); /* 0x250E20CD: push eax */ 7026 eax = ebp + (-0x20); /* 0x250E20CE: lea eax, [ebp - 0x20] */ 7027 PUSH32(esp, eax); /* 0x250E20D1: push eax */ 7028 ecx = esi; /* 0x250E20D2: mov ecx, esi */ 7029 MEM32(ebp + (-0x20)) = 0; /* 0x250E20D4: mov dword ptr [ebp - 0x20], 0 */ 7030 MEM32(ebp + (-0x1C)) = 0; /* 0x250E20DB: mov dword ptr [ebp - 0x1c], 0 */ 7031 MEM32(ebp + (-0x18)) = 0; /* 0x250E20E2: mov dword ptr [ebp - 0x18], 0 */ 7032 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 7033 RECOMP_FLAGS_IN(); 7034 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 7035 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 7036 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 7037 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 7038 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 7039 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 7040 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 7041 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 7042 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 7043 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 7044 PUSH32(esp, eax); /* 0x250E2109: push eax */ 7045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 7046 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7047 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 7048 _flag_k = FK_ADD; 7049 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 7050 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 7051 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 7052 RECOMP_FLAGS_IN(); 7053 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 7054 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7056 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 7057 _flag_k = FK_ADD; 7058 PUSH32(esp, eax); /* 0x250E211C: push eax */ 7059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 7060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7061 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 7062 _flag_k = FK_ADD; 7063 PUSH32(esp, eax); /* 0x250E2120: push eax */ 7064 ecx = edi; /* 0x250E2121: mov ecx, edi */ 7065 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 7066 RECOMP_FLAGS_IN(); 7067 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 7068 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 7069 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 7070 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 7071 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7072 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 7073 _flag_k = FK_ADD; 7074 PUSH32(esp, edx); /* 0x250E2134: push edx */ 7075 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 7076 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 7077 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 7078 PUSH32(esp, eax); /* 0x250E213E: push eax */ 7079 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 7080 PUSH32(esp, edx); /* 0x250E2140: push edx */ 7081 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 7082 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 7083 RECOMP_FLAGS_IN(); 7084 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 7085 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 7086 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 7087 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 7088 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 7089 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 7090 RECOMP_FLAGS_IN(); 7091 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 7092 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 7093 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7094 _cf = 0; 7095 _flag_k = FK_NARROW(FK_TEST, 24); 7096 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 7097 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 7098 L_250E2168: 7099 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 7100 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 7101 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 7102 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 7103 PUSH32(esp, edx); /* 0x250E2178: push edx */ 7104 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 7105 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 7106 RECOMP_FLAGS_IN(); 7107 L_250E2180: 7108 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 7109 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 7110 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7111 _cf = 0; 7112 _flag_k = FK_NARROW(FK_TEST, 24); 7113 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 7114 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 7115 L_250E218E: 7116 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 7117 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 7118 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 7119 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 7120 PUSH32(esp, eax); /* 0x250E219F: push eax */ 7121 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 7122 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 7123 RECOMP_FLAGS_IN(); 7124 L_250E21A7: 7125 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 7126 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 7127 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7128 _cf = 0; 7129 _flag_k = FK_NARROW(FK_TEST, 24); 7130 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 7131 L_250E21AE: 7132 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 7133 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 7134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7135 _cf = 0; 7136 _flag_k = FK_TEST; 7137 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 7138 L_250E21B5: 7139 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 7140 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 7141 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 7142 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 7143 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 7144 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 7145 RECOMP_FLAGS_IN(); 7146 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 7147 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 7148 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7149 _cf = 0; 7150 _flag_k = FK_TEST; 7151 RECOMP_BACKEDGE(); 7152 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 7153 L_250E21C8: 7154 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 7155 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 7156 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 7157 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 7158 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 7159 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 7160 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 7161 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 7162 RECOMP_REGS_OUT(); 7163 } 7164 7165 void sub_250E20E9(void) { 7166 int _fpu_cmp = 0; 7167 uint32_t _cf = 0; 7168 int _df = 1; 7169 uint32_t _flag_k = FK_NONE; 7170 uint32_t _flag_a = 0, _flag_b = 0; 7171 uint32_t _itail_tgt = 0; 7172 RECOMP_REGS_LOCALS 7173 RECOMP_ENTER(0x250E20E9u); 7174 7175 L_250E20E9: 7176 RECOMP_ICALL(0x25119940u); /* 0x250E20E9: call 0x25119940 */ /* not lifted */ 7177 RECOMP_FLAGS_IN(); 7178 edi = MEM32(esi + 0x30); /* 0x250E20EE: mov edi, dword ptr [esi + 0x30] */ 7179 eax = MEM32(edi + 0x8); /* 0x250E20F1: mov eax, dword ptr [edi + 8] */ 7180 ecx = eax + (-0xC); /* 0x250E20F4: lea ecx, [eax - 0xc] */ 7181 edx = MEM32(ecx); /* 0x250E20F7: mov edx, dword ptr [ecx] */ 7182 MEM32(ebp + (-0x20)) = edx; /* 0x250E20F9: mov dword ptr [ebp - 0x20], edx */ 7183 edx = MEM32(ecx + 0x4); /* 0x250E20FC: mov edx, dword ptr [ecx + 4] */ 7184 ecx = MEM32(ecx + 0x8); /* 0x250E20FF: mov ecx, dword ptr [ecx + 8] */ 7185 MEM32(ebp + (-0x18)) = ecx; /* 0x250E2102: mov dword ptr [ebp - 0x18], ecx */ 7186 ecx = eax + (-0xC); /* 0x250E2105: lea ecx, [eax - 0xc] */ 7187 PUSH32(esp, ecx); /* 0x250E2108: push ecx */ 7188 PUSH32(esp, eax); /* 0x250E2109: push eax */ 7189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 7190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7191 ecx = ecx + 0xCu; /* 0x250E210A: add ecx, 0xc */ 7192 _flag_k = FK_ADD; 7193 PUSH32(esp, ecx); /* 0x250E210D: push ecx */ 7194 MEM32(ebp + (-0x1C)) = edx; /* 0x250E210E: mov dword ptr [ebp - 0x1c], edx */ 7195 RECOMP_ICALL(0x250DE540u); /* 0x250E2111: call 0x250de540 */ /* not lifted */ 7196 RECOMP_FLAGS_IN(); 7197 eax = MEM32(edi + 0x8); /* 0x250E2116: mov eax, dword ptr [edi + 8] */ 7198 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7200 esp = esp + 0xCu; /* 0x250E2119: add esp, 0xc */ 7201 _flag_k = FK_ADD; 7202 PUSH32(esp, eax); /* 0x250E211C: push eax */ 7203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u); 7204 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7205 eax = eax + 0xFFFFFFF4u; /* 0x250E211D: add eax, -0xc */ 7206 _flag_k = FK_ADD; 7207 PUSH32(esp, eax); /* 0x250E2120: push eax */ 7208 ecx = edi; /* 0x250E2121: mov ecx, edi */ 7209 RECOMP_ICALL(0x25093260u); /* 0x250E2123: call 0x25093260 */ /* not lifted */ 7210 RECOMP_FLAGS_IN(); 7211 ecx = MEM32(edi + 0x8); /* 0x250E2128: mov ecx, dword ptr [edi + 8] */ 7212 edx = MEM32(ebp + (-0x1D)); /* 0x250E212B: mov edx, dword ptr [ebp - 0x1d] */ 7213 eax = MEM32(ebp + (-0x1E)); /* 0x250E212E: mov eax, dword ptr [ebp - 0x1e] */ 7214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFF4u); 7215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7216 ecx = ecx + 0xFFFFFFF4u; /* 0x250E2131: add ecx, -0xc */ 7217 _flag_k = FK_ADD; 7218 PUSH32(esp, edx); /* 0x250E2134: push edx */ 7219 edx = MEM32(ebp + (-0x20)); /* 0x250E2135: mov edx, dword ptr [ebp - 0x20] */ 7220 MEM32(edi + 0x8) = ecx; /* 0x250E2138: mov dword ptr [edi + 8], ecx */ 7221 ecx = MEM32(ebp + (-0x1F)); /* 0x250E213B: mov ecx, dword ptr [ebp - 0x1f] */ 7222 PUSH32(esp, eax); /* 0x250E213E: push eax */ 7223 PUSH32(esp, ecx); /* 0x250E213F: push ecx */ 7224 PUSH32(esp, edx); /* 0x250E2140: push edx */ 7225 ecx = ebp + 0x8; /* 0x250E2141: lea ecx, [ebp + 8] */ 7226 RECOMP_ICALL(0x250E21E0u); /* 0x250E2144: call 0x250e21e0 */ /* not lifted */ 7227 RECOMP_FLAGS_IN(); 7228 eax = MEM32(eax); /* 0x250E2149: mov eax, dword ptr [eax] */ 7229 PUSH32(esp, 1); /* 0x250E214B: push 1 */ 7230 ecx = ebp + (-0x48); /* 0x250E214D: lea ecx, [ebp - 0x48] */ 7231 MEM32(esi + 0xC) = eax; /* 0x250E2150: mov dword ptr [esi + 0xc], eax */ 7232 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250E2153: mov byte ptr [ebp - 4], 1 */ 7233 RECOMP_ICALL(MEM32(0x25151208)); /* 0x250E2157: call dword ptr [0x25151208] */ 7234 RECOMP_FLAGS_IN(); 7235 SET_LO8(eax, MEM8(ebp + (-0x24))); /* 0x250E215D: mov al, byte ptr [ebp - 0x24] */ 7236 /* test LO8(eax), LO8(eax) */ /* 0x250E2160: test al, al */ 7237 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7238 _cf = 0; 7239 _flag_k = FK_NARROW(FK_TEST, 24); 7240 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250E2162: mov byte ptr [ebp - 4], 0 */ 7241 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2180; /* 0x250E2166: je 0x250e2180 */ 7242 L_250E2168: 7243 edx = MEM32(ebp + (-0x10)); /* 0x250E2168: mov edx, dword ptr [ebp - 0x10] */ 7244 eax = MEM32(0x25238B94); /* 0x250E216B: mov eax, dword ptr [0x25238b94] */ 7245 ecx = MEM32(eax + 0x894); /* 0x250E2170: mov ecx, dword ptr [eax + 0x894] */ 7246 PUSH32(esp, 2); /* 0x250E2176: push 2 */ 7247 PUSH32(esp, edx); /* 0x250E2178: push edx */ 7248 PUSH32(esp, 0xEu); /* 0x250E2179: push 0xe */ 7249 RECOMP_ICALL(0x250EFE90u); /* 0x250E217B: call 0x250efe90 */ /* not lifted */ 7250 RECOMP_FLAGS_IN(); 7251 L_250E2180: 7252 SET_LO8(eax, MEM8(ebp + (-0x30))); /* 0x250E2180: mov al, byte ptr [ebp - 0x30] */ 7253 /* test LO8(eax), LO8(eax) */ /* 0x250E2183: test al, al */ 7254 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7255 _cf = 0; 7256 _flag_k = FK_NARROW(FK_TEST, 24); 7257 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E2185: mov dword ptr [ebp - 4], 0xffffffff */ 7258 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21A7; /* 0x250E218C: je 0x250e21a7 */ 7259 L_250E218E: 7260 eax = MEM32(ebp + (-0x14)); /* 0x250E218E: mov eax, dword ptr [ebp - 0x14] */ 7261 ecx = MEM32(0x25238B94); /* 0x250E2191: mov ecx, dword ptr [0x25238b94] */ 7262 ecx = MEM32(ecx + 0x894); /* 0x250E2197: mov ecx, dword ptr [ecx + 0x894] */ 7263 PUSH32(esp, 2); /* 0x250E219D: push 2 */ 7264 PUSH32(esp, eax); /* 0x250E219F: push eax */ 7265 PUSH32(esp, 7); /* 0x250E21A0: push 7 */ 7266 RECOMP_ICALL(0x250EFE90u); /* 0x250E21A2: call 0x250efe90 */ /* not lifted */ 7267 RECOMP_FLAGS_IN(); 7268 L_250E21A7: 7269 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E21A7: mov al, byte ptr [ebp + 0xc] */ 7270 /* test LO8(eax), LO8(eax) */ /* 0x250E21AA: test al, al */ 7271 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7272 _cf = 0; 7273 _flag_k = FK_NARROW(FK_TEST, 24); 7274 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21AC: je 0x250e21c8 */ 7275 L_250E21AE: 7276 edi = MEM32(ebx + 0x74); /* 0x250E21AE: mov edi, dword ptr [ebx + 0x74] */ 7277 /* test edi, edi */ /* 0x250E21B1: test edi, edi */ 7278 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7279 _cf = 0; 7280 _flag_k = FK_TEST; 7281 if (TEST_Z(_flag_a, _flag_b)) goto L_250E21C8; /* 0x250E21B3: je 0x250e21c8 */ 7282 L_250E21B5: 7283 eax = MEM32(ebp + 0xC); /* 0x250E21B5: mov eax, dword ptr [ebp + 0xc] */ 7284 edx = MEM32(edi); /* 0x250E21B8: mov edx, dword ptr [edi] */ 7285 PUSH32(esp, eax); /* 0x250E21BA: push eax */ 7286 PUSH32(esp, esi); /* 0x250E21BB: push esi */ 7287 ecx = edi; /* 0x250E21BC: mov ecx, edi */ 7288 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x250E21BE: call dword ptr [edx + 0x24] */ 7289 RECOMP_FLAGS_IN(); 7290 edi = MEM32(edi + 0x70); /* 0x250E21C1: mov edi, dword ptr [edi + 0x70] */ 7291 /* test edi, edi */ /* 0x250E21C4: test edi, edi */ 7292 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7293 _cf = 0; 7294 _flag_k = FK_TEST; 7295 RECOMP_BACKEDGE(); 7296 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E21B5; /* 0x250E21C6: jne 0x250e21b5 */ 7297 L_250E21C8: 7298 ecx = MEM32(ebp + (-0xC)); /* 0x250E21C8: mov ecx, dword ptr [ebp - 0xc] */ 7299 edi = POP32_VAL(esp); /* 0x250E21CB: pop edi */ 7300 esi = POP32_VAL(esp); /* 0x250E21CC: pop esi */ 7301 ebx = POP32_VAL(esp); /* 0x250E21CD: pop ebx */ 7302 MEM32(FS_BASE + (0)) = ecx; /* 0x250E21CE: mov dword ptr fs:[0], ecx */ 7303 esp = ebp; /* 0x250E21D5: mov esp, ebp */ 7304 ebp = POP32_VAL(esp); /* 0x250E21D7: pop ebp */ 7305 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E21D8: ret 8 */ 7306 RECOMP_REGS_OUT(); 7307 } 7308 7309 void sub_250E21E0(void) { 7310 int _fpu_cmp = 0; 7311 uint32_t _cf = 0; 7312 int _df = 1; 7313 uint32_t _flag_k = FK_NONE; 7314 uint32_t _flag_a = 0, _flag_b = 0; 7315 uint32_t _itail_tgt = 0; 7316 RECOMP_REGS_LOCALS 7317 RECOMP_ENTER(0x250E21E0u); 7318 7319 L_250E21E0: 7320 PUSH32(esp, ebp); /* 0x250E21E0: push ebp */ 7321 ebp = esp; /* 0x250E21E1: mov ebp, esp */ 7322 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x250E21E3: mov dl, byte ptr [ebp + 0xc] */ 7323 eax = ecx; /* 0x250E21E6: mov eax, ecx */ 7324 SET_LO8(ecx, MEM8(ebp + 0x10)); /* 0x250E21E8: mov cl, byte ptr [ebp + 0x10] */ 7325 MEM8(eax) = (uint8_t)(LO8(ecx)); /* 0x250E21EB: mov byte ptr [eax], cl */ 7326 SET_LO8(ecx, MEM8(ebp + 0x8)); /* 0x250E21ED: mov cl, byte ptr [ebp + 8] */ 7327 MEM8(eax + 0x1) = (uint8_t)(LO8(edx)); /* 0x250E21F0: mov byte ptr [eax + 1], dl */ 7328 SET_LO8(edx, MEM8(ebp + 0x14)); /* 0x250E21F3: mov dl, byte ptr [ebp + 0x14] */ 7329 MEM8(eax + 0x2) = (uint8_t)(LO8(ecx)); /* 0x250E21F6: mov byte ptr [eax + 2], cl */ 7330 MEM8(eax + 0x3) = (uint8_t)(LO8(edx)); /* 0x250E21F9: mov byte ptr [eax + 3], dl */ 7331 ebp = POP32_VAL(esp); /* 0x250E21FC: pop ebp */ 7332 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x250E21FD: ret 0x10 */ 7333 RECOMP_REGS_OUT(); 7334 } 7335 7336 void sub_250E2200(void) { 7337 int _fpu_cmp = 0; 7338 uint32_t _cf = 0; 7339 int _df = 1; 7340 uint32_t _flag_k = FK_NONE; 7341 uint32_t _flag_a = 0, _flag_b = 0; 7342 uint32_t _itail_tgt = 0; 7343 RECOMP_REGS_LOCALS 7344 RECOMP_ENTER(0x250E2200u); 7345 7346 L_250E2200: 7347 PUSH32(esp, ebp); /* 0x250E2200: push ebp */ 7348 ebp = esp; /* 0x250E2201: mov ebp, esp */ 7349 eax = MEM32(ebp + 0x8); /* 0x250E2203: mov eax, dword ptr [ebp + 8] */ 7350 SET_LO8(edx, MEM8(eax + 0x2)); /* 0x250E2206: mov dl, byte ptr [eax + 2] */ 7351 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x250E2209: mov byte ptr [ecx], dl */ 7352 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x250E220B: mov dl, byte ptr [eax + 1] */ 7353 MEM8(ecx + 0x1) = (uint8_t)(LO8(edx)); /* 0x250E220E: mov byte ptr [ecx + 1], dl */ 7354 SET_LO8(edx, MEM8(eax)); /* 0x250E2211: mov dl, byte ptr [eax] */ 7355 MEM8(ecx + 0x2) = (uint8_t)(LO8(edx)); /* 0x250E2213: mov byte ptr [ecx + 2], dl */ 7356 SET_LO8(eax, MEM8(eax + 0x3)); /* 0x250E2216: mov al, byte ptr [eax + 3] */ 7357 MEM8(ecx + 0x3) = (uint8_t)(LO8(eax)); /* 0x250E2219: mov byte ptr [ecx + 3], al */ 7358 ebp = POP32_VAL(esp); /* 0x250E221C: pop ebp */ 7359 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E221D: ret 4 */ 7360 RECOMP_REGS_OUT(); 7361 } 7362 7363 void sub_250E2220(void) { 7364 int _fpu_cmp = 0; 7365 uint32_t _cf = 0; 7366 int _df = 1; 7367 uint32_t _flag_k = FK_NONE; 7368 uint32_t _flag_a = 0, _flag_b = 0; 7369 uint32_t _itail_tgt = 0; 7370 RECOMP_REGS_LOCALS 7371 RECOMP_ENTER(0x250E2220u); 7372 7373 L_250E2220: 7374 PUSH32(esp, ebp); /* 0x250E2220: push ebp */ 7375 ebp = esp; /* 0x250E2221: mov ebp, esp */ 7376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7378 esp = esp - 0xCu; /* 0x250E2223: sub esp, 0xc */ 7379 _flag_k = FK_CMP; 7380 eax = MEM32(ebp + 0x8); /* 0x250E2226: mov eax, dword ptr [ebp + 8] */ 7381 PUSH32(esp, esi); /* 0x250E2229: push esi */ 7382 esi = ecx; /* 0x250E222A: mov esi, ecx */ 7383 ecx = MEM32(eax); /* 0x250E222C: mov ecx, dword ptr [eax] */ 7384 edx = MEM32(eax + 0x4); /* 0x250E222E: mov edx, dword ptr [eax + 4] */ 7385 eax = MEM32(eax + 0x8); /* 0x250E2231: mov eax, dword ptr [eax + 8] */ 7386 MEM32(ebp + (-0xC)) = ecx; /* 0x250E2234: mov dword ptr [ebp - 0xc], ecx */ 7387 ecx = MEM32(esi + 0x6C); /* 0x250E2237: mov ecx, dword ptr [esi + 0x6c] */ 7388 /* test ecx, ecx */ /* 0x250E223A: test ecx, ecx */ 7389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7390 _cf = 0; 7391 _flag_k = FK_TEST; 7392 MEM32(ebp + (-0x8)) = edx; /* 0x250E223C: mov dword ptr [ebp - 8], edx */ 7393 MEM32(ebp + (-0x4)) = eax; /* 0x250E223F: mov dword ptr [ebp - 4], eax */ 7394 if (TEST_Z(_flag_a, _flag_b)) goto L_250E22AD; /* 0x250E2242: je 0x250e22ad */ 7395 L_250E2244: 7396 RECOMP_ICALL(0x250E2EC0u); /* 0x250E2244: call 0x250e2ec0 */ /* not lifted */ 7397 RECOMP_FLAGS_IN(); 7398 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2249: fld dword ptr [ebp - 0xc] */ 7399 _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x250E224C: fsub dword ptr [eax + 0x30] */ 7400 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E224F: fld dword ptr [ebp - 8] */ 7401 _st[0] -= (double)*(float*)ADDR(eax + 0x34); /* 0x250E2252: fsub dword ptr [eax + 0x34] */ 7402 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E2255: fstp dword ptr [ebp - 8] */ 7403 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2258: fld dword ptr [ebp - 4] */ 7404 _st[0] -= (double)*(float*)ADDR(eax + 0x38); /* 0x250E225B: fsub dword ptr [eax + 0x38] */ 7405 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E225E: fst dword ptr [ebp - 4] */ 7406 _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x250E2261: fmul dword ptr [eax + 0x18] */ 7407 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2264: fld dword ptr [ebp - 8] */ 7408 _st[0] *= (double)*(float*)ADDR(eax + 0x14); /* 0x250E2267: fmul dword ptr [eax + 0x14] */ 7409 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E226A: faddp st(1) */ 7410 fp_push(_st[1]); /* 0x250E226C: fld st(1) */ 7411 _st[0] *= (double)*(float*)ADDR(eax + 0x10); /* 0x250E226E: fmul dword ptr [eax + 0x10] */ 7412 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2271: faddp st(1) */ 7413 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2273: fld dword ptr [ebp - 4] */ 7414 _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x250E2276: fmul dword ptr [eax + 0x28] */ 7415 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2279: fld dword ptr [ebp - 8] */ 7416 _st[0] *= (double)*(float*)ADDR(eax + 0x24); /* 0x250E227C: fmul dword ptr [eax + 0x24] */ 7417 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E227F: faddp st(1) */ 7418 fp_push(_st[2]); /* 0x250E2281: fld st(2) */ 7419 _st[0] *= (double)*(float*)ADDR(eax + 0x20); /* 0x250E2283: fmul dword ptr [eax + 0x20] */ 7420 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2286: faddp st(1) */ 7421 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250E2288: fstp dword ptr [ebp + 8] */ 7422 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E228B: fld dword ptr [ebp - 4] */ 7423 ecx = MEM32(ebp + 0x8); /* 0x250E228E: mov ecx, dword ptr [ebp + 8] */ 7424 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250E2291: fmul dword ptr [eax + 8] */ 7425 MEM32(ebp + (-0x4)) = ecx; /* 0x250E2294: mov dword ptr [ebp - 4], ecx */ 7426 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2297: fld dword ptr [ebp - 8] */ 7427 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x250E229A: fmul dword ptr [eax + 4] */ 7428 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E229D: faddp st(1) */ 7429 fp_xch(2); /* 0x250E229F: fxch st(2) */ 7430 _st[0] *= (double)*(float*)ADDR(eax); /* 0x250E22A1: fmul dword ptr [eax] */ 7431 { double _v = fp_pop(); _st[1] += _v; } /* 0x250E22A3: faddp st(2) */ 7432 fp_xch(1); /* 0x250E22A5: fxch st(1) */ 7433 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E22A7: fstp dword ptr [ebp - 0xc] */ 7434 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E22AA: fstp dword ptr [ebp - 8] */ 7435 L_250E22AD: 7436 ecx = MEM32(ebp + 0xC); /* 0x250E22AD: mov ecx, dword ptr [ebp + 0xc] */ 7437 /* test ecx, ecx */ /* 0x250E22B0: test ecx, ecx */ 7438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7439 _cf = 0; 7440 _flag_k = FK_TEST; 7441 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2312; /* 0x250E22B2: je 0x250e2312 */ 7442 L_250E22B4: 7443 RECOMP_ICALL(0x250E2EC0u); /* 0x250E22B4: call 0x250e2ec0 */ /* not lifted */ 7444 RECOMP_FLAGS_IN(); 7445 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E22B9: fld dword ptr [ebp - 4] */ 7446 _st[0] *= (double)*(float*)ADDR(eax + 0x24); /* 0x250E22BC: fmul dword ptr [eax + 0x24] */ 7447 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E22BF: fld dword ptr [ebp - 8] */ 7448 _st[0] *= (double)*(float*)ADDR(eax + 0x14); /* 0x250E22C2: fmul dword ptr [eax + 0x14] */ 7449 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E22C5: faddp st(1) */ 7450 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E22C7: fld dword ptr [ebp - 0xc] */ 7451 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x250E22CA: fmul dword ptr [eax + 4] */ 7452 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E22CD: faddp st(1) */ 7453 _st[0] += (double)*(float*)ADDR(eax + 0x34); /* 0x250E22CF: fadd dword ptr [eax + 0x34] */ 7454 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E22D2: fld dword ptr [ebp - 4] */ 7455 _st[0] *= (double)*(float*)ADDR(eax + 0x28); /* 0x250E22D5: fmul dword ptr [eax + 0x28] */ 7456 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E22D8: fld dword ptr [ebp - 8] */ 7457 _st[0] *= (double)*(float*)ADDR(eax + 0x18); /* 0x250E22DB: fmul dword ptr [eax + 0x18] */ 7458 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E22DE: faddp st(1) */ 7459 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E22E0: fld dword ptr [ebp - 0xc] */ 7460 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250E22E3: fmul dword ptr [eax + 8] */ 7461 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E22E6: faddp st(1) */ 7462 _st[0] += (double)*(float*)ADDR(eax + 0x38); /* 0x250E22E8: fadd dword ptr [eax + 0x38] */ 7463 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x250E22EB: fstp dword ptr [ebp + 8] */ 7464 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E22EE: fld dword ptr [ebp - 4] */ 7465 edx = MEM32(ebp + 0x8); /* 0x250E22F1: mov edx, dword ptr [ebp + 8] */ 7466 _st[0] *= (double)*(float*)ADDR(eax + 0x20); /* 0x250E22F4: fmul dword ptr [eax + 0x20] */ 7467 MEM32(ebp + (-0x4)) = edx; /* 0x250E22F7: mov dword ptr [ebp - 4], edx */ 7468 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E22FA: fld dword ptr [ebp - 8] */ 7469 _st[0] *= (double)*(float*)ADDR(eax + 0x10); /* 0x250E22FD: fmul dword ptr [eax + 0x10] */ 7470 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2300: faddp st(1) */ 7471 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2302: fld dword ptr [ebp - 0xc] */ 7472 _st[0] *= (double)*(float*)ADDR(eax); /* 0x250E2305: fmul dword ptr [eax] */ 7473 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2307: faddp st(1) */ 7474 _st[0] += (double)*(float*)ADDR(eax + 0x30); /* 0x250E2309: fadd dword ptr [eax + 0x30] */ 7475 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E230C: fstp dword ptr [ebp - 0xc] */ 7476 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E230F: fstp dword ptr [ebp - 8] */ 7477 L_250E2312: 7478 ecx = MEM32(ebp + (-0xC)); /* 0x250E2312: mov ecx, dword ptr [ebp - 0xc] */ 7479 edx = MEM32(ebp + (-0x8)); /* 0x250E2315: mov edx, dword ptr [ebp - 8] */ 7480 eax = esi + 0x78; /* 0x250E2318: lea eax, [esi + 0x78] */ 7481 MEM32(eax) = ecx; /* 0x250E231B: mov dword ptr [eax], ecx */ 7482 ecx = MEM32(ebp + (-0x4)); /* 0x250E231D: mov ecx, dword ptr [ebp - 4] */ 7483 MEM32(eax + 0x4) = edx; /* 0x250E2320: mov dword ptr [eax + 4], edx */ 7484 edx = MEM32(esi); /* 0x250E2323: mov edx, dword ptr [esi] */ 7485 PUSH32(esp, 1); /* 0x250E2325: push 1 */ 7486 MEM32(eax + 0x8) = ecx; /* 0x250E2327: mov dword ptr [eax + 8], ecx */ 7487 PUSH32(esp, 1); /* 0x250E232A: push 1 */ 7488 ecx = esi; /* 0x250E232C: mov ecx, esi */ 7489 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E232E: call dword ptr [edx + 0x2c] */ 7490 RECOMP_FLAGS_IN(); 7491 esi = POP32_VAL(esp); /* 0x250E2331: pop esi */ 7492 esp = ebp; /* 0x250E2332: mov esp, ebp */ 7493 ebp = POP32_VAL(esp); /* 0x250E2334: pop ebp */ 7494 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2335: ret 8 */ 7495 RECOMP_REGS_OUT(); 7496 } 7497 7498 void sub_250E2340(void) { 7499 int _fpu_cmp = 0; 7500 uint32_t _cf = 0; 7501 int _df = 1; 7502 uint32_t _flag_k = FK_NONE; 7503 uint32_t _flag_a = 0, _flag_b = 0; 7504 uint32_t _itail_tgt = 0; 7505 RECOMP_REGS_LOCALS 7506 RECOMP_ENTER(0x250E2340u); 7507 7508 L_250E2340: 7509 PUSH32(esp, ebp); /* 0x250E2340: push ebp */ 7510 ebp = esp; /* 0x250E2341: mov ebp, esp */ 7511 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E2343: push -1 */ 7512 PUSH32(esp, 0x2514B299u); /* 0x250E2345: push 0x2514b299 */ 7513 eax = MEM32(FS_BASE + (0)); /* 0x250E234A: mov eax, dword ptr fs:[0] */ 7514 PUSH32(esp, eax); /* 0x250E2350: push eax */ 7515 MEM32(FS_BASE + (0)) = esp; /* 0x250E2351: mov dword ptr fs:[0], esp */ 7516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 7517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7518 esp = esp - 0x50u; /* 0x250E2358: sub esp, 0x50 */ 7519 _flag_k = FK_CMP; 7520 eax = MEM32(ebp + 0x8); /* 0x250E235B: mov eax, dword ptr [ebp + 8] */ 7521 PUSH32(esp, esi); /* 0x250E235E: push esi */ 7522 PUSH32(esp, edi); /* 0x250E235F: push edi */ 7523 esi = ecx; /* 0x250E2360: mov esi, ecx */ 7524 PUSH32(esp, eax); /* 0x250E2362: push eax */ 7525 ecx = ebp + (-0x5C); /* 0x250E2363: lea ecx, [ebp - 0x5c] */ 7526 RECOMP_ICALL(MEM32(0x25151520)); /* 0x250E2366: call dword ptr [0x25151520] */ 7527 RECOMP_FLAGS_IN(); 7528 ecx = MEM32(esi + 0x6C); /* 0x250E236C: mov ecx, dword ptr [esi + 0x6c] */ 7529 /* test ecx, ecx */ /* 0x250E236F: test ecx, ecx */ 7530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7531 _cf = 0; 7532 _flag_k = FK_TEST; 7533 edi = MEM32(0x25151578); /* 0x250E2371: mov edi, dword ptr [0x25151578] */ 7534 MEM32(ebp + (-0x4)) = 0; /* 0x250E2377: mov dword ptr [ebp - 4], 0 */ 7535 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2393; /* 0x250E237E: je 0x250e2393 */ 7536 L_250E2380: 7537 RECOMP_ICALL(0x250E2EC0u); /* 0x250E2380: call 0x250e2ec0 */ /* not lifted */ 7538 RECOMP_FLAGS_IN(); 7539 ecx = eax; /* 0x250E2385: mov ecx, eax */ 7540 RECOMP_ICALL(MEM32(0x25151534)); /* 0x250E2387: call dword ptr [0x25151534] */ 7541 RECOMP_FLAGS_IN(); 7542 PUSH32(esp, eax); /* 0x250E238D: push eax */ 7543 ecx = ebp + (-0x5C); /* 0x250E238E: lea ecx, [ebp - 0x5c] */ 7544 RECOMP_ICALL(edi); /* 0x250E2391: call edi */ 7545 RECOMP_FLAGS_IN(); 7546 L_250E2393: 7547 ecx = MEM32(ebp + 0xC); /* 0x250E2393: mov ecx, dword ptr [ebp + 0xc] */ 7548 /* test ecx, ecx */ /* 0x250E2396: test ecx, ecx */ 7549 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7550 _cf = 0; 7551 _flag_k = FK_TEST; 7552 if (TEST_Z(_flag_a, _flag_b)) goto L_250E23A5; /* 0x250E2398: je 0x250e23a5 */ 7553 L_250E239A: 7554 RECOMP_ICALL(0x250E2EC0u); /* 0x250E239A: call 0x250e2ec0 */ /* not lifted */ 7555 RECOMP_FLAGS_IN(); 7556 PUSH32(esp, eax); /* 0x250E239F: push eax */ 7557 ecx = ebp + (-0x5C); /* 0x250E23A0: lea ecx, [ebp - 0x5c] */ 7558 RECOMP_ICALL(edi); /* 0x250E23A3: call edi */ 7559 RECOMP_FLAGS_IN(); 7560 L_250E23A5: 7561 ecx = ebp + (-0x5C); /* 0x250E23A5: lea ecx, [ebp - 0x5c] */ 7562 PUSH32(esp, ecx); /* 0x250E23A8: push ecx */ 7563 ecx = ebp + (-0x1C); /* 0x250E23A9: lea ecx, [ebp - 0x1c] */ 7564 RECOMP_ICALL(MEM32(0x25151574)); /* 0x250E23AC: call dword ptr [0x25151574] */ 7565 RECOMP_FLAGS_IN(); 7566 ecx = MEM32(eax); /* 0x250E23B2: mov ecx, dword ptr [eax] */ 7567 edx = esi + 0x84; /* 0x250E23B4: lea edx, [esi + 0x84] */ 7568 MEM32(edx) = ecx; /* 0x250E23BA: mov dword ptr [edx], ecx */ 7569 ecx = MEM32(eax + 0x4); /* 0x250E23BC: mov ecx, dword ptr [eax + 4] */ 7570 MEM32(edx + 0x4) = ecx; /* 0x250E23BF: mov dword ptr [edx + 4], ecx */ 7571 ecx = MEM32(eax + 0x8); /* 0x250E23C2: mov ecx, dword ptr [eax + 8] */ 7572 MEM32(edx + 0x8) = ecx; /* 0x250E23C5: mov dword ptr [edx + 8], ecx */ 7573 eax = MEM32(eax + 0xC); /* 0x250E23C8: mov eax, dword ptr [eax + 0xc] */ 7574 PUSH32(esp, 1); /* 0x250E23CB: push 1 */ 7575 MEM32(edx + 0xC) = eax; /* 0x250E23CD: mov dword ptr [edx + 0xc], eax */ 7576 edx = MEM32(esi); /* 0x250E23D0: mov edx, dword ptr [esi] */ 7577 PUSH32(esp, 2); /* 0x250E23D2: push 2 */ 7578 ecx = esi; /* 0x250E23D4: mov ecx, esi */ 7579 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E23D6: call dword ptr [edx + 0x2c] */ 7580 RECOMP_FLAGS_IN(); 7581 ecx = MEM32(ebp + (-0xC)); /* 0x250E23D9: mov ecx, dword ptr [ebp - 0xc] */ 7582 edi = POP32_VAL(esp); /* 0x250E23DC: pop edi */ 7583 esi = POP32_VAL(esp); /* 0x250E23DD: pop esi */ 7584 MEM32(FS_BASE + (0)) = ecx; /* 0x250E23DE: mov dword ptr fs:[0], ecx */ 7585 esp = ebp; /* 0x250E23E5: mov esp, ebp */ 7586 ebp = POP32_VAL(esp); /* 0x250E23E7: pop ebp */ 7587 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E23E8: ret 8 */ 7588 RECOMP_REGS_OUT(); 7589 } 7590 7591 void sub_250E23F0(void) { 7592 int _fpu_cmp = 0; 7593 uint32_t _cf = 0; 7594 int _df = 1; 7595 uint32_t _flag_k = FK_NONE; 7596 uint32_t _flag_a = 0, _flag_b = 0; 7597 uint32_t _itail_tgt = 0; 7598 RECOMP_REGS_LOCALS 7599 RECOMP_ENTER(0x250E23F0u); 7600 7601 L_250E23F0: 7602 PUSH32(esp, ebp); /* 0x250E23F0: push ebp */ 7603 ebp = esp; /* 0x250E23F1: mov ebp, esp */ 7604 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 7605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7606 esp = esp - 0x34u; /* 0x250E23F3: sub esp, 0x34 */ 7607 _flag_k = FK_CMP; 7608 eax = MEM32(0x25238B90); /* 0x250E23F6: mov eax, dword ptr [0x25238b90] */ 7609 edx = MEM32(0x25238B7C); /* 0x250E23FB: mov edx, dword ptr [0x25238b7c] */ 7610 PUSH32(esp, ebx); /* 0x250E2401: push ebx */ 7611 PUSH32(esp, esi); /* 0x250E2402: push esi */ 7612 esi = ecx; /* 0x250E2403: mov esi, ecx */ 7613 ecx = MEM32(0x25238B78); /* 0x250E2405: mov ecx, dword ptr [0x25238b78] */ 7614 MEM32(ebp + (-0x24)) = ecx; /* 0x250E240B: mov dword ptr [ebp - 0x24], ecx */ 7615 ecx = MEM32(ebp + 0x8); /* 0x250E240E: mov ecx, dword ptr [ebp + 8] */ 7616 MEM32(ebp + (-0x10)) = eax; /* 0x250E2411: mov dword ptr [ebp - 0x10], eax */ 7617 eax = MEM32(0x25238B80); /* 0x250E2414: mov eax, dword ptr [0x25238b80] */ 7618 MEM32(ebp + (-0x20)) = edx; /* 0x250E2419: mov dword ptr [ebp - 0x20], edx */ 7619 edx = MEM32(ecx); /* 0x250E241C: mov edx, dword ptr [ecx] */ 7620 MEM32(ebp + (-0x1C)) = eax; /* 0x250E241E: mov dword ptr [ebp - 0x1c], eax */ 7621 eax = MEM32(ecx + 0x4); /* 0x250E2421: mov eax, dword ptr [ecx + 4] */ 7622 ecx = MEM32(ecx + 0x8); /* 0x250E2424: mov ecx, dword ptr [ecx + 8] */ 7623 MEM32(ebp + (-0x4)) = ecx; /* 0x250E2427: mov dword ptr [ebp - 4], ecx */ 7624 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E242A: fld dword ptr [ebp - 4] */ 7625 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E242D: fmul dword ptr [ebp - 4] */ 7626 MEM32(ebp + (-0xC)) = edx; /* 0x250E2430: mov dword ptr [ebp - 0xc], edx */ 7627 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2433: fld dword ptr [ebp - 0xc] */ 7628 MEM32(ebp + (-0x8)) = eax; /* 0x250E2436: mov dword ptr [ebp - 8], eax */ 7629 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2439: fmul dword ptr [ebp - 0xc] */ 7630 ebx = MEM32(0x25238B8C); /* 0x250E243C: mov ebx, dword ptr [0x25238b8c] */ 7631 PUSH32(esp, edi); /* 0x250E2442: push edi */ 7632 edi = MEM32(0x25238B88); /* 0x250E2443: mov edi, dword ptr [0x25238b88] */ 7633 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2449: faddp st(1) */ 7634 PUSH32(esp, ecx); /* 0x250E244B: push ecx */ 7635 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E244C: fld dword ptr [ebp - 8] */ 7636 ecx = ebp + (-0xC); /* 0x250E244F: lea ecx, [ebp - 0xc] */ 7637 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2452: fmul dword ptr [ebp - 8] */ 7638 MEM32(ebp + (-0x18)) = edi; /* 0x250E2455: mov dword ptr [ebp - 0x18], edi */ 7639 MEM32(ebp + (-0x14)) = ebx; /* 0x250E2458: mov dword ptr [ebp - 0x14], ebx */ 7640 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E245B: faddp st(1) */ 7641 _st[0] = sqrt(_st[0]); /* 0x250E245D: fsqrt */ 7642 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250E245F: fdivr dword ptr [0x251517a4] */ 7643 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2465: fstp dword ptr [esp] */ 7644 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E2468: call dword ptr [0x25151510] */ 7645 RECOMP_FLAGS_IN(); 7646 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250E246E: fld dword ptr [ebp - 0x18] */ 7647 _st[0] = -_st[0]; /* 0x250E2471: fchs */ 7648 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2473: fld dword ptr [ebp - 0x14] */ 7649 _st[0] = -_st[0]; /* 0x250E2476: fchs */ 7650 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250E2478: fstp dword ptr [ebp - 0x2c] */ 7651 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E247B: fld dword ptr [ebp - 0x10] */ 7652 _st[0] = -_st[0]; /* 0x250E247E: fchs */ 7653 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E2480: fstp dword ptr [ebp - 0x28] */ 7654 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xC))); /* 0x250E2483: fcomp dword ptr [ebp - 0xc] */ 7655 fp_pop(); 7656 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2486: fnstsw ax */ 7657 /* test HI8(eax), 0x40u */ /* 0x250E2488: test ah, 0x40 */ 7658 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7659 _cf = 0; 7660 _flag_k = FK_NARROW(FK_TEST, 24); 7661 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2505; /* 0x250E248B: je 0x250e2505 */ 7662 L_250E248D: 7663 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E248D: fld dword ptr [ebp - 0x2c] */ 7664 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x250E2490: fcomp dword ptr [ebp - 8] */ 7665 fp_pop(); 7666 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2493: fnstsw ax */ 7667 /* test HI8(eax), 0x40u */ /* 0x250E2495: test ah, 0x40 */ 7668 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7669 _cf = 0; 7670 _flag_k = FK_NARROW(FK_TEST, 24); 7671 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2505; /* 0x250E2498: je 0x250e2505 */ 7672 L_250E249A: 7673 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E249A: fld dword ptr [ebp - 0x28] */ 7674 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250E249D: fcomp dword ptr [ebp - 4] */ 7675 fp_pop(); 7676 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E24A0: fnstsw ax */ 7677 /* test HI8(eax), 0x40u */ /* 0x250E24A2: test ah, 0x40 */ 7678 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7679 _cf = 0; 7680 _flag_k = FK_NARROW(FK_TEST, 24); 7681 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2505; /* 0x250E24A5: je 0x250e2505 */ 7682 L_250E24A7: 7683 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E24A7: fld qword ptr [0x25154718] */ 7684 edx = esi + 0x84; /* 0x250E24AD: lea edx, [esi + 0x84] */ 7685 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250E24B3: fsin */ 7686 PUSH32(esp, 1); /* 0x250E24B5: push 1 */ 7687 PUSH32(esp, 2); /* 0x250E24B7: push 2 */ 7688 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250E24B9: fld dword ptr [ebp - 0x24] */ 7689 _st[0] *= _st[1]; /* 0x250E24BC: fmul st(1) */ 7690 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x250E24BE: fstp dword ptr [ebp - 0x34] */ 7691 eax = MEM32(ebp + (-0x34)); /* 0x250E24C1: mov eax, dword ptr [ebp - 0x34] */ 7692 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E24C4: fld dword ptr [ebp - 0x20] */ 7693 MEM32(edx) = eax; /* 0x250E24C7: mov dword ptr [edx], eax */ 7694 _st[0] *= _st[1]; /* 0x250E24C9: fmul st(1) */ 7695 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250E24CB: fstp dword ptr [ebp - 0x30] */ 7696 ecx = MEM32(ebp + (-0x30)); /* 0x250E24CE: mov ecx, dword ptr [ebp - 0x30] */ 7697 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E24D1: fld dword ptr [ebp - 0x1c] */ 7698 MEM32(edx + 0x4) = ecx; /* 0x250E24D4: mov dword ptr [edx + 4], ecx */ 7699 _st[0] *= _st[1]; /* 0x250E24D7: fmul st(1) */ 7700 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250E24D9: fstp dword ptr [ebp - 0x2c] */ 7701 eax = MEM32(ebp + (-0x2C)); /* 0x250E24DC: mov eax, dword ptr [ebp - 0x2c] */ 7702 MEM32(edx + 0x8) = eax; /* 0x250E24DF: mov dword ptr [edx + 8], eax */ 7703 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E24E2: fstp st(0) */ 7704 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E24E4: fld qword ptr [0x25154718] */ 7705 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250E24EA: fcos */ 7706 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E24EC: fstp dword ptr [ebp - 0x28] */ 7707 ecx = MEM32(ebp + (-0x28)); /* 0x250E24EF: mov ecx, dword ptr [ebp - 0x28] */ 7708 MEM32(edx + 0xC) = ecx; /* 0x250E24F2: mov dword ptr [edx + 0xc], ecx */ 7709 edx = MEM32(esi); /* 0x250E24F5: mov edx, dword ptr [esi] */ 7710 ecx = esi; /* 0x250E24F7: mov ecx, esi */ 7711 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E24F9: call dword ptr [edx + 0x2c] */ 7712 RECOMP_FLAGS_IN(); 7713 edi = POP32_VAL(esp); /* 0x250E24FC: pop edi */ 7714 esi = POP32_VAL(esp); /* 0x250E24FD: pop esi */ 7715 ebx = POP32_VAL(esp); /* 0x250E24FE: pop ebx */ 7716 esp = ebp; /* 0x250E24FF: mov esp, ebp */ 7717 ebp = POP32_VAL(esp); /* 0x250E2501: pop ebp */ 7718 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E2502: ret 4 */ 7719 L_250E2505: 7720 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2505: fld dword ptr [ebp - 0xc] */ 7721 eax = MEM32(ebp + (-0x10)); /* 0x250E2508: mov eax, dword ptr [ebp - 0x10] */ 7722 _st[0] += (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E250B: fadd dword ptr [ebp - 0x18] */ 7723 MEM32(ebp + (-0x24)) = edi; /* 0x250E250E: mov dword ptr [ebp - 0x24], edi */ 7724 MEM32(ebp + (-0x20)) = ebx; /* 0x250E2511: mov dword ptr [ebp - 0x20], ebx */ 7725 MEM32(ebp + (-0x1C)) = eax; /* 0x250E2514: mov dword ptr [ebp - 0x1c], eax */ 7726 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E2517: fstp dword ptr [ebp - 0x24] */ 7727 ecx = MEM32(ebp + (-0x24)); /* 0x250E251A: mov ecx, dword ptr [ebp - 0x24] */ 7728 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E251D: fld dword ptr [ebp - 0x20] */ 7729 MEM32(ebp + (-0xC)) = ecx; /* 0x250E2520: mov dword ptr [ebp - 0xc], ecx */ 7730 _st[0] += (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2523: fadd dword ptr [ebp - 8] */ 7731 ecx = ebp + (-0xC); /* 0x250E2526: lea ecx, [ebp - 0xc] */ 7732 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E2529: fstp dword ptr [ebp - 0x20] */ 7733 edx = MEM32(ebp + (-0x20)); /* 0x250E252C: mov edx, dword ptr [ebp - 0x20] */ 7734 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E252F: fld dword ptr [ebp - 0x1c] */ 7735 MEM32(ebp + (-0x8)) = edx; /* 0x250E2532: mov dword ptr [ebp - 8], edx */ 7736 _st[0] += (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E2535: fadd dword ptr [ebp - 4] */ 7737 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E2538: fstp dword ptr [ebp - 0x1c] */ 7738 eax = MEM32(ebp + (-0x1C)); /* 0x250E253B: mov eax, dword ptr [ebp - 0x1c] */ 7739 MEM32(ebp + (-0x4)) = eax; /* 0x250E253E: mov dword ptr [ebp - 4], eax */ 7740 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E2541: call dword ptr [0x2515150c] */ 7741 RECOMP_FLAGS_IN(); 7742 fp_push(_st[0]); /* 0x250E2547: fld st(0) */ 7743 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2549: fmul dword ptr [ebp - 0xc] */ 7744 ecx = esi + 0x84; /* 0x250E254C: lea ecx, [esi + 0x84] */ 7745 PUSH32(esp, 1); /* 0x250E2552: push 1 */ 7746 PUSH32(esp, 2); /* 0x250E2554: push 2 */ 7747 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E2556: fstp dword ptr [ebp - 0xc] */ 7748 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2559: fld dword ptr [ebp - 8] */ 7749 _st[0] *= _st[1]; /* 0x250E255C: fmul st(1) */ 7750 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E255E: fstp dword ptr [ebp - 8] */ 7751 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2561: fld dword ptr [ebp - 4] */ 7752 _st[0] *= _st[1]; /* 0x250E2564: fmul st(1) */ 7753 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E2566: fstp dword ptr [ebp - 4] */ 7754 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2569: fstp st(0) */ 7755 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E256B: fld dword ptr [ebp - 0x14] */ 7756 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E256E: fmul dword ptr [ebp - 4] */ 7757 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2571: fld dword ptr [ebp - 0x10] */ 7758 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2574: fmul dword ptr [ebp - 8] */ 7759 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2577: fsubp st(1) */ 7760 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x250E2579: fstp dword ptr [ebp - 0x34] */ 7761 edx = MEM32(ebp + (-0x34)); /* 0x250E257C: mov edx, dword ptr [ebp - 0x34] */ 7762 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E257F: fld dword ptr [ebp - 0x10] */ 7763 MEM32(ecx) = edx; /* 0x250E2582: mov dword ptr [ecx], edx */ 7764 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2584: fmul dword ptr [ebp - 0xc] */ 7765 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2587: fld dword ptr [ebp - 4] */ 7766 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E258A: fmul dword ptr [ebp - 0x18] */ 7767 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E258D: fsubp st(1) */ 7768 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250E258F: fstp dword ptr [ebp - 0x30] */ 7769 eax = MEM32(ebp + (-0x30)); /* 0x250E2592: mov eax, dword ptr [ebp - 0x30] */ 7770 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2595: fld dword ptr [ebp - 8] */ 7771 MEM32(ecx + 0x4) = eax; /* 0x250E2598: mov dword ptr [ecx + 4], eax */ 7772 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E259B: fmul dword ptr [ebp - 0x18] */ 7773 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E259E: fld dword ptr [ebp - 0x14] */ 7774 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E25A1: fmul dword ptr [ebp - 0xc] */ 7775 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E25A4: fsubp st(1) */ 7776 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250E25A6: fstp dword ptr [ebp - 0x2c] */ 7777 edx = MEM32(ebp + (-0x2C)); /* 0x250E25A9: mov edx, dword ptr [ebp - 0x2c] */ 7778 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E25AC: fld dword ptr [ebp - 0x10] */ 7779 MEM32(ecx + 0x8) = edx; /* 0x250E25AF: mov dword ptr [ecx + 8], edx */ 7780 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E25B2: fmul dword ptr [ebp - 4] */ 7781 edx = MEM32(esi); /* 0x250E25B5: mov edx, dword ptr [esi] */ 7782 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E25B7: fld dword ptr [ebp - 0x14] */ 7783 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E25BA: fmul dword ptr [ebp - 8] */ 7784 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E25BD: faddp st(1) */ 7785 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E25BF: fld dword ptr [ebp - 0xc] */ 7786 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E25C2: fmul dword ptr [ebp - 0x18] */ 7787 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E25C5: faddp st(1) */ 7788 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E25C7: fstp dword ptr [ebp - 0x28] */ 7789 eax = MEM32(ebp + (-0x28)); /* 0x250E25CA: mov eax, dword ptr [ebp - 0x28] */ 7790 MEM32(ecx + 0xC) = eax; /* 0x250E25CD: mov dword ptr [ecx + 0xc], eax */ 7791 ecx = esi; /* 0x250E25D0: mov ecx, esi */ 7792 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E25D2: call dword ptr [edx + 0x2c] */ 7793 RECOMP_FLAGS_IN(); 7794 edi = POP32_VAL(esp); /* 0x250E25D5: pop edi */ 7795 esi = POP32_VAL(esp); /* 0x250E25D6: pop esi */ 7796 ebx = POP32_VAL(esp); /* 0x250E25D7: pop ebx */ 7797 esp = ebp; /* 0x250E25D8: mov esp, ebp */ 7798 ebp = POP32_VAL(esp); /* 0x250E25DA: pop ebp */ 7799 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E25DB: ret 4 */ 7800 RECOMP_REGS_OUT(); 7801 } 7802 7803 void sub_250E25E0(void) { 7804 int _fpu_cmp = 0; 7805 uint32_t _cf = 0; 7806 int _df = 1; 7807 uint32_t _flag_k = FK_NONE; 7808 uint32_t _flag_a = 0, _flag_b = 0; 7809 uint32_t _itail_tgt = 0; 7810 RECOMP_REGS_LOCALS 7811 RECOMP_ENTER(0x250E25E0u); 7812 7813 L_250E25E0: 7814 PUSH32(esp, ebp); /* 0x250E25E0: push ebp */ 7815 ebp = esp; /* 0x250E25E1: mov ebp, esp */ 7816 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 7817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7818 esp = esp - 0x58u; /* 0x250E25E3: sub esp, 0x58 */ 7819 _flag_k = FK_CMP; 7820 eax = MEM32(0x25238B88); /* 0x250E25E6: mov eax, dword ptr [0x25238b88] */ 7821 edx = MEM32(0x25238B90); /* 0x250E25EB: mov edx, dword ptr [0x25238b90] */ 7822 PUSH32(esp, esi); /* 0x250E25F1: push esi */ 7823 MEM32(ebp + (-0x18)) = eax; /* 0x250E25F2: mov dword ptr [ebp - 0x18], eax */ 7824 eax = MEM32(0x25238B78); /* 0x250E25F5: mov eax, dword ptr [0x25238b78] */ 7825 PUSH32(esp, edi); /* 0x250E25FA: push edi */ 7826 edi = ecx; /* 0x250E25FB: mov edi, ecx */ 7827 ecx = MEM32(0x25238B8C); /* 0x250E25FD: mov ecx, dword ptr [0x25238b8c] */ 7828 MEM32(ebp + (-0x14)) = ecx; /* 0x250E2603: mov dword ptr [ebp - 0x14], ecx */ 7829 ecx = MEM32(0x25238B7C); /* 0x250E2606: mov ecx, dword ptr [0x25238b7c] */ 7830 MEM32(ebp + (-0x3C)) = eax; /* 0x250E260C: mov dword ptr [ebp - 0x3c], eax */ 7831 eax = MEM32(ebp + 0x8); /* 0x250E260F: mov eax, dword ptr [ebp + 8] */ 7832 MEM32(ebp + (-0x10)) = edx; /* 0x250E2612: mov dword ptr [ebp - 0x10], edx */ 7833 edx = MEM32(0x25238B80); /* 0x250E2615: mov edx, dword ptr [0x25238b80] */ 7834 MEM32(ebp + (-0x38)) = ecx; /* 0x250E261B: mov dword ptr [ebp - 0x38], ecx */ 7835 ecx = MEM32(eax); /* 0x250E261E: mov ecx, dword ptr [eax] */ 7836 MEM32(ebp + (-0x34)) = edx; /* 0x250E2620: mov dword ptr [ebp - 0x34], edx */ 7837 edx = MEM32(eax + 0x4); /* 0x250E2623: mov edx, dword ptr [eax + 4] */ 7838 eax = MEM32(eax + 0x8); /* 0x250E2626: mov eax, dword ptr [eax + 8] */ 7839 MEM32(ebp + (-0xC)) = ecx; /* 0x250E2629: mov dword ptr [ebp - 0xc], ecx */ 7840 ecx = ebp + (-0xC); /* 0x250E262C: lea ecx, [ebp - 0xc] */ 7841 MEM32(ebp + (-0x8)) = edx; /* 0x250E262F: mov dword ptr [ebp - 8], edx */ 7842 MEM32(ebp + (-0x4)) = eax; /* 0x250E2632: mov dword ptr [ebp - 4], eax */ 7843 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E2635: call dword ptr [0x2515150c] */ 7844 RECOMP_FLAGS_IN(); 7845 PUSH32(esp, ecx); /* 0x250E263B: push ecx */ 7846 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E263C: fstp dword ptr [esp] */ 7847 ecx = ebp + (-0xC); /* 0x250E263F: lea ecx, [ebp - 0xc] */ 7848 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E2642: call dword ptr [0x25151510] */ 7849 RECOMP_FLAGS_IN(); 7850 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2648: fld dword ptr [ebp - 8] */ 7851 eax = MEM32(ebp + 0xC); /* 0x250E264B: mov eax, dword ptr [ebp + 0xc] */ 7852 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x250E264E: fmul dword ptr [eax + 4] */ 7853 ecx = MEM32(ebp + (-0xC)); /* 0x250E2651: mov ecx, dword ptr [ebp - 0xc] */ 7854 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2654: fld dword ptr [ebp - 4] */ 7855 edx = MEM32(ebp + (-0x8)); /* 0x250E2657: mov edx, dword ptr [ebp - 8] */ 7856 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250E265A: fmul dword ptr [eax + 8] */ 7857 esi = MEM32(ebp + (-0x4)); /* 0x250E265D: mov esi, dword ptr [ebp - 4] */ 7858 MEM32(ebp + (-0x24)) = ecx; /* 0x250E2660: mov dword ptr [ebp - 0x24], ecx */ 7859 MEM32(ebp + (-0x20)) = edx; /* 0x250E2663: mov dword ptr [ebp - 0x20], edx */ 7860 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2666: faddp st(1) */ 7861 MEM32(ebp + (-0x1C)) = esi; /* 0x250E2668: mov dword ptr [ebp - 0x1c], esi */ 7862 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E266B: fld dword ptr [ebp - 0xc] */ 7863 MEM32(ebp + (-0x48)) = ecx; /* 0x250E266E: mov dword ptr [ebp - 0x48], ecx */ 7864 _st[0] *= (double)*(float*)ADDR(eax); /* 0x250E2671: fmul dword ptr [eax] */ 7865 MEM32(ebp + (-0x44)) = edx; /* 0x250E2673: mov dword ptr [ebp - 0x44], edx */ 7866 MEM32(ebp + (-0x40)) = esi; /* 0x250E2676: mov dword ptr [ebp - 0x40], esi */ 7867 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2679: faddp st(1) */ 7868 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E267B: fld dword ptr [ebp - 0xc] */ 7869 _st[0] *= _st[1]; /* 0x250E267E: fmul st(1) */ 7870 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E2680: fstp dword ptr [ebp - 0x24] */ 7871 ecx = MEM32(ebp + (-0x24)); /* 0x250E2683: mov ecx, dword ptr [ebp - 0x24] */ 7872 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E2686: fld dword ptr [ebp - 0x20] */ 7873 MEM32(ebp + (-0x54)) = ecx; /* 0x250E2689: mov dword ptr [ebp - 0x54], ecx */ 7874 _st[0] *= _st[1]; /* 0x250E268C: fmul st(1) */ 7875 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E268E: fstp dword ptr [ebp - 0x20] */ 7876 edx = MEM32(ebp + (-0x20)); /* 0x250E2691: mov edx, dword ptr [ebp - 0x20] */ 7877 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E2694: fld dword ptr [ebp - 0x1c] */ 7878 MEM32(ebp + (-0x50)) = edx; /* 0x250E2697: mov dword ptr [ebp - 0x50], edx */ 7879 edx = MEM32(eax); /* 0x250E269A: mov edx, dword ptr [eax] */ 7880 _st[0] *= _st[1]; /* 0x250E269C: fmul st(1) */ 7881 MEM32(ebp + (-0x24)) = edx; /* 0x250E269E: mov dword ptr [ebp - 0x24], edx */ 7882 edx = MEM32(eax + 0x8); /* 0x250E26A1: mov edx, dword ptr [eax + 8] */ 7883 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E26A4: fstp dword ptr [ebp - 0x1c] */ 7884 ecx = MEM32(ebp + (-0x1C)); /* 0x250E26A7: mov ecx, dword ptr [ebp - 0x1c] */ 7885 MEM32(ebp + (-0x4C)) = ecx; /* 0x250E26AA: mov dword ptr [ebp - 0x4c], ecx */ 7886 ecx = MEM32(eax + 0x4); /* 0x250E26AD: mov ecx, dword ptr [eax + 4] */ 7887 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E26B0: fstp st(0) */ 7888 eax = ebp + (-0x54); /* 0x250E26B2: lea eax, [ebp - 0x54] */ 7889 MEM32(ebp + (-0x20)) = ecx; /* 0x250E26B5: mov dword ptr [ebp - 0x20], ecx */ 7890 PUSH32(esp, eax); /* 0x250E26B8: push eax */ 7891 ecx = ebp + (-0x24); /* 0x250E26B9: lea ecx, [ebp - 0x24] */ 7892 MEM32(ebp + (-0x1C)) = edx; /* 0x250E26BC: mov dword ptr [ebp - 0x1c], edx */ 7893 RECOMP_ICALL(MEM32(0x25151540)); /* 0x250E26BF: call dword ptr [0x25151540] */ 7894 RECOMP_FLAGS_IN(); 7895 ecx = MEM32(eax); /* 0x250E26C5: mov ecx, dword ptr [eax] */ 7896 MEM32(ebp + (-0xC)) = ecx; /* 0x250E26C7: mov dword ptr [ebp - 0xc], ecx */ 7897 edx = MEM32(eax + 0x4); /* 0x250E26CA: mov edx, dword ptr [eax + 4] */ 7898 MEM32(ebp + (-0x8)) = edx; /* 0x250E26CD: mov dword ptr [ebp - 8], edx */ 7899 eax = MEM32(eax + 0x8); /* 0x250E26D0: mov eax, dword ptr [eax + 8] */ 7900 MEM32(ebp + (-0x4)) = eax; /* 0x250E26D3: mov dword ptr [ebp - 4], eax */ 7901 ecx = ebp + (-0xC); /* 0x250E26D6: lea ecx, [ebp - 0xc] */ 7902 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E26D9: call dword ptr [0x2515150c] */ 7903 RECOMP_FLAGS_IN(); 7904 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E26DF: fld dword ptr [ebp - 0xc] */ 7905 _st[0] *= _st[1]; /* 0x250E26E2: fmul st(1) */ 7906 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E26E4: fstp dword ptr [ebp - 0xc] */ 7907 ecx = MEM32(ebp + (-0xC)); /* 0x250E26E7: mov ecx, dword ptr [ebp - 0xc] */ 7908 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E26EA: fld dword ptr [ebp - 8] */ 7909 MEM32(ebp + (-0x30)) = ecx; /* 0x250E26ED: mov dword ptr [ebp - 0x30], ecx */ 7910 _st[0] *= _st[1]; /* 0x250E26F0: fmul st(1) */ 7911 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E26F2: fstp dword ptr [ebp - 8] */ 7912 edx = MEM32(ebp + (-0x8)); /* 0x250E26F5: mov edx, dword ptr [ebp - 8] */ 7913 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E26F8: fld dword ptr [ebp - 4] */ 7914 MEM32(ebp + (-0x2C)) = edx; /* 0x250E26FB: mov dword ptr [ebp - 0x2c], edx */ 7915 _st[0] *= _st[1]; /* 0x250E26FE: fmul st(1) */ 7916 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E2700: fstp dword ptr [ebp - 4] */ 7917 eax = MEM32(ebp + (-0x4)); /* 0x250E2703: mov eax, dword ptr [ebp - 4] */ 7918 MEM32(ebp + (-0x28)) = eax; /* 0x250E2706: mov dword ptr [ebp - 0x28], eax */ 7919 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2709: fstp st(0) */ 7920 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E270B: fld dword ptr [ebp - 0xc] */ 7921 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250E270E: fcomp dword ptr [0x2515177c] */ 7922 fp_pop(); 7923 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2714: fnstsw ax */ 7924 /* test HI8(eax), 0x40u */ /* 0x250E2716: test ah, 0x40 */ 7925 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7926 _cf = 0; 7927 _flag_k = FK_NARROW(FK_TEST, 24); 7928 if (TEST_Z(_flag_a, _flag_b)) goto L_250E274D; /* 0x250E2719: je 0x250e274d */ 7929 L_250E271B: 7930 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E271B: fld dword ptr [ebp - 8] */ 7931 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250E271E: fcomp dword ptr [0x2515177c] */ 7932 fp_pop(); 7933 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2724: fnstsw ax */ 7934 /* test HI8(eax), 0x40u */ /* 0x250E2726: test ah, 0x40 */ 7935 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7936 _cf = 0; 7937 _flag_k = FK_NARROW(FK_TEST, 24); 7938 if (TEST_Z(_flag_a, _flag_b)) goto L_250E274D; /* 0x250E2729: je 0x250e274d */ 7939 L_250E272B: 7940 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E272B: fld dword ptr [ebp - 4] */ 7941 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2515177C)); /* 0x250E272E: fcomp dword ptr [0x2515177c] */ 7942 fp_pop(); 7943 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2734: fnstsw ax */ 7944 /* test HI8(eax), 0x40u */ /* 0x250E2736: test ah, 0x40 */ 7945 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7946 _cf = 0; 7947 _flag_k = FK_NARROW(FK_TEST, 24); 7948 if (TEST_Z(_flag_a, _flag_b)) goto L_250E274D; /* 0x250E2739: je 0x250e274d */ 7949 L_250E273B: 7950 ecx = MEM32(ebp + (-0x3C)); /* 0x250E273B: mov ecx, dword ptr [ebp - 0x3c] */ 7951 edx = MEM32(ebp + (-0x38)); /* 0x250E273E: mov edx, dword ptr [ebp - 0x38] */ 7952 eax = MEM32(ebp + (-0x34)); /* 0x250E2741: mov eax, dword ptr [ebp - 0x34] */ 7953 MEM32(ebp + (-0x30)) = ecx; /* 0x250E2744: mov dword ptr [ebp - 0x30], ecx */ 7954 MEM32(ebp + (-0x2C)) = edx; /* 0x250E2747: mov dword ptr [ebp - 0x2c], edx */ 7955 MEM32(ebp + (-0x28)) = eax; /* 0x250E274A: mov dword ptr [ebp - 0x28], eax */ 7956 L_250E274D: 7957 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250E274D: fld dword ptr [ebp - 0x18] */ 7958 _st[0] = -_st[0]; /* 0x250E2750: fchs */ 7959 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2752: fld dword ptr [ebp - 0x14] */ 7960 _st[0] = -_st[0]; /* 0x250E2755: fchs */ 7961 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250E2757: fstp dword ptr [ebp - 0x50] */ 7962 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E275A: fld dword ptr [ebp - 0x10] */ 7963 _st[0] = -_st[0]; /* 0x250E275D: fchs */ 7964 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250E275F: fstp dword ptr [ebp - 0x4c] */ 7965 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x48))); /* 0x250E2762: fcomp dword ptr [ebp - 0x48] */ 7966 fp_pop(); 7967 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2765: fnstsw ax */ 7968 /* test HI8(eax), 0x40u */ /* 0x250E2767: test ah, 0x40 */ 7969 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7970 _cf = 0; 7971 _flag_k = FK_NARROW(FK_TEST, 24); 7972 if (TEST_Z(_flag_a, _flag_b)) goto L_250E27D4; /* 0x250E276A: je 0x250e27d4 */ 7973 L_250E276C: 7974 fp_push(*(float*)&MEM32(ebp + (-0x50))); /* 0x250E276C: fld dword ptr [ebp - 0x50] */ 7975 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x44))); /* 0x250E276F: fcomp dword ptr [ebp - 0x44] */ 7976 fp_pop(); 7977 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2772: fnstsw ax */ 7978 /* test HI8(eax), 0x40u */ /* 0x250E2774: test ah, 0x40 */ 7979 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7980 _cf = 0; 7981 _flag_k = FK_NARROW(FK_TEST, 24); 7982 if (TEST_Z(_flag_a, _flag_b)) goto L_250E27D4; /* 0x250E2777: je 0x250e27d4 */ 7983 L_250E2779: 7984 fp_push(*(float*)&MEM32(ebp + (-0x4C))); /* 0x250E2779: fld dword ptr [ebp - 0x4c] */ 7985 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x40))); /* 0x250E277C: fcomp dword ptr [ebp - 0x40] */ 7986 fp_pop(); 7987 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E277F: fnstsw ax */ 7988 /* test HI8(eax), 0x40u */ /* 0x250E2781: test ah, 0x40 */ 7989 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 7990 _cf = 0; 7991 _flag_k = FK_NARROW(FK_TEST, 24); 7992 if (TEST_Z(_flag_a, _flag_b)) goto L_250E27D4; /* 0x250E2784: je 0x250e27d4 */ 7993 L_250E2786: 7994 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E2786: fld qword ptr [0x25154718] */ 7995 esi = edi + 0x84; /* 0x250E278C: lea esi, [edi + 0x84] */ 7996 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250E2792: fsin */ 7997 ecx = esi; /* 0x250E2794: mov ecx, esi */ 7998 fp_push(_st[0]); /* 0x250E2796: fld st(0) */ 7999 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250E2798: fmul dword ptr [ebp - 0x30] */ 8000 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250E279B: fstp dword ptr [ebp - 0x58] */ 8001 edx = MEM32(ebp + (-0x58)); /* 0x250E279E: mov edx, dword ptr [ebp - 0x58] */ 8002 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E27A1: fld dword ptr [ebp - 0x2c] */ 8003 MEM32(ecx) = edx; /* 0x250E27A4: mov dword ptr [ecx], edx */ 8004 _st[0] *= _st[1]; /* 0x250E27A6: fmul st(1) */ 8005 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250E27A8: fstp dword ptr [ebp - 0x54] */ 8006 eax = MEM32(ebp + (-0x54)); /* 0x250E27AB: mov eax, dword ptr [ebp - 0x54] */ 8007 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E27AE: fld dword ptr [ebp - 0x28] */ 8008 MEM32(ecx + 0x4) = eax; /* 0x250E27B1: mov dword ptr [ecx + 4], eax */ 8009 _st[0] *= _st[1]; /* 0x250E27B4: fmul st(1) */ 8010 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250E27B6: fstp dword ptr [ebp - 0x50] */ 8011 edx = MEM32(ebp + (-0x50)); /* 0x250E27B9: mov edx, dword ptr [ebp - 0x50] */ 8012 MEM32(ecx + 0x8) = edx; /* 0x250E27BC: mov dword ptr [ecx + 8], edx */ 8013 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E27BF: fstp st(0) */ 8014 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E27C1: fld qword ptr [0x25154718] */ 8015 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250E27C7: fcos */ 8016 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250E27C9: fstp dword ptr [ebp - 0x4c] */ 8017 eax = MEM32(ebp + (-0x4C)); /* 0x250E27CC: mov eax, dword ptr [ebp - 0x4c] */ 8018 goto L_250E286B; /* 0x250E27CF: jmp 0x250e286b */ 8019 L_250E27D4: 8020 PUSH32(esp, 0x3F800000u); /* 0x250E27D4: push 0x3f800000 */ 8021 ecx = ebp + (-0x48); /* 0x250E27D9: lea ecx, [ebp - 0x48] */ 8022 PUSH32(esp, ecx); /* 0x250E27DC: push ecx */ 8023 edx = ebp + (-0x54); /* 0x250E27DD: lea edx, [ebp - 0x54] */ 8024 PUSH32(esp, edx); /* 0x250E27E0: push edx */ 8025 ecx = ebp + (-0x18); /* 0x250E27E1: lea ecx, [ebp - 0x18] */ 8026 RECOMP_ICALL(MEM32(0x25151548)); /* 0x250E27E4: call dword ptr [0x25151548] */ 8027 RECOMP_FLAGS_IN(); 8028 ecx = eax; /* 0x250E27EA: mov ecx, eax */ 8029 RECOMP_ICALL(MEM32(0x25151590)); /* 0x250E27EC: call dword ptr [0x25151590] */ 8030 RECOMP_FLAGS_IN(); 8031 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E27F2: fld dword ptr [ebp - 0x14] */ 8032 ecx = MEM32(eax); /* 0x250E27F5: mov ecx, dword ptr [eax] */ 8033 edx = MEM32(eax + 0x4); /* 0x250E27F7: mov edx, dword ptr [eax + 4] */ 8034 eax = MEM32(eax + 0x8); /* 0x250E27FA: mov eax, dword ptr [eax + 8] */ 8035 MEM32(ebp + (-0x4)) = eax; /* 0x250E27FD: mov dword ptr [ebp - 4], eax */ 8036 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E2800: fmul dword ptr [ebp - 4] */ 8037 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2803: fld dword ptr [ebp - 0x10] */ 8038 MEM32(ebp + (-0x8)) = edx; /* 0x250E2806: mov dword ptr [ebp - 8], edx */ 8039 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2809: fmul dword ptr [ebp - 8] */ 8040 MEM32(ebp + (-0xC)) = ecx; /* 0x250E280C: mov dword ptr [ebp - 0xc], ecx */ 8041 esi = edi + 0x84; /* 0x250E280F: lea esi, [edi + 0x84] */ 8042 ecx = esi; /* 0x250E2815: mov ecx, esi */ 8043 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2817: fsubp st(1) */ 8044 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x58)) = _v; } /* 0x250E2819: fstp dword ptr [ebp - 0x58] */ 8045 edx = MEM32(ebp + (-0x58)); /* 0x250E281C: mov edx, dword ptr [ebp - 0x58] */ 8046 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E281F: fld dword ptr [ebp - 0x10] */ 8047 MEM32(ecx) = edx; /* 0x250E2822: mov dword ptr [ecx], edx */ 8048 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2824: fmul dword ptr [ebp - 0xc] */ 8049 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2827: fld dword ptr [ebp - 4] */ 8050 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E282A: fmul dword ptr [ebp - 0x18] */ 8051 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E282D: fsubp st(1) */ 8052 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x250E282F: fstp dword ptr [ebp - 0x54] */ 8053 eax = MEM32(ebp + (-0x54)); /* 0x250E2832: mov eax, dword ptr [ebp - 0x54] */ 8054 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2835: fld dword ptr [ebp - 8] */ 8055 MEM32(ecx + 0x4) = eax; /* 0x250E2838: mov dword ptr [ecx + 4], eax */ 8056 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E283B: fmul dword ptr [ebp - 0x18] */ 8057 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E283E: fld dword ptr [ebp - 0x14] */ 8058 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2841: fmul dword ptr [ebp - 0xc] */ 8059 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2844: fsubp st(1) */ 8060 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x250E2846: fstp dword ptr [ebp - 0x50] */ 8061 edx = MEM32(ebp + (-0x50)); /* 0x250E2849: mov edx, dword ptr [ebp - 0x50] */ 8062 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E284C: fld dword ptr [ebp - 0x14] */ 8063 MEM32(ecx + 0x8) = edx; /* 0x250E284F: mov dword ptr [ecx + 8], edx */ 8064 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2852: fmul dword ptr [ebp - 8] */ 8065 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2855: fld dword ptr [ebp - 0x10] */ 8066 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E2858: fmul dword ptr [ebp - 4] */ 8067 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E285B: faddp st(1) */ 8068 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E285D: fld dword ptr [ebp - 0xc] */ 8069 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2860: fmul dword ptr [ebp - 0x18] */ 8070 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2863: faddp st(1) */ 8071 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250E2865: fstp dword ptr [ebp - 0x4c] */ 8072 eax = MEM32(ebp + (-0x4C)); /* 0x250E2868: mov eax, dword ptr [ebp - 0x4c] */ 8073 L_250E286B: 8074 MEM32(ecx + 0xC) = eax; /* 0x250E286B: mov dword ptr [ecx + 0xc], eax */ 8075 ecx = ebp + (-0x3C); /* 0x250E286E: lea ecx, [ebp - 0x3c] */ 8076 PUSH32(esp, ecx); /* 0x250E2871: push ecx */ 8077 edx = ebp + (-0x54); /* 0x250E2872: lea edx, [ebp - 0x54] */ 8078 PUSH32(esp, edx); /* 0x250E2875: push edx */ 8079 ecx = esi; /* 0x250E2876: mov ecx, esi */ 8080 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250E2878: call dword ptr [0x25151570] */ 8081 RECOMP_FLAGS_IN(); 8082 ecx = MEM32(eax); /* 0x250E287E: mov ecx, dword ptr [eax] */ 8083 MEM32(ebp + (-0x24)) = ecx; /* 0x250E2880: mov dword ptr [ebp - 0x24], ecx */ 8084 edx = MEM32(eax + 0x4); /* 0x250E2883: mov edx, dword ptr [eax + 4] */ 8085 MEM32(ebp + (-0x20)) = edx; /* 0x250E2886: mov dword ptr [ebp - 0x20], edx */ 8086 eax = MEM32(eax + 0x8); /* 0x250E2889: mov eax, dword ptr [eax + 8] */ 8087 ecx = ebp + (-0x24); /* 0x250E288C: lea ecx, [ebp - 0x24] */ 8088 PUSH32(esp, ecx); /* 0x250E288F: push ecx */ 8089 edx = ebp + (-0x54); /* 0x250E2890: lea edx, [ebp - 0x54] */ 8090 PUSH32(esp, edx); /* 0x250E2893: push edx */ 8091 ecx = esi; /* 0x250E2894: mov ecx, esi */ 8092 MEM32(ebp + (-0x1C)) = eax; /* 0x250E2896: mov dword ptr [ebp - 0x1c], eax */ 8093 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250E2899: call dword ptr [0x25151570] */ 8094 RECOMP_FLAGS_IN(); 8095 fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x250E289F: fld dword ptr [esi + 0xc] */ 8096 ecx = MEM32(eax); /* 0x250E28A2: mov ecx, dword ptr [eax] */ 8097 _st[0] += _st[0]; /* 0x250E28A4: fadd st(0), st(0) */ 8098 MEM32(ebp + (-0xC)) = ecx; /* 0x250E28A6: mov dword ptr [ebp - 0xc], ecx */ 8099 edx = MEM32(eax + 0x4); /* 0x250E28A9: mov edx, dword ptr [eax + 4] */ 8100 MEM32(ebp + (-0x8)) = edx; /* 0x250E28AC: mov dword ptr [ebp - 8], edx */ 8101 eax = MEM32(eax + 0x8); /* 0x250E28AF: mov eax, dword ptr [eax + 8] */ 8102 PUSH32(esp, ecx); /* 0x250E28B2: push ecx */ 8103 ecx = ebp + (-0x24); /* 0x250E28B3: lea ecx, [ebp - 0x24] */ 8104 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E28B6: fstp dword ptr [esp] */ 8105 MEM32(ebp + (-0x4)) = eax; /* 0x250E28B9: mov dword ptr [ebp - 4], eax */ 8106 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E28BC: call dword ptr [0x25151510] */ 8107 RECOMP_FLAGS_IN(); 8108 PUSH32(esp, 0x40000000u); /* 0x250E28C2: push 0x40000000 */ 8109 ecx = ebp + (-0xC); /* 0x250E28C7: lea ecx, [ebp - 0xc] */ 8110 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E28CA: call dword ptr [0x25151510] */ 8111 RECOMP_FLAGS_IN(); 8112 ecx = ebp + (-0x24); /* 0x250E28D0: lea ecx, [ebp - 0x24] */ 8113 PUSH32(esp, ecx); /* 0x250E28D3: push ecx */ 8114 ecx = ebp + (-0x3C); /* 0x250E28D4: lea ecx, [ebp - 0x3c] */ 8115 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250E28D7: call dword ptr [0x251514f8] */ 8116 RECOMP_FLAGS_IN(); 8117 edx = ebp + (-0xC); /* 0x250E28DD: lea edx, [ebp - 0xc] */ 8118 PUSH32(esp, edx); /* 0x250E28E0: push edx */ 8119 ecx = ebp + (-0x3C); /* 0x250E28E1: lea ecx, [ebp - 0x3c] */ 8120 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250E28E4: call dword ptr [0x251514f8] */ 8121 RECOMP_FLAGS_IN(); 8122 eax = ebp + (-0x54); /* 0x250E28EA: lea eax, [ebp - 0x54] */ 8123 PUSH32(esp, eax); /* 0x250E28ED: push eax */ 8124 ecx = ebp + (-0x3C); /* 0x250E28EE: lea ecx, [ebp - 0x3c] */ 8125 RECOMP_ICALL(MEM32(0x25151550)); /* 0x250E28F1: call dword ptr [0x25151550] */ 8126 RECOMP_FLAGS_IN(); 8127 PUSH32(esp, eax); /* 0x250E28F7: push eax */ 8128 ecx = ebp + (-0x30); /* 0x250E28F8: lea ecx, [ebp - 0x30] */ 8129 RECOMP_ICALL(MEM32(0x25151530)); /* 0x250E28FB: call dword ptr [0x25151530] */ 8130 RECOMP_FLAGS_IN(); 8131 /* test eax, eax */ /* 0x250E2901: test eax, eax */ 8132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8133 _cf = 0; 8134 _flag_k = FK_TEST; 8135 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2919; /* 0x250E2903: je 0x250e2919 */ 8136 L_250E2905: 8137 PUSH32(esp, 0x40490FDBu); /* 0x250E2905: push 0x40490fdb */ 8138 ecx = ebp + (-0x48); /* 0x250E290A: lea ecx, [ebp - 0x48] */ 8139 PUSH32(esp, ecx); /* 0x250E290D: push ecx */ 8140 ecx = ebp + (-0x58); /* 0x250E290E: lea ecx, [ebp - 0x58] */ 8141 RECOMP_ICALL(MEM32(0x2515156C)); /* 0x250E2911: call dword ptr [0x2515156c] */ 8142 RECOMP_FLAGS_IN(); 8143 goto L_250E292A; /* 0x250E2917: jmp 0x250e292a */ 8144 L_250E2919: 8145 edx = ebp + (-0x30); /* 0x250E2919: lea edx, [ebp - 0x30] */ 8146 PUSH32(esp, edx); /* 0x250E291C: push edx */ 8147 eax = ebp + (-0x3C); /* 0x250E291D: lea eax, [ebp - 0x3c] */ 8148 PUSH32(esp, eax); /* 0x250E2920: push eax */ 8149 ecx = ebp + (-0x58); /* 0x250E2921: lea ecx, [ebp - 0x58] */ 8150 RECOMP_ICALL(MEM32(0x25151588)); /* 0x250E2924: call dword ptr [0x25151588] */ 8151 RECOMP_FLAGS_IN(); 8152 L_250E292A: 8153 PUSH32(esp, eax); /* 0x250E292A: push eax */ 8154 ecx = esi; /* 0x250E292B: mov ecx, esi */ 8155 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E292D: call dword ptr [0x25151508] */ 8156 RECOMP_FLAGS_IN(); 8157 edx = MEM32(edi); /* 0x250E2933: mov edx, dword ptr [edi] */ 8158 PUSH32(esp, 1); /* 0x250E2935: push 1 */ 8159 PUSH32(esp, 2); /* 0x250E2937: push 2 */ 8160 ecx = edi; /* 0x250E2939: mov ecx, edi */ 8161 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E293B: call dword ptr [edx + 0x2c] */ 8162 RECOMP_FLAGS_IN(); 8163 edi = POP32_VAL(esp); /* 0x250E293E: pop edi */ 8164 esi = POP32_VAL(esp); /* 0x250E293F: pop esi */ 8165 esp = ebp; /* 0x250E2940: mov esp, ebp */ 8166 ebp = POP32_VAL(esp); /* 0x250E2942: pop ebp */ 8167 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2943: ret 8 */ 8168 RECOMP_REGS_OUT(); 8169 } 8170 8171 void sub_250E286B(void) { 8172 int _fpu_cmp = 0; 8173 uint32_t _cf = 0; 8174 int _df = 1; 8175 uint32_t _flag_k = FK_NONE; 8176 uint32_t _flag_a = 0, _flag_b = 0; 8177 uint32_t _itail_tgt = 0; 8178 RECOMP_REGS_LOCALS 8179 RECOMP_ENTER(0x250E286Bu); 8180 8181 L_250E286B: 8182 MEM32(ecx + 0xC) = eax; /* 0x250E286B: mov dword ptr [ecx + 0xc], eax */ 8183 ecx = ebp + (-0x3C); /* 0x250E286E: lea ecx, [ebp - 0x3c] */ 8184 PUSH32(esp, ecx); /* 0x250E2871: push ecx */ 8185 edx = ebp + (-0x54); /* 0x250E2872: lea edx, [ebp - 0x54] */ 8186 PUSH32(esp, edx); /* 0x250E2875: push edx */ 8187 ecx = esi; /* 0x250E2876: mov ecx, esi */ 8188 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250E2878: call dword ptr [0x25151570] */ 8189 RECOMP_FLAGS_IN(); 8190 ecx = MEM32(eax); /* 0x250E287E: mov ecx, dword ptr [eax] */ 8191 MEM32(ebp + (-0x24)) = ecx; /* 0x250E2880: mov dword ptr [ebp - 0x24], ecx */ 8192 edx = MEM32(eax + 0x4); /* 0x250E2883: mov edx, dword ptr [eax + 4] */ 8193 MEM32(ebp + (-0x20)) = edx; /* 0x250E2886: mov dword ptr [ebp - 0x20], edx */ 8194 eax = MEM32(eax + 0x8); /* 0x250E2889: mov eax, dword ptr [eax + 8] */ 8195 ecx = ebp + (-0x24); /* 0x250E288C: lea ecx, [ebp - 0x24] */ 8196 PUSH32(esp, ecx); /* 0x250E288F: push ecx */ 8197 edx = ebp + (-0x54); /* 0x250E2890: lea edx, [ebp - 0x54] */ 8198 PUSH32(esp, edx); /* 0x250E2893: push edx */ 8199 ecx = esi; /* 0x250E2894: mov ecx, esi */ 8200 MEM32(ebp + (-0x1C)) = eax; /* 0x250E2896: mov dword ptr [ebp - 0x1c], eax */ 8201 RECOMP_ICALL(MEM32(0x25151570)); /* 0x250E2899: call dword ptr [0x25151570] */ 8202 RECOMP_FLAGS_IN(); 8203 fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x250E289F: fld dword ptr [esi + 0xc] */ 8204 ecx = MEM32(eax); /* 0x250E28A2: mov ecx, dword ptr [eax] */ 8205 _st[0] += _st[0]; /* 0x250E28A4: fadd st(0), st(0) */ 8206 MEM32(ebp + (-0xC)) = ecx; /* 0x250E28A6: mov dword ptr [ebp - 0xc], ecx */ 8207 edx = MEM32(eax + 0x4); /* 0x250E28A9: mov edx, dword ptr [eax + 4] */ 8208 MEM32(ebp + (-0x8)) = edx; /* 0x250E28AC: mov dword ptr [ebp - 8], edx */ 8209 eax = MEM32(eax + 0x8); /* 0x250E28AF: mov eax, dword ptr [eax + 8] */ 8210 PUSH32(esp, ecx); /* 0x250E28B2: push ecx */ 8211 ecx = ebp + (-0x24); /* 0x250E28B3: lea ecx, [ebp - 0x24] */ 8212 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E28B6: fstp dword ptr [esp] */ 8213 MEM32(ebp + (-0x4)) = eax; /* 0x250E28B9: mov dword ptr [ebp - 4], eax */ 8214 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E28BC: call dword ptr [0x25151510] */ 8215 RECOMP_FLAGS_IN(); 8216 PUSH32(esp, 0x40000000u); /* 0x250E28C2: push 0x40000000 */ 8217 ecx = ebp + (-0xC); /* 0x250E28C7: lea ecx, [ebp - 0xc] */ 8218 RECOMP_ICALL(MEM32(0x25151510)); /* 0x250E28CA: call dword ptr [0x25151510] */ 8219 RECOMP_FLAGS_IN(); 8220 ecx = ebp + (-0x24); /* 0x250E28D0: lea ecx, [ebp - 0x24] */ 8221 PUSH32(esp, ecx); /* 0x250E28D3: push ecx */ 8222 ecx = ebp + (-0x3C); /* 0x250E28D4: lea ecx, [ebp - 0x3c] */ 8223 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250E28D7: call dword ptr [0x251514f8] */ 8224 RECOMP_FLAGS_IN(); 8225 edx = ebp + (-0xC); /* 0x250E28DD: lea edx, [ebp - 0xc] */ 8226 PUSH32(esp, edx); /* 0x250E28E0: push edx */ 8227 ecx = ebp + (-0x3C); /* 0x250E28E1: lea ecx, [ebp - 0x3c] */ 8228 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250E28E4: call dword ptr [0x251514f8] */ 8229 RECOMP_FLAGS_IN(); 8230 eax = ebp + (-0x54); /* 0x250E28EA: lea eax, [ebp - 0x54] */ 8231 PUSH32(esp, eax); /* 0x250E28ED: push eax */ 8232 ecx = ebp + (-0x3C); /* 0x250E28EE: lea ecx, [ebp - 0x3c] */ 8233 RECOMP_ICALL(MEM32(0x25151550)); /* 0x250E28F1: call dword ptr [0x25151550] */ 8234 RECOMP_FLAGS_IN(); 8235 PUSH32(esp, eax); /* 0x250E28F7: push eax */ 8236 ecx = ebp + (-0x30); /* 0x250E28F8: lea ecx, [ebp - 0x30] */ 8237 RECOMP_ICALL(MEM32(0x25151530)); /* 0x250E28FB: call dword ptr [0x25151530] */ 8238 RECOMP_FLAGS_IN(); 8239 /* test eax, eax */ /* 0x250E2901: test eax, eax */ 8240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8241 _cf = 0; 8242 _flag_k = FK_TEST; 8243 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2919; /* 0x250E2903: je 0x250e2919 */ 8244 L_250E2905: 8245 PUSH32(esp, 0x40490FDBu); /* 0x250E2905: push 0x40490fdb */ 8246 ecx = ebp + (-0x48); /* 0x250E290A: lea ecx, [ebp - 0x48] */ 8247 PUSH32(esp, ecx); /* 0x250E290D: push ecx */ 8248 ecx = ebp + (-0x58); /* 0x250E290E: lea ecx, [ebp - 0x58] */ 8249 RECOMP_ICALL(MEM32(0x2515156C)); /* 0x250E2911: call dword ptr [0x2515156c] */ 8250 RECOMP_FLAGS_IN(); 8251 goto L_250E292A; /* 0x250E2917: jmp 0x250e292a */ 8252 L_250E2919: 8253 edx = ebp + (-0x30); /* 0x250E2919: lea edx, [ebp - 0x30] */ 8254 PUSH32(esp, edx); /* 0x250E291C: push edx */ 8255 eax = ebp + (-0x3C); /* 0x250E291D: lea eax, [ebp - 0x3c] */ 8256 PUSH32(esp, eax); /* 0x250E2920: push eax */ 8257 ecx = ebp + (-0x58); /* 0x250E2921: lea ecx, [ebp - 0x58] */ 8258 RECOMP_ICALL(MEM32(0x25151588)); /* 0x250E2924: call dword ptr [0x25151588] */ 8259 RECOMP_FLAGS_IN(); 8260 L_250E292A: 8261 PUSH32(esp, eax); /* 0x250E292A: push eax */ 8262 ecx = esi; /* 0x250E292B: mov ecx, esi */ 8263 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E292D: call dword ptr [0x25151508] */ 8264 RECOMP_FLAGS_IN(); 8265 edx = MEM32(edi); /* 0x250E2933: mov edx, dword ptr [edi] */ 8266 PUSH32(esp, 1); /* 0x250E2935: push 1 */ 8267 PUSH32(esp, 2); /* 0x250E2937: push 2 */ 8268 ecx = edi; /* 0x250E2939: mov ecx, edi */ 8269 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E293B: call dword ptr [edx + 0x2c] */ 8270 RECOMP_FLAGS_IN(); 8271 edi = POP32_VAL(esp); /* 0x250E293E: pop edi */ 8272 esi = POP32_VAL(esp); /* 0x250E293F: pop esi */ 8273 esp = ebp; /* 0x250E2940: mov esp, ebp */ 8274 ebp = POP32_VAL(esp); /* 0x250E2942: pop ebp */ 8275 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2943: ret 8 */ 8276 RECOMP_REGS_OUT(); 8277 } 8278 8279 void sub_250E292A(void) { 8280 int _fpu_cmp = 0; 8281 uint32_t _cf = 0; 8282 int _df = 1; 8283 uint32_t _flag_k = FK_NONE; 8284 uint32_t _flag_a = 0, _flag_b = 0; 8285 uint32_t _itail_tgt = 0; 8286 RECOMP_REGS_LOCALS 8287 RECOMP_ENTER(0x250E292Au); 8288 8289 L_250E292A: 8290 PUSH32(esp, eax); /* 0x250E292A: push eax */ 8291 ecx = esi; /* 0x250E292B: mov ecx, esi */ 8292 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E292D: call dword ptr [0x25151508] */ 8293 RECOMP_FLAGS_IN(); 8294 edx = MEM32(edi); /* 0x250E2933: mov edx, dword ptr [edi] */ 8295 PUSH32(esp, 1); /* 0x250E2935: push 1 */ 8296 PUSH32(esp, 2); /* 0x250E2937: push 2 */ 8297 ecx = edi; /* 0x250E2939: mov ecx, edi */ 8298 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E293B: call dword ptr [edx + 0x2c] */ 8299 RECOMP_FLAGS_IN(); 8300 edi = POP32_VAL(esp); /* 0x250E293E: pop edi */ 8301 esi = POP32_VAL(esp); /* 0x250E293F: pop esi */ 8302 esp = ebp; /* 0x250E2940: mov esp, ebp */ 8303 ebp = POP32_VAL(esp); /* 0x250E2942: pop ebp */ 8304 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2943: ret 8 */ 8305 RECOMP_REGS_OUT(); 8306 } 8307 8308 void sub_250E2950(void) { 8309 int _fpu_cmp = 0; 8310 uint32_t _cf = 0; 8311 int _df = 1; 8312 uint32_t _flag_k = FK_NONE; 8313 uint32_t _flag_a = 0, _flag_b = 0; 8314 uint32_t _itail_tgt = 0; 8315 RECOMP_REGS_LOCALS 8316 RECOMP_ENTER(0x250E2950u); 8317 8318 L_250E2950: 8319 PUSH32(esp, ebp); /* 0x250E2950: push ebp */ 8320 ebp = esp; /* 0x250E2951: mov ebp, esp */ 8321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40u); 8322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8323 esp = esp - 0x40u; /* 0x250E2953: sub esp, 0x40 */ 8324 _flag_k = FK_CMP; 8325 eax = MEM32(0x25238B90); /* 0x250E2956: mov eax, dword ptr [0x25238b90] */ 8326 edx = MEM32(0x25238B7C); /* 0x250E295B: mov edx, dword ptr [0x25238b7c] */ 8327 PUSH32(esp, ebx); /* 0x250E2961: push ebx */ 8328 ebx = MEM32(0x25238B8C); /* 0x250E2962: mov ebx, dword ptr [0x25238b8c] */ 8329 PUSH32(esp, esi); /* 0x250E2968: push esi */ 8330 esi = ecx; /* 0x250E2969: mov esi, ecx */ 8331 ecx = MEM32(0x25238B78); /* 0x250E296B: mov ecx, dword ptr [0x25238b78] */ 8332 PUSH32(esp, edi); /* 0x250E2971: push edi */ 8333 edi = MEM32(0x25238B88); /* 0x250E2972: mov edi, dword ptr [0x25238b88] */ 8334 MEM32(ebp + (-0x10)) = eax; /* 0x250E2978: mov dword ptr [ebp - 0x10], eax */ 8335 eax = MEM32(0x25238B80); /* 0x250E297B: mov eax, dword ptr [0x25238b80] */ 8336 MEM32(ebp + (-0x34)) = ecx; /* 0x250E2980: mov dword ptr [ebp - 0x34], ecx */ 8337 ecx = esi; /* 0x250E2983: mov ecx, esi */ 8338 MEM32(ebp + (-0x18)) = edi; /* 0x250E2985: mov dword ptr [ebp - 0x18], edi */ 8339 MEM32(ebp + (-0x14)) = ebx; /* 0x250E2988: mov dword ptr [ebp - 0x14], ebx */ 8340 MEM32(ebp + (-0x30)) = edx; /* 0x250E298B: mov dword ptr [ebp - 0x30], edx */ 8341 MEM32(ebp + (-0x2C)) = eax; /* 0x250E298E: mov dword ptr [ebp - 0x2c], eax */ 8342 RECOMP_ICALL(0x250E2EC0u); /* 0x250E2991: call 0x250e2ec0 */ /* not lifted */ 8343 RECOMP_FLAGS_IN(); 8344 ecx = MEM32(ebp + 0x8); /* 0x250E2996: mov ecx, dword ptr [ebp + 8] */ 8345 edx = MEM32(ecx); /* 0x250E2999: mov edx, dword ptr [ecx] */ 8346 MEM32(ebp + (-0xC)) = edx; /* 0x250E299B: mov dword ptr [ebp - 0xc], edx */ 8347 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E299E: fld dword ptr [ebp - 0xc] */ 8348 _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x250E29A1: fsub dword ptr [eax + 0x30] */ 8349 edx = MEM32(ecx + 0x4); /* 0x250E29A4: mov edx, dword ptr [ecx + 4] */ 8350 ecx = MEM32(ecx + 0x8); /* 0x250E29A7: mov ecx, dword ptr [ecx + 8] */ 8351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 8352 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8353 eax = eax + 0x30u; /* 0x250E29AA: add eax, 0x30 */ 8354 _flag_k = FK_ADD; 8355 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E29AD: fstp dword ptr [ebp - 0xc] */ 8356 MEM32(ebp + (-0x8)) = edx; /* 0x250E29B0: mov dword ptr [ebp - 8], edx */ 8357 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E29B3: fld dword ptr [ebp - 8] */ 8358 MEM32(ebp + (-0x4)) = ecx; /* 0x250E29B6: mov dword ptr [ebp - 4], ecx */ 8359 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x250E29B9: fsub dword ptr [eax + 4] */ 8360 edx = MEM32(ebp + (-0xC)); /* 0x250E29BC: mov edx, dword ptr [ebp - 0xc] */ 8361 MEM32(ebp + (-0x24)) = edx; /* 0x250E29BF: mov dword ptr [ebp - 0x24], edx */ 8362 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E29C2: fstp dword ptr [ebp - 8] */ 8363 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E29C5: fld dword ptr [ebp - 4] */ 8364 _st[0] -= (double)*(float*)ADDR(eax + 0x8); /* 0x250E29C8: fsub dword ptr [eax + 8] */ 8365 eax = MEM32(ebp + (-0x8)); /* 0x250E29CB: mov eax, dword ptr [ebp - 8] */ 8366 MEM32(ebp + (-0x20)) = eax; /* 0x250E29CE: mov dword ptr [ebp - 0x20], eax */ 8367 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E29D1: fstp dword ptr [ebp - 4] */ 8368 ecx = MEM32(ebp + (-0x4)); /* 0x250E29D4: mov ecx, dword ptr [ebp - 4] */ 8369 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E29D7: fld dword ptr [ebp - 4] */ 8370 MEM32(ebp + (-0x1C)) = ecx; /* 0x250E29DA: mov dword ptr [ebp - 0x1c], ecx */ 8371 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E29DD: fmul dword ptr [ebp - 4] */ 8372 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E29E0: fld dword ptr [ebp - 8] */ 8373 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E29E3: fmul dword ptr [ebp - 8] */ 8374 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E29E6: faddp st(1) */ 8375 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E29E8: fld dword ptr [ebp - 0xc] */ 8376 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E29EB: fmul dword ptr [ebp - 0xc] */ 8377 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E29EE: faddp st(1) */ 8378 _st[0] = sqrt(_st[0]); /* 0x250E29F0: fsqrt */ 8379 _st[0] = (double)*(float*)ADDR(0x251517A4) / _st[0]; /* 0x250E29F2: fdivr dword ptr [0x251517a4] */ 8380 fp_push(_st[0]); /* 0x250E29F8: fld st(0) */ 8381 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E29FA: fmul dword ptr [ebp - 0xc] */ 8382 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E29FD: fstp dword ptr [ebp - 0x24] */ 8383 edx = MEM32(ebp + (-0x24)); /* 0x250E2A00: mov edx, dword ptr [ebp - 0x24] */ 8384 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E2A03: fld dword ptr [ebp - 0x20] */ 8385 MEM32(ebp + (-0x40)) = edx; /* 0x250E2A06: mov dword ptr [ebp - 0x40], edx */ 8386 _st[0] *= _st[1]; /* 0x250E2A09: fmul st(1) */ 8387 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E2A0B: fstp dword ptr [ebp - 0x20] */ 8388 eax = MEM32(ebp + (-0x20)); /* 0x250E2A0E: mov eax, dword ptr [ebp - 0x20] */ 8389 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E2A11: fld dword ptr [ebp - 0x1c] */ 8390 MEM32(ebp + (-0x3C)) = eax; /* 0x250E2A14: mov dword ptr [ebp - 0x3c], eax */ 8391 _st[0] *= _st[1]; /* 0x250E2A17: fmul st(1) */ 8392 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E2A19: fstp dword ptr [ebp - 0x1c] */ 8393 ecx = MEM32(ebp + (-0x1C)); /* 0x250E2A1C: mov ecx, dword ptr [ebp - 0x1c] */ 8394 MEM32(ebp + (-0x38)) = ecx; /* 0x250E2A1F: mov dword ptr [ebp - 0x38], ecx */ 8395 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2A22: fstp st(0) */ 8396 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250E2A24: fld dword ptr [ebp - 0x18] */ 8397 _st[0] = -_st[0]; /* 0x250E2A27: fchs */ 8398 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2A29: fld dword ptr [ebp - 0x14] */ 8399 _st[0] = -_st[0]; /* 0x250E2A2C: fchs */ 8400 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E2A2E: fstp dword ptr [ebp - 8] */ 8401 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2A31: fld dword ptr [ebp - 0x10] */ 8402 _st[0] = -_st[0]; /* 0x250E2A34: fchs */ 8403 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E2A36: fstp dword ptr [ebp - 4] */ 8404 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x24))); /* 0x250E2A39: fcomp dword ptr [ebp - 0x24] */ 8405 fp_pop(); 8406 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2A3C: fnstsw ax */ 8407 /* test HI8(eax), 0x40u */ /* 0x250E2A3E: test ah, 0x40 */ 8408 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8409 _cf = 0; 8410 _flag_k = FK_NARROW(FK_TEST, 24); 8411 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2ABB; /* 0x250E2A41: je 0x250e2abb */ 8412 L_250E2A43: 8413 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2A43: fld dword ptr [ebp - 8] */ 8414 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x20))); /* 0x250E2A46: fcomp dword ptr [ebp - 0x20] */ 8415 fp_pop(); 8416 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2A49: fnstsw ax */ 8417 /* test HI8(eax), 0x40u */ /* 0x250E2A4B: test ah, 0x40 */ 8418 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8419 _cf = 0; 8420 _flag_k = FK_NARROW(FK_TEST, 24); 8421 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2ABB; /* 0x250E2A4E: je 0x250e2abb */ 8422 L_250E2A50: 8423 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2A50: fld dword ptr [ebp - 4] */ 8424 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x1C))); /* 0x250E2A53: fcomp dword ptr [ebp - 0x1c] */ 8425 fp_pop(); 8426 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2A56: fnstsw ax */ 8427 /* test HI8(eax), 0x40u */ /* 0x250E2A58: test ah, 0x40 */ 8428 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8429 _cf = 0; 8430 _flag_k = FK_NARROW(FK_TEST, 24); 8431 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2ABB; /* 0x250E2A5B: je 0x250e2abb */ 8432 L_250E2A5D: 8433 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E2A5D: fld qword ptr [0x25154718] */ 8434 edx = esi + 0x84; /* 0x250E2A63: lea edx, [esi + 0x84] */ 8435 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250E2A69: fsin */ 8436 PUSH32(esp, 1); /* 0x250E2A6B: push 1 */ 8437 PUSH32(esp, 2); /* 0x250E2A6D: push 2 */ 8438 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x250E2A6F: fld dword ptr [ebp - 0x34] */ 8439 _st[0] *= _st[1]; /* 0x250E2A72: fmul st(1) */ 8440 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E2A74: fstp dword ptr [ebp - 0x28] */ 8441 eax = MEM32(ebp + (-0x28)); /* 0x250E2A77: mov eax, dword ptr [ebp - 0x28] */ 8442 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x250E2A7A: fld dword ptr [ebp - 0x30] */ 8443 MEM32(edx) = eax; /* 0x250E2A7D: mov dword ptr [edx], eax */ 8444 _st[0] *= _st[1]; /* 0x250E2A7F: fmul st(1) */ 8445 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E2A81: fstp dword ptr [ebp - 0x24] */ 8446 ecx = MEM32(ebp + (-0x24)); /* 0x250E2A84: mov ecx, dword ptr [ebp - 0x24] */ 8447 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E2A87: fld dword ptr [ebp - 0x2c] */ 8448 MEM32(edx + 0x4) = ecx; /* 0x250E2A8A: mov dword ptr [edx + 4], ecx */ 8449 _st[0] *= _st[1]; /* 0x250E2A8D: fmul st(1) */ 8450 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E2A8F: fstp dword ptr [ebp - 0x20] */ 8451 eax = MEM32(ebp + (-0x20)); /* 0x250E2A92: mov eax, dword ptr [ebp - 0x20] */ 8452 MEM32(edx + 0x8) = eax; /* 0x250E2A95: mov dword ptr [edx + 8], eax */ 8453 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2A98: fstp st(0) */ 8454 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E2A9A: fld qword ptr [0x25154718] */ 8455 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250E2AA0: fcos */ 8456 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E2AA2: fstp dword ptr [ebp - 0x1c] */ 8457 ecx = MEM32(ebp + (-0x1C)); /* 0x250E2AA5: mov ecx, dword ptr [ebp - 0x1c] */ 8458 MEM32(edx + 0xC) = ecx; /* 0x250E2AA8: mov dword ptr [edx + 0xc], ecx */ 8459 edx = MEM32(esi); /* 0x250E2AAB: mov edx, dword ptr [esi] */ 8460 ecx = esi; /* 0x250E2AAD: mov ecx, esi */ 8461 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E2AAF: call dword ptr [edx + 0x2c] */ 8462 RECOMP_FLAGS_IN(); 8463 edi = POP32_VAL(esp); /* 0x250E2AB2: pop edi */ 8464 esi = POP32_VAL(esp); /* 0x250E2AB3: pop esi */ 8465 ebx = POP32_VAL(esp); /* 0x250E2AB4: pop ebx */ 8466 esp = ebp; /* 0x250E2AB5: mov esp, ebp */ 8467 ebp = POP32_VAL(esp); /* 0x250E2AB7: pop ebp */ 8468 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E2AB8: ret 4 */ 8469 L_250E2ABB: 8470 eax = MEM32(ebp + (-0x10)); /* 0x250E2ABB: mov eax, dword ptr [ebp - 0x10] */ 8471 ecx = ebp + (-0x40); /* 0x250E2ABE: lea ecx, [ebp - 0x40] */ 8472 PUSH32(esp, ecx); /* 0x250E2AC1: push ecx */ 8473 ecx = ebp + (-0x34); /* 0x250E2AC2: lea ecx, [ebp - 0x34] */ 8474 MEM32(ebp + (-0x34)) = edi; /* 0x250E2AC5: mov dword ptr [ebp - 0x34], edi */ 8475 MEM32(ebp + (-0x30)) = ebx; /* 0x250E2AC8: mov dword ptr [ebp - 0x30], ebx */ 8476 MEM32(ebp + (-0x2C)) = eax; /* 0x250E2ACB: mov dword ptr [ebp - 0x2c], eax */ 8477 RECOMP_ICALL(MEM32(0x251514F8)); /* 0x250E2ACE: call dword ptr [0x251514f8] */ 8478 RECOMP_FLAGS_IN(); 8479 edx = MEM32(eax); /* 0x250E2AD4: mov edx, dword ptr [eax] */ 8480 MEM32(ebp + (-0xC)) = edx; /* 0x250E2AD6: mov dword ptr [ebp - 0xc], edx */ 8481 ecx = MEM32(eax + 0x4); /* 0x250E2AD9: mov ecx, dword ptr [eax + 4] */ 8482 MEM32(ebp + (-0x8)) = ecx; /* 0x250E2ADC: mov dword ptr [ebp - 8], ecx */ 8483 edx = MEM32(eax + 0x8); /* 0x250E2ADF: mov edx, dword ptr [eax + 8] */ 8484 ecx = ebp + (-0xC); /* 0x250E2AE2: lea ecx, [ebp - 0xc] */ 8485 MEM32(ebp + (-0x4)) = edx; /* 0x250E2AE5: mov dword ptr [ebp - 4], edx */ 8486 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E2AE8: call dword ptr [0x2515150c] */ 8487 RECOMP_FLAGS_IN(); 8488 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2AEE: fld dword ptr [ebp - 0xc] */ 8489 _st[0] *= _st[1]; /* 0x250E2AF1: fmul st(1) */ 8490 eax = esi + 0x84; /* 0x250E2AF3: lea eax, [esi + 0x84] */ 8491 PUSH32(esp, 1); /* 0x250E2AF9: push 1 */ 8492 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E2AFB: fstp dword ptr [ebp - 0xc] */ 8493 PUSH32(esp, 2); /* 0x250E2AFE: push 2 */ 8494 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2B00: fld dword ptr [ebp - 8] */ 8495 _st[0] *= _st[1]; /* 0x250E2B03: fmul st(1) */ 8496 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E2B05: fstp dword ptr [ebp - 8] */ 8497 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2B08: fld dword ptr [ebp - 4] */ 8498 _st[0] *= _st[1]; /* 0x250E2B0B: fmul st(1) */ 8499 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E2B0D: fstp dword ptr [ebp - 4] */ 8500 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2B10: fstp st(0) */ 8501 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2B12: fld dword ptr [ebp - 0x14] */ 8502 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E2B15: fmul dword ptr [ebp - 4] */ 8503 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2B18: fld dword ptr [ebp - 0x10] */ 8504 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2B1B: fmul dword ptr [ebp - 8] */ 8505 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2B1E: fsubp st(1) */ 8506 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E2B20: fstp dword ptr [ebp - 0x28] */ 8507 ecx = MEM32(ebp + (-0x28)); /* 0x250E2B23: mov ecx, dword ptr [ebp - 0x28] */ 8508 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2B26: fld dword ptr [ebp - 0x10] */ 8509 MEM32(eax) = ecx; /* 0x250E2B29: mov dword ptr [eax], ecx */ 8510 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2B2B: fmul dword ptr [ebp - 0xc] */ 8511 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2B2E: fld dword ptr [ebp - 4] */ 8512 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2B31: fmul dword ptr [ebp - 0x18] */ 8513 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2B34: fsubp st(1) */ 8514 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E2B36: fstp dword ptr [ebp - 0x24] */ 8515 edx = MEM32(ebp + (-0x24)); /* 0x250E2B39: mov edx, dword ptr [ebp - 0x24] */ 8516 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2B3C: fld dword ptr [ebp - 8] */ 8517 MEM32(eax + 0x4) = edx; /* 0x250E2B3F: mov dword ptr [eax + 4], edx */ 8518 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2B42: fmul dword ptr [ebp - 0x18] */ 8519 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2B45: fld dword ptr [ebp - 0x14] */ 8520 _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x250E2B48: fmul dword ptr [ebp - 0xc] */ 8521 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2B4B: fsubp st(1) */ 8522 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E2B4D: fstp dword ptr [ebp - 0x20] */ 8523 ecx = MEM32(ebp + (-0x20)); /* 0x250E2B50: mov ecx, dword ptr [ebp - 0x20] */ 8524 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2B53: fld dword ptr [ebp - 0x10] */ 8525 MEM32(eax + 0x8) = ecx; /* 0x250E2B56: mov dword ptr [eax + 8], ecx */ 8526 _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x250E2B59: fmul dword ptr [ebp - 4] */ 8527 ecx = esi; /* 0x250E2B5C: mov ecx, esi */ 8528 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2B5E: fld dword ptr [ebp - 0x14] */ 8529 _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x250E2B61: fmul dword ptr [ebp - 8] */ 8530 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2B64: faddp st(1) */ 8531 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2B66: fld dword ptr [ebp - 0xc] */ 8532 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2B69: fmul dword ptr [ebp - 0x18] */ 8533 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2B6C: faddp st(1) */ 8534 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E2B6E: fstp dword ptr [ebp - 0x1c] */ 8535 edx = MEM32(ebp + (-0x1C)); /* 0x250E2B71: mov edx, dword ptr [ebp - 0x1c] */ 8536 MEM32(eax + 0xC) = edx; /* 0x250E2B74: mov dword ptr [eax + 0xc], edx */ 8537 eax = MEM32(esi); /* 0x250E2B77: mov eax, dword ptr [esi] */ 8538 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E2B79: call dword ptr [eax + 0x2c] */ 8539 RECOMP_FLAGS_IN(); 8540 edi = POP32_VAL(esp); /* 0x250E2B7C: pop edi */ 8541 esi = POP32_VAL(esp); /* 0x250E2B7D: pop esi */ 8542 ebx = POP32_VAL(esp); /* 0x250E2B7E: pop ebx */ 8543 esp = ebp; /* 0x250E2B7F: mov esp, ebp */ 8544 ebp = POP32_VAL(esp); /* 0x250E2B81: pop ebp */ 8545 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E2B82: ret 4 */ 8546 RECOMP_REGS_OUT(); 8547 } 8548 8549 void sub_250E2B90(void) { 8550 int _fpu_cmp = 0; 8551 uint32_t _cf = 0; 8552 int _df = 1; 8553 uint32_t _flag_k = FK_NONE; 8554 uint32_t _flag_a = 0, _flag_b = 0; 8555 uint32_t _itail_tgt = 0; 8556 RECOMP_REGS_LOCALS 8557 RECOMP_ENTER(0x250E2B90u); 8558 8559 L_250E2B90: 8560 PUSH32(esp, ebp); /* 0x250E2B90: push ebp */ 8561 ebp = esp; /* 0x250E2B91: mov ebp, esp */ 8562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 8563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8564 esp = esp - 0x4Cu; /* 0x250E2B93: sub esp, 0x4c */ 8565 _flag_k = FK_CMP; 8566 eax = MEM32(0x25238B88); /* 0x250E2B96: mov eax, dword ptr [0x25238b88] */ 8567 edx = MEM32(0x25238B90); /* 0x250E2B9B: mov edx, dword ptr [0x25238b90] */ 8568 PUSH32(esp, esi); /* 0x250E2BA1: push esi */ 8569 PUSH32(esp, edi); /* 0x250E2BA2: push edi */ 8570 edi = ecx; /* 0x250E2BA3: mov edi, ecx */ 8571 ecx = MEM32(0x25238B8C); /* 0x250E2BA5: mov ecx, dword ptr [0x25238b8c] */ 8572 MEM32(ebp + (-0x14)) = ecx; /* 0x250E2BAB: mov dword ptr [ebp - 0x14], ecx */ 8573 ecx = MEM32(0x25238B7C); /* 0x250E2BAE: mov ecx, dword ptr [0x25238b7c] */ 8574 MEM32(ebp + (-0x18)) = eax; /* 0x250E2BB4: mov dword ptr [ebp - 0x18], eax */ 8575 eax = MEM32(0x25238B78); /* 0x250E2BB7: mov eax, dword ptr [0x25238b78] */ 8576 MEM32(ebp + (-0x10)) = edx; /* 0x250E2BBC: mov dword ptr [ebp - 0x10], edx */ 8577 edx = MEM32(0x25238B80); /* 0x250E2BBF: mov edx, dword ptr [0x25238b80] */ 8578 MEM32(ebp + (-0x38)) = ecx; /* 0x250E2BC5: mov dword ptr [ebp - 0x38], ecx */ 8579 ecx = edi; /* 0x250E2BC8: mov ecx, edi */ 8580 MEM32(ebp + (-0x3C)) = eax; /* 0x250E2BCA: mov dword ptr [ebp - 0x3c], eax */ 8581 MEM32(ebp + (-0x34)) = edx; /* 0x250E2BCD: mov dword ptr [ebp - 0x34], edx */ 8582 RECOMP_ICALL(0x250E2EC0u); /* 0x250E2BD0: call 0x250e2ec0 */ /* not lifted */ 8583 RECOMP_FLAGS_IN(); 8584 ecx = MEM32(ebp + 0x8); /* 0x250E2BD5: mov ecx, dword ptr [ebp + 8] */ 8585 edx = MEM32(ecx); /* 0x250E2BD8: mov edx, dword ptr [ecx] */ 8586 MEM32(ebp + (-0x30)) = edx; /* 0x250E2BDA: mov dword ptr [ebp - 0x30], edx */ 8587 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x250E2BDD: fld dword ptr [ebp - 0x30] */ 8588 _st[0] -= (double)*(float*)ADDR(eax + 0x30); /* 0x250E2BE0: fsub dword ptr [eax + 0x30] */ 8589 edx = MEM32(ecx + 0x4); /* 0x250E2BE3: mov edx, dword ptr [ecx + 4] */ 8590 ecx = MEM32(ecx + 0x8); /* 0x250E2BE6: mov ecx, dword ptr [ecx + 8] */ 8591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 8592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8593 eax = eax + 0x30u; /* 0x250E2BE9: add eax, 0x30 */ 8594 _flag_k = FK_ADD; 8595 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250E2BEC: fstp dword ptr [ebp - 0x30] */ 8596 MEM32(ebp + (-0x2C)) = edx; /* 0x250E2BEF: mov dword ptr [ebp - 0x2c], edx */ 8597 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E2BF2: fld dword ptr [ebp - 0x2c] */ 8598 edx = MEM32(ebp + (-0x30)); /* 0x250E2BF5: mov edx, dword ptr [ebp - 0x30] */ 8599 _st[0] -= (double)*(float*)ADDR(eax + 0x4); /* 0x250E2BF8: fsub dword ptr [eax + 4] */ 8600 MEM32(ebp + (-0x28)) = ecx; /* 0x250E2BFB: mov dword ptr [ebp - 0x28], ecx */ 8601 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250E2BFE: fstp dword ptr [ebp - 0x2c] */ 8602 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E2C01: fld dword ptr [ebp - 0x28] */ 8603 _st[0] -= (double)*(float*)ADDR(eax + 0x8); /* 0x250E2C04: fsub dword ptr [eax + 8] */ 8604 eax = MEM32(ebp + (-0x2C)); /* 0x250E2C07: mov eax, dword ptr [ebp - 0x2c] */ 8605 MEM32(ebp + (-0xC)) = edx; /* 0x250E2C0A: mov dword ptr [ebp - 0xc], edx */ 8606 MEM32(ebp + (-0x8)) = eax; /* 0x250E2C0D: mov dword ptr [ebp - 8], eax */ 8607 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E2C10: fstp dword ptr [ebp - 0x28] */ 8608 ecx = MEM32(ebp + (-0x28)); /* 0x250E2C13: mov ecx, dword ptr [ebp - 0x28] */ 8609 MEM32(ebp + (-0x4)) = ecx; /* 0x250E2C16: mov dword ptr [ebp - 4], ecx */ 8610 ecx = ebp + (-0xC); /* 0x250E2C19: lea ecx, [ebp - 0xc] */ 8611 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E2C1C: call dword ptr [0x2515150c] */ 8612 RECOMP_FLAGS_IN(); 8613 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2C22: fld dword ptr [ebp - 0xc] */ 8614 eax = MEM32(ebp + 0xC); /* 0x250E2C25: mov eax, dword ptr [ebp + 0xc] */ 8615 _st[0] *= _st[1]; /* 0x250E2C28: fmul st(1) */ 8616 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x250E2C2A: fstp dword ptr [ebp - 0xc] */ 8617 edx = MEM32(ebp + (-0xC)); /* 0x250E2C2D: mov edx, dword ptr [ebp - 0xc] */ 8618 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2C30: fld dword ptr [ebp - 8] */ 8619 MEM32(ebp + (-0x30)) = edx; /* 0x250E2C33: mov dword ptr [ebp - 0x30], edx */ 8620 _st[0] *= _st[1]; /* 0x250E2C36: fmul st(1) */ 8621 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x250E2C38: fstp dword ptr [ebp - 8] */ 8622 ecx = MEM32(ebp + (-0x8)); /* 0x250E2C3B: mov ecx, dword ptr [ebp - 8] */ 8623 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2C3E: fld dword ptr [ebp - 4] */ 8624 MEM32(ebp + (-0x2C)) = ecx; /* 0x250E2C41: mov dword ptr [ebp - 0x2c], ecx */ 8625 _st[0] *= _st[1]; /* 0x250E2C44: fmul st(1) */ 8626 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E2C46: fstp dword ptr [ebp - 4] */ 8627 edx = MEM32(ebp + (-0x4)); /* 0x250E2C49: mov edx, dword ptr [ebp - 4] */ 8628 MEM32(ebp + (-0x28)) = edx; /* 0x250E2C4C: mov dword ptr [ebp - 0x28], edx */ 8629 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2C4F: fstp st(0) */ 8630 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E2C51: fld dword ptr [ebp - 4] */ 8631 _st[0] *= (double)*(float*)ADDR(eax + 0x8); /* 0x250E2C54: fmul dword ptr [eax + 8] */ 8632 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x250E2C57: fld dword ptr [ebp - 8] */ 8633 _st[0] *= (double)*(float*)ADDR(eax + 0x4); /* 0x250E2C5A: fmul dword ptr [eax + 4] */ 8634 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2C5D: faddp st(1) */ 8635 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2C5F: fld dword ptr [ebp - 0xc] */ 8636 _st[0] *= (double)*(float*)ADDR(eax); /* 0x250E2C62: fmul dword ptr [eax] */ 8637 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2C64: faddp st(1) */ 8638 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x250E2C66: fld dword ptr [ebp - 0xc] */ 8639 _st[0] *= _st[1]; /* 0x250E2C69: fmul st(1) */ 8640 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x250E2C6B: fstp dword ptr [ebp - 0x30] */ 8641 ecx = MEM32(ebp + (-0x30)); /* 0x250E2C6E: mov ecx, dword ptr [ebp - 0x30] */ 8642 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E2C71: fld dword ptr [ebp - 0x2c] */ 8643 MEM32(ebp + (-0x48)) = ecx; /* 0x250E2C74: mov dword ptr [ebp - 0x48], ecx */ 8644 _st[0] *= _st[1]; /* 0x250E2C77: fmul st(1) */ 8645 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x250E2C79: fstp dword ptr [ebp - 0x2c] */ 8646 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E2C7C: fld dword ptr [ebp - 0x28] */ 8647 _st[0] *= _st[1]; /* 0x250E2C7F: fmul st(1) */ 8648 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x250E2C81: fstp dword ptr [ebp - 0x28] */ 8649 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2C84: fstp st(0) */ 8650 edx = MEM32(ebp + (-0x2C)); /* 0x250E2C86: mov edx, dword ptr [ebp - 0x2c] */ 8651 ecx = MEM32(ebp + (-0x28)); /* 0x250E2C89: mov ecx, dword ptr [ebp - 0x28] */ 8652 MEM32(ebp + (-0x44)) = edx; /* 0x250E2C8C: mov dword ptr [ebp - 0x44], edx */ 8653 edx = MEM32(eax); /* 0x250E2C8F: mov edx, dword ptr [eax] */ 8654 MEM32(ebp + (-0x40)) = ecx; /* 0x250E2C91: mov dword ptr [ebp - 0x40], ecx */ 8655 ecx = MEM32(eax + 0x4); /* 0x250E2C94: mov ecx, dword ptr [eax + 4] */ 8656 MEM32(ebp + (-0x30)) = edx; /* 0x250E2C97: mov dword ptr [ebp - 0x30], edx */ 8657 edx = MEM32(eax + 0x8); /* 0x250E2C9A: mov edx, dword ptr [eax + 8] */ 8658 eax = ebp + (-0x48); /* 0x250E2C9D: lea eax, [ebp - 0x48] */ 8659 MEM32(ebp + (-0x2C)) = ecx; /* 0x250E2CA0: mov dword ptr [ebp - 0x2c], ecx */ 8660 PUSH32(esp, eax); /* 0x250E2CA3: push eax */ 8661 ecx = ebp + (-0x30); /* 0x250E2CA4: lea ecx, [ebp - 0x30] */ 8662 MEM32(ebp + (-0x28)) = edx; /* 0x250E2CA7: mov dword ptr [ebp - 0x28], edx */ 8663 RECOMP_ICALL(MEM32(0x25151540)); /* 0x250E2CAA: call dword ptr [0x25151540] */ 8664 RECOMP_FLAGS_IN(); 8665 ecx = MEM32(eax); /* 0x250E2CB0: mov ecx, dword ptr [eax] */ 8666 MEM32(ebp + (-0x24)) = ecx; /* 0x250E2CB2: mov dword ptr [ebp - 0x24], ecx */ 8667 edx = MEM32(eax + 0x4); /* 0x250E2CB5: mov edx, dword ptr [eax + 4] */ 8668 MEM32(ebp + (-0x20)) = edx; /* 0x250E2CB8: mov dword ptr [ebp - 0x20], edx */ 8669 eax = MEM32(eax + 0x8); /* 0x250E2CBB: mov eax, dword ptr [eax + 8] */ 8670 ecx = ebp + (-0x24); /* 0x250E2CBE: lea ecx, [ebp - 0x24] */ 8671 MEM32(ebp + (-0x1C)) = eax; /* 0x250E2CC1: mov dword ptr [ebp - 0x1c], eax */ 8672 RECOMP_ICALL(MEM32(0x2515150C)); /* 0x250E2CC4: call dword ptr [0x2515150c] */ 8673 RECOMP_FLAGS_IN(); 8674 fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x250E2CCA: fld dword ptr [ebp - 0x24] */ 8675 _st[0] *= _st[1]; /* 0x250E2CCD: fmul st(1) */ 8676 PUSH32(esp, ecx); /* 0x250E2CCF: push ecx */ 8677 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x250E2CD0: fstp dword ptr [ebp - 0x24] */ 8678 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E2CD3: fld dword ptr [ebp - 0x20] */ 8679 _st[0] *= _st[1]; /* 0x250E2CD6: fmul st(1) */ 8680 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x250E2CD8: fstp dword ptr [ebp - 0x20] */ 8681 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E2CDB: fld dword ptr [ebp - 0x1c] */ 8682 _st[0] *= _st[1]; /* 0x250E2CDE: fmul st(1) */ 8683 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x250E2CE0: fstp dword ptr [ebp - 0x1c] */ 8684 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2CE3: fstp st(0) */ 8685 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2CE5: fld dword ptr [ebp - 0x10] */ 8686 _st[0] = -_st[0]; /* 0x250E2CE8: fchs */ 8687 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2CEA: fstp dword ptr [esp] */ 8688 PUSH32(esp, ecx); /* 0x250E2CED: push ecx */ 8689 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2CEE: fld dword ptr [ebp - 0x14] */ 8690 _st[0] = -_st[0]; /* 0x250E2CF1: fchs */ 8691 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2CF3: fstp dword ptr [esp] */ 8692 PUSH32(esp, ecx); /* 0x250E2CF6: push ecx */ 8693 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x250E2CF7: fld dword ptr [ebp - 0x18] */ 8694 ecx = ebp + (-0x48); /* 0x250E2CFA: lea ecx, [ebp - 0x48] */ 8695 _st[0] = -_st[0]; /* 0x250E2CFD: fchs */ 8696 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2CFF: fstp dword ptr [esp] */ 8697 RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250E2D02: call dword ptr [0x251514fc] */ 8698 RECOMP_FLAGS_IN(); 8699 ecx = MEM32(eax); /* 0x250E2D08: mov ecx, dword ptr [eax] */ 8700 edx = MEM32(eax + 0x4); /* 0x250E2D0A: mov edx, dword ptr [eax + 4] */ 8701 eax = MEM32(eax + 0x8); /* 0x250E2D0D: mov eax, dword ptr [eax + 8] */ 8702 MEM32(ebp + (-0x30)) = ecx; /* 0x250E2D10: mov dword ptr [ebp - 0x30], ecx */ 8703 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x250E2D13: fld dword ptr [ebp - 0x30] */ 8704 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0xC))); /* 0x250E2D16: fcomp dword ptr [ebp - 0xc] */ 8705 fp_pop(); 8706 MEM32(ebp + (-0x28)) = eax; /* 0x250E2D19: mov dword ptr [ebp - 0x28], eax */ 8707 MEM32(ebp + (-0x2C)) = edx; /* 0x250E2D1C: mov dword ptr [ebp - 0x2c], edx */ 8708 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2D1F: fnstsw ax */ 8709 /* test HI8(eax), 0x40u */ /* 0x250E2D21: test ah, 0x40 */ 8710 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8711 _cf = 0; 8712 _flag_k = FK_NARROW(FK_TEST, 24); 8713 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2D8E; /* 0x250E2D24: je 0x250e2d8e */ 8714 L_250E2D26: 8715 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E2D26: fld dword ptr [ebp - 0x2c] */ 8716 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x8))); /* 0x250E2D29: fcomp dword ptr [ebp - 8] */ 8717 fp_pop(); 8718 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2D2C: fnstsw ax */ 8719 /* test HI8(eax), 0x40u */ /* 0x250E2D2E: test ah, 0x40 */ 8720 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8721 _cf = 0; 8722 _flag_k = FK_NARROW(FK_TEST, 24); 8723 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2D8E; /* 0x250E2D31: je 0x250e2d8e */ 8724 L_250E2D33: 8725 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E2D33: fld dword ptr [ebp - 0x28] */ 8726 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250E2D36: fcomp dword ptr [ebp - 4] */ 8727 fp_pop(); 8728 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E2D39: fnstsw ax */ 8729 /* test HI8(eax), 0x40u */ /* 0x250E2D3B: test ah, 0x40 */ 8730 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8731 _cf = 0; 8732 _flag_k = FK_NARROW(FK_TEST, 24); 8733 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2D8E; /* 0x250E2D3E: je 0x250e2d8e */ 8734 L_250E2D40: 8735 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E2D40: fld qword ptr [0x25154718] */ 8736 esi = edi + 0x84; /* 0x250E2D46: lea esi, [edi + 0x84] */ 8737 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x250E2D4C: fsin */ 8738 ecx = esi; /* 0x250E2D4E: mov ecx, esi */ 8739 fp_push(_st[0]); /* 0x250E2D50: fld st(0) */ 8740 _st[0] *= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x250E2D52: fmul dword ptr [ebp - 0x24] */ 8741 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250E2D55: fstp dword ptr [ebp - 0x4c] */ 8742 edx = MEM32(ebp + (-0x4C)); /* 0x250E2D58: mov edx, dword ptr [ebp - 0x4c] */ 8743 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x250E2D5B: fld dword ptr [ebp - 0x20] */ 8744 MEM32(ecx) = edx; /* 0x250E2D5E: mov dword ptr [ecx], edx */ 8745 _st[0] *= _st[1]; /* 0x250E2D60: fmul st(1) */ 8746 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x250E2D62: fstp dword ptr [ebp - 0x48] */ 8747 eax = MEM32(ebp + (-0x48)); /* 0x250E2D65: mov eax, dword ptr [ebp - 0x48] */ 8748 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x250E2D68: fld dword ptr [ebp - 0x1c] */ 8749 MEM32(ecx + 0x4) = eax; /* 0x250E2D6B: mov dword ptr [ecx + 4], eax */ 8750 _st[0] *= _st[1]; /* 0x250E2D6E: fmul st(1) */ 8751 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x250E2D70: fstp dword ptr [ebp - 0x44] */ 8752 edx = MEM32(ebp + (-0x44)); /* 0x250E2D73: mov edx, dword ptr [ebp - 0x44] */ 8753 MEM32(ecx + 0x8) = edx; /* 0x250E2D76: mov dword ptr [ecx + 8], edx */ 8754 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E2D79: fstp st(0) */ 8755 fp_push(*(double*)ADDR(0x25154718)); /* 0x250E2D7B: fld qword ptr [0x25154718] */ 8756 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x250E2D81: fcos */ 8757 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x250E2D83: fstp dword ptr [ebp - 0x40] */ 8758 eax = MEM32(ebp + (-0x40)); /* 0x250E2D86: mov eax, dword ptr [ebp - 0x40] */ 8759 goto L_250E2E25; /* 0x250E2D89: jmp 0x250e2e25 */ 8760 L_250E2D8E: 8761 PUSH32(esp, 0x3F800000u); /* 0x250E2D8E: push 0x3f800000 */ 8762 ecx = ebp + (-0xC); /* 0x250E2D93: lea ecx, [ebp - 0xc] */ 8763 PUSH32(esp, ecx); /* 0x250E2D96: push ecx */ 8764 edx = ebp + (-0x48); /* 0x250E2D97: lea edx, [ebp - 0x48] */ 8765 PUSH32(esp, edx); /* 0x250E2D9A: push edx */ 8766 ecx = ebp + (-0x18); /* 0x250E2D9B: lea ecx, [ebp - 0x18] */ 8767 RECOMP_ICALL(MEM32(0x25151548)); /* 0x250E2D9E: call dword ptr [0x25151548] */ 8768 RECOMP_FLAGS_IN(); 8769 ecx = eax; /* 0x250E2DA4: mov ecx, eax */ 8770 RECOMP_ICALL(MEM32(0x25151590)); /* 0x250E2DA6: call dword ptr [0x25151590] */ 8771 RECOMP_FLAGS_IN(); 8772 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2DAC: fld dword ptr [ebp - 0x14] */ 8773 ecx = MEM32(eax); /* 0x250E2DAF: mov ecx, dword ptr [eax] */ 8774 edx = MEM32(eax + 0x4); /* 0x250E2DB1: mov edx, dword ptr [eax + 4] */ 8775 eax = MEM32(eax + 0x8); /* 0x250E2DB4: mov eax, dword ptr [eax + 8] */ 8776 MEM32(ebp + (-0x28)) = eax; /* 0x250E2DB7: mov dword ptr [ebp - 0x28], eax */ 8777 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250E2DBA: fmul dword ptr [ebp - 0x28] */ 8778 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2DBD: fld dword ptr [ebp - 0x10] */ 8779 MEM32(ebp + (-0x2C)) = edx; /* 0x250E2DC0: mov dword ptr [ebp - 0x2c], edx */ 8780 _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250E2DC3: fmul dword ptr [ebp - 0x2c] */ 8781 MEM32(ebp + (-0x30)) = ecx; /* 0x250E2DC6: mov dword ptr [ebp - 0x30], ecx */ 8782 esi = edi + 0x84; /* 0x250E2DC9: lea esi, [edi + 0x84] */ 8783 ecx = esi; /* 0x250E2DCF: mov ecx, esi */ 8784 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2DD1: fsubp st(1) */ 8785 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4C)) = _v; } /* 0x250E2DD3: fstp dword ptr [ebp - 0x4c] */ 8786 edx = MEM32(ebp + (-0x4C)); /* 0x250E2DD6: mov edx, dword ptr [ebp - 0x4c] */ 8787 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2DD9: fld dword ptr [ebp - 0x10] */ 8788 MEM32(ecx) = edx; /* 0x250E2DDC: mov dword ptr [ecx], edx */ 8789 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250E2DDE: fmul dword ptr [ebp - 0x30] */ 8790 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x250E2DE1: fld dword ptr [ebp - 0x28] */ 8791 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2DE4: fmul dword ptr [ebp - 0x18] */ 8792 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2DE7: fsubp st(1) */ 8793 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x48)) = _v; } /* 0x250E2DE9: fstp dword ptr [ebp - 0x48] */ 8794 eax = MEM32(ebp + (-0x48)); /* 0x250E2DEC: mov eax, dword ptr [ebp - 0x48] */ 8795 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x250E2DEF: fld dword ptr [ebp - 0x2c] */ 8796 MEM32(ecx + 0x4) = eax; /* 0x250E2DF2: mov dword ptr [ecx + 4], eax */ 8797 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2DF5: fmul dword ptr [ebp - 0x18] */ 8798 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2DF8: fld dword ptr [ebp - 0x14] */ 8799 _st[0] *= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x250E2DFB: fmul dword ptr [ebp - 0x30] */ 8800 { double _v = fp_pop(); _st[0] -= _v; } /* 0x250E2DFE: fsubp st(1) */ 8801 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x44)) = _v; } /* 0x250E2E00: fstp dword ptr [ebp - 0x44] */ 8802 edx = MEM32(ebp + (-0x44)); /* 0x250E2E03: mov edx, dword ptr [ebp - 0x44] */ 8803 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x250E2E06: fld dword ptr [ebp - 0x14] */ 8804 MEM32(ecx + 0x8) = edx; /* 0x250E2E09: mov dword ptr [ecx + 8], edx */ 8805 _st[0] *= (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x250E2E0C: fmul dword ptr [ebp - 0x2c] */ 8806 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x250E2E0F: fld dword ptr [ebp - 0x10] */ 8807 _st[0] *= (double)*(float*)ADDR(ebp + (-0x28)); /* 0x250E2E12: fmul dword ptr [ebp - 0x28] */ 8808 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2E15: faddp st(1) */ 8809 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x250E2E17: fld dword ptr [ebp - 0x30] */ 8810 _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x250E2E1A: fmul dword ptr [ebp - 0x18] */ 8811 { double _v = fp_pop(); _st[0] += _v; } /* 0x250E2E1D: faddp st(1) */ 8812 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x250E2E1F: fstp dword ptr [ebp - 0x40] */ 8813 eax = MEM32(ebp + (-0x40)); /* 0x250E2E22: mov eax, dword ptr [ebp - 0x40] */ 8814 L_250E2E25: 8815 MEM32(ecx + 0xC) = eax; /* 0x250E2E25: mov dword ptr [ecx + 0xc], eax */ 8816 PUSH32(esp, esi); /* 0x250E2E28: push esi */ 8817 ecx = ebp + (-0x3C); /* 0x250E2E29: lea ecx, [ebp - 0x3c] */ 8818 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250E2E2C: call dword ptr [0x2515157c] */ 8819 RECOMP_FLAGS_IN(); 8820 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x250E2E32: fld dword ptr [ebp - 0x34] */ 8821 _st[0] = -_st[0]; /* 0x250E2E35: fchs */ 8822 PUSH32(esp, ecx); /* 0x250E2E37: push ecx */ 8823 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E38: fstp dword ptr [esp] */ 8824 PUSH32(esp, ecx); /* 0x250E2E3B: push ecx */ 8825 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x250E2E3C: fld dword ptr [ebp - 0x38] */ 8826 _st[0] = -_st[0]; /* 0x250E2E3F: fchs */ 8827 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E41: fstp dword ptr [esp] */ 8828 PUSH32(esp, ecx); /* 0x250E2E44: push ecx */ 8829 fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x250E2E45: fld dword ptr [ebp - 0x3c] */ 8830 ecx = ebp + (-0x30); /* 0x250E2E48: lea ecx, [ebp - 0x30] */ 8831 _st[0] = -_st[0]; /* 0x250E2E4B: fchs */ 8832 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E4D: fstp dword ptr [esp] */ 8833 RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250E2E50: call dword ptr [0x251514fc] */ 8834 RECOMP_FLAGS_IN(); 8835 ecx = MEM32(eax); /* 0x250E2E56: mov ecx, dword ptr [eax] */ 8836 MEM32(ebp + (-0x48)) = ecx; /* 0x250E2E58: mov dword ptr [ebp - 0x48], ecx */ 8837 edx = MEM32(eax + 0x4); /* 0x250E2E5B: mov edx, dword ptr [eax + 4] */ 8838 ecx = ebp + (-0x48); /* 0x250E2E5E: lea ecx, [ebp - 0x48] */ 8839 MEM32(ebp + (-0x44)) = edx; /* 0x250E2E61: mov dword ptr [ebp - 0x44], edx */ 8840 eax = MEM32(eax + 0x8); /* 0x250E2E64: mov eax, dword ptr [eax + 8] */ 8841 PUSH32(esp, ecx); /* 0x250E2E67: push ecx */ 8842 ecx = ebp + (-0x24); /* 0x250E2E68: lea ecx, [ebp - 0x24] */ 8843 MEM32(ebp + (-0x40)) = eax; /* 0x250E2E6B: mov dword ptr [ebp - 0x40], eax */ 8844 RECOMP_ICALL(MEM32(0x25151530)); /* 0x250E2E6E: call dword ptr [0x25151530] */ 8845 RECOMP_FLAGS_IN(); 8846 /* test eax, eax */ /* 0x250E2E74: test eax, eax */ 8847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8848 _cf = 0; 8849 _flag_k = FK_TEST; 8850 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2E8C; /* 0x250E2E76: je 0x250e2e8c */ 8851 L_250E2E78: 8852 PUSH32(esp, 0x40490FDBu); /* 0x250E2E78: push 0x40490fdb */ 8853 edx = ebp + (-0xC); /* 0x250E2E7D: lea edx, [ebp - 0xc] */ 8854 PUSH32(esp, edx); /* 0x250E2E80: push edx */ 8855 ecx = ebp + (-0x4C); /* 0x250E2E81: lea ecx, [ebp - 0x4c] */ 8856 RECOMP_ICALL(MEM32(0x2515156C)); /* 0x250E2E84: call dword ptr [0x2515156c] */ 8857 RECOMP_FLAGS_IN(); 8858 goto L_250E2E9D; /* 0x250E2E8A: jmp 0x250e2e9d */ 8859 L_250E2E8C: 8860 eax = ebp + (-0x24); /* 0x250E2E8C: lea eax, [ebp - 0x24] */ 8861 PUSH32(esp, eax); /* 0x250E2E8F: push eax */ 8862 ecx = ebp + (-0x3C); /* 0x250E2E90: lea ecx, [ebp - 0x3c] */ 8863 PUSH32(esp, ecx); /* 0x250E2E93: push ecx */ 8864 ecx = ebp + (-0x4C); /* 0x250E2E94: lea ecx, [ebp - 0x4c] */ 8865 RECOMP_ICALL(MEM32(0x25151588)); /* 0x250E2E97: call dword ptr [0x25151588] */ 8866 RECOMP_FLAGS_IN(); 8867 L_250E2E9D: 8868 PUSH32(esp, eax); /* 0x250E2E9D: push eax */ 8869 ecx = esi; /* 0x250E2E9E: mov ecx, esi */ 8870 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E2EA0: call dword ptr [0x25151508] */ 8871 RECOMP_FLAGS_IN(); 8872 edx = MEM32(edi); /* 0x250E2EA6: mov edx, dword ptr [edi] */ 8873 PUSH32(esp, 1); /* 0x250E2EA8: push 1 */ 8874 PUSH32(esp, 2); /* 0x250E2EAA: push 2 */ 8875 ecx = edi; /* 0x250E2EAC: mov ecx, edi */ 8876 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E2EAE: call dword ptr [edx + 0x2c] */ 8877 RECOMP_FLAGS_IN(); 8878 edi = POP32_VAL(esp); /* 0x250E2EB1: pop edi */ 8879 esi = POP32_VAL(esp); /* 0x250E2EB2: pop esi */ 8880 esp = ebp; /* 0x250E2EB3: mov esp, ebp */ 8881 ebp = POP32_VAL(esp); /* 0x250E2EB5: pop ebp */ 8882 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2EB6: ret 8 */ 8883 RECOMP_REGS_OUT(); 8884 } 8885 8886 void sub_250E2E25(void) { 8887 int _fpu_cmp = 0; 8888 uint32_t _cf = 0; 8889 int _df = 1; 8890 uint32_t _flag_k = FK_NONE; 8891 uint32_t _flag_a = 0, _flag_b = 0; 8892 uint32_t _itail_tgt = 0; 8893 RECOMP_REGS_LOCALS 8894 RECOMP_ENTER(0x250E2E25u); 8895 8896 L_250E2E25: 8897 MEM32(ecx + 0xC) = eax; /* 0x250E2E25: mov dword ptr [ecx + 0xc], eax */ 8898 PUSH32(esp, esi); /* 0x250E2E28: push esi */ 8899 ecx = ebp + (-0x3C); /* 0x250E2E29: lea ecx, [ebp - 0x3c] */ 8900 RECOMP_ICALL(MEM32(0x2515157C)); /* 0x250E2E2C: call dword ptr [0x2515157c] */ 8901 RECOMP_FLAGS_IN(); 8902 fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x250E2E32: fld dword ptr [ebp - 0x34] */ 8903 _st[0] = -_st[0]; /* 0x250E2E35: fchs */ 8904 PUSH32(esp, ecx); /* 0x250E2E37: push ecx */ 8905 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E38: fstp dword ptr [esp] */ 8906 PUSH32(esp, ecx); /* 0x250E2E3B: push ecx */ 8907 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x250E2E3C: fld dword ptr [ebp - 0x38] */ 8908 _st[0] = -_st[0]; /* 0x250E2E3F: fchs */ 8909 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E41: fstp dword ptr [esp] */ 8910 PUSH32(esp, ecx); /* 0x250E2E44: push ecx */ 8911 fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x250E2E45: fld dword ptr [ebp - 0x3c] */ 8912 ecx = ebp + (-0x30); /* 0x250E2E48: lea ecx, [ebp - 0x30] */ 8913 _st[0] = -_st[0]; /* 0x250E2E4B: fchs */ 8914 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x250E2E4D: fstp dword ptr [esp] */ 8915 RECOMP_ICALL(MEM32(0x251514FC)); /* 0x250E2E50: call dword ptr [0x251514fc] */ 8916 RECOMP_FLAGS_IN(); 8917 ecx = MEM32(eax); /* 0x250E2E56: mov ecx, dword ptr [eax] */ 8918 MEM32(ebp + (-0x48)) = ecx; /* 0x250E2E58: mov dword ptr [ebp - 0x48], ecx */ 8919 edx = MEM32(eax + 0x4); /* 0x250E2E5B: mov edx, dword ptr [eax + 4] */ 8920 ecx = ebp + (-0x48); /* 0x250E2E5E: lea ecx, [ebp - 0x48] */ 8921 MEM32(ebp + (-0x44)) = edx; /* 0x250E2E61: mov dword ptr [ebp - 0x44], edx */ 8922 eax = MEM32(eax + 0x8); /* 0x250E2E64: mov eax, dword ptr [eax + 8] */ 8923 PUSH32(esp, ecx); /* 0x250E2E67: push ecx */ 8924 ecx = ebp + (-0x24); /* 0x250E2E68: lea ecx, [ebp - 0x24] */ 8925 MEM32(ebp + (-0x40)) = eax; /* 0x250E2E6B: mov dword ptr [ebp - 0x40], eax */ 8926 RECOMP_ICALL(MEM32(0x25151530)); /* 0x250E2E6E: call dword ptr [0x25151530] */ 8927 RECOMP_FLAGS_IN(); 8928 /* test eax, eax */ /* 0x250E2E74: test eax, eax */ 8929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8930 _cf = 0; 8931 _flag_k = FK_TEST; 8932 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2E8C; /* 0x250E2E76: je 0x250e2e8c */ 8933 L_250E2E78: 8934 PUSH32(esp, 0x40490FDBu); /* 0x250E2E78: push 0x40490fdb */ 8935 edx = ebp + (-0xC); /* 0x250E2E7D: lea edx, [ebp - 0xc] */ 8936 PUSH32(esp, edx); /* 0x250E2E80: push edx */ 8937 ecx = ebp + (-0x4C); /* 0x250E2E81: lea ecx, [ebp - 0x4c] */ 8938 RECOMP_ICALL(MEM32(0x2515156C)); /* 0x250E2E84: call dword ptr [0x2515156c] */ 8939 RECOMP_FLAGS_IN(); 8940 goto L_250E2E9D; /* 0x250E2E8A: jmp 0x250e2e9d */ 8941 L_250E2E8C: 8942 eax = ebp + (-0x24); /* 0x250E2E8C: lea eax, [ebp - 0x24] */ 8943 PUSH32(esp, eax); /* 0x250E2E8F: push eax */ 8944 ecx = ebp + (-0x3C); /* 0x250E2E90: lea ecx, [ebp - 0x3c] */ 8945 PUSH32(esp, ecx); /* 0x250E2E93: push ecx */ 8946 ecx = ebp + (-0x4C); /* 0x250E2E94: lea ecx, [ebp - 0x4c] */ 8947 RECOMP_ICALL(MEM32(0x25151588)); /* 0x250E2E97: call dword ptr [0x25151588] */ 8948 RECOMP_FLAGS_IN(); 8949 L_250E2E9D: 8950 PUSH32(esp, eax); /* 0x250E2E9D: push eax */ 8951 ecx = esi; /* 0x250E2E9E: mov ecx, esi */ 8952 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E2EA0: call dword ptr [0x25151508] */ 8953 RECOMP_FLAGS_IN(); 8954 edx = MEM32(edi); /* 0x250E2EA6: mov edx, dword ptr [edi] */ 8955 PUSH32(esp, 1); /* 0x250E2EA8: push 1 */ 8956 PUSH32(esp, 2); /* 0x250E2EAA: push 2 */ 8957 ecx = edi; /* 0x250E2EAC: mov ecx, edi */ 8958 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E2EAE: call dword ptr [edx + 0x2c] */ 8959 RECOMP_FLAGS_IN(); 8960 edi = POP32_VAL(esp); /* 0x250E2EB1: pop edi */ 8961 esi = POP32_VAL(esp); /* 0x250E2EB2: pop esi */ 8962 esp = ebp; /* 0x250E2EB3: mov esp, ebp */ 8963 ebp = POP32_VAL(esp); /* 0x250E2EB5: pop ebp */ 8964 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2EB6: ret 8 */ 8965 RECOMP_REGS_OUT(); 8966 } 8967 8968 void sub_250E2E9D(void) { 8969 int _fpu_cmp = 0; 8970 uint32_t _cf = 0; 8971 int _df = 1; 8972 uint32_t _flag_k = FK_NONE; 8973 uint32_t _flag_a = 0, _flag_b = 0; 8974 uint32_t _itail_tgt = 0; 8975 RECOMP_REGS_LOCALS 8976 RECOMP_ENTER(0x250E2E9Du); 8977 8978 L_250E2E9D: 8979 PUSH32(esp, eax); /* 0x250E2E9D: push eax */ 8980 ecx = esi; /* 0x250E2E9E: mov ecx, esi */ 8981 RECOMP_ICALL(MEM32(0x25151508)); /* 0x250E2EA0: call dword ptr [0x25151508] */ 8982 RECOMP_FLAGS_IN(); 8983 edx = MEM32(edi); /* 0x250E2EA6: mov edx, dword ptr [edi] */ 8984 PUSH32(esp, 1); /* 0x250E2EA8: push 1 */ 8985 PUSH32(esp, 2); /* 0x250E2EAA: push 2 */ 8986 ecx = edi; /* 0x250E2EAC: mov ecx, edi */ 8987 RECOMP_ICALL(MEM32(edx + 0x2C)); /* 0x250E2EAE: call dword ptr [edx + 0x2c] */ 8988 RECOMP_FLAGS_IN(); 8989 edi = POP32_VAL(esp); /* 0x250E2EB1: pop edi */ 8990 esi = POP32_VAL(esp); /* 0x250E2EB2: pop esi */ 8991 esp = ebp; /* 0x250E2EB3: mov esp, ebp */ 8992 ebp = POP32_VAL(esp); /* 0x250E2EB5: pop ebp */ 8993 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E2EB6: ret 8 */ 8994 RECOMP_REGS_OUT(); 8995 } 8996 8997 void sub_250E2EC0(void) { 8998 int _fpu_cmp = 0; 8999 uint32_t _cf = 0; 9000 int _df = 1; 9001 uint32_t _flag_k = FK_NONE; 9002 uint32_t _flag_a = 0, _flag_b = 0; 9003 uint32_t _itail_tgt = 0; 9004 RECOMP_REGS_LOCALS 9005 RECOMP_ENTER(0x250E2EC0u); 9006 9007 L_250E2EC0: 9008 PUSH32(esp, esi); /* 0x250E2EC0: push esi */ 9009 esi = ecx; /* 0x250E2EC1: mov esi, ecx */ 9010 SET_LO8(eax, MEM8(esi + 0x132)); /* 0x250E2EC3: mov al, byte ptr [esi + 0x132] */ 9011 /* test LO8(eax), LO8(eax) */ /* 0x250E2EC9: test al, al */ 9012 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9013 _cf = 0; 9014 _flag_k = FK_NARROW(FK_TEST, 24); 9015 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2ED2; /* 0x250E2ECB: je 0x250e2ed2 */ 9016 L_250E2ECD: 9017 RECOMP_ICALL(0x250E2EE0u); /* 0x250E2ECD: call 0x250e2ee0 */ /* not lifted */ 9018 RECOMP_FLAGS_IN(); 9019 L_250E2ED2: 9020 eax = esi + 0xD8; /* 0x250E2ED2: lea eax, [esi + 0xd8] */ 9021 esi = POP32_VAL(esp); /* 0x250E2ED8: pop esi */ 9022 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E2ED9: ret */ 9023 RECOMP_REGS_OUT(); 9024 } 9025 9026 void sub_250E2EE0(void) { 9027 int _fpu_cmp = 0; 9028 uint32_t _cf = 0; 9029 int _df = 1; 9030 uint32_t _flag_k = FK_NONE; 9031 uint32_t _flag_a = 0, _flag_b = 0; 9032 uint32_t _itail_tgt = 0; 9033 RECOMP_REGS_LOCALS 9034 RECOMP_ENTER(0x250E2EE0u); 9035 9036 L_250E2EE0: 9037 PUSH32(esp, ebp); /* 0x250E2EE0: push ebp */ 9038 ebp = esp; /* 0x250E2EE1: mov ebp, esp */ 9039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 9040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9041 esp = esp - 0x44u; /* 0x250E2EE3: sub esp, 0x44 */ 9042 _flag_k = FK_CMP; 9043 PUSH32(esp, ebx); /* 0x250E2EE6: push ebx */ 9044 PUSH32(esp, esi); /* 0x250E2EE7: push esi */ 9045 esi = ecx; /* 0x250E2EE8: mov esi, ecx */ 9046 /* test MEM8(esi + 0x132), 0xFu */ /* 0x250E2EEA: test byte ptr [esi + 0x132], 0xf */ 9047 _flag_a = (uint32_t)(MEM8(esi + 0x132)) << 24; _flag_b = (uint32_t)(0xFu) << 24; 9048 _cf = 0; 9049 _flag_k = FK_NARROW(FK_TEST, 24); 9050 MEM32(ebp + (-0x4)) = esi; /* 0x250E2EF1: mov dword ptr [ebp - 4], esi */ 9051 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2FF9; /* 0x250E2EF4: je 0x250e2ff9 */ 9052 L_250E2EFA: 9053 PUSH32(esp, edi); /* 0x250E2EFA: push edi */ 9054 eax = esi + 0x84; /* 0x250E2EFB: lea eax, [esi + 0x84] */ 9055 ebx = esi + 0xD8; /* 0x250E2F01: lea ebx, [esi + 0xd8] */ 9056 PUSH32(esp, eax); /* 0x250E2F07: push eax */ 9057 ecx = ebx; /* 0x250E2F08: mov ecx, ebx */ 9058 RECOMP_ICALL(MEM32(0x2515152C)); /* 0x250E2F0A: call dword ptr [0x2515152c] */ 9059 RECOMP_FLAGS_IN(); 9060 fp_push(*(float*)&MEM32(esi + 0x94)); /* 0x250E2F10: fld dword ptr [esi + 0x94] */ 9061 fp_push(*(float*)&MEM32(esi + 0x94)); /* 0x250E2F16: fld dword ptr [esi + 0x94] */ 9062 PUSH32(esp, ebx); /* 0x250E2F1C: push ebx */ 9063 fp_push(*(float*)&MEM32(esi + 0x94)); /* 0x250E2F1D: fld dword ptr [esi + 0x94] */ 9064 fp_push(_st[0]); /* 0x250E2F23: fld st(0) */ 9065 _st[0] *= (double)*(float*)ADDR(ebx); /* 0x250E2F25: fmul dword ptr [ebx] */ 9066 { float _v = (float)fp_pop(); *(float*)ADDR(ebx) = _v; } /* 0x250E2F27: fstp dword ptr [ebx] */ 9067 fp_push(_st[1]); /* 0x250E2F29: fld st(1) */ 9068 _st[0] *= (double)*(float*)ADDR(ebx + 0x4); /* 0x250E2F2B: fmul dword ptr [ebx + 4] */ 9069 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x4) = _v; } /* 0x250E2F2E: fstp dword ptr [ebx + 4] */ 9070 fp_push(_st[2]); /* 0x250E2F31: fld st(2) */ 9071 _st[0] *= (double)*(float*)ADDR(ebx + 0x8); /* 0x250E2F33: fmul dword ptr [ebx + 8] */ 9072 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x8) = _v; } /* 0x250E2F36: fstp dword ptr [ebx + 8] */ 9073 fp_push(_st[0]); /* 0x250E2F39: fld st(0) */ 9074 _st[0] *= (double)*(float*)ADDR(ebx + 0x10); /* 0x250E2F3B: fmul dword ptr [ebx + 0x10] */ 9075 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x10) = _v; } /* 0x250E2F3E: fstp dword ptr [ebx + 0x10] */ 9076 fp_push(_st[1]); /* 0x250E2F41: fld st(1) */ 9077 _st[0] *= (double)*(float*)ADDR(ebx + 0x14); /* 0x250E2F43: fmul dword ptr [ebx + 0x14] */ 9078 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x14) = _v; } /* 0x250E2F46: fstp dword ptr [ebx + 0x14] */ 9079 fp_push(_st[2]); /* 0x250E2F49: fld st(2) */ 9080 _st[0] *= (double)*(float*)ADDR(ebx + 0x18); /* 0x250E2F4B: fmul dword ptr [ebx + 0x18] */ 9081 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x18) = _v; } /* 0x250E2F4E: fstp dword ptr [ebx + 0x18] */ 9082 fp_push(_st[0]); /* 0x250E2F51: fld st(0) */ 9083 _st[0] *= (double)*(float*)ADDR(ebx + 0x20); /* 0x250E2F53: fmul dword ptr [ebx + 0x20] */ 9084 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x20) = _v; } /* 0x250E2F56: fstp dword ptr [ebx + 0x20] */ 9085 fp_push(_st[1]); /* 0x250E2F59: fld st(1) */ 9086 _st[0] *= (double)*(float*)ADDR(ebx + 0x24); /* 0x250E2F5B: fmul dword ptr [ebx + 0x24] */ 9087 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x24) = _v; } /* 0x250E2F5E: fstp dword ptr [ebx + 0x24] */ 9088 fp_push(_st[2]); /* 0x250E2F61: fld st(2) */ 9089 _st[0] *= (double)*(float*)ADDR(ebx + 0x28); /* 0x250E2F63: fmul dword ptr [ebx + 0x28] */ 9090 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x28) = _v; } /* 0x250E2F66: fstp dword ptr [ebx + 0x28] */ 9091 _st[0] *= (double)*(float*)ADDR(ebx + 0x30); /* 0x250E2F69: fmul dword ptr [ebx + 0x30] */ 9092 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x30) = _v; } /* 0x250E2F6C: fstp dword ptr [ebx + 0x30] */ 9093 _st[0] *= (double)*(float*)ADDR(ebx + 0x34); /* 0x250E2F6F: fmul dword ptr [ebx + 0x34] */ 9094 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x34) = _v; } /* 0x250E2F72: fstp dword ptr [ebx + 0x34] */ 9095 _st[0] *= (double)*(float*)ADDR(ebx + 0x38); /* 0x250E2F75: fmul dword ptr [ebx + 0x38] */ 9096 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x38) = _v; } /* 0x250E2F78: fstp dword ptr [ebx + 0x38] */ 9097 ecx = MEM32(esi + 0x78); /* 0x250E2F7B: mov ecx, dword ptr [esi + 0x78] */ 9098 MEM32(ebx + 0x30) = ecx; /* 0x250E2F7E: mov dword ptr [ebx + 0x30], ecx */ 9099 edx = MEM32(esi + 0x7C); /* 0x250E2F81: mov edx, dword ptr [esi + 0x7c] */ 9100 MEM32(ebx + 0x34) = edx; /* 0x250E2F84: mov dword ptr [ebx + 0x34], edx */ 9101 eax = MEM32(esi + 0x80); /* 0x250E2F87: mov eax, dword ptr [esi + 0x80] */ 9102 MEM32(ebx + 0x38) = eax; /* 0x250E2F8D: mov dword ptr [ebx + 0x38], eax */ 9103 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9104 eax = 0; /* 0x250E2F90: xor eax, eax */ 9105 _cf = 0; 9106 _flag_k = FK_TEST; 9107 ecx = ebp + (-0x44); /* 0x250E2F92: lea ecx, [ebp - 0x44] */ 9108 PUSH32(esp, ecx); /* 0x250E2F95: push ecx */ 9109 ecx = esi + 0x98; /* 0x250E2F96: lea ecx, [esi + 0x98] */ 9110 MEM32(esi + 0xE4) = eax; /* 0x250E2F9C: mov dword ptr [esi + 0xe4], eax */ 9111 MEM32(esi + 0xF4) = eax; /* 0x250E2FA2: mov dword ptr [esi + 0xf4], eax */ 9112 MEM32(esi + 0x104) = eax; /* 0x250E2FA8: mov dword ptr [esi + 0x104], eax */ 9113 RECOMP_ICALL(MEM32(0x25151524)); /* 0x250E2FAE: call dword ptr [0x25151524] */ 9114 RECOMP_FLAGS_IN(); 9115 ecx = 0x10u; /* 0x250E2FB4: mov ecx, 0x10 */ 9116 esi = eax; /* 0x250E2FB9: mov esi, eax */ 9117 edi = ebx; /* 0x250E2FBB: mov edi, ebx */ 9118 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x250E2FBD: 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; } 9119 esi = MEM32(ebp + (-0x4)); /* 0x250E2FBF: mov esi, dword ptr [ebp - 4] */ 9120 ecx = MEM32(esi + 0x6C); /* 0x250E2FC2: mov ecx, dword ptr [esi + 0x6c] */ 9121 /* test ecx, ecx */ /* 0x250E2FC5: test ecx, ecx */ 9122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9123 _cf = 0; 9124 _flag_k = FK_TEST; 9125 edx = MEM32(esi + 0x94); /* 0x250E2FC7: mov edx, dword ptr [esi + 0x94] */ 9126 MEM32(esi + 0x118) = edx; /* 0x250E2FCD: mov dword ptr [esi + 0x118], edx */ 9127 edi = POP32_VAL(esp); /* 0x250E2FD3: pop edi */ 9128 if (TEST_Z(_flag_a, _flag_b)) goto L_250E2FF9; /* 0x250E2FD4: je 0x250e2ff9 */ 9129 L_250E2FD6: 9130 RECOMP_ICALL(0x250E2EC0u); /* 0x250E2FD6: call 0x250e2ec0 */ /* not lifted */ 9131 RECOMP_FLAGS_IN(); 9132 PUSH32(esp, eax); /* 0x250E2FDB: push eax */ 9133 ecx = ebx; /* 0x250E2FDC: mov ecx, ebx */ 9134 RECOMP_ICALL(MEM32(0x25151578)); /* 0x250E2FDE: call dword ptr [0x25151578] */ 9135 RECOMP_FLAGS_IN(); 9136 eax = MEM32(esi + 0x6C); /* 0x250E2FE4: mov eax, dword ptr [esi + 0x6c] */ 9137 fp_push(*(float*)&MEM32(eax + 0x118)); /* 0x250E2FE7: fld dword ptr [eax + 0x118] */ 9138 _st[0] *= (double)*(float*)ADDR(esi + 0x118); /* 0x250E2FED: fmul dword ptr [esi + 0x118] */ 9139 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x118) = _v; } /* 0x250E2FF3: fstp dword ptr [esi + 0x118] */ 9140 L_250E2FF9: 9141 MEM8(esi + 0x132) = (uint8_t)(0); /* 0x250E2FF9: mov byte ptr [esi + 0x132], 0 */ 9142 esi = POP32_VAL(esp); /* 0x250E3000: pop esi */ 9143 ebx = POP32_VAL(esp); /* 0x250E3001: pop ebx */ 9144 esp = ebp; /* 0x250E3002: mov esp, ebp */ 9145 ebp = POP32_VAL(esp); /* 0x250E3004: pop ebp */ 9146 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E3005: ret */ 9147 RECOMP_REGS_OUT(); 9148 } 9149 9150 void sub_250E3010(void) { 9151 int _fpu_cmp = 0; 9152 uint32_t _cf = 0; 9153 int _df = 1; 9154 uint32_t _flag_k = FK_NONE; 9155 uint32_t _flag_a = 0, _flag_b = 0; 9156 uint32_t _itail_tgt = 0; 9157 RECOMP_REGS_LOCALS 9158 RECOMP_ENTER(0x250E3010u); 9159 9160 L_250E3010: 9161 PUSH32(esp, ebp); /* 0x250E3010: push ebp */ 9162 ebp = esp; /* 0x250E3011: mov ebp, esp */ 9163 PUSH32(esp, esi); /* 0x250E3013: push esi */ 9164 esi = ecx; /* 0x250E3014: mov esi, ecx */ 9165 fp_push(*(float*)&MEM32(esi + 0x12C)); /* 0x250E3016: fld dword ptr [esi + 0x12c] */ 9166 PUSH32(esp, edi); /* 0x250E301C: push edi */ 9167 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250E301D: fcomp dword ptr [ebp + 8] */ 9168 fp_pop(); 9169 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E3020: fnstsw ax */ 9170 /* test HI8(eax), 0x40u */ /* 0x250E3022: test ah, 0x40 */ 9171 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 9172 _cf = 0; 9173 _flag_k = FK_NARROW(FK_TEST, 24); 9174 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3030; /* 0x250E3025: jne 0x250e3030 */ 9175 L_250E3027: 9176 eax = MEM32(esi); /* 0x250E3027: mov eax, dword ptr [esi] */ 9177 PUSH32(esp, 0); /* 0x250E3029: push 0 */ 9178 PUSH32(esp, 3); /* 0x250E302B: push 3 */ 9179 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E302D: call dword ptr [eax + 0x2c] */ 9180 RECOMP_FLAGS_IN(); 9181 L_250E3030: 9182 ecx = MEM32(esi + 0x124); /* 0x250E3030: mov ecx, dword ptr [esi + 0x124] */ 9183 /* test ecx, ecx */ /* 0x250E3036: test ecx, ecx */ 9184 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9185 _cf = 0; 9186 _flag_k = FK_TEST; 9187 edi = MEM32(ebp + 0x8); /* 0x250E3038: mov edi, dword ptr [ebp + 8] */ 9188 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3061; /* 0x250E303B: je 0x250e3061 */ 9189 L_250E303D: 9190 fp_push(*(float*)&MEM32(esi + 0x12C)); /* 0x250E303D: fld dword ptr [esi + 0x12c] */ 9191 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x250E3043: fcomp dword ptr [ebp + 8] */ 9192 fp_pop(); 9193 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E3046: fnstsw ax */ 9194 /* test HI8(eax), 0x40u */ /* 0x250E3048: test ah, 0x40 */ 9195 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 9196 _cf = 0; 9197 _flag_k = FK_NARROW(FK_TEST, 24); 9198 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3061; /* 0x250E304B: jne 0x250e3061 */ 9199 L_250E304D: 9200 edx = MEM32(ecx); /* 0x250E304D: mov edx, dword ptr [ecx] */ 9201 eax = esi + 0x120; /* 0x250E304F: lea eax, [esi + 0x120] */ 9202 PUSH32(esp, eax); /* 0x250E3055: push eax */ 9203 eax = esi + 0x98; /* 0x250E3056: lea eax, [esi + 0x98] */ 9204 PUSH32(esp, eax); /* 0x250E305C: push eax */ 9205 PUSH32(esp, edi); /* 0x250E305D: push edi */ 9206 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x250E305E: call dword ptr [edx + 8] */ 9207 RECOMP_FLAGS_IN(); 9208 L_250E3061: 9209 /* cmp MEM8(ebp + 0xC), 1 */ /* 0x250E3061: cmp byte ptr [ebp + 0xc], 1 */ 9210 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(1) << 24; 9211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9212 _flag_k = FK_NARROW(FK_CMP, 24); 9213 ecx = MEM32(ebp + 0x8); /* 0x250E3065: mov ecx, dword ptr [ebp + 8] */ 9214 MEM32(esi + 0x12C) = ecx; /* 0x250E3068: mov dword ptr [esi + 0x12c], ecx */ 9215 if (CMP_NE(_flag_a, _flag_b)) goto L_250E3088; /* 0x250E306E: jne 0x250e3088 */ 9216 L_250E3070: 9217 esi = MEM32(esi + 0x74); /* 0x250E3070: mov esi, dword ptr [esi + 0x74] */ 9218 /* test esi, esi */ /* 0x250E3073: test esi, esi */ 9219 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9220 _cf = 0; 9221 _flag_k = FK_TEST; 9222 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3088; /* 0x250E3075: je 0x250e3088 */ 9223 L_250E3077: 9224 PUSH32(esp, 1); /* 0x250E3077: push 1 */ 9225 PUSH32(esp, edi); /* 0x250E3079: push edi */ 9226 ecx = esi; /* 0x250E307A: mov ecx, esi */ 9227 RECOMP_ICALL(0x250E3010u); /* 0x250E307C: call 0x250e3010 */ /* not lifted */ 9228 RECOMP_FLAGS_IN(); 9229 esi = MEM32(esi + 0x70); /* 0x250E3081: mov esi, dword ptr [esi + 0x70] */ 9230 /* test esi, esi */ /* 0x250E3084: test esi, esi */ 9231 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9232 _cf = 0; 9233 _flag_k = FK_TEST; 9234 RECOMP_BACKEDGE(); 9235 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3077; /* 0x250E3086: jne 0x250e3077 */ 9236 L_250E3088: 9237 edi = POP32_VAL(esp); /* 0x250E3088: pop edi */ 9238 esi = POP32_VAL(esp); /* 0x250E3089: pop esi */ 9239 ebp = POP32_VAL(esp); /* 0x250E308A: pop ebp */ 9240 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E308B: ret 8 */ 9241 RECOMP_REGS_OUT(); 9242 } 9243 9244 void sub_250E3090(void) { 9245 int _fpu_cmp = 0; 9246 uint32_t _cf = 0; 9247 int _df = 1; 9248 uint32_t _flag_k = FK_NONE; 9249 uint32_t _flag_a = 0, _flag_b = 0; 9250 uint32_t _itail_tgt = 0; 9251 RECOMP_REGS_LOCALS 9252 RECOMP_ENTER(0x250E3090u); 9253 9254 L_250E3090: 9255 PUSH32(esp, ebp); /* 0x250E3090: push ebp */ 9256 ebp = esp; /* 0x250E3091: mov ebp, esp */ 9257 PUSH32(esp, ebx); /* 0x250E3093: push ebx */ 9258 ebx = MEM32(ebp + 0x8); /* 0x250E3094: mov ebx, dword ptr [ebp + 8] */ 9259 PUSH32(esp, esi); /* 0x250E3097: push esi */ 9260 PUSH32(esp, edi); /* 0x250E3098: push edi */ 9261 edi = ecx; /* 0x250E3099: mov edi, ecx */ 9262 esi = MEM32(edi + 0x74); /* 0x250E309B: mov esi, dword ptr [edi + 0x74] */ 9263 /* test esi, esi */ /* 0x250E309E: test esi, esi */ 9264 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9265 _cf = 0; 9266 _flag_k = FK_TEST; 9267 if (TEST_Z(_flag_a, _flag_b)) goto L_250E30B1; /* 0x250E30A0: je 0x250e30b1 */ 9268 L_250E30A2: 9269 PUSH32(esp, ebx); /* 0x250E30A2: push ebx */ 9270 ecx = esi; /* 0x250E30A3: mov ecx, esi */ 9271 RECOMP_ICALL(0x250E3090u); /* 0x250E30A5: call 0x250e3090 */ /* not lifted */ 9272 RECOMP_FLAGS_IN(); 9273 esi = MEM32(esi + 0x70); /* 0x250E30AA: mov esi, dword ptr [esi + 0x70] */ 9274 /* test esi, esi */ /* 0x250E30AD: test esi, esi */ 9275 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9276 _cf = 0; 9277 _flag_k = FK_TEST; 9278 RECOMP_BACKEDGE(); 9279 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E30A2; /* 0x250E30AF: jne 0x250e30a2 */ 9280 L_250E30B1: 9281 eax = MEM32(edi); /* 0x250E30B1: mov eax, dword ptr [edi] */ 9282 PUSH32(esp, ebx); /* 0x250E30B3: push ebx */ 9283 ecx = edi; /* 0x250E30B4: mov ecx, edi */ 9284 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x250E30B6: call dword ptr [eax + 0x14] */ 9285 RECOMP_FLAGS_IN(); 9286 edi = POP32_VAL(esp); /* 0x250E30B9: pop edi */ 9287 esi = POP32_VAL(esp); /* 0x250E30BA: pop esi */ 9288 ebx = POP32_VAL(esp); /* 0x250E30BB: pop ebx */ 9289 ebp = POP32_VAL(esp); /* 0x250E30BC: pop ebp */ 9290 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E30BD: ret 4 */ 9291 RECOMP_REGS_OUT(); 9292 } 9293 9294 void sub_250E30C0(void) { 9295 int _fpu_cmp = 0; 9296 uint32_t _cf = 0; 9297 int _df = 1; 9298 uint32_t _flag_k = FK_NONE; 9299 uint32_t _flag_a = 0, _flag_b = 0; 9300 uint32_t _itail_tgt = 0; 9301 RECOMP_REGS_LOCALS 9302 RECOMP_ENTER(0x250E30C0u); 9303 9304 L_250E30C0: 9305 PUSH32(esp, ebp); /* 0x250E30C0: push ebp */ 9306 ebp = esp; /* 0x250E30C1: mov ebp, esp */ 9307 PUSH32(esp, ebx); /* 0x250E30C3: push ebx */ 9308 PUSH32(esp, esi); /* 0x250E30C4: push esi */ 9309 ebx = ecx; /* 0x250E30C5: mov ebx, ecx */ 9310 esi = MEM32(ebx + 0x74); /* 0x250E30C7: mov esi, dword ptr [ebx + 0x74] */ 9311 /* test esi, esi */ /* 0x250E30CA: test esi, esi */ 9312 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9313 _cf = 0; 9314 _flag_k = FK_TEST; 9315 PUSH32(esp, edi); /* 0x250E30CC: push edi */ 9316 edi = MEM32(ebp + 0x8); /* 0x250E30CD: mov edi, dword ptr [ebp + 8] */ 9317 if (TEST_Z(_flag_a, _flag_b)) goto L_250E30E1; /* 0x250E30D0: je 0x250e30e1 */ 9318 L_250E30D2: 9319 PUSH32(esp, edi); /* 0x250E30D2: push edi */ 9320 ecx = esi; /* 0x250E30D3: mov ecx, esi */ 9321 RECOMP_ICALL(0x250E30C0u); /* 0x250E30D5: call 0x250e30c0 */ /* not lifted */ 9322 RECOMP_FLAGS_IN(); 9323 esi = MEM32(esi + 0x70); /* 0x250E30DA: mov esi, dword ptr [esi + 0x70] */ 9324 /* test esi, esi */ /* 0x250E30DD: test esi, esi */ 9325 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9326 _cf = 0; 9327 _flag_k = FK_TEST; 9328 RECOMP_BACKEDGE(); 9329 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E30D2; /* 0x250E30DF: jne 0x250e30d2 */ 9330 L_250E30E1: 9331 PUSH32(esp, edi); /* 0x250E30E1: push edi */ 9332 ecx = ebx; /* 0x250E30E2: mov ecx, ebx */ 9333 RECOMP_ICALL(0x250E30F0u); /* 0x250E30E4: call 0x250e30f0 */ /* not lifted */ 9334 RECOMP_FLAGS_IN(); 9335 edi = POP32_VAL(esp); /* 0x250E30E9: pop edi */ 9336 esi = POP32_VAL(esp); /* 0x250E30EA: pop esi */ 9337 ebx = POP32_VAL(esp); /* 0x250E30EB: pop ebx */ 9338 ebp = POP32_VAL(esp); /* 0x250E30EC: pop ebp */ 9339 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E30ED: ret 4 */ 9340 RECOMP_REGS_OUT(); 9341 } 9342 9343 void sub_250E30F0(void) { 9344 int _fpu_cmp = 0; 9345 uint32_t _cf = 0; 9346 int _df = 1; 9347 uint32_t _flag_k = FK_NONE; 9348 uint32_t _flag_a = 0, _flag_b = 0; 9349 uint32_t _itail_tgt = 0; 9350 RECOMP_REGS_LOCALS 9351 RECOMP_ENTER(0x250E30F0u); 9352 9353 L_250E30F0: 9354 PUSH32(esp, ebp); /* 0x250E30F0: push ebp */ 9355 ebp = esp; /* 0x250E30F1: mov ebp, esp */ 9356 ecx = MEM32(ecx + 0x124); /* 0x250E30F3: mov ecx, dword ptr [ecx + 0x124] */ 9357 /* test ecx, ecx */ /* 0x250E30F9: test ecx, ecx */ 9358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9359 _cf = 0; 9360 _flag_k = FK_TEST; 9361 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3106; /* 0x250E30FB: je 0x250e3106 */ 9362 L_250E30FD: 9363 edx = MEM32(ebp + 0x8); /* 0x250E30FD: mov edx, dword ptr [ebp + 8] */ 9364 eax = MEM32(ecx); /* 0x250E3100: mov eax, dword ptr [ecx] */ 9365 PUSH32(esp, edx); /* 0x250E3102: push edx */ 9366 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x250E3103: call dword ptr [eax + 0x18] */ 9367 RECOMP_FLAGS_IN(); 9368 L_250E3106: 9369 ebp = POP32_VAL(esp); /* 0x250E3106: pop ebp */ 9370 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E3107: ret 4 */ 9371 RECOMP_REGS_OUT(); 9372 } 9373 9374 void sub_250E3110(void) { 9375 int _fpu_cmp = 0; 9376 uint32_t _cf = 0; 9377 int _df = 1; 9378 uint32_t _flag_k = FK_NONE; 9379 uint32_t _flag_a = 0, _flag_b = 0; 9380 uint32_t _itail_tgt = 0; 9381 RECOMP_REGS_LOCALS 9382 RECOMP_ENTER(0x250E3110u); 9383 9384 L_250E3110: 9385 PUSH32(esp, ebp); /* 0x250E3110: push ebp */ 9386 ebp = esp; /* 0x250E3111: mov ebp, esp */ 9387 PUSH32(esp, ecx); /* 0x250E3113: push ecx */ 9388 PUSH32(esp, esi); /* 0x250E3114: push esi */ 9389 esi = ecx; /* 0x250E3115: mov esi, ecx */ 9390 ecx = MEM32(esi + 0x124); /* 0x250E3117: mov ecx, dword ptr [esi + 0x124] */ 9391 /* test ecx, ecx */ /* 0x250E311D: test ecx, ecx */ 9392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9393 _cf = 0; 9394 _flag_k = FK_TEST; 9395 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3126; /* 0x250E311F: jne 0x250e3126 */ 9396 L_250E3121: 9397 MEM32(ebp + (-0x4)) = ecx; /* 0x250E3121: mov dword ptr [ebp - 4], ecx */ 9398 goto L_250E312E; /* 0x250E3124: jmp 0x250e312e */ 9399 L_250E3126: 9400 eax = MEM32(ecx); /* 0x250E3126: mov eax, dword ptr [ecx] */ 9401 RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x250E3128: call dword ptr [eax + 0x10] */ 9402 RECOMP_FLAGS_IN(); 9403 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E312B: fstp dword ptr [ebp - 4] */ 9404 L_250E312E: 9405 esi = MEM32(esi + 0x74); /* 0x250E312E: mov esi, dword ptr [esi + 0x74] */ 9406 /* test esi, esi */ /* 0x250E3131: test esi, esi */ 9407 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9408 _cf = 0; 9409 _flag_k = FK_TEST; 9410 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3154; /* 0x250E3133: je 0x250e3154 */ 9411 L_250E3135: 9412 ecx = esi; /* 0x250E3135: mov ecx, esi */ 9413 RECOMP_ICALL(0x250E3110u); /* 0x250E3137: call 0x250e3110 */ /* not lifted */ 9414 RECOMP_FLAGS_IN(); 9415 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + (-0x4))); /* 0x250E313C: fcom dword ptr [ebp - 4] */ 9416 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x250E313F: fnstsw ax */ 9417 /* test HI8(eax), 0x41u */ /* 0x250E3141: test ah, 0x41 */ 9418 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 9419 _cf = 0; 9420 _flag_k = FK_NARROW(FK_TEST, 24); 9421 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E314B; /* 0x250E3144: jne 0x250e314b */ 9422 L_250E3146: 9423 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x250E3146: fstp dword ptr [ebp - 4] */ 9424 goto L_250E314D; /* 0x250E3149: jmp 0x250e314d */ 9425 L_250E314B: 9426 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x250E314B: fstp st(0) */ 9427 L_250E314D: 9428 esi = MEM32(esi + 0x70); /* 0x250E314D: mov esi, dword ptr [esi + 0x70] */ 9429 /* test esi, esi */ /* 0x250E3150: test esi, esi */ 9430 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9431 _cf = 0; 9432 _flag_k = FK_TEST; 9433 RECOMP_BACKEDGE(); 9434 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3135; /* 0x250E3152: jne 0x250e3135 */ 9435 L_250E3154: 9436 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x250E3154: fld dword ptr [ebp - 4] */ 9437 esi = POP32_VAL(esp); /* 0x250E3157: pop esi */ 9438 esp = ebp; /* 0x250E3158: mov esp, ebp */ 9439 ebp = POP32_VAL(esp); /* 0x250E315A: pop ebp */ 9440 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E315B: ret */ 9441 RECOMP_REGS_OUT(); 9442 } 9443 9444 void sub_250E3160(void) { 9445 int _fpu_cmp = 0; 9446 uint32_t _cf = 0; 9447 int _df = 1; 9448 uint32_t _flag_k = FK_NONE; 9449 uint32_t _flag_a = 0, _flag_b = 0; 9450 uint32_t _itail_tgt = 0; 9451 RECOMP_REGS_LOCALS 9452 RECOMP_ENTER(0x250E3160u); 9453 9454 L_250E3160: 9455 PUSH32(esp, ebp); /* 0x250E3160: push ebp */ 9456 ebp = esp; /* 0x250E3161: mov ebp, esp */ 9457 PUSH32(esp, esi); /* 0x250E3163: push esi */ 9458 PUSH32(esp, edi); /* 0x250E3164: push edi */ 9459 edi = MEM32(ebp + 0x8); /* 0x250E3165: mov edi, dword ptr [ebp + 8] */ 9460 /* test edi, edi */ /* 0x250E3168: test edi, edi */ 9461 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9462 _cf = 0; 9463 _flag_k = FK_TEST; 9464 esi = ecx; /* 0x250E316A: mov esi, ecx */ 9465 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3175; /* 0x250E316C: je 0x250e3175 */ 9466 L_250E316E: 9467 ecx = edi; /* 0x250E316E: mov ecx, edi */ 9468 RECOMP_ICALL(0x250E6360u); /* 0x250E3170: call 0x250e6360 */ /* not lifted */ 9469 RECOMP_FLAGS_IN(); 9470 L_250E3175: 9471 ecx = MEM32(esi + 0x128); /* 0x250E3175: mov ecx, dword ptr [esi + 0x128] */ 9472 /* test ecx, ecx */ /* 0x250E317B: test ecx, ecx */ 9473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9474 _cf = 0; 9475 _flag_k = FK_TEST; 9476 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3184; /* 0x250E317D: je 0x250e3184 */ 9477 L_250E317F: 9478 RECOMP_ICALL(0x250E6370u); /* 0x250E317F: call 0x250e6370 */ /* not lifted */ 9479 RECOMP_FLAGS_IN(); 9480 L_250E3184: 9481 MEM32(esi + 0x128) = edi; /* 0x250E3184: mov dword ptr [esi + 0x128], edi */ 9482 edi = POP32_VAL(esp); /* 0x250E318A: pop edi */ 9483 esi = POP32_VAL(esp); /* 0x250E318B: pop esi */ 9484 ebp = POP32_VAL(esp); /* 0x250E318C: pop ebp */ 9485 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E318D: ret 4 */ 9486 RECOMP_REGS_OUT(); 9487 } 9488 9489 void sub_250E3190(void) { 9490 int _fpu_cmp = 0; 9491 uint32_t _cf = 0; 9492 int _df = 1; 9493 uint32_t _flag_k = FK_NONE; 9494 uint32_t _flag_a = 0, _flag_b = 0; 9495 uint32_t _itail_tgt = 0; 9496 RECOMP_REGS_LOCALS 9497 RECOMP_ENTER(0x250E3190u); 9498 9499 L_250E3190: 9500 PUSH32(esp, ebp); /* 0x250E3190: push ebp */ 9501 ebp = esp; /* 0x250E3191: mov ebp, esp */ 9502 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E3193: push -1 */ 9503 PUSH32(esp, 0x2514B2B8u); /* 0x250E3195: push 0x2514b2b8 */ 9504 eax = MEM32(FS_BASE + (0)); /* 0x250E319A: mov eax, dword ptr fs:[0] */ 9505 PUSH32(esp, eax); /* 0x250E31A0: push eax */ 9506 MEM32(FS_BASE + (0)) = esp; /* 0x250E31A1: mov dword ptr fs:[0], esp */ 9507 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9509 esp = esp - 8; /* 0x250E31A8: sub esp, 8 */ 9510 _flag_k = FK_CMP; 9511 eax = MEM32(ebp + 0xC); /* 0x250E31AB: mov eax, dword ptr [ebp + 0xc] */ 9512 PUSH32(esp, esi); /* 0x250E31AE: push esi */ 9513 PUSH32(esp, eax); /* 0x250E31AF: push eax */ 9514 esi = ecx; /* 0x250E31B0: mov esi, ecx */ 9515 MEM32(ebp + (-0x14)) = 0x25158528u; /* 0x250E31B2: mov dword ptr [ebp - 0x14], 0x25158528 */ 9516 RECOMP_ICALL(0x251221B0u); /* 0x250E31B9: call 0x251221b0 */ /* not lifted */ 9517 RECOMP_FLAGS_IN(); 9518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9520 esp = esp + 4; /* 0x250E31BE: add esp, 4 */ 9521 _flag_k = FK_ADD; 9522 MEM32(ebp + (-0x10)) = eax; /* 0x250E31C1: mov dword ptr [ebp - 0x10], eax */ 9523 ecx = MEM32(ebp + 0x8); /* 0x250E31C4: mov ecx, dword ptr [ebp + 8] */ 9524 edx = MEM32(esi); /* 0x250E31C7: mov edx, dword ptr [esi] */ 9525 eax = ebp + (-0x14); /* 0x250E31C9: lea eax, [ebp - 0x14] */ 9526 PUSH32(esp, eax); /* 0x250E31CC: push eax */ 9527 PUSH32(esp, ecx); /* 0x250E31CD: push ecx */ 9528 ecx = esi; /* 0x250E31CE: mov ecx, esi */ 9529 MEM32(ebp + (-0x4)) = 0; /* 0x250E31D0: mov dword ptr [ebp - 4], 0 */ 9530 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x250E31D7: call dword ptr [edx + 0x18] */ 9531 RECOMP_FLAGS_IN(); 9532 edx = MEM32(ebp + (-0x10)); /* 0x250E31DA: mov edx, dword ptr [ebp - 0x10] */ 9533 PUSH32(esp, edx); /* 0x250E31DD: push edx */ 9534 MEM32(ebp + (-0x14)) = 0x25158528u; /* 0x250E31DE: mov dword ptr [ebp - 0x14], 0x25158528 */ 9535 RECOMP_ICALL(MEM32(0x2515132C)); /* 0x250E31E5: call dword ptr [0x2515132c] */ 9536 RECOMP_FLAGS_IN(); 9537 ecx = MEM32(ebp + (-0xC)); /* 0x250E31EB: mov ecx, dword ptr [ebp - 0xc] */ 9538 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9540 esp = esp + 4; /* 0x250E31EE: add esp, 4 */ 9541 _flag_k = FK_ADD; 9542 esi = POP32_VAL(esp); /* 0x250E31F1: pop esi */ 9543 MEM32(FS_BASE + (0)) = ecx; /* 0x250E31F2: mov dword ptr fs:[0], ecx */ 9544 esp = ebp; /* 0x250E31F9: mov esp, ebp */ 9545 ebp = POP32_VAL(esp); /* 0x250E31FB: pop ebp */ 9546 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E31FC: ret 8 */ 9547 RECOMP_REGS_OUT(); 9548 } 9549 9550 void sub_250E3200(void) { 9551 int _fpu_cmp = 0; 9552 uint32_t _cf = 0; 9553 int _df = 1; 9554 uint32_t _flag_k = FK_NONE; 9555 uint32_t _flag_a = 0, _flag_b = 0; 9556 uint32_t _itail_tgt = 0; 9557 RECOMP_REGS_LOCALS 9558 RECOMP_ENTER(0x250E3200u); 9559 9560 L_250E3200: 9561 eax = MEM32(ecx + 0x4); /* 0x250E3200: mov eax, dword ptr [ecx + 4] */ 9562 PUSH32(esp, eax); /* 0x250E3203: push eax */ 9563 MEM32(ecx) = 0x25158528u; /* 0x250E3204: mov dword ptr [ecx], 0x25158528 */ 9564 RECOMP_ICALL(MEM32(0x2515132C)); /* 0x250E320A: call dword ptr [0x2515132c] */ 9565 RECOMP_FLAGS_IN(); 9566 ecx = POP32_VAL(esp); /* 0x250E3210: pop ecx */ 9567 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E3211: ret */ 9568 RECOMP_REGS_OUT(); 9569 } 9570 9571 void sub_250E3220(void) { 9572 int _fpu_cmp = 0; 9573 uint32_t _cf = 0; 9574 int _df = 1; 9575 uint32_t _flag_k = FK_NONE; 9576 uint32_t _flag_a = 0, _flag_b = 0; 9577 uint32_t _itail_tgt = 0; 9578 RECOMP_REGS_LOCALS 9579 RECOMP_ENTER(0x250E3220u); 9580 9581 L_250E3220: 9582 PUSH32(esp, ebp); /* 0x250E3220: push ebp */ 9583 ebp = esp; /* 0x250E3221: mov ebp, esp */ 9584 PUSH32(esp, esi); /* 0x250E3223: push esi */ 9585 esi = ecx; /* 0x250E3224: mov esi, ecx */ 9586 eax = MEM32(esi + 0x4); /* 0x250E3226: mov eax, dword ptr [esi + 4] */ 9587 PUSH32(esp, eax); /* 0x250E3229: push eax */ 9588 MEM32(esi) = 0x25158528u; /* 0x250E322A: mov dword ptr [esi], 0x25158528 */ 9589 RECOMP_ICALL(MEM32(0x2515132C)); /* 0x250E3230: call dword ptr [0x2515132c] */ 9590 RECOMP_FLAGS_IN(); 9591 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x250E3236: mov al, byte ptr [ebp + 8] */ 9592 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9594 esp = esp + 4; /* 0x250E3239: add esp, 4 */ 9595 _flag_k = FK_ADD; 9596 /* test LO8(eax), 1 */ /* 0x250E323C: test al, 1 */ 9597 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9598 _cf = 0; 9599 _flag_k = FK_NARROW(FK_TEST, 24); 9600 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3249; /* 0x250E323E: je 0x250e3249 */ 9601 L_250E3240: 9602 PUSH32(esp, esi); /* 0x250E3240: push esi */ 9603 RECOMP_ICALL(0x25137EECu); /* 0x250E3241: call 0x25137eec */ /* not lifted */ 9604 RECOMP_FLAGS_IN(); 9605 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9606 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9607 esp = esp + 4; /* 0x250E3246: add esp, 4 */ 9608 _flag_k = FK_ADD; 9609 L_250E3249: 9610 eax = esi; /* 0x250E3249: mov eax, esi */ 9611 esi = POP32_VAL(esp); /* 0x250E324B: pop esi */ 9612 ebp = POP32_VAL(esp); /* 0x250E324C: pop ebp */ 9613 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E324D: ret 4 */ 9614 RECOMP_REGS_OUT(); 9615 } 9616 9617 void sub_250E3250(void) { 9618 int _fpu_cmp = 0; 9619 uint32_t _cf = 0; 9620 int _df = 1; 9621 uint32_t _flag_k = FK_NONE; 9622 uint32_t _flag_a = 0, _flag_b = 0; 9623 uint32_t _itail_tgt = 0; 9624 RECOMP_REGS_LOCALS 9625 RECOMP_ENTER(0x250E3250u); 9626 9627 L_250E3250: 9628 PUSH32(esp, ebp); /* 0x250E3250: push ebp */ 9629 ebp = esp; /* 0x250E3251: mov ebp, esp */ 9630 PUSH32(esp, ebx); /* 0x250E3253: push ebx */ 9631 ebx = MEM32(ebp + 0x8); /* 0x250E3254: mov ebx, dword ptr [ebp + 8] */ 9632 PUSH32(esp, esi); /* 0x250E3257: push esi */ 9633 PUSH32(esp, edi); /* 0x250E3258: push edi */ 9634 edi = MEM32(ebp + 0xC); /* 0x250E3259: mov edi, dword ptr [ebp + 0xc] */ 9635 esi = ecx; /* 0x250E325C: mov esi, ecx */ 9636 eax = MEM32(esi); /* 0x250E325E: mov eax, dword ptr [esi] */ 9637 PUSH32(esp, edi); /* 0x250E3260: push edi */ 9638 PUSH32(esp, ebx); /* 0x250E3261: push ebx */ 9639 RECOMP_ICALL(MEM32(eax + 0x1C)); /* 0x250E3262: call dword ptr [eax + 0x1c] */ 9640 RECOMP_FLAGS_IN(); 9641 esi = MEM32(esi + 0x74); /* 0x250E3265: mov esi, dword ptr [esi + 0x74] */ 9642 /* test esi, esi */ /* 0x250E3268: test esi, esi */ 9643 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9644 _cf = 0; 9645 _flag_k = FK_TEST; 9646 if (TEST_Z(_flag_a, _flag_b)) goto L_250E327C; /* 0x250E326A: je 0x250e327c */ 9647 L_250E326C: 9648 edx = MEM32(esi); /* 0x250E326C: mov edx, dword ptr [esi] */ 9649 PUSH32(esp, edi); /* 0x250E326E: push edi */ 9650 PUSH32(esp, ebx); /* 0x250E326F: push ebx */ 9651 ecx = esi; /* 0x250E3270: mov ecx, esi */ 9652 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x250E3272: call dword ptr [edx + 0x18] */ 9653 RECOMP_FLAGS_IN(); 9654 esi = MEM32(esi + 0x70); /* 0x250E3275: mov esi, dword ptr [esi + 0x70] */ 9655 /* test esi, esi */ /* 0x250E3278: test esi, esi */ 9656 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9657 _cf = 0; 9658 _flag_k = FK_TEST; 9659 RECOMP_BACKEDGE(); 9660 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E326C; /* 0x250E327A: jne 0x250e326c */ 9661 L_250E327C: 9662 edi = POP32_VAL(esp); /* 0x250E327C: pop edi */ 9663 esi = POP32_VAL(esp); /* 0x250E327D: pop esi */ 9664 ebx = POP32_VAL(esp); /* 0x250E327E: pop ebx */ 9665 ebp = POP32_VAL(esp); /* 0x250E327F: pop ebp */ 9666 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E3280: ret 8 */ 9667 RECOMP_REGS_OUT(); 9668 } 9669 9670 void sub_250E3290(void) { 9671 int _fpu_cmp = 0; 9672 uint32_t _cf = 0; 9673 int _df = 1; 9674 uint32_t _flag_k = FK_NONE; 9675 uint32_t _flag_a = 0, _flag_b = 0; 9676 uint32_t _itail_tgt = 0; 9677 RECOMP_REGS_LOCALS 9678 RECOMP_ENTER(0x250E3290u); 9679 9680 L_250E3290: 9681 PUSH32(esp, ebp); /* 0x250E3290: push ebp */ 9682 ebp = esp; /* 0x250E3291: mov ebp, esp */ 9683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9685 esp = esp - 8; /* 0x250E3293: sub esp, 8 */ 9686 _flag_k = FK_CMP; 9687 eax = MEM32(ecx + 0x128); /* 0x250E3296: mov eax, dword ptr [ecx + 0x128] */ 9688 /* test eax, eax */ /* 0x250E329C: test eax, eax */ 9689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9690 _cf = 0; 9691 _flag_k = FK_TEST; 9692 PUSH32(esp, ebx); /* 0x250E329E: push ebx */ 9693 ebx = ecx + 0x128; /* 0x250E329F: lea ebx, [ecx + 0x128] */ 9694 PUSH32(esp, esi); /* 0x250E32A5: push esi */ 9695 PUSH32(esp, edi); /* 0x250E32A6: push edi */ 9696 MEM32(ebp + (-0x4)) = ebx; /* 0x250E32A7: mov dword ptr [ebp - 4], ebx */ 9697 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3467; /* 0x250E32AA: je 0x250e3467 */ 9698 L_250E32B0: 9699 eax = MEM32(eax + 0xC); /* 0x250E32B0: mov eax, dword ptr [eax + 0xc] */ 9700 /* test eax, eax */ /* 0x250E32B3: test eax, eax */ 9701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9702 _cf = 0; 9703 _flag_k = FK_TEST; 9704 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E32BC; /* 0x250E32B5: jne 0x250e32bc */ 9705 L_250E32B7: 9706 eax = MEM32(0x251511E4); /* 0x250E32B7: mov eax, dword ptr [0x251511e4] */ 9707 L_250E32BC: 9708 PUSH32(esp, eax); /* 0x250E32BC: push eax */ 9709 eax = MEM32(ebp + 0xC); /* 0x250E32BD: mov eax, dword ptr [ebp + 0xc] */ 9710 ecx = MEM32(eax + 0x4); /* 0x250E32C0: mov ecx, dword ptr [eax + 4] */ 9711 PUSH32(esp, ecx); /* 0x250E32C3: push ecx */ 9712 RECOMP_ICALL(0x25122C90u); /* 0x250E32C4: call 0x25122c90 */ /* not lifted */ 9713 RECOMP_FLAGS_IN(); 9714 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9715 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9716 esp = esp + 8; /* 0x250E32C9: add esp, 8 */ 9717 _flag_k = FK_ADD; 9718 /* test eax, eax */ /* 0x250E32CC: test eax, eax */ 9719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9720 _cf = 0; 9721 _flag_k = FK_TEST; 9722 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3467; /* 0x250E32CE: je 0x250e3467 */ 9723 L_250E32D4: 9724 esi = MEM32(ebp + 0x8); /* 0x250E32D4: mov esi, dword ptr [ebp + 8] */ 9725 eax = MEM32(esi + 0x8); /* 0x250E32D7: mov eax, dword ptr [esi + 8] */ 9726 edx = MEM32(esi + 0xC); /* 0x250E32DA: mov edx, dword ptr [esi + 0xc] */ 9727 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9729 edx = edx - eax; /* 0x250E32DD: sub edx, eax */ 9730 _flag_k = FK_CMP; 9731 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x250E32DF: sar edx, 2 */ 9732 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9733 edx = (uint32_t)((int32_t)edx >> 2u); 9734 /* cmp edx, 1 */ /* 0x250E32E2: cmp edx, 1 */ 9735 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9737 _flag_k = FK_CMP; 9738 edi = eax; /* 0x250E32E5: mov edi, eax */ 9739 if (CMP_AE(_flag_a, _flag_b)) goto L_250E33D3; /* 0x250E32E7: jae 0x250e33d3 */ 9740 L_250E32ED: 9741 edx = MEM32(esi + 0x4); /* 0x250E32ED: mov edx, dword ptr [esi + 4] */ 9742 /* test edx, edx */ /* 0x250E32F0: test edx, edx */ 9743 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9744 _cf = 0; 9745 _flag_k = FK_TEST; 9746 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3300; /* 0x250E32F2: je 0x250e3300 */ 9747 L_250E32F4: 9748 ecx = eax; /* 0x250E32F4: mov ecx, eax */ 9749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9751 ecx = ecx - edx; /* 0x250E32F6: sub ecx, edx */ 9752 _flag_k = FK_CMP; 9753 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E32F8: sar ecx, 2 */ 9754 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9755 ecx = (uint32_t)((int32_t)ecx >> 2u); 9756 /* cmp ecx, 1 */ /* 0x250E32FB: cmp ecx, 1 */ 9757 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9759 _flag_k = FK_CMP; 9760 if (CMP_A(_flag_a, _flag_b)) goto L_250E3305; /* 0x250E32FE: ja 0x250e3305 */ 9761 L_250E3300: 9762 ecx = 1; /* 0x250E3300: mov ecx, 1 */ 9763 L_250E3305: 9764 /* test edx, edx */ /* 0x250E3305: test edx, edx */ 9765 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9766 _cf = 0; 9767 _flag_k = FK_TEST; 9768 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E330D; /* 0x250E3307: jne 0x250e330d */ 9769 L_250E3309: 9770 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9771 eax = 0; /* 0x250E3309: xor eax, eax */ 9772 _cf = 0; 9773 _flag_k = FK_TEST; 9774 goto L_250E3312; /* 0x250E330B: jmp 0x250e3312 */ 9775 L_250E330D: 9776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9778 eax = eax - edx; /* 0x250E330D: sub eax, edx */ 9779 _flag_k = FK_CMP; 9780 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250E330F: sar eax, 2 */ 9781 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9782 eax = (uint32_t)((int32_t)eax >> 2u); 9783 L_250E3312: 9784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9785 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9786 eax = eax + ecx; /* 0x250E3312: add eax, ecx */ 9787 _flag_k = FK_ADD; 9788 /* test eax, eax */ /* 0x250E3314: test eax, eax */ 9789 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9790 _cf = 0; 9791 _flag_k = FK_TEST; 9792 MEM32(ebp + (-0x8)) = eax; /* 0x250E3316: mov dword ptr [ebp - 8], eax */ 9793 if (TEST_NS(_flag_a, _flag_b)) goto L_250E331D; /* 0x250E3319: jge 0x250e331d */ 9794 L_250E331B: 9795 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9796 eax = 0; /* 0x250E331B: xor eax, eax */ 9797 _cf = 0; 9798 _flag_k = FK_TEST; 9799 L_250E331D: 9800 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x250E331D: shl eax, 2 */ 9801 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9802 eax = eax << 2u; /* 0x250E331D: shl eax, 2 */ 9803 PUSH32(esp, eax); /* 0x250E3320: push eax */ 9804 RECOMP_ICALL(0x251380D0u); /* 0x250E3321: call 0x251380d0 */ /* not lifted */ 9805 RECOMP_FLAGS_IN(); 9806 MEM32(ebp + 0x8) = eax; /* 0x250E3326: mov dword ptr [ebp + 8], eax */ 9807 ebx = eax; /* 0x250E3329: mov ebx, eax */ 9808 eax = MEM32(esi + 0x4); /* 0x250E332B: mov eax, dword ptr [esi + 4] */ 9809 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9810 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9811 esp = esp + 4; /* 0x250E332E: add esp, 4 */ 9812 _flag_k = FK_ADD; 9813 /* cmp eax, edi */ /* 0x250E3331: cmp eax, edi */ 9814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9816 _flag_k = FK_CMP; 9817 MEM32(ebp + 0xC) = eax; /* 0x250E3333: mov dword ptr [ebp + 0xc], eax */ 9818 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3357; /* 0x250E3336: je 0x250e3357 */ 9819 L_250E3338: 9820 goto L_250E333D; /* 0x250E3338: jmp 0x250e333d */ 9821 L_250E333A: 9822 eax = MEM32(ebp + 0xC); /* 0x250E333A: mov eax, dword ptr [ebp + 0xc] */ 9823 L_250E333D: 9824 PUSH32(esp, eax); /* 0x250E333D: push eax */ 9825 PUSH32(esp, ebx); /* 0x250E333E: push ebx */ 9826 RECOMP_ICALL(0x25085360u); /* 0x250E333F: call 0x25085360 */ /* not lifted */ 9827 RECOMP_FLAGS_IN(); 9828 eax = MEM32(ebp + 0xC); /* 0x250E3344: mov eax, dword ptr [ebp + 0xc] */ 9829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9830 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9831 eax = eax + 4; /* 0x250E3347: add eax, 4 */ 9832 _flag_k = FK_ADD; 9833 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9834 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9835 esp = esp + 8; /* 0x250E334A: add esp, 8 */ 9836 _flag_k = FK_ADD; 9837 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 9838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9839 ebx = ebx + 4; /* 0x250E334D: add ebx, 4 */ 9840 _flag_k = FK_ADD; 9841 /* cmp eax, edi */ /* 0x250E3350: cmp eax, edi */ 9842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9844 _flag_k = FK_CMP; 9845 MEM32(ebp + 0xC) = eax; /* 0x250E3352: mov dword ptr [ebp + 0xc], eax */ 9846 RECOMP_BACKEDGE(); 9847 if (CMP_NE(_flag_a, _flag_b)) goto L_250E333A; /* 0x250E3355: jne 0x250e333a */ 9848 L_250E3357: 9849 ecx = MEM32(ebp + (-0x4)); /* 0x250E3357: mov ecx, dword ptr [ebp - 4] */ 9850 PUSH32(esp, ecx); /* 0x250E335A: push ecx */ 9851 PUSH32(esp, 1); /* 0x250E335B: push 1 */ 9852 PUSH32(esp, ebx); /* 0x250E335D: push ebx */ 9853 ecx = esi; /* 0x250E335E: mov ecx, esi */ 9854 RECOMP_ICALL(0x250E3D70u); /* 0x250E3360: call 0x250e3d70 */ /* not lifted */ 9855 RECOMP_FLAGS_IN(); 9856 edx = MEM32(esi + 0x8); /* 0x250E3365: mov edx, dword ptr [esi + 8] */ 9857 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 9858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9859 ebx = ebx + 4; /* 0x250E3368: add ebx, 4 */ 9860 _flag_k = FK_ADD; 9861 PUSH32(esp, ebx); /* 0x250E336B: push ebx */ 9862 PUSH32(esp, edx); /* 0x250E336C: push edx */ 9863 PUSH32(esp, edi); /* 0x250E336D: push edi */ 9864 ecx = esi; /* 0x250E336E: mov ecx, esi */ 9865 RECOMP_ICALL(0x250E3D40u); /* 0x250E3370: call 0x250e3d40 */ /* not lifted */ 9866 RECOMP_FLAGS_IN(); 9867 eax = MEM32(esi + 0x8); /* 0x250E3375: mov eax, dword ptr [esi + 8] */ 9868 ecx = MEM32(esi + 0x4); /* 0x250E3378: mov ecx, dword ptr [esi + 4] */ 9869 PUSH32(esp, eax); /* 0x250E337B: push eax */ 9870 PUSH32(esp, ecx); /* 0x250E337C: push ecx */ 9871 ecx = esi; /* 0x250E337D: mov ecx, esi */ 9872 RECOMP_ICALL(0x25093260u); /* 0x250E337F: call 0x25093260 */ /* not lifted */ 9873 RECOMP_FLAGS_IN(); 9874 edx = MEM32(esi + 0x4); /* 0x250E3384: mov edx, dword ptr [esi + 4] */ 9875 PUSH32(esp, edx); /* 0x250E3387: push edx */ 9876 RECOMP_ICALL(0x25137EECu); /* 0x250E3388: call 0x25137eec */ /* not lifted */ 9877 RECOMP_FLAGS_IN(); 9878 eax = MEM32(ebp + (-0x8)); /* 0x250E338D: mov eax, dword ptr [ebp - 8] */ 9879 edx = MEM32(ebp + 0x8); /* 0x250E3390: mov edx, dword ptr [ebp + 8] */ 9880 ecx = edx + eax * 4; /* 0x250E3393: lea ecx, [edx + eax*4] */ 9881 eax = MEM32(esi + 0x4); /* 0x250E3396: mov eax, dword ptr [esi + 4] */ 9882 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9883 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9884 esp = esp + 4; /* 0x250E3399: add esp, 4 */ 9885 _flag_k = FK_ADD; 9886 /* test eax, eax */ /* 0x250E339C: test eax, eax */ 9887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9888 _cf = 0; 9889 _flag_k = FK_TEST; 9890 MEM32(esi + 0xC) = ecx; /* 0x250E339E: mov dword ptr [esi + 0xc], ecx */ 9891 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E33B8; /* 0x250E33A1: jne 0x250e33b8 */ 9892 L_250E33A3: 9893 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9894 ecx = 0; /* 0x250E33A3: xor ecx, ecx */ 9895 _cf = 0; 9896 _flag_k = FK_TEST; 9897 eax = edx + ecx * 4 + 0x4; /* 0x250E33A5: lea eax, [edx + ecx*4 + 4] */ 9898 edi = POP32_VAL(esp); /* 0x250E33A9: pop edi */ 9899 MEM32(esi + 0x8) = eax; /* 0x250E33AA: mov dword ptr [esi + 8], eax */ 9900 MEM32(esi + 0x4) = edx; /* 0x250E33AD: mov dword ptr [esi + 4], edx */ 9901 esi = POP32_VAL(esp); /* 0x250E33B0: pop esi */ 9902 ebx = POP32_VAL(esp); /* 0x250E33B1: pop ebx */ 9903 esp = ebp; /* 0x250E33B2: mov esp, ebp */ 9904 ebp = POP32_VAL(esp); /* 0x250E33B4: pop ebp */ 9905 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E33B5: ret 8 */ 9906 L_250E33B8: 9907 ecx = MEM32(esi + 0x8); /* 0x250E33B8: mov ecx, dword ptr [esi + 8] */ 9908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9910 ecx = ecx - eax; /* 0x250E33BB: sub ecx, eax */ 9911 _flag_k = FK_CMP; 9912 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E33BD: sar ecx, 2 */ 9913 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9914 ecx = (uint32_t)((int32_t)ecx >> 2u); 9915 eax = edx + ecx * 4 + 0x4; /* 0x250E33C0: lea eax, [edx + ecx*4 + 4] */ 9916 edi = POP32_VAL(esp); /* 0x250E33C4: pop edi */ 9917 MEM32(esi + 0x8) = eax; /* 0x250E33C5: mov dword ptr [esi + 8], eax */ 9918 MEM32(esi + 0x4) = edx; /* 0x250E33C8: mov dword ptr [esi + 4], edx */ 9919 esi = POP32_VAL(esp); /* 0x250E33CB: pop esi */ 9920 ebx = POP32_VAL(esp); /* 0x250E33CC: pop ebx */ 9921 esp = ebp; /* 0x250E33CD: mov esp, ebp */ 9922 ebp = POP32_VAL(esp); /* 0x250E33CF: pop ebp */ 9923 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E33D0: ret 8 */ 9924 L_250E33D3: 9925 ecx = eax; /* 0x250E33D3: mov ecx, eax */ 9926 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9928 ecx = ecx - edi; /* 0x250E33D5: sub ecx, edi */ 9929 _flag_k = FK_CMP; 9930 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E33D7: sar ecx, 2 */ 9931 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9932 ecx = (uint32_t)((int32_t)ecx >> 2u); 9933 /* cmp ecx, 1 */ /* 0x250E33DA: cmp ecx, 1 */ 9934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9936 _flag_k = FK_CMP; 9937 if (CMP_AE(_flag_a, _flag_b)) goto L_250E342B; /* 0x250E33DD: jae 0x250e342b */ 9938 L_250E33DF: 9939 edx = edi + 0x4; /* 0x250E33DF: lea edx, [edi + 4] */ 9940 PUSH32(esp, edx); /* 0x250E33E2: push edx */ 9941 PUSH32(esp, eax); /* 0x250E33E3: push eax */ 9942 PUSH32(esp, edi); /* 0x250E33E4: push edi */ 9943 ecx = esi; /* 0x250E33E5: mov ecx, esi */ 9944 RECOMP_ICALL(0x250E3D40u); /* 0x250E33E7: call 0x250e3d40 */ /* not lifted */ 9945 RECOMP_FLAGS_IN(); 9946 eax = MEM32(esi + 0x8); /* 0x250E33EC: mov eax, dword ptr [esi + 8] */ 9947 ecx = eax; /* 0x250E33EF: mov ecx, eax */ 9948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9950 ecx = ecx - edi; /* 0x250E33F1: sub ecx, edi */ 9951 _flag_k = FK_CMP; 9952 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E33F3: sar ecx, 2 */ 9953 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9954 ecx = (uint32_t)((int32_t)ecx >> 2u); 9955 PUSH32(esp, ebx); /* 0x250E33F6: push ebx */ 9956 edx = 1; /* 0x250E33F7: mov edx, 1 */ 9957 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 9958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9959 edx = edx - ecx; /* 0x250E33FC: sub edx, ecx */ 9960 _flag_k = FK_CMP; 9961 PUSH32(esp, edx); /* 0x250E33FE: push edx */ 9962 PUSH32(esp, eax); /* 0x250E33FF: push eax */ 9963 ecx = esi; /* 0x250E3400: mov ecx, esi */ 9964 RECOMP_ICALL(0x250E3D70u); /* 0x250E3402: call 0x250e3d70 */ /* not lifted */ 9965 RECOMP_FLAGS_IN(); 9966 eax = MEM32(esi + 0x8); /* 0x250E3407: mov eax, dword ptr [esi + 8] */ 9967 /* cmp edi, eax */ /* 0x250E340A: cmp edi, eax */ 9968 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 9969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9970 _flag_k = FK_CMP; 9971 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3463; /* 0x250E340C: je 0x250e3463 */ 9972 L_250E340E: 9973 ecx = MEM32(ebx); /* 0x250E340E: mov ecx, dword ptr [ebx] */ 9974 MEM32(edi) = ecx; /* 0x250E3410: mov dword ptr [edi], ecx */ 9975 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 9976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9977 edi = edi + 4; /* 0x250E3412: add edi, 4 */ 9978 _flag_k = FK_ADD; 9979 /* cmp edi, eax */ /* 0x250E3415: cmp edi, eax */ 9980 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 9981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9982 _flag_k = FK_CMP; 9983 RECOMP_BACKEDGE(); 9984 if (CMP_NE(_flag_a, _flag_b)) goto L_250E340E; /* 0x250E3417: jne 0x250e340e */ 9985 L_250E3419: 9986 eax = MEM32(esi + 0x8); /* 0x250E3419: mov eax, dword ptr [esi + 8] */ 9987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9989 eax = eax + 4; /* 0x250E341C: add eax, 4 */ 9990 _flag_k = FK_ADD; 9991 edi = POP32_VAL(esp); /* 0x250E341F: pop edi */ 9992 MEM32(esi + 0x8) = eax; /* 0x250E3420: mov dword ptr [esi + 8], eax */ 9993 esi = POP32_VAL(esp); /* 0x250E3423: pop esi */ 9994 ebx = POP32_VAL(esp); /* 0x250E3424: pop ebx */ 9995 esp = ebp; /* 0x250E3425: mov esp, ebp */ 9996 ebp = POP32_VAL(esp); /* 0x250E3427: pop ebp */ 9997 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E3428: ret 8 */ 9998 L_250E342B: 9999 PUSH32(esp, eax); /* 0x250E342B: push eax */ 10000 PUSH32(esp, eax); /* 0x250E342C: push eax */ 10001 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 10002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10003 eax = eax + 0xFFFFFFFCu; /* 0x250E342D: add eax, -4 */ 10004 _flag_k = FK_ADD; 10005 PUSH32(esp, eax); /* 0x250E3430: push eax */ 10006 ecx = esi; /* 0x250E3431: mov ecx, esi */ 10007 RECOMP_ICALL(0x250E3D40u); /* 0x250E3433: call 0x250e3d40 */ /* not lifted */ 10008 RECOMP_FLAGS_IN(); 10009 ecx = MEM32(esi + 0x8); /* 0x250E3438: mov ecx, dword ptr [esi + 8] */ 10010 eax = ecx + (-0x4); /* 0x250E343B: lea eax, [ecx - 4] */ 10011 /* cmp edi, eax */ /* 0x250E343E: cmp edi, eax */ 10012 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10014 _flag_k = FK_CMP; 10015 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3451; /* 0x250E3440: je 0x250e3451 */ 10016 L_250E3442: 10017 edx = MEM32(eax + (-0x4)); /* 0x250E3442: mov edx, dword ptr [eax - 4] */ 10018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10020 eax = eax - 4; /* 0x250E3445: sub eax, 4 */ 10021 _flag_k = FK_CMP; 10022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 10023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10024 ecx = ecx - 4; /* 0x250E3448: sub ecx, 4 */ 10025 _flag_k = FK_CMP; 10026 /* cmp eax, edi */ /* 0x250E344B: cmp eax, edi */ 10027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10029 _flag_k = FK_CMP; 10030 MEM32(ecx) = edx; /* 0x250E344D: mov dword ptr [ecx], edx */ 10031 RECOMP_BACKEDGE(); 10032 if (CMP_NE(_flag_a, _flag_b)) goto L_250E3442; /* 0x250E344F: jne 0x250e3442 */ 10033 L_250E3451: 10034 eax = edi + 0x4; /* 0x250E3451: lea eax, [edi + 4] */ 10035 /* cmp edi, eax */ /* 0x250E3454: cmp edi, eax */ 10036 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10038 _flag_k = FK_CMP; 10039 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3463; /* 0x250E3456: je 0x250e3463 */ 10040 L_250E3458: 10041 ecx = MEM32(ebx); /* 0x250E3458: mov ecx, dword ptr [ebx] */ 10042 MEM32(edi) = ecx; /* 0x250E345A: mov dword ptr [edi], ecx */ 10043 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 10044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10045 edi = edi + 4; /* 0x250E345C: add edi, 4 */ 10046 _flag_k = FK_ADD; 10047 /* cmp edi, eax */ /* 0x250E345F: cmp edi, eax */ 10048 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10050 _flag_k = FK_CMP; 10051 RECOMP_BACKEDGE(); 10052 if (CMP_NE(_flag_a, _flag_b)) goto L_250E3458; /* 0x250E3461: jne 0x250e3458 */ 10053 L_250E3463: 10054 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(4); 10055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10056 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 4; /* 0x250E3463: add dword ptr [esi + 8], 4 */ 10057 _flag_k = FK_ADD; 10058 L_250E3467: 10059 edi = POP32_VAL(esp); /* 0x250E3467: pop edi */ 10060 esi = POP32_VAL(esp); /* 0x250E3468: pop esi */ 10061 ebx = POP32_VAL(esp); /* 0x250E3469: pop ebx */ 10062 esp = ebp; /* 0x250E346A: mov esp, ebp */ 10063 ebp = POP32_VAL(esp); /* 0x250E346C: pop ebp */ 10064 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E346D: ret 8 */ 10065 RECOMP_REGS_OUT(); 10066 } 10067 10068 void sub_250E3470(void) { 10069 int _fpu_cmp = 0; 10070 uint32_t _cf = 0; 10071 int _df = 1; 10072 uint32_t _flag_k = FK_NONE; 10073 uint32_t _flag_a = 0, _flag_b = 0; 10074 uint32_t _itail_tgt = 0; 10075 RECOMP_REGS_LOCALS 10076 RECOMP_ENTER(0x250E3470u); 10077 10078 L_250E3470: 10079 PUSH32(esp, ebp); /* 0x250E3470: push ebp */ 10080 ebp = esp; /* 0x250E3471: mov ebp, esp */ 10081 PUSH32(esp, ebx); /* 0x250E3473: push ebx */ 10082 PUSH32(esp, esi); /* 0x250E3474: push esi */ 10083 PUSH32(esp, edi); /* 0x250E3475: push edi */ 10084 edi = ecx; /* 0x250E3476: mov edi, ecx */ 10085 eax = MEM32(edi); /* 0x250E3478: mov eax, dword ptr [edi] */ 10086 RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x250E347A: call dword ptr [eax + 0x28] */ 10087 RECOMP_FLAGS_IN(); 10088 /* test eax, eax */ /* 0x250E347D: test eax, eax */ 10089 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10090 _cf = 0; 10091 _flag_k = FK_TEST; 10092 ebx = MEM32(ebp + 0x8); /* 0x250E347F: mov ebx, dword ptr [ebp + 8] */ 10093 if (TEST_Z(_flag_a, _flag_b)) goto L_250E34BC; /* 0x250E3482: je 0x250e34bc */ 10094 L_250E3484: 10095 esi = ebx; /* 0x250E3484: mov esi, ebx */ 10096 L_250E3486: 10097 SET_LO8(edx, MEM8(eax)); /* 0x250E3486: mov dl, byte ptr [eax] */ 10098 SET_LO8(ecx, LO8(edx)); /* 0x250E3488: mov cl, dl */ 10099 /* cmp LO8(edx), MEM8(esi) */ /* 0x250E348A: cmp dl, byte ptr [esi] */ 10100 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 10101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10102 _flag_k = FK_NARROW(FK_CMP, 24); 10103 if (CMP_NE(_flag_a, _flag_b)) goto L_250E34AA; /* 0x250E348C: jne 0x250e34aa */ 10104 L_250E348E: 10105 /* test LO8(ecx), LO8(ecx) */ /* 0x250E348E: test cl, cl */ 10106 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10107 _cf = 0; 10108 _flag_k = FK_NARROW(FK_TEST, 24); 10109 if (TEST_Z(_flag_a, _flag_b)) goto L_250E34A6; /* 0x250E3490: je 0x250e34a6 */ 10110 L_250E3492: 10111 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x250E3492: mov dl, byte ptr [eax + 1] */ 10112 SET_LO8(ecx, LO8(edx)); /* 0x250E3495: mov cl, dl */ 10113 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x250E3497: cmp dl, byte ptr [esi + 1] */ 10114 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 10115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10116 _flag_k = FK_NARROW(FK_CMP, 24); 10117 if (CMP_NE(_flag_a, _flag_b)) goto L_250E34AA; /* 0x250E349A: jne 0x250e34aa */ 10118 L_250E349C: 10119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10121 eax = eax + 2; /* 0x250E349C: add eax, 2 */ 10122 _flag_k = FK_ADD; 10123 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 10124 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10125 esi = esi + 2; /* 0x250E349F: add esi, 2 */ 10126 _flag_k = FK_ADD; 10127 /* test LO8(ecx), LO8(ecx) */ /* 0x250E34A2: test cl, cl */ 10128 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10129 _cf = 0; 10130 _flag_k = FK_NARROW(FK_TEST, 24); 10131 RECOMP_BACKEDGE(); 10132 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3486; /* 0x250E34A4: jne 0x250e3486 */ 10133 L_250E34A6: 10134 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10135 eax = 0; /* 0x250E34A6: xor eax, eax */ 10136 _cf = 0; 10137 _flag_k = FK_TEST; 10138 goto L_250E34AF; /* 0x250E34A8: jmp 0x250e34af */ 10139 L_250E34AA: 10140 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250E34AA: sbb eax, eax */ 10141 eax = _sc ? 0xFFFFFFFFu : 0; 10142 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 10143 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 10144 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x250E34AC: sbb eax, -1 */ 10145 eax = _sa - _sb - _sc; 10146 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 10147 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 10148 L_250E34AF: 10149 /* test eax, eax */ /* 0x250E34AF: test eax, eax */ 10150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10151 _cf = 0; 10152 _flag_k = FK_TEST; 10153 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E34BC; /* 0x250E34B1: jne 0x250e34bc */ 10154 L_250E34B3: 10155 eax = edi; /* 0x250E34B3: mov eax, edi */ 10156 edi = POP32_VAL(esp); /* 0x250E34B5: pop edi */ 10157 esi = POP32_VAL(esp); /* 0x250E34B6: pop esi */ 10158 ebx = POP32_VAL(esp); /* 0x250E34B7: pop ebx */ 10159 ebp = POP32_VAL(esp); /* 0x250E34B8: pop ebp */ 10160 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E34B9: ret 4 */ 10161 L_250E34BC: 10162 esi = MEM32(edi + 0x74); /* 0x250E34BC: mov esi, dword ptr [edi + 0x74] */ 10163 /* test esi, esi */ /* 0x250E34BF: test esi, esi */ 10164 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10165 _cf = 0; 10166 _flag_k = FK_TEST; 10167 if (TEST_Z(_flag_a, _flag_b)) goto L_250E34D6; /* 0x250E34C1: je 0x250e34d6 */ 10168 L_250E34C3: 10169 PUSH32(esp, ebx); /* 0x250E34C3: push ebx */ 10170 ecx = esi; /* 0x250E34C4: mov ecx, esi */ 10171 RECOMP_ICALL(0x250E3470u); /* 0x250E34C6: call 0x250e3470 */ /* not lifted */ 10172 RECOMP_FLAGS_IN(); 10173 /* test eax, eax */ /* 0x250E34CB: test eax, eax */ 10174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10175 _cf = 0; 10176 _flag_k = FK_TEST; 10177 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E34D8; /* 0x250E34CD: jne 0x250e34d8 */ 10178 L_250E34CF: 10179 esi = MEM32(esi + 0x70); /* 0x250E34CF: mov esi, dword ptr [esi + 0x70] */ 10180 /* test esi, esi */ /* 0x250E34D2: test esi, esi */ 10181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10182 _cf = 0; 10183 _flag_k = FK_TEST; 10184 RECOMP_BACKEDGE(); 10185 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E34C3; /* 0x250E34D4: jne 0x250e34c3 */ 10186 L_250E34D6: 10187 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10188 eax = 0; /* 0x250E34D6: xor eax, eax */ 10189 _cf = 0; 10190 _flag_k = FK_TEST; 10191 L_250E34D8: 10192 edi = POP32_VAL(esp); /* 0x250E34D8: pop edi */ 10193 esi = POP32_VAL(esp); /* 0x250E34D9: pop esi */ 10194 ebx = POP32_VAL(esp); /* 0x250E34DA: pop ebx */ 10195 ebp = POP32_VAL(esp); /* 0x250E34DB: pop ebp */ 10196 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x250E34DC: ret 4 */ 10197 RECOMP_REGS_OUT(); 10198 } 10199 10200 void sub_250E34E0(void) { 10201 int _fpu_cmp = 0; 10202 uint32_t _cf = 0; 10203 int _df = 1; 10204 uint32_t _flag_k = FK_NONE; 10205 uint32_t _flag_a = 0, _flag_b = 0; 10206 uint32_t _itail_tgt = 0; 10207 RECOMP_REGS_LOCALS 10208 RECOMP_ENTER(0x250E34E0u); 10209 10210 L_250E34E0: 10211 PUSH32(esp, ebp); /* 0x250E34E0: push ebp */ 10212 ebp = esp; /* 0x250E34E1: mov ebp, esp */ 10213 SET_LO8(eax, MEM8(ecx + 0x132)); /* 0x250E34E3: mov al, byte ptr [ecx + 0x132] */ 10214 SET_LO8(edx, MEM8(ecx + 0x130)); /* 0x250E34E9: mov dl, byte ptr [ecx + 0x130] */ 10215 PUSH32(esp, ebx); /* 0x250E34EF: push ebx */ 10216 ebx = MEM32(ebp + 0x8); /* 0x250E34F0: mov ebx, dword ptr [ebp + 8] */ 10217 _flag_a = (uint32_t)((LO8(eax) | LO8(ebx))) << 24; _flag_b = (uint32_t)((LO8(eax) | LO8(ebx))) << 24; 10218 SET_LO8(eax, LO8(eax) | LO8(ebx)); /* 0x250E34F3: or al, bl */ 10219 _cf = 0; 10220 _flag_k = FK_NARROW(FK_TEST, 24); 10221 MEM8(ecx + 0x132) = (uint8_t)(LO8(eax)); /* 0x250E34F5: mov byte ptr [ecx + 0x132], al */ 10222 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x250E34FB: mov al, byte ptr [ebp + 0xc] */ 10223 _flag_a = (uint32_t)((LO8(edx) | LO8(ebx))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(ebx))) << 24; 10224 SET_LO8(edx, LO8(edx) | LO8(ebx)); /* 0x250E34FE: or dl, bl */ 10225 _cf = 0; 10226 _flag_k = FK_NARROW(FK_TEST, 24); 10227 /* test LO8(eax), LO8(eax) */ /* 0x250E3500: test al, al */ 10228 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10229 _cf = 0; 10230 _flag_k = FK_NARROW(FK_TEST, 24); 10231 PUSH32(esp, esi); /* 0x250E3502: push esi */ 10232 MEM8(ecx + 0x130) = (uint8_t)(LO8(edx)); /* 0x250E3503: mov byte ptr [ecx + 0x130], dl */ 10233 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3523; /* 0x250E3509: je 0x250e3523 */ 10234 L_250E350B: 10235 esi = MEM32(ecx + 0x74); /* 0x250E350B: mov esi, dword ptr [ecx + 0x74] */ 10236 /* test esi, esi */ /* 0x250E350E: test esi, esi */ 10237 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10238 _cf = 0; 10239 _flag_k = FK_TEST; 10240 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3523; /* 0x250E3510: je 0x250e3523 */ 10241 L_250E3512: 10242 eax = MEM32(esi); /* 0x250E3512: mov eax, dword ptr [esi] */ 10243 PUSH32(esp, 1); /* 0x250E3514: push 1 */ 10244 PUSH32(esp, ebx); /* 0x250E3516: push ebx */ 10245 ecx = esi; /* 0x250E3517: mov ecx, esi */ 10246 RECOMP_ICALL(MEM32(eax + 0x2C)); /* 0x250E3519: call dword ptr [eax + 0x2c] */ 10247 RECOMP_FLAGS_IN(); 10248 esi = MEM32(esi + 0x70); /* 0x250E351C: mov esi, dword ptr [esi + 0x70] */ 10249 /* test esi, esi */ /* 0x250E351F: test esi, esi */ 10250 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10251 _cf = 0; 10252 _flag_k = FK_TEST; 10253 RECOMP_BACKEDGE(); 10254 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3512; /* 0x250E3521: jne 0x250e3512 */ 10255 L_250E3523: 10256 esi = POP32_VAL(esp); /* 0x250E3523: pop esi */ 10257 ebx = POP32_VAL(esp); /* 0x250E3524: pop ebx */ 10258 ebp = POP32_VAL(esp); /* 0x250E3525: pop ebp */ 10259 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x250E3526: ret 8 */ 10260 RECOMP_REGS_OUT(); 10261 } 10262 10263 void sub_250E3530(void) { 10264 int _fpu_cmp = 0; 10265 uint32_t _cf = 0; 10266 int _df = 1; 10267 uint32_t _flag_k = FK_NONE; 10268 uint32_t _flag_a = 0, _flag_b = 0; 10269 uint32_t _itail_tgt = 0; 10270 RECOMP_REGS_LOCALS 10271 RECOMP_ENTER(0x250E3530u); 10272 10273 L_250E3530: 10274 PUSH32(esp, ebp); /* 0x250E3530: push ebp */ 10275 ebp = esp; /* 0x250E3531: mov ebp, esp */ 10276 ecx = MEM32(ebp + 0x8); /* 0x250E3533: mov ecx, dword ptr [ebp + 8] */ 10277 eax = MEM32(ecx); /* 0x250E3536: mov eax, dword ptr [ecx] */ 10278 /* test eax, eax */ /* 0x250E3538: test eax, eax */ 10279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10280 _cf = 0; 10281 _flag_k = FK_TEST; 10282 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3580; /* 0x250E353A: je 0x250e3580 */ 10283 L_250E353C: 10284 edx = MEM32(eax + 0x74); /* 0x250E353C: mov edx, dword ptr [eax + 0x74] */ 10285 /* test edx, edx */ /* 0x250E353F: test edx, edx */ 10286 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10287 _cf = 0; 10288 _flag_k = FK_TEST; 10289 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E357E; /* 0x250E3541: jne 0x250e357e */ 10290 L_250E3543: 10291 edx = MEM32(ebp + 0xC); /* 0x250E3543: mov edx, dword ptr [ebp + 0xc] */ 10292 /* cmp eax, edx */ /* 0x250E3546: cmp eax, edx */ 10293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10295 _flag_k = FK_CMP; 10296 if (CMP_NE(_flag_a, _flag_b)) goto L_250E3552; /* 0x250E3548: jne 0x250e3552 */ 10297 L_250E354A: 10298 MEM32(ecx) = 0; /* 0x250E354A: mov dword ptr [ecx], 0 */ 10299 ebp = POP32_VAL(esp); /* 0x250E3550: pop ebp */ 10300 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E3551: ret */ 10301 L_250E3552: 10302 PUSH32(esp, esi); /* 0x250E3552: push esi */ 10303 esi = MEM32(eax + 0x70); /* 0x250E3553: mov esi, dword ptr [eax + 0x70] */ 10304 /* test esi, esi */ /* 0x250E3556: test esi, esi */ 10305 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10306 _cf = 0; 10307 _flag_k = FK_TEST; 10308 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E3574; /* 0x250E3558: jne 0x250e3574 */ 10309 L_250E355A: 10310 eax = MEM32(ecx); /* 0x250E355A: mov eax, dword ptr [ecx] */ 10311 eax = MEM32(eax + 0x6C); /* 0x250E355C: mov eax, dword ptr [eax + 0x6c] */ 10312 /* cmp eax, edx */ /* 0x250E355F: cmp eax, edx */ 10313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10315 _flag_k = FK_CMP; 10316 MEM32(ecx) = eax; /* 0x250E3561: mov dword ptr [ecx], eax */ 10317 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E356E; /* 0x250E3563: je 0x250e356e */ 10318 L_250E3565: 10319 esi = MEM32(eax + 0x70); /* 0x250E3565: mov esi, dword ptr [eax + 0x70] */ 10320 /* test esi, esi */ /* 0x250E3568: test esi, esi */ 10321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10322 _cf = 0; 10323 _flag_k = FK_TEST; 10324 RECOMP_BACKEDGE(); 10325 if (TEST_Z(_flag_a, _flag_b)) goto L_250E355A; /* 0x250E356A: je 0x250e355a */ 10326 L_250E356C: 10327 goto L_250E3574; /* 0x250E356C: jmp 0x250e3574 */ 10328 L_250E356E: 10329 MEM32(ecx) = 0; /* 0x250E356E: mov dword ptr [ecx], 0 */ 10330 L_250E3574: 10331 eax = MEM32(ecx); /* 0x250E3574: mov eax, dword ptr [ecx] */ 10332 /* test eax, eax */ /* 0x250E3576: test eax, eax */ 10333 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10334 _cf = 0; 10335 _flag_k = FK_TEST; 10336 esi = POP32_VAL(esp); /* 0x250E3578: pop esi */ 10337 if (TEST_Z(_flag_a, _flag_b)) goto L_250E3580; /* 0x250E3579: je 0x250e3580 */ 10338 L_250E357B: 10339 edx = MEM32(eax + 0x70); /* 0x250E357B: mov edx, dword ptr [eax + 0x70] */ 10340 L_250E357E: 10341 MEM32(ecx) = edx; /* 0x250E357E: mov dword ptr [ecx], edx */ 10342 L_250E3580: 10343 ebp = POP32_VAL(esp); /* 0x250E3580: pop ebp */ 10344 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E3581: ret */ 10345 RECOMP_REGS_OUT(); 10346 } 10347 10348 void sub_250E3590(void) { 10349 int _fpu_cmp = 0; 10350 uint32_t _cf = 0; 10351 int _df = 1; 10352 uint32_t _flag_k = FK_NONE; 10353 uint32_t _flag_a = 0, _flag_b = 0; 10354 uint32_t _itail_tgt = 0; 10355 RECOMP_REGS_LOCALS 10356 RECOMP_ENTER(0x250E3590u); 10357 10358 L_250E3590: 10359 PUSH32(esp, ebp); /* 0x250E3590: push ebp */ 10360 ebp = esp; /* 0x250E3591: mov ebp, esp */ 10361 SET_LO8(eax, MEM8(0x251B9E14)); /* 0x250E3593: mov al, byte ptr [0x251b9e14] */ 10362 /* test LO8(eax), LO8(eax) */ /* 0x250E3598: test al, al */ 10363 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10364 _cf = 0; 10365 _flag_k = FK_NARROW(FK_TEST, 24); 10366 PUSH32(esp, esi); /* 0x250E359A: push esi */ 10367 if (TEST_Z(_flag_a, _flag_b)) goto L_250E35C7; /* 0x250E359B: je 0x250e35c7 */ 10368 L_250E359D: 10369 ecx = MEM32(0x2524C630); /* 0x250E359D: mov ecx, dword ptr [0x2524c630] */ 10370 /* test ecx, ecx */ /* 0x250E35A3: test ecx, ecx */ 10371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10372 _cf = 0; 10373 _flag_k = FK_TEST; 10374 if (TEST_Z(_flag_a, _flag_b)) goto L_250E35BB; /* 0x250E35A5: je 0x250e35bb */ 10375 L_250E35A7: 10376 eax = MEM32(ebp + 0x10); /* 0x250E35A7: mov eax, dword ptr [ebp + 0x10] */ 10377 edx = MEM32(ebp + 0xC); /* 0x250E35AA: mov edx, dword ptr [ebp + 0xc] */ 10378 PUSH32(esp, eax); /* 0x250E35AD: push eax */ 10379 eax = MEM32(ebp + 0x8); /* 0x250E35AE: mov eax, dword ptr [ebp + 8] */ 10380 PUSH32(esp, edx); /* 0x250E35B1: push edx */ 10381 PUSH32(esp, eax); /* 0x250E35B2: push eax */ 10382 RECOMP_ICALL(0x250F1950u); /* 0x250E35B3: call 0x250f1950 */ /* not lifted */ 10383 RECOMP_FLAGS_IN(); 10384 esi = POP32_VAL(esp); /* 0x250E35B8: pop esi */ 10385 ebp = POP32_VAL(esp); /* 0x250E35B9: pop ebp */ 10386 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E35BA: ret */ 10387 L_250E35BB: 10388 ecx = MEM32(ebp + 0x10); /* 0x250E35BB: mov ecx, dword ptr [ebp + 0x10] */ 10389 MEM32(ecx) = 0x00FFF000u; /* 0x250E35BE: mov dword ptr [ecx], 0xfff000 */ 10390 esi = POP32_VAL(esp); /* 0x250E35C4: pop esi */ 10391 ebp = POP32_VAL(esp); /* 0x250E35C5: pop ebp */ 10392 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E35C6: ret */ 10393 L_250E35C7: 10394 eax = MEM32(ebp + 0x8); /* 0x250E35C7: mov eax, dword ptr [ebp + 8] */ 10395 edx = MEM32(ebp + 0x10); /* 0x250E35CA: mov edx, dword ptr [ebp + 0x10] */ 10396 PUSH32(esp, eax); /* 0x250E35CD: push eax */ 10397 MEM32(edx) = 0; /* 0x250E35CE: mov dword ptr [edx], 0 */ 10398 ecx = MEM32(0x2524C628); /* 0x250E35D4: mov ecx, dword ptr [0x2524c628] */ 10399 PUSH32(esp, 1); /* 0x250E35DA: push 1 */ 10400 PUSH32(esp, ecx); /* 0x250E35DC: push ecx */ 10401 ecx = 0x2524C620u; /* 0x250E35DD: mov ecx, 0x2524c620 */ 10402 RECOMP_ICALL(0x25098CD0u); /* 0x250E35E2: call 0x25098cd0 */ /* not lifted */ 10403 RECOMP_FLAGS_IN(); 10404 eax = MEM32(0x2524C618); /* 0x250E35E7: mov eax, dword ptr [0x2524c618] */ 10405 edx = ebp + 0xC; /* 0x250E35EC: lea edx, [ebp + 0xc] */ 10406 PUSH32(esp, edx); /* 0x250E35EF: push edx */ 10407 PUSH32(esp, 1); /* 0x250E35F0: push 1 */ 10408 PUSH32(esp, eax); /* 0x250E35F2: push eax */ 10409 ecx = 0x2524C610u; /* 0x250E35F3: mov ecx, 0x2524c610 */ 10410 RECOMP_ICALL(0x2504A9D0u); /* 0x250E35F8: call 0x2504a9d0 */ /* not lifted */ 10411 RECOMP_FLAGS_IN(); 10412 eax = MEM32(0x2524C608); /* 0x250E35FD: mov eax, dword ptr [0x2524c608] */ 10413 ecx = MEM32(0x2524C60C); /* 0x250E3602: mov ecx, dword ptr [0x2524c60c] */ 10414 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10416 ecx = ecx - eax; /* 0x250E3608: sub ecx, eax */ 10417 _flag_k = FK_CMP; 10418 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E360A: sar ecx, 2 */ 10419 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10420 ecx = (uint32_t)((int32_t)ecx >> 2u); 10421 /* cmp ecx, 1 */ /* 0x250E360D: cmp ecx, 1 */ 10422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10424 _flag_k = FK_CMP; 10425 esi = eax; /* 0x250E3610: mov esi, eax */ 10426 if (CMP_AE(_flag_a, _flag_b)) goto L_250E36F9; /* 0x250E3612: jae 0x250e36f9 */ 10427 L_250E3618: 10428 edx = MEM32(0x2524C604); /* 0x250E3618: mov edx, dword ptr [0x2524c604] */ 10429 /* test edx, edx */ /* 0x250E361E: test edx, edx */ 10430 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10431 _cf = 0; 10432 _flag_k = FK_TEST; 10433 if (TEST_Z(_flag_a, _flag_b)) goto L_250E362E; /* 0x250E3620: je 0x250e362e */ 10434 L_250E3622: 10435 ecx = eax; /* 0x250E3622: mov ecx, eax */ 10436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10438 ecx = ecx - edx; /* 0x250E3624: sub ecx, edx */ 10439 _flag_k = FK_CMP; 10440 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E3626: sar ecx, 2 */ 10441 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10442 ecx = (uint32_t)((int32_t)ecx >> 2u); 10443 /* cmp ecx, 1 */ /* 0x250E3629: cmp ecx, 1 */ 10444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10446 _flag_k = FK_CMP; 10447 if (CMP_A(_flag_a, _flag_b)) goto L_250E3633; /* 0x250E362C: ja 0x250e3633 */ 10448 L_250E362E: 10449 ecx = 1; /* 0x250E362E: mov ecx, 1 */ 10450 L_250E3633: 10451 /* test edx, edx */ /* 0x250E3633: test edx, edx */ 10452 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10453 _cf = 0; 10454 _flag_k = FK_TEST; 10455 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E363B; /* 0x250E3635: jne 0x250e363b */ 10456 L_250E3637: 10457 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10458 eax = 0; /* 0x250E3637: xor eax, eax */ 10459 _cf = 0; 10460 _flag_k = FK_TEST; 10461 goto L_250E3640; /* 0x250E3639: jmp 0x250e3640 */ 10462 L_250E363B: 10463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10465 eax = eax - edx; /* 0x250E363B: sub eax, edx */ 10466 _flag_k = FK_CMP; 10467 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250E363D: sar eax, 2 */ 10468 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10469 eax = (uint32_t)((int32_t)eax >> 2u); 10470 L_250E3640: 10471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10473 eax = eax + ecx; /* 0x250E3640: add eax, ecx */ 10474 _flag_k = FK_ADD; 10475 /* test eax, eax */ /* 0x250E3642: test eax, eax */ 10476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10477 _cf = 0; 10478 _flag_k = FK_TEST; 10479 MEM32(ebp + 0x8) = eax; /* 0x250E3644: mov dword ptr [ebp + 8], eax */ 10480 if (TEST_NS(_flag_a, _flag_b)) goto L_250E364B; /* 0x250E3647: jge 0x250e364b */ 10481 L_250E3649: 10482 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10483 eax = 0; /* 0x250E3649: xor eax, eax */ 10484 _cf = 0; 10485 _flag_k = FK_TEST; 10486 L_250E364B: 10487 PUSH32(esp, ebx); /* 0x250E364B: push ebx */ 10488 edx = eax * 4; /* 0x250E364C: lea edx, [eax*4] */ 10489 PUSH32(esp, edi); /* 0x250E3653: push edi */ 10490 PUSH32(esp, edx); /* 0x250E3654: push edx */ 10491 RECOMP_ICALL(0x251380D0u); /* 0x250E3655: call 0x251380d0 */ /* not lifted */ 10492 RECOMP_FLAGS_IN(); 10493 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10494 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10495 esp = esp + 4; /* 0x250E365A: add esp, 4 */ 10496 _flag_k = FK_ADD; 10497 edi = eax; /* 0x250E365D: mov edi, eax */ 10498 eax = MEM32(0x2524C604); /* 0x250E365F: mov eax, dword ptr [0x2524c604] */ 10499 PUSH32(esp, edi); /* 0x250E3664: push edi */ 10500 PUSH32(esp, esi); /* 0x250E3665: push esi */ 10501 PUSH32(esp, eax); /* 0x250E3666: push eax */ 10502 ecx = 0x2524C600u; /* 0x250E3667: mov ecx, 0x2524c600 */ 10503 RECOMP_ICALL(0x250E3D40u); /* 0x250E366C: call 0x250e3d40 */ /* not lifted */ 10504 RECOMP_FLAGS_IN(); 10505 ecx = ebp + 0x10; /* 0x250E3671: lea ecx, [ebp + 0x10] */ 10506 PUSH32(esp, ecx); /* 0x250E3674: push ecx */ 10507 ebx = eax; /* 0x250E3675: mov ebx, eax */ 10508 PUSH32(esp, 1); /* 0x250E3677: push 1 */ 10509 PUSH32(esp, ebx); /* 0x250E3679: push ebx */ 10510 ecx = 0x2524C600u; /* 0x250E367A: mov ecx, 0x2524c600 */ 10511 RECOMP_ICALL(0x250E3D70u); /* 0x250E367F: call 0x250e3d70 */ /* not lifted */ 10512 RECOMP_FLAGS_IN(); 10513 edx = MEM32(0x2524C608); /* 0x250E3684: mov edx, dword ptr [0x2524c608] */ 10514 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 10515 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10516 ebx = ebx + 4; /* 0x250E368A: add ebx, 4 */ 10517 _flag_k = FK_ADD; 10518 PUSH32(esp, ebx); /* 0x250E368D: push ebx */ 10519 PUSH32(esp, edx); /* 0x250E368E: push edx */ 10520 PUSH32(esp, esi); /* 0x250E368F: push esi */ 10521 ecx = 0x2524C600u; /* 0x250E3690: mov ecx, 0x2524c600 */ 10522 RECOMP_ICALL(0x250E3D40u); /* 0x250E3695: call 0x250e3d40 */ /* not lifted */ 10523 RECOMP_FLAGS_IN(); 10524 eax = MEM32(0x2524C608); /* 0x250E369A: mov eax, dword ptr [0x2524c608] */ 10525 ecx = MEM32(0x2524C604); /* 0x250E369F: mov ecx, dword ptr [0x2524c604] */ 10526 PUSH32(esp, eax); /* 0x250E36A5: push eax */ 10527 PUSH32(esp, ecx); /* 0x250E36A6: push ecx */ 10528 ecx = 0x2524C600u; /* 0x250E36A7: mov ecx, 0x2524c600 */ 10529 RECOMP_ICALL(0x25093260u); /* 0x250E36AC: call 0x25093260 */ /* not lifted */ 10530 RECOMP_FLAGS_IN(); 10531 edx = MEM32(0x2524C604); /* 0x250E36B1: mov edx, dword ptr [0x2524c604] */ 10532 PUSH32(esp, edx); /* 0x250E36B7: push edx */ 10533 RECOMP_ICALL(0x25137EECu); /* 0x250E36B8: call 0x25137eec */ /* not lifted */ 10534 RECOMP_FLAGS_IN(); 10535 eax = MEM32(ebp + 0x8); /* 0x250E36BD: mov eax, dword ptr [ebp + 8] */ 10536 ecx = edi + eax * 4; /* 0x250E36C0: lea ecx, [edi + eax*4] */ 10537 MEM32(0x2524C60C) = ecx; /* 0x250E36C3: mov dword ptr [0x2524c60c], ecx */ 10538 ecx = MEM32(0x2524C604); /* 0x250E36C9: mov ecx, dword ptr [0x2524c604] */ 10539 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10541 esp = esp + 4; /* 0x250E36CF: add esp, 4 */ 10542 _flag_k = FK_ADD; 10543 /* test ecx, ecx */ /* 0x250E36D2: test ecx, ecx */ 10544 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10545 _cf = 0; 10546 _flag_k = FK_TEST; 10547 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E36DA; /* 0x250E36D4: jne 0x250e36da */ 10548 L_250E36D6: 10549 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10550 eax = 0; /* 0x250E36D6: xor eax, eax */ 10551 _cf = 0; 10552 _flag_k = FK_TEST; 10553 goto L_250E36E4; /* 0x250E36D8: jmp 0x250e36e4 */ 10554 L_250E36DA: 10555 eax = MEM32(0x2524C608); /* 0x250E36DA: mov eax, dword ptr [0x2524c608] */ 10556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10558 eax = eax - ecx; /* 0x250E36DF: sub eax, ecx */ 10559 _flag_k = FK_CMP; 10560 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x250E36E1: sar eax, 2 */ 10561 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10562 eax = (uint32_t)((int32_t)eax >> 2u); 10563 L_250E36E4: 10564 edx = edi + eax * 4 + 0x4; /* 0x250E36E4: lea edx, [edi + eax*4 + 4] */ 10565 MEM32(0x2524C604) = edi; /* 0x250E36E8: mov dword ptr [0x2524c604], edi */ 10566 edi = POP32_VAL(esp); /* 0x250E36EE: pop edi */ 10567 ebx = POP32_VAL(esp); /* 0x250E36EF: pop ebx */ 10568 MEM32(0x2524C608) = edx; /* 0x250E36F0: mov dword ptr [0x2524c608], edx */ 10569 esi = POP32_VAL(esp); /* 0x250E36F6: pop esi */ 10570 ebp = POP32_VAL(esp); /* 0x250E36F7: pop ebp */ 10571 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E36F8: ret */ 10572 L_250E36F9: 10573 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 10574 SET_LO8(ecx, 0); /* 0x250E36F9: xor cl, cl */ 10575 _cf = 0; 10576 _flag_k = FK_NARROW(FK_TEST, 24); 10577 /* cmp LO8(ecx), 1 */ /* 0x250E36FB: cmp cl, 1 */ 10578 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 10579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10580 _flag_k = FK_NARROW(FK_CMP, 24); 10581 if (CMP_AE(_flag_a, _flag_b)) goto L_250E3755; /* 0x250E36FE: jae 0x250e3755 */ 10582 L_250E3700: 10583 edx = eax + 0x4; /* 0x250E3700: lea edx, [eax + 4] */ 10584 PUSH32(esp, edx); /* 0x250E3703: push edx */ 10585 PUSH32(esp, eax); /* 0x250E3704: push eax */ 10586 PUSH32(esp, eax); /* 0x250E3705: push eax */ 10587 ecx = 0x2524C600u; /* 0x250E3706: mov ecx, 0x2524c600 */ 10588 RECOMP_ICALL(0x250E3D40u); /* 0x250E370B: call 0x250e3d40 */ /* not lifted */ 10589 RECOMP_FLAGS_IN(); 10590 eax = ebp + 0x10; /* 0x250E3710: lea eax, [ebp + 0x10] */ 10591 PUSH32(esp, eax); /* 0x250E3713: push eax */ 10592 eax = MEM32(0x2524C608); /* 0x250E3714: mov eax, dword ptr [0x2524c608] */ 10593 ecx = eax; /* 0x250E3719: mov ecx, eax */ 10594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 10595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10596 ecx = ecx - esi; /* 0x250E371B: sub ecx, esi */ 10597 _flag_k = FK_CMP; 10598 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x250E371D: sar ecx, 2 */ 10599 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10600 ecx = (uint32_t)((int32_t)ecx >> 2u); 10601 edx = 1; /* 0x250E3720: mov edx, 1 */ 10602 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 10603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10604 edx = edx - ecx; /* 0x250E3725: sub edx, ecx */ 10605 _flag_k = FK_CMP; 10606 PUSH32(esp, edx); /* 0x250E3727: push edx */ 10607 PUSH32(esp, eax); /* 0x250E3728: push eax */ 10608 ecx = 0x2524C600u; /* 0x250E3729: mov ecx, 0x2524c600 */ 10609 RECOMP_ICALL(0x250E3D70u); /* 0x250E372E: call 0x250e3d70 */ /* not lifted */ 10610 RECOMP_FLAGS_IN(); 10611 ecx = MEM32(0x2524C608); /* 0x250E3733: mov ecx, dword ptr [0x2524c608] */ 10612 /* cmp esi, ecx */ /* 0x250E3739: cmp esi, ecx */ 10613 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 10614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10615 _flag_k = FK_CMP; 10616 eax = esi; /* 0x250E373B: mov eax, esi */ 10617 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3797; /* 0x250E373D: je 0x250e3797 */ 10618 L_250E373F: 10619 edx = MEM32(ebp + 0x10); /* 0x250E373F: mov edx, dword ptr [ebp + 0x10] */ 10620 MEM32(eax) = edx; /* 0x250E3742: mov dword ptr [eax], edx */ 10621 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10623 eax = eax + 4; /* 0x250E3744: add eax, 4 */ 10624 _flag_k = FK_ADD; 10625 /* cmp eax, ecx */ /* 0x250E3747: cmp eax, ecx */ 10626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10628 _flag_k = FK_CMP; 10629 RECOMP_BACKEDGE(); 10630 if (CMP_NE(_flag_a, _flag_b)) goto L_250E373F; /* 0x250E3749: jne 0x250e373f */ 10631 L_250E374B: 10632 _flag_a = (uint32_t)(MEM32(0x2524C608)); _flag_b = (uint32_t)(4); 10633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10634 MEM32(0x2524C608) = MEM32(0x2524C608) + 4; /* 0x250E374B: add dword ptr [0x2524c608], 4 */ 10635 _flag_k = FK_ADD; 10636 esi = POP32_VAL(esp); /* 0x250E3752: pop esi */ 10637 ebp = POP32_VAL(esp); /* 0x250E3753: pop ebp */ 10638 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E3754: ret */ 10639 L_250E3755: 10640 PUSH32(esp, eax); /* 0x250E3755: push eax */ 10641 PUSH32(esp, eax); /* 0x250E3756: push eax */ 10642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 10643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10644 eax = eax + 0xFFFFFFFCu; /* 0x250E3757: add eax, -4 */ 10645 _flag_k = FK_ADD; 10646 PUSH32(esp, eax); /* 0x250E375A: push eax */ 10647 ecx = 0x2524C600u; /* 0x250E375B: mov ecx, 0x2524c600 */ 10648 RECOMP_ICALL(0x250E3D40u); /* 0x250E3760: call 0x250e3d40 */ /* not lifted */ 10649 RECOMP_FLAGS_IN(); 10650 eax = MEM32(0x2524C608); /* 0x250E3765: mov eax, dword ptr [0x2524c608] */ 10651 ecx = eax; /* 0x250E376A: mov ecx, eax */ 10652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 10653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10654 eax = eax + 0xFFFFFFFCu; /* 0x250E376C: add eax, -4 */ 10655 _flag_k = FK_ADD; 10656 /* cmp esi, eax */ /* 0x250E376F: cmp esi, eax */ 10657 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10659 _flag_k = FK_CMP; 10660 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3782; /* 0x250E3771: je 0x250e3782 */ 10661 L_250E3773: 10662 edx = MEM32(eax + (-0x4)); /* 0x250E3773: mov edx, dword ptr [eax - 4] */ 10663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10665 eax = eax - 4; /* 0x250E3776: sub eax, 4 */ 10666 _flag_k = FK_CMP; 10667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 10668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10669 ecx = ecx - 4; /* 0x250E3779: sub ecx, 4 */ 10670 _flag_k = FK_CMP; 10671 /* cmp eax, esi */ /* 0x250E377C: cmp eax, esi */ 10672 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10674 _flag_k = FK_CMP; 10675 MEM32(ecx) = edx; /* 0x250E377E: mov dword ptr [ecx], edx */ 10676 RECOMP_BACKEDGE(); 10677 if (CMP_NE(_flag_a, _flag_b)) goto L_250E3773; /* 0x250E3780: jne 0x250e3773 */ 10678 L_250E3782: 10679 ecx = esi + 0x4; /* 0x250E3782: lea ecx, [esi + 4] */ 10680 /* cmp esi, ecx */ /* 0x250E3785: cmp esi, ecx */ 10681 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 10682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10683 _flag_k = FK_CMP; 10684 eax = esi; /* 0x250E3787: mov eax, esi */ 10685 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E3797; /* 0x250E3789: je 0x250e3797 */ 10686 L_250E378B: 10687 edx = MEM32(ebp + 0x10); /* 0x250E378B: mov edx, dword ptr [ebp + 0x10] */ 10688 MEM32(eax) = edx; /* 0x250E378E: mov dword ptr [eax], edx */ 10689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10691 eax = eax + 4; /* 0x250E3790: add eax, 4 */ 10692 _flag_k = FK_ADD; 10693 /* cmp eax, ecx */ /* 0x250E3793: cmp eax, ecx */ 10694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10696 _flag_k = FK_CMP; 10697 RECOMP_BACKEDGE(); 10698 if (CMP_NE(_flag_a, _flag_b)) goto L_250E378B; /* 0x250E3795: jne 0x250e378b */ 10699 L_250E3797: 10700 _flag_a = (uint32_t)(MEM32(0x2524C608)); _flag_b = (uint32_t)(4); 10701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10702 MEM32(0x2524C608) = MEM32(0x2524C608) + 4; /* 0x250E3797: add dword ptr [0x2524c608], 4 */ 10703 _flag_k = FK_ADD; 10704 esi = POP32_VAL(esp); /* 0x250E379E: pop esi */ 10705 ebp = POP32_VAL(esp); /* 0x250E379F: pop ebp */ 10706 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E37A0: ret */ 10707 RECOMP_REGS_OUT(); 10708 } 10709 10710 void sub_250E37B0(void) { 10711 int _fpu_cmp = 0; 10712 uint32_t _cf = 0; 10713 int _df = 1; 10714 uint32_t _flag_k = FK_NONE; 10715 uint32_t _flag_a = 0, _flag_b = 0; 10716 uint32_t _itail_tgt = 0; 10717 RECOMP_REGS_LOCALS 10718 RECOMP_ENTER(0x250E37B0u); 10719 10720 L_250E37B0: 10721 eax = MEM32(0x2524C634); /* 0x250E37B0: mov eax, dword ptr [0x2524c634] */ 10722 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E37B5: ret */ 10723 RECOMP_REGS_OUT(); 10724 }