client/game/bbr.dll/lifted-0095.c (127790B)
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_25148633(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(0x25148633u); 17 18 L_25148633: 19 ecx = MEM32(ebp + (-0x10)); /* 0x25148633: mov ecx, dword ptr [ebp - 0x10] */ 20 goto L_2501C660; /* 0x25148636: jmp 0x2501c660 */ 21 { RECOMP_REGS_OUT(); return; } /* end of function */ 22 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 23 RECOMP_REGS_OUT(); 24 } 25 26 void sub_2514863B(void) { 27 int _fpu_cmp = 0; 28 uint32_t _cf = 0; 29 int _df = 1; 30 uint32_t _flag_k = FK_NONE; 31 uint32_t _flag_a = 0, _flag_b = 0; 32 uint32_t _itail_tgt = 0; 33 RECOMP_REGS_LOCALS 34 RECOMP_ENTER(0x2514863Bu); 35 36 goto L_2514863B; 37 L_251380C4: 38 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 39 L_2514863B: 40 eax = 0x25168C58u; /* 0x2514863B: mov eax, 0x25168c58 */ 41 L_25148640: 42 RECOMP_BACKEDGE(); 43 goto L_251380C4; /* 0x25148640: jmp 0x251380c4 */ 44 { RECOMP_REGS_OUT(); return; } /* end of function */ 45 _ljump: 46 switch (_itail_tgt) { 47 case 0x251380C4u: goto L_251380C4; 48 case 0x2514863Bu: goto L_2514863B; 49 case 0x25148640u: goto L_25148640; 50 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 51 } 52 RECOMP_REGS_OUT(); 53 } 54 55 void sub_25148650(void) { 56 int _fpu_cmp = 0; 57 uint32_t _cf = 0; 58 int _df = 1; 59 uint32_t _flag_k = FK_NONE; 60 uint32_t _flag_a = 0, _flag_b = 0; 61 uint32_t _itail_tgt = 0; 62 RECOMP_REGS_LOCALS 63 RECOMP_ENTER(0x25148650u); 64 65 goto L_25148650; 66 L_250DB0B0: 67 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 68 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 69 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 70 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 71 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 72 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 73 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 74 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 75 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 76 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 77 _flag_k = FK_CMP; 78 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 79 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 80 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 81 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 82 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 83 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 84 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 85 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 86 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 87 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 88 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 89 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 90 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 91 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 92 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 93 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 94 _cf = 0; 95 _flag_k = FK_TEST; 96 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 97 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 98 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 99 _flag_k = FK_CMP; 100 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 101 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 102 L_250DB11E: 103 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 104 RECOMP_FLAGS_IN(); 105 L_250DB123: 106 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 107 PUSH32(esp, eax); /* 0x250DB129: push eax */ 108 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 109 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 110 RECOMP_FLAGS_IN(); 111 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 112 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 113 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 114 _flag_k = FK_ADD; 115 eax = edi; /* 0x250DB135: mov eax, edi */ 116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 117 _cf = (eax) != 0; 118 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 119 _flag_k = FK_CMP; 120 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 121 eax = _sc ? 0xFFFFFFFFu : 0; 122 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 123 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 125 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 126 _cf = 0; 127 _flag_k = FK_TEST; 128 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 129 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 130 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 131 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 132 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 133 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 134 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 135 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 137 _flag_k = FK_CMP; 138 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 139 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 140 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 141 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 142 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 143 L_250DB16C: 144 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 145 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 146 ecx = esi; /* 0x250DB170: mov ecx, esi */ 147 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 148 RECOMP_FLAGS_IN(); 149 ecx = eax; /* 0x250DB177: mov ecx, eax */ 150 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 151 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 152 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 155 _flag_k = FK_CMP; 156 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 157 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 158 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 160 _flag_k = FK_NARROW(FK_CMP, 24); 161 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 162 L_250DB187: 163 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 164 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 165 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 167 _flag_k = FK_CMP; 168 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 169 L_250DB18F: 170 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 171 PUSH32(esp, edx); /* 0x250DB192: push edx */ 172 ecx = esi; /* 0x250DB193: mov ecx, esi */ 173 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 174 RECOMP_FLAGS_IN(); 175 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 176 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 177 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 178 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 179 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 180 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 181 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 182 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 183 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 184 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 185 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 186 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 187 RECOMP_FLAGS_IN(); 188 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 189 L_250DB1BE: 190 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 193 _flag_k = FK_CMP; 194 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 195 L_250DB1C3: 196 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 197 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 198 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 199 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 200 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 201 RECOMP_FLAGS_IN(); 202 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 203 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 204 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 205 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 206 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 207 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 208 RECOMP_FLAGS_IN(); 209 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 210 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 211 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 213 _flag_k = FK_CMP; 214 RECOMP_BACKEDGE(); 215 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 216 L_250DB1E6: 217 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 218 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 219 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 220 RECOMP_FLAGS_IN(); 221 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 222 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 223 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 224 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 225 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 226 RECOMP_FLAGS_IN(); 227 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 229 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 230 _flag_k = FK_ADD; 231 eax = edi; /* 0x250DB201: mov eax, edi */ 232 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 233 _cf = (eax) != 0; 234 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 235 _flag_k = FK_CMP; 236 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 237 eax = _sc ? 0xFFFFFFFFu : 0; 238 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 239 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 240 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 241 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 243 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 244 _cf = 0; 245 _flag_k = FK_TEST; 246 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 247 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 248 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 249 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 250 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 252 _flag_k = FK_CMP; 253 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 254 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 255 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 256 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 257 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 258 L_250DB22E: 259 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 260 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 261 ecx = esi; /* 0x250DB232: mov ecx, esi */ 262 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 263 RECOMP_FLAGS_IN(); 264 edx = eax; /* 0x250DB239: mov edx, eax */ 265 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 266 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 267 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 270 _flag_k = FK_CMP; 271 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 272 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 273 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 275 _flag_k = FK_NARROW(FK_CMP, 24); 276 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 277 L_250DB249: 278 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 279 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 280 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 282 _flag_k = FK_CMP; 283 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 284 L_250DB251: 285 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 286 PUSH32(esp, eax); /* 0x250DB254: push eax */ 287 ecx = esi; /* 0x250DB255: mov ecx, esi */ 288 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 289 RECOMP_FLAGS_IN(); 290 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 291 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 292 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 293 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 294 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 295 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 296 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 297 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 298 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 299 PUSH32(esp, eax); /* 0x250DB276: push eax */ 300 ecx = esi; /* 0x250DB277: mov ecx, esi */ 301 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 302 RECOMP_FLAGS_IN(); 303 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 304 L_250DB280: 305 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 308 _flag_k = FK_CMP; 309 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 310 L_250DB285: 311 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 312 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 313 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 314 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 315 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 316 RECOMP_FLAGS_IN(); 317 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 318 PUSH32(esp, edx); /* 0x250DB294: push edx */ 319 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 320 PUSH32(esp, eax); /* 0x250DB298: push eax */ 321 ecx = esi; /* 0x250DB299: mov ecx, esi */ 322 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 323 RECOMP_FLAGS_IN(); 324 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 325 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 326 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 328 _flag_k = FK_CMP; 329 RECOMP_BACKEDGE(); 330 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 331 L_250DB2A8: 332 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 333 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 334 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 335 RECOMP_FLAGS_IN(); 336 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 337 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 338 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 339 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 340 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 341 RECOMP_FLAGS_IN(); 342 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 343 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 344 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 345 _flag_k = FK_ADD; 346 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 347 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 348 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 349 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 350 RECOMP_FLAGS_IN(); 351 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 352 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 353 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 354 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 355 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 356 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 357 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 358 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 359 L_25148650: 360 ecx = MEM32(ebp + (-0x10)); /* 0x25148650: mov ecx, dword ptr [ebp - 0x10] */ 361 RECOMP_BACKEDGE(); 362 goto L_250DB0B0; /* 0x25148653: jmp 0x250db0b0 */ 363 { RECOMP_REGS_OUT(); return; } /* end of function */ 364 RECOMP_REGS_OUT(); 365 } 366 367 void sub_25148658(void) { 368 int _fpu_cmp = 0; 369 uint32_t _cf = 0; 370 int _df = 1; 371 uint32_t _flag_k = FK_NONE; 372 uint32_t _flag_a = 0, _flag_b = 0; 373 uint32_t _itail_tgt = 0; 374 RECOMP_REGS_LOCALS 375 RECOMP_ENTER(0x25148658u); 376 377 goto L_25148658; 378 L_251380C4: 379 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 380 L_25148658: 381 eax = 0x25168C90u; /* 0x25148658: mov eax, 0x25168c90 */ 382 L_2514865D: 383 RECOMP_BACKEDGE(); 384 goto L_251380C4; /* 0x2514865D: jmp 0x251380c4 */ 385 { RECOMP_REGS_OUT(); return; } /* end of function */ 386 _ljump: 387 switch (_itail_tgt) { 388 case 0x251380C4u: goto L_251380C4; 389 case 0x25148658u: goto L_25148658; 390 case 0x2514865Du: goto L_2514865D; 391 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 392 } 393 RECOMP_REGS_OUT(); 394 } 395 396 void sub_25148670(void) { 397 int _fpu_cmp = 0; 398 uint32_t _cf = 0; 399 int _df = 1; 400 uint32_t _flag_k = FK_NONE; 401 uint32_t _flag_a = 0, _flag_b = 0; 402 uint32_t _itail_tgt = 0; 403 RECOMP_REGS_LOCALS 404 RECOMP_ENTER(0x25148670u); 405 406 goto L_25148670; 407 L_2507AC80: 408 ecx = MEM32(ecx); /* 0x2507AC80: mov ecx, dword ptr [ecx] */ 409 /* test ecx, ecx */ /* 0x2507AC82: test ecx, ecx */ 410 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 411 _cf = 0; 412 _flag_k = FK_TEST; 413 if (TEST_Z(_flag_a, _flag_b)) goto L_2507AC8D; /* 0x2507AC84: je 0x2507ac8d */ 414 L_2507AC86: 415 eax = MEM32(ecx); /* 0x2507AC86: mov eax, dword ptr [ecx] */ 416 PUSH32(esp, 0); /* 0x2507AC88: push 0 */ 417 RECOMP_ICALL(MEM32(eax + 0x28)); /* 0x2507AC8A: call dword ptr [eax + 0x28] */ 418 RECOMP_FLAGS_IN(); 419 L_2507AC8D: 420 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2507AC8D: ret */ 421 L_25148670: 422 ecx = ebp + (-0x10); /* 0x25148670: lea ecx, [ebp - 0x10] */ 423 RECOMP_BACKEDGE(); 424 goto L_2507AC80; /* 0x25148673: jmp 0x2507ac80 */ 425 { RECOMP_REGS_OUT(); return; } /* end of function */ 426 RECOMP_REGS_OUT(); 427 } 428 429 void sub_25148678(void) { 430 int _fpu_cmp = 0; 431 uint32_t _cf = 0; 432 int _df = 1; 433 uint32_t _flag_k = FK_NONE; 434 uint32_t _flag_a = 0, _flag_b = 0; 435 uint32_t _itail_tgt = 0; 436 RECOMP_REGS_LOCALS 437 RECOMP_ENTER(0x25148678u); 438 439 goto L_25148678; 440 L_251380C4: 441 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 442 L_25148678: 443 eax = 0x25168CB8u; /* 0x25148678: mov eax, 0x25168cb8 */ 444 L_2514867D: 445 RECOMP_BACKEDGE(); 446 goto L_251380C4; /* 0x2514867D: jmp 0x251380c4 */ 447 { RECOMP_REGS_OUT(); return; } /* end of function */ 448 _ljump: 449 switch (_itail_tgt) { 450 case 0x251380C4u: goto L_251380C4; 451 case 0x25148678u: goto L_25148678; 452 case 0x2514867Du: goto L_2514867D; 453 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 454 } 455 RECOMP_REGS_OUT(); 456 } 457 458 void sub_25148690(void) { 459 int _fpu_cmp = 0; 460 uint32_t _cf = 0; 461 int _df = 1; 462 uint32_t _flag_k = FK_NONE; 463 uint32_t _flag_a = 0, _flag_b = 0; 464 uint32_t _itail_tgt = 0; 465 RECOMP_REGS_LOCALS 466 RECOMP_ENTER(0x25148690u); 467 468 L_25148690: 469 eax = MEM32(ebp + (-0x10)); /* 0x25148690: mov eax, dword ptr [ebp - 0x10] */ 470 PUSH32(esp, eax); /* 0x25148693: push eax */ 471 RECOMP_ICALL(0x25137EECu); /* 0x25148694: call 0x25137eec */ /* not lifted */ 472 RECOMP_FLAGS_IN(); 473 ecx = POP32_VAL(esp); /* 0x25148699: pop ecx */ 474 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514869A: ret */ 475 RECOMP_REGS_OUT(); 476 } 477 478 void sub_2514869B(void) { 479 int _fpu_cmp = 0; 480 uint32_t _cf = 0; 481 int _df = 1; 482 uint32_t _flag_k = FK_NONE; 483 uint32_t _flag_a = 0, _flag_b = 0; 484 uint32_t _itail_tgt = 0; 485 RECOMP_REGS_LOCALS 486 RECOMP_ENTER(0x2514869Bu); 487 488 goto L_2514869B; 489 L_251380C4: 490 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 491 L_2514869B: 492 eax = 0x25168CE0u; /* 0x2514869B: mov eax, 0x25168ce0 */ 493 L_251486A0: 494 RECOMP_BACKEDGE(); 495 goto L_251380C4; /* 0x251486A0: jmp 0x251380c4 */ 496 { RECOMP_REGS_OUT(); return; } /* end of function */ 497 _ljump: 498 switch (_itail_tgt) { 499 case 0x251380C4u: goto L_251380C4; 500 case 0x2514869Bu: goto L_2514869B; 501 case 0x251486A0u: goto L_251486A0; 502 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 503 } 504 RECOMP_REGS_OUT(); 505 } 506 507 void sub_251486B0(void) { 508 int _fpu_cmp = 0; 509 uint32_t _cf = 0; 510 int _df = 1; 511 uint32_t _flag_k = FK_NONE; 512 uint32_t _flag_a = 0, _flag_b = 0; 513 uint32_t _itail_tgt = 0; 514 RECOMP_REGS_LOCALS 515 RECOMP_ENTER(0x251486B0u); 516 517 L_251486B0: 518 eax = MEM32(ebp + (-0x14)); /* 0x251486B0: mov eax, dword ptr [ebp - 0x14] */ 519 PUSH32(esp, eax); /* 0x251486B3: push eax */ 520 RECOMP_ICALL(0x25137EECu); /* 0x251486B4: call 0x25137eec */ /* not lifted */ 521 RECOMP_FLAGS_IN(); 522 ecx = POP32_VAL(esp); /* 0x251486B9: pop ecx */ 523 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251486BA: ret */ 524 RECOMP_REGS_OUT(); 525 } 526 527 void sub_251486BB(void) { 528 int _fpu_cmp = 0; 529 uint32_t _cf = 0; 530 int _df = 1; 531 uint32_t _flag_k = FK_NONE; 532 uint32_t _flag_a = 0, _flag_b = 0; 533 uint32_t _itail_tgt = 0; 534 RECOMP_REGS_LOCALS 535 RECOMP_ENTER(0x251486BBu); 536 537 goto L_251486BB; 538 L_2505CF00: 539 PUSH32(esp, esi); /* 0x2505CF00: push esi */ 540 esi = ecx; /* 0x2505CF01: mov esi, ecx */ 541 /* cmp MEM32(esi), 0xCAFEBABEu */ /* 0x2505CF03: cmp dword ptr [esi], 0xcafebabe */ 542 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0xCAFEBABEu); 543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 544 _flag_k = FK_CMP; 545 if (CMP_NE(_flag_a, _flag_b)) goto L_2505CF29; /* 0x2505CF09: jne 0x2505cf29 */ 546 L_2505CF0B: 547 eax = MEM32(esi + 0x4); /* 0x2505CF0B: mov eax, dword ptr [esi + 4] */ 548 /* test eax, eax */ /* 0x2505CF0E: test eax, eax */ 549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 550 _cf = 0; 551 _flag_k = FK_TEST; 552 if (TEST_Z(_flag_a, _flag_b)) goto L_2505CF22; /* 0x2505CF10: je 0x2505cf22 */ 553 L_2505CF12: 554 PUSH32(esp, eax); /* 0x2505CF12: push eax */ 555 RECOMP_ICALL(0x25137EECu); /* 0x2505CF13: call 0x25137eec */ /* not lifted */ 556 RECOMP_FLAGS_IN(); 557 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 558 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 559 esp = esp + 4; /* 0x2505CF18: add esp, 4 */ 560 _flag_k = FK_ADD; 561 MEM32(esi + 0x4) = 0; /* 0x2505CF1B: mov dword ptr [esi + 4], 0 */ 562 L_2505CF22: 563 MEM32(esi + 0x8) = 0; /* 0x2505CF22: mov dword ptr [esi + 8], 0 */ 564 L_2505CF29: 565 MEM32(esi) = 0xDEADBEEFu; /* 0x2505CF29: mov dword ptr [esi], 0xdeadbeef */ 566 esi = POP32_VAL(esp); /* 0x2505CF2F: pop esi */ 567 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2505CF30: ret */ 568 L_251486BB: 569 ecx = MEM32(ebp + (-0x14)); /* 0x251486BB: mov ecx, dword ptr [ebp - 0x14] */ 570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCCu); 571 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 572 ecx = ecx + 0xCCu; /* 0x251486BE: add ecx, 0xcc */ 573 _flag_k = FK_ADD; 574 RECOMP_BACKEDGE(); 575 goto L_2505CF00; /* 0x251486C4: jmp 0x2505cf00 */ 576 { RECOMP_REGS_OUT(); return; } /* end of function */ 577 RECOMP_REGS_OUT(); 578 } 579 580 void sub_251486C9(void) { 581 int _fpu_cmp = 0; 582 uint32_t _cf = 0; 583 int _df = 1; 584 uint32_t _flag_k = FK_NONE; 585 uint32_t _flag_a = 0, _flag_b = 0; 586 uint32_t _itail_tgt = 0; 587 RECOMP_REGS_LOCALS 588 RECOMP_ENTER(0x251486C9u); 589 590 goto L_251486C9; 591 L_2505CF00: 592 PUSH32(esp, esi); /* 0x2505CF00: push esi */ 593 esi = ecx; /* 0x2505CF01: mov esi, ecx */ 594 /* cmp MEM32(esi), 0xCAFEBABEu */ /* 0x2505CF03: cmp dword ptr [esi], 0xcafebabe */ 595 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0xCAFEBABEu); 596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 597 _flag_k = FK_CMP; 598 if (CMP_NE(_flag_a, _flag_b)) goto L_2505CF29; /* 0x2505CF09: jne 0x2505cf29 */ 599 L_2505CF0B: 600 eax = MEM32(esi + 0x4); /* 0x2505CF0B: mov eax, dword ptr [esi + 4] */ 601 /* test eax, eax */ /* 0x2505CF0E: test eax, eax */ 602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 603 _cf = 0; 604 _flag_k = FK_TEST; 605 if (TEST_Z(_flag_a, _flag_b)) goto L_2505CF22; /* 0x2505CF10: je 0x2505cf22 */ 606 L_2505CF12: 607 PUSH32(esp, eax); /* 0x2505CF12: push eax */ 608 RECOMP_ICALL(0x25137EECu); /* 0x2505CF13: call 0x25137eec */ /* not lifted */ 609 RECOMP_FLAGS_IN(); 610 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 611 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 612 esp = esp + 4; /* 0x2505CF18: add esp, 4 */ 613 _flag_k = FK_ADD; 614 MEM32(esi + 0x4) = 0; /* 0x2505CF1B: mov dword ptr [esi + 4], 0 */ 615 L_2505CF22: 616 MEM32(esi + 0x8) = 0; /* 0x2505CF22: mov dword ptr [esi + 8], 0 */ 617 L_2505CF29: 618 MEM32(esi) = 0xDEADBEEFu; /* 0x2505CF29: mov dword ptr [esi], 0xdeadbeef */ 619 esi = POP32_VAL(esp); /* 0x2505CF2F: pop esi */ 620 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2505CF30: ret */ 621 L_251486C9: 622 ecx = MEM32(ebp + (-0x14)); /* 0x251486C9: mov ecx, dword ptr [ebp - 0x14] */ 623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xE0u); 624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 625 ecx = ecx + 0xE0u; /* 0x251486CC: add ecx, 0xe0 */ 626 _flag_k = FK_ADD; 627 RECOMP_BACKEDGE(); 628 goto L_2505CF00; /* 0x251486D2: jmp 0x2505cf00 */ 629 { RECOMP_REGS_OUT(); return; } /* end of function */ 630 RECOMP_REGS_OUT(); 631 } 632 633 void sub_251486D7(void) { 634 int _fpu_cmp = 0; 635 uint32_t _cf = 0; 636 int _df = 1; 637 uint32_t _flag_k = FK_NONE; 638 uint32_t _flag_a = 0, _flag_b = 0; 639 uint32_t _itail_tgt = 0; 640 RECOMP_REGS_LOCALS 641 RECOMP_ENTER(0x251486D7u); 642 643 goto L_251486D7; 644 L_2505CF00: 645 PUSH32(esp, esi); /* 0x2505CF00: push esi */ 646 esi = ecx; /* 0x2505CF01: mov esi, ecx */ 647 /* cmp MEM32(esi), 0xCAFEBABEu */ /* 0x2505CF03: cmp dword ptr [esi], 0xcafebabe */ 648 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0xCAFEBABEu); 649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 650 _flag_k = FK_CMP; 651 if (CMP_NE(_flag_a, _flag_b)) goto L_2505CF29; /* 0x2505CF09: jne 0x2505cf29 */ 652 L_2505CF0B: 653 eax = MEM32(esi + 0x4); /* 0x2505CF0B: mov eax, dword ptr [esi + 4] */ 654 /* test eax, eax */ /* 0x2505CF0E: test eax, eax */ 655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 656 _cf = 0; 657 _flag_k = FK_TEST; 658 if (TEST_Z(_flag_a, _flag_b)) goto L_2505CF22; /* 0x2505CF10: je 0x2505cf22 */ 659 L_2505CF12: 660 PUSH32(esp, eax); /* 0x2505CF12: push eax */ 661 RECOMP_ICALL(0x25137EECu); /* 0x2505CF13: call 0x25137eec */ /* not lifted */ 662 RECOMP_FLAGS_IN(); 663 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 665 esp = esp + 4; /* 0x2505CF18: add esp, 4 */ 666 _flag_k = FK_ADD; 667 MEM32(esi + 0x4) = 0; /* 0x2505CF1B: mov dword ptr [esi + 4], 0 */ 668 L_2505CF22: 669 MEM32(esi + 0x8) = 0; /* 0x2505CF22: mov dword ptr [esi + 8], 0 */ 670 L_2505CF29: 671 MEM32(esi) = 0xDEADBEEFu; /* 0x2505CF29: mov dword ptr [esi], 0xdeadbeef */ 672 esi = POP32_VAL(esp); /* 0x2505CF2F: pop esi */ 673 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2505CF30: ret */ 674 L_251486D7: 675 ecx = MEM32(ebp + (-0x14)); /* 0x251486D7: mov ecx, dword ptr [ebp - 0x14] */ 676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xF4u); 677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 678 ecx = ecx + 0xF4u; /* 0x251486DA: add ecx, 0xf4 */ 679 _flag_k = FK_ADD; 680 RECOMP_BACKEDGE(); 681 goto L_2505CF00; /* 0x251486E0: jmp 0x2505cf00 */ 682 { RECOMP_REGS_OUT(); return; } /* end of function */ 683 RECOMP_REGS_OUT(); 684 } 685 686 void sub_251486E5(void) { 687 int _fpu_cmp = 0; 688 uint32_t _cf = 0; 689 int _df = 1; 690 uint32_t _flag_k = FK_NONE; 691 uint32_t _flag_a = 0, _flag_b = 0; 692 uint32_t _itail_tgt = 0; 693 RECOMP_REGS_LOCALS 694 RECOMP_ENTER(0x251486E5u); 695 696 goto L_251486E5; 697 L_25085170: 698 PUSH32(esp, ebx); /* 0x25085170: push ebx */ 699 PUSH32(esp, esi); /* 0x25085171: push esi */ 700 PUSH32(esp, edi); /* 0x25085172: push edi */ 701 edi = ecx; /* 0x25085173: mov edi, ecx */ 702 ebx = MEM32(edi + 0x4); /* 0x25085175: mov ebx, dword ptr [edi + 4] */ 703 esi = MEM32(ebx); /* 0x25085178: mov esi, dword ptr [ebx] */ 704 /* cmp esi, ebx */ /* 0x2508517A: cmp esi, ebx */ 705 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 707 _flag_k = FK_CMP; 708 if (CMP_EQ(_flag_a, _flag_b)) goto L_250851A5; /* 0x2508517C: je 0x250851a5 */ 709 L_2508517E: 710 eax = esi; /* 0x2508517E: mov eax, esi */ 711 ecx = MEM32(eax + 0x4); /* 0x25085180: mov ecx, dword ptr [eax + 4] */ 712 edx = MEM32(eax); /* 0x25085183: mov edx, dword ptr [eax] */ 713 esi = MEM32(esi); /* 0x25085185: mov esi, dword ptr [esi] */ 714 MEM32(ecx) = edx; /* 0x25085187: mov dword ptr [ecx], edx */ 715 ecx = MEM32(eax); /* 0x25085189: mov ecx, dword ptr [eax] */ 716 edx = MEM32(eax + 0x4); /* 0x2508518B: mov edx, dword ptr [eax + 4] */ 717 PUSH32(esp, eax); /* 0x2508518E: push eax */ 718 MEM32(ecx + 0x4) = edx; /* 0x2508518F: mov dword ptr [ecx + 4], edx */ 719 RECOMP_ICALL(0x25137EECu); /* 0x25085192: call 0x25137eec */ /* not lifted */ 720 RECOMP_FLAGS_IN(); 721 ecx = MEM32(edi + 0x8); /* 0x25085197: mov ecx, dword ptr [edi + 8] */ 722 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 723 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 724 esp = esp + 4; /* 0x2508519A: add esp, 4 */ 725 _flag_k = FK_ADD; 726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 727 ecx = ecx - 1; /* 0x2508519D: dec ecx */ 728 _flag_k = FK_DEC; 729 /* cmp esi, ebx */ /* 0x2508519E: cmp esi, ebx */ 730 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_CMP; 733 MEM32(edi + 0x8) = ecx; /* 0x250851A0: mov dword ptr [edi + 8], ecx */ 734 RECOMP_BACKEDGE(); 735 if (CMP_NE(_flag_a, _flag_b)) goto L_2508517E; /* 0x250851A3: jne 0x2508517e */ 736 L_250851A5: 737 eax = MEM32(edi + 0x4); /* 0x250851A5: mov eax, dword ptr [edi + 4] */ 738 PUSH32(esp, eax); /* 0x250851A8: push eax */ 739 RECOMP_ICALL(0x25137EECu); /* 0x250851A9: call 0x25137eec */ /* not lifted */ 740 RECOMP_FLAGS_IN(); 741 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 742 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 743 esp = esp + 4; /* 0x250851AE: add esp, 4 */ 744 _flag_k = FK_ADD; 745 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 746 eax = 0; /* 0x250851B1: xor eax, eax */ 747 _cf = 0; 748 _flag_k = FK_TEST; 749 MEM32(edi + 0x4) = eax; /* 0x250851B3: mov dword ptr [edi + 4], eax */ 750 MEM32(edi + 0x8) = eax; /* 0x250851B6: mov dword ptr [edi + 8], eax */ 751 edi = POP32_VAL(esp); /* 0x250851B9: pop edi */ 752 esi = POP32_VAL(esp); /* 0x250851BA: pop esi */ 753 ebx = POP32_VAL(esp); /* 0x250851BB: pop ebx */ 754 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250851BC: ret */ 755 L_251486E5: 756 ecx = MEM32(ebp + (-0x14)); /* 0x251486E5: mov ecx, dword ptr [ebp - 0x14] */ 757 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x108u); 758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 759 ecx = ecx + 0x108u; /* 0x251486E8: add ecx, 0x108 */ 760 _flag_k = FK_ADD; 761 RECOMP_BACKEDGE(); 762 goto L_25085170; /* 0x251486EE: jmp 0x25085170 */ 763 { RECOMP_REGS_OUT(); return; } /* end of function */ 764 RECOMP_REGS_OUT(); 765 } 766 767 void sub_251486F3(void) { 768 int _fpu_cmp = 0; 769 uint32_t _cf = 0; 770 int _df = 1; 771 uint32_t _flag_k = FK_NONE; 772 uint32_t _flag_a = 0, _flag_b = 0; 773 uint32_t _itail_tgt = 0; 774 RECOMP_REGS_LOCALS 775 RECOMP_ENTER(0x251486F3u); 776 777 goto L_251486F3; 778 L_251380C4: 779 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 780 L_251486F3: 781 eax = 0x25168D08u; /* 0x251486F3: mov eax, 0x25168d08 */ 782 L_251486F8: 783 RECOMP_BACKEDGE(); 784 goto L_251380C4; /* 0x251486F8: jmp 0x251380c4 */ 785 { RECOMP_REGS_OUT(); return; } /* end of function */ 786 _ljump: 787 switch (_itail_tgt) { 788 case 0x251380C4u: goto L_251380C4; 789 case 0x251486F3u: goto L_251486F3; 790 case 0x251486F8u: goto L_251486F8; 791 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 792 } 793 RECOMP_REGS_OUT(); 794 } 795 796 void sub_25148700(void) { 797 int _fpu_cmp = 0; 798 uint32_t _cf = 0; 799 int _df = 1; 800 uint32_t _flag_k = FK_NONE; 801 uint32_t _flag_a = 0, _flag_b = 0; 802 uint32_t _itail_tgt = 0; 803 RECOMP_REGS_LOCALS 804 RECOMP_ENTER(0x25148700u); 805 806 L_25148700: 807 eax = MEM32(ebp + (-0x2C)); /* 0x25148700: mov eax, dword ptr [ebp - 0x2c] */ 808 PUSH32(esp, eax); /* 0x25148703: push eax */ 809 RECOMP_ICALL(0x25137EECu); /* 0x25148704: call 0x25137eec */ /* not lifted */ 810 RECOMP_FLAGS_IN(); 811 ecx = POP32_VAL(esp); /* 0x25148709: pop ecx */ 812 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514870A: ret */ 813 RECOMP_REGS_OUT(); 814 } 815 816 void sub_2514870B(void) { 817 int _fpu_cmp = 0; 818 uint32_t _cf = 0; 819 int _df = 1; 820 uint32_t _flag_k = FK_NONE; 821 uint32_t _flag_a = 0, _flag_b = 0; 822 uint32_t _itail_tgt = 0; 823 RECOMP_REGS_LOCALS 824 RECOMP_ENTER(0x2514870Bu); 825 826 L_2514870B: 827 eax = MEM32(ebp + (-0x2C)); /* 0x2514870B: mov eax, dword ptr [ebp - 0x2c] */ 828 PUSH32(esp, eax); /* 0x2514870E: push eax */ 829 RECOMP_ICALL(0x25137EECu); /* 0x2514870F: call 0x25137eec */ /* not lifted */ 830 RECOMP_FLAGS_IN(); 831 ecx = POP32_VAL(esp); /* 0x25148714: pop ecx */ 832 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148715: ret */ 833 RECOMP_REGS_OUT(); 834 } 835 836 void sub_25148716(void) { 837 int _fpu_cmp = 0; 838 uint32_t _cf = 0; 839 int _df = 1; 840 uint32_t _flag_k = FK_NONE; 841 uint32_t _flag_a = 0, _flag_b = 0; 842 uint32_t _itail_tgt = 0; 843 RECOMP_REGS_LOCALS 844 RECOMP_ENTER(0x25148716u); 845 846 L_25148716: 847 eax = MEM32(ebp + (-0x2C)); /* 0x25148716: mov eax, dword ptr [ebp - 0x2c] */ 848 PUSH32(esp, eax); /* 0x25148719: push eax */ 849 RECOMP_ICALL(0x25137EECu); /* 0x2514871A: call 0x25137eec */ /* not lifted */ 850 RECOMP_FLAGS_IN(); 851 ecx = POP32_VAL(esp); /* 0x2514871F: pop ecx */ 852 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148720: ret */ 853 RECOMP_REGS_OUT(); 854 } 855 856 void sub_25148721(void) { 857 int _fpu_cmp = 0; 858 uint32_t _cf = 0; 859 int _df = 1; 860 uint32_t _flag_k = FK_NONE; 861 uint32_t _flag_a = 0, _flag_b = 0; 862 uint32_t _itail_tgt = 0; 863 RECOMP_REGS_LOCALS 864 RECOMP_ENTER(0x25148721u); 865 866 L_25148721: 867 eax = MEM32(ebp + (-0x2C)); /* 0x25148721: mov eax, dword ptr [ebp - 0x2c] */ 868 PUSH32(esp, eax); /* 0x25148724: push eax */ 869 RECOMP_ICALL(0x25137EECu); /* 0x25148725: call 0x25137eec */ /* not lifted */ 870 RECOMP_FLAGS_IN(); 871 ecx = POP32_VAL(esp); /* 0x2514872A: pop ecx */ 872 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514872B: ret */ 873 RECOMP_REGS_OUT(); 874 } 875 876 void sub_25148724(void) { 877 int _fpu_cmp = 0; 878 uint32_t _cf = 0; 879 int _df = 1; 880 uint32_t _flag_k = FK_NONE; 881 uint32_t _flag_a = 0, _flag_b = 0; 882 uint32_t _itail_tgt = 0; 883 RECOMP_REGS_LOCALS 884 RECOMP_ENTER(0x25148724u); 885 886 L_25148724: 887 PUSH32(esp, eax); /* 0x25148724: push eax */ 888 RECOMP_ICALL(0x25137EECu); /* 0x25148725: call 0x25137eec */ /* not lifted */ 889 RECOMP_FLAGS_IN(); 890 ecx = POP32_VAL(esp); /* 0x2514872A: pop ecx */ 891 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514872B: ret */ 892 RECOMP_REGS_OUT(); 893 } 894 895 void sub_2514872C(void) { 896 int _fpu_cmp = 0; 897 uint32_t _cf = 0; 898 int _df = 1; 899 uint32_t _flag_k = FK_NONE; 900 uint32_t _flag_a = 0, _flag_b = 0; 901 uint32_t _itail_tgt = 0; 902 RECOMP_REGS_LOCALS 903 RECOMP_ENTER(0x2514872Cu); 904 905 L_2514872C: 906 eax = MEM32(ebp + (-0x2C)); /* 0x2514872C: mov eax, dword ptr [ebp - 0x2c] */ 907 PUSH32(esp, eax); /* 0x2514872F: push eax */ 908 RECOMP_ICALL(0x25137EECu); /* 0x25148730: call 0x25137eec */ /* not lifted */ 909 RECOMP_FLAGS_IN(); 910 ecx = POP32_VAL(esp); /* 0x25148735: pop ecx */ 911 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148736: ret */ 912 RECOMP_REGS_OUT(); 913 } 914 915 void sub_25148737(void) { 916 int _fpu_cmp = 0; 917 uint32_t _cf = 0; 918 int _df = 1; 919 uint32_t _flag_k = FK_NONE; 920 uint32_t _flag_a = 0, _flag_b = 0; 921 uint32_t _itail_tgt = 0; 922 RECOMP_REGS_LOCALS 923 RECOMP_ENTER(0x25148737u); 924 925 L_25148737: 926 eax = MEM32(ebp + (-0x2C)); /* 0x25148737: mov eax, dword ptr [ebp - 0x2c] */ 927 PUSH32(esp, eax); /* 0x2514873A: push eax */ 928 RECOMP_ICALL(0x25137EECu); /* 0x2514873B: call 0x25137eec */ /* not lifted */ 929 RECOMP_FLAGS_IN(); 930 ecx = POP32_VAL(esp); /* 0x25148740: pop ecx */ 931 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148741: ret */ 932 RECOMP_REGS_OUT(); 933 } 934 935 void sub_25148742(void) { 936 int _fpu_cmp = 0; 937 uint32_t _cf = 0; 938 int _df = 1; 939 uint32_t _flag_k = FK_NONE; 940 uint32_t _flag_a = 0, _flag_b = 0; 941 uint32_t _itail_tgt = 0; 942 RECOMP_REGS_LOCALS 943 RECOMP_ENTER(0x25148742u); 944 945 L_25148742: 946 eax = MEM32(ebp + (-0x2C)); /* 0x25148742: mov eax, dword ptr [ebp - 0x2c] */ 947 PUSH32(esp, eax); /* 0x25148745: push eax */ 948 RECOMP_ICALL(0x25137EECu); /* 0x25148746: call 0x25137eec */ /* not lifted */ 949 RECOMP_FLAGS_IN(); 950 ecx = POP32_VAL(esp); /* 0x2514874B: pop ecx */ 951 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514874C: ret */ 952 RECOMP_REGS_OUT(); 953 } 954 955 void sub_2514874D(void) { 956 int _fpu_cmp = 0; 957 uint32_t _cf = 0; 958 int _df = 1; 959 uint32_t _flag_k = FK_NONE; 960 uint32_t _flag_a = 0, _flag_b = 0; 961 uint32_t _itail_tgt = 0; 962 RECOMP_REGS_LOCALS 963 RECOMP_ENTER(0x2514874Du); 964 965 L_2514874D: 966 eax = MEM32(ebp + (-0x14)); /* 0x2514874D: mov eax, dword ptr [ebp - 0x14] */ 967 PUSH32(esp, eax); /* 0x25148750: push eax */ 968 RECOMP_ICALL(0x25137EECu); /* 0x25148751: call 0x25137eec */ /* not lifted */ 969 RECOMP_FLAGS_IN(); 970 ecx = POP32_VAL(esp); /* 0x25148756: pop ecx */ 971 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148757: ret */ 972 RECOMP_REGS_OUT(); 973 } 974 975 void sub_25148758(void) { 976 int _fpu_cmp = 0; 977 uint32_t _cf = 0; 978 int _df = 1; 979 uint32_t _flag_k = FK_NONE; 980 uint32_t _flag_a = 0, _flag_b = 0; 981 uint32_t _itail_tgt = 0; 982 RECOMP_REGS_LOCALS 983 RECOMP_ENTER(0x25148758u); 984 985 L_25148758: 986 ecx = MEM32(ebp + (-0x14)); /* 0x25148758: mov ecx, dword ptr [ebp - 0x14] */ 987 goto L_2501C660; /* 0x2514875B: jmp 0x2501c660 */ 988 { RECOMP_REGS_OUT(); return; } /* end of function */ 989 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 990 RECOMP_REGS_OUT(); 991 } 992 993 void sub_25148760(void) { 994 int _fpu_cmp = 0; 995 uint32_t _cf = 0; 996 int _df = 1; 997 uint32_t _flag_k = FK_NONE; 998 uint32_t _flag_a = 0, _flag_b = 0; 999 uint32_t _itail_tgt = 0; 1000 RECOMP_REGS_LOCALS 1001 RECOMP_ENTER(0x25148760u); 1002 1003 L_25148760: 1004 eax = MEM32(ebp + (-0x14)); /* 0x25148760: mov eax, dword ptr [ebp - 0x14] */ 1005 PUSH32(esp, eax); /* 0x25148763: push eax */ 1006 RECOMP_ICALL(0x25137EECu); /* 0x25148764: call 0x25137eec */ /* not lifted */ 1007 RECOMP_FLAGS_IN(); 1008 ecx = POP32_VAL(esp); /* 0x25148769: pop ecx */ 1009 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514876A: ret */ 1010 RECOMP_REGS_OUT(); 1011 } 1012 1013 void sub_2514876B(void) { 1014 int _fpu_cmp = 0; 1015 uint32_t _cf = 0; 1016 int _df = 1; 1017 uint32_t _flag_k = FK_NONE; 1018 uint32_t _flag_a = 0, _flag_b = 0; 1019 uint32_t _itail_tgt = 0; 1020 RECOMP_REGS_LOCALS 1021 RECOMP_ENTER(0x2514876Bu); 1022 1023 L_2514876B: 1024 ecx = MEM32(ebp + (-0x14)); /* 0x2514876B: mov ecx, dword ptr [ebp - 0x14] */ 1025 goto L_2501C660; /* 0x2514876E: jmp 0x2501c660 */ 1026 { RECOMP_REGS_OUT(); return; } /* end of function */ 1027 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1028 RECOMP_REGS_OUT(); 1029 } 1030 1031 void sub_25148773(void) { 1032 int _fpu_cmp = 0; 1033 uint32_t _cf = 0; 1034 int _df = 1; 1035 uint32_t _flag_k = FK_NONE; 1036 uint32_t _flag_a = 0, _flag_b = 0; 1037 uint32_t _itail_tgt = 0; 1038 RECOMP_REGS_LOCALS 1039 RECOMP_ENTER(0x25148773u); 1040 1041 L_25148773: 1042 eax = MEM32(ebp + (-0x14)); /* 0x25148773: mov eax, dword ptr [ebp - 0x14] */ 1043 PUSH32(esp, eax); /* 0x25148776: push eax */ 1044 RECOMP_ICALL(0x25137EECu); /* 0x25148777: call 0x25137eec */ /* not lifted */ 1045 RECOMP_FLAGS_IN(); 1046 ecx = POP32_VAL(esp); /* 0x2514877C: pop ecx */ 1047 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514877D: ret */ 1048 RECOMP_REGS_OUT(); 1049 } 1050 1051 void sub_2514877E(void) { 1052 int _fpu_cmp = 0; 1053 uint32_t _cf = 0; 1054 int _df = 1; 1055 uint32_t _flag_k = FK_NONE; 1056 uint32_t _flag_a = 0, _flag_b = 0; 1057 uint32_t _itail_tgt = 0; 1058 RECOMP_REGS_LOCALS 1059 RECOMP_ENTER(0x2514877Eu); 1060 1061 L_2514877E: 1062 ecx = MEM32(ebp + (-0x14)); /* 0x2514877E: mov ecx, dword ptr [ebp - 0x14] */ 1063 goto L_2501C660; /* 0x25148781: jmp 0x2501c660 */ 1064 { RECOMP_REGS_OUT(); return; } /* end of function */ 1065 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1066 RECOMP_REGS_OUT(); 1067 } 1068 1069 void sub_25148786(void) { 1070 int _fpu_cmp = 0; 1071 uint32_t _cf = 0; 1072 int _df = 1; 1073 uint32_t _flag_k = FK_NONE; 1074 uint32_t _flag_a = 0, _flag_b = 0; 1075 uint32_t _itail_tgt = 0; 1076 RECOMP_REGS_LOCALS 1077 RECOMP_ENTER(0x25148786u); 1078 1079 L_25148786: 1080 eax = MEM32(ebp + (-0x14)); /* 0x25148786: mov eax, dword ptr [ebp - 0x14] */ 1081 PUSH32(esp, eax); /* 0x25148789: push eax */ 1082 RECOMP_ICALL(0x25137EECu); /* 0x2514878A: call 0x25137eec */ /* not lifted */ 1083 RECOMP_FLAGS_IN(); 1084 ecx = POP32_VAL(esp); /* 0x2514878F: pop ecx */ 1085 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148790: ret */ 1086 RECOMP_REGS_OUT(); 1087 } 1088 1089 void sub_25148791(void) { 1090 int _fpu_cmp = 0; 1091 uint32_t _cf = 0; 1092 int _df = 1; 1093 uint32_t _flag_k = FK_NONE; 1094 uint32_t _flag_a = 0, _flag_b = 0; 1095 uint32_t _itail_tgt = 0; 1096 RECOMP_REGS_LOCALS 1097 RECOMP_ENTER(0x25148791u); 1098 1099 L_25148791: 1100 ecx = MEM32(ebp + (-0x14)); /* 0x25148791: mov ecx, dword ptr [ebp - 0x14] */ 1101 goto L_2501C660; /* 0x25148794: jmp 0x2501c660 */ 1102 { RECOMP_REGS_OUT(); return; } /* end of function */ 1103 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1104 RECOMP_REGS_OUT(); 1105 } 1106 1107 void sub_25148799(void) { 1108 int _fpu_cmp = 0; 1109 uint32_t _cf = 0; 1110 int _df = 1; 1111 uint32_t _flag_k = FK_NONE; 1112 uint32_t _flag_a = 0, _flag_b = 0; 1113 uint32_t _itail_tgt = 0; 1114 RECOMP_REGS_LOCALS 1115 RECOMP_ENTER(0x25148799u); 1116 1117 L_25148799: 1118 eax = MEM32(ebp + (-0x14)); /* 0x25148799: mov eax, dword ptr [ebp - 0x14] */ 1119 PUSH32(esp, eax); /* 0x2514879C: push eax */ 1120 RECOMP_ICALL(0x25137EECu); /* 0x2514879D: call 0x25137eec */ /* not lifted */ 1121 RECOMP_FLAGS_IN(); 1122 ecx = POP32_VAL(esp); /* 0x251487A2: pop ecx */ 1123 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251487A3: ret */ 1124 RECOMP_REGS_OUT(); 1125 } 1126 1127 void sub_251487A4(void) { 1128 int _fpu_cmp = 0; 1129 uint32_t _cf = 0; 1130 int _df = 1; 1131 uint32_t _flag_k = FK_NONE; 1132 uint32_t _flag_a = 0, _flag_b = 0; 1133 uint32_t _itail_tgt = 0; 1134 RECOMP_REGS_LOCALS 1135 RECOMP_ENTER(0x251487A4u); 1136 1137 L_251487A4: 1138 ecx = MEM32(ebp + (-0x14)); /* 0x251487A4: mov ecx, dword ptr [ebp - 0x14] */ 1139 goto L_250212E0; /* 0x251487A7: jmp 0x250212e0 */ 1140 { RECOMP_REGS_OUT(); return; } /* end of function */ 1141 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1142 RECOMP_REGS_OUT(); 1143 } 1144 1145 void sub_251487AC(void) { 1146 int _fpu_cmp = 0; 1147 uint32_t _cf = 0; 1148 int _df = 1; 1149 uint32_t _flag_k = FK_NONE; 1150 uint32_t _flag_a = 0, _flag_b = 0; 1151 uint32_t _itail_tgt = 0; 1152 RECOMP_REGS_LOCALS 1153 RECOMP_ENTER(0x251487ACu); 1154 1155 L_251487AC: 1156 eax = MEM32(ebp + (-0x14)); /* 0x251487AC: mov eax, dword ptr [ebp - 0x14] */ 1157 PUSH32(esp, eax); /* 0x251487AF: push eax */ 1158 RECOMP_ICALL(0x25137EECu); /* 0x251487B0: call 0x25137eec */ /* not lifted */ 1159 RECOMP_FLAGS_IN(); 1160 ecx = POP32_VAL(esp); /* 0x251487B5: pop ecx */ 1161 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251487B6: ret */ 1162 RECOMP_REGS_OUT(); 1163 } 1164 1165 void sub_251487B7(void) { 1166 int _fpu_cmp = 0; 1167 uint32_t _cf = 0; 1168 int _df = 1; 1169 uint32_t _flag_k = FK_NONE; 1170 uint32_t _flag_a = 0, _flag_b = 0; 1171 uint32_t _itail_tgt = 0; 1172 RECOMP_REGS_LOCALS 1173 RECOMP_ENTER(0x251487B7u); 1174 1175 L_251487B7: 1176 ecx = MEM32(ebp + (-0x14)); /* 0x251487B7: mov ecx, dword ptr [ebp - 0x14] */ 1177 goto L_250212E0; /* 0x251487BA: jmp 0x250212e0 */ 1178 { RECOMP_REGS_OUT(); return; } /* end of function */ 1179 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1180 RECOMP_REGS_OUT(); 1181 } 1182 1183 void sub_251487BF(void) { 1184 int _fpu_cmp = 0; 1185 uint32_t _cf = 0; 1186 int _df = 1; 1187 uint32_t _flag_k = FK_NONE; 1188 uint32_t _flag_a = 0, _flag_b = 0; 1189 uint32_t _itail_tgt = 0; 1190 RECOMP_REGS_LOCALS 1191 RECOMP_ENTER(0x251487BFu); 1192 1193 L_251487BF: 1194 eax = MEM32(ebp + (-0x14)); /* 0x251487BF: mov eax, dword ptr [ebp - 0x14] */ 1195 PUSH32(esp, eax); /* 0x251487C2: push eax */ 1196 RECOMP_ICALL(0x25137EECu); /* 0x251487C3: call 0x25137eec */ /* not lifted */ 1197 RECOMP_FLAGS_IN(); 1198 ecx = POP32_VAL(esp); /* 0x251487C8: pop ecx */ 1199 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251487C9: ret */ 1200 RECOMP_REGS_OUT(); 1201 } 1202 1203 void sub_251487CA(void) { 1204 int _fpu_cmp = 0; 1205 uint32_t _cf = 0; 1206 int _df = 1; 1207 uint32_t _flag_k = FK_NONE; 1208 uint32_t _flag_a = 0, _flag_b = 0; 1209 uint32_t _itail_tgt = 0; 1210 RECOMP_REGS_LOCALS 1211 RECOMP_ENTER(0x251487CAu); 1212 1213 L_251487CA: 1214 ecx = MEM32(ebp + (-0x14)); /* 0x251487CA: mov ecx, dword ptr [ebp - 0x14] */ 1215 goto L_250212E0; /* 0x251487CD: jmp 0x250212e0 */ 1216 { RECOMP_REGS_OUT(); return; } /* end of function */ 1217 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1218 RECOMP_REGS_OUT(); 1219 } 1220 1221 void sub_251487D2(void) { 1222 int _fpu_cmp = 0; 1223 uint32_t _cf = 0; 1224 int _df = 1; 1225 uint32_t _flag_k = FK_NONE; 1226 uint32_t _flag_a = 0, _flag_b = 0; 1227 uint32_t _itail_tgt = 0; 1228 RECOMP_REGS_LOCALS 1229 RECOMP_ENTER(0x251487D2u); 1230 1231 L_251487D2: 1232 eax = MEM32(ebp + (-0x14)); /* 0x251487D2: mov eax, dword ptr [ebp - 0x14] */ 1233 PUSH32(esp, eax); /* 0x251487D5: push eax */ 1234 RECOMP_ICALL(0x25137EECu); /* 0x251487D6: call 0x25137eec */ /* not lifted */ 1235 RECOMP_FLAGS_IN(); 1236 ecx = POP32_VAL(esp); /* 0x251487DB: pop ecx */ 1237 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251487DC: ret */ 1238 RECOMP_REGS_OUT(); 1239 } 1240 1241 void sub_251487DD(void) { 1242 int _fpu_cmp = 0; 1243 uint32_t _cf = 0; 1244 int _df = 1; 1245 uint32_t _flag_k = FK_NONE; 1246 uint32_t _flag_a = 0, _flag_b = 0; 1247 uint32_t _itail_tgt = 0; 1248 RECOMP_REGS_LOCALS 1249 RECOMP_ENTER(0x251487DDu); 1250 1251 L_251487DD: 1252 ecx = MEM32(ebp + (-0x14)); /* 0x251487DD: mov ecx, dword ptr [ebp - 0x14] */ 1253 goto L_250212E0; /* 0x251487E0: jmp 0x250212e0 */ 1254 { RECOMP_REGS_OUT(); return; } /* end of function */ 1255 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1256 RECOMP_REGS_OUT(); 1257 } 1258 1259 void sub_251487E5(void) { 1260 int _fpu_cmp = 0; 1261 uint32_t _cf = 0; 1262 int _df = 1; 1263 uint32_t _flag_k = FK_NONE; 1264 uint32_t _flag_a = 0, _flag_b = 0; 1265 uint32_t _itail_tgt = 0; 1266 RECOMP_REGS_LOCALS 1267 RECOMP_ENTER(0x251487E5u); 1268 1269 L_251487E5: 1270 eax = MEM32(ebp + (-0x14)); /* 0x251487E5: mov eax, dword ptr [ebp - 0x14] */ 1271 PUSH32(esp, eax); /* 0x251487E8: push eax */ 1272 RECOMP_ICALL(0x25137EECu); /* 0x251487E9: call 0x25137eec */ /* not lifted */ 1273 RECOMP_FLAGS_IN(); 1274 ecx = POP32_VAL(esp); /* 0x251487EE: pop ecx */ 1275 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251487EF: ret */ 1276 RECOMP_REGS_OUT(); 1277 } 1278 1279 void sub_251487F0(void) { 1280 int _fpu_cmp = 0; 1281 uint32_t _cf = 0; 1282 int _df = 1; 1283 uint32_t _flag_k = FK_NONE; 1284 uint32_t _flag_a = 0, _flag_b = 0; 1285 uint32_t _itail_tgt = 0; 1286 RECOMP_REGS_LOCALS 1287 RECOMP_ENTER(0x251487F0u); 1288 1289 L_251487F0: 1290 ecx = MEM32(ebp + (-0x14)); /* 0x251487F0: mov ecx, dword ptr [ebp - 0x14] */ 1291 goto L_250212E0; /* 0x251487F3: jmp 0x250212e0 */ 1292 { RECOMP_REGS_OUT(); return; } /* end of function */ 1293 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1294 RECOMP_REGS_OUT(); 1295 } 1296 1297 void sub_251487F8(void) { 1298 int _fpu_cmp = 0; 1299 uint32_t _cf = 0; 1300 int _df = 1; 1301 uint32_t _flag_k = FK_NONE; 1302 uint32_t _flag_a = 0, _flag_b = 0; 1303 uint32_t _itail_tgt = 0; 1304 RECOMP_REGS_LOCALS 1305 RECOMP_ENTER(0x251487F8u); 1306 1307 L_251487F8: 1308 eax = MEM32(ebp + (-0x14)); /* 0x251487F8: mov eax, dword ptr [ebp - 0x14] */ 1309 PUSH32(esp, eax); /* 0x251487FB: push eax */ 1310 RECOMP_ICALL(0x25137EECu); /* 0x251487FC: call 0x25137eec */ /* not lifted */ 1311 RECOMP_FLAGS_IN(); 1312 ecx = POP32_VAL(esp); /* 0x25148801: pop ecx */ 1313 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148802: ret */ 1314 RECOMP_REGS_OUT(); 1315 } 1316 1317 void sub_25148803(void) { 1318 int _fpu_cmp = 0; 1319 uint32_t _cf = 0; 1320 int _df = 1; 1321 uint32_t _flag_k = FK_NONE; 1322 uint32_t _flag_a = 0, _flag_b = 0; 1323 uint32_t _itail_tgt = 0; 1324 RECOMP_REGS_LOCALS 1325 RECOMP_ENTER(0x25148803u); 1326 1327 L_25148803: 1328 ecx = MEM32(ebp + (-0x14)); /* 0x25148803: mov ecx, dword ptr [ebp - 0x14] */ 1329 goto L_250212E0; /* 0x25148806: jmp 0x250212e0 */ 1330 { RECOMP_REGS_OUT(); return; } /* end of function */ 1331 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1332 RECOMP_REGS_OUT(); 1333 } 1334 1335 void sub_2514880B(void) { 1336 int _fpu_cmp = 0; 1337 uint32_t _cf = 0; 1338 int _df = 1; 1339 uint32_t _flag_k = FK_NONE; 1340 uint32_t _flag_a = 0, _flag_b = 0; 1341 uint32_t _itail_tgt = 0; 1342 RECOMP_REGS_LOCALS 1343 RECOMP_ENTER(0x2514880Bu); 1344 1345 L_2514880B: 1346 eax = MEM32(ebp + (-0x14)); /* 0x2514880B: mov eax, dword ptr [ebp - 0x14] */ 1347 PUSH32(esp, eax); /* 0x2514880E: push eax */ 1348 RECOMP_ICALL(0x25137EECu); /* 0x2514880F: call 0x25137eec */ /* not lifted */ 1349 RECOMP_FLAGS_IN(); 1350 ecx = POP32_VAL(esp); /* 0x25148814: pop ecx */ 1351 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148815: ret */ 1352 RECOMP_REGS_OUT(); 1353 } 1354 1355 void sub_25148816(void) { 1356 int _fpu_cmp = 0; 1357 uint32_t _cf = 0; 1358 int _df = 1; 1359 uint32_t _flag_k = FK_NONE; 1360 uint32_t _flag_a = 0, _flag_b = 0; 1361 uint32_t _itail_tgt = 0; 1362 RECOMP_REGS_LOCALS 1363 RECOMP_ENTER(0x25148816u); 1364 1365 L_25148816: 1366 ecx = MEM32(ebp + (-0x14)); /* 0x25148816: mov ecx, dword ptr [ebp - 0x14] */ 1367 goto L_250212E0; /* 0x25148819: jmp 0x250212e0 */ 1368 { RECOMP_REGS_OUT(); return; } /* end of function */ 1369 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1370 RECOMP_REGS_OUT(); 1371 } 1372 1373 void sub_2514881E(void) { 1374 int _fpu_cmp = 0; 1375 uint32_t _cf = 0; 1376 int _df = 1; 1377 uint32_t _flag_k = FK_NONE; 1378 uint32_t _flag_a = 0, _flag_b = 0; 1379 uint32_t _itail_tgt = 0; 1380 RECOMP_REGS_LOCALS 1381 RECOMP_ENTER(0x2514881Eu); 1382 1383 L_2514881E: 1384 eax = MEM32(ebp + (-0x14)); /* 0x2514881E: mov eax, dword ptr [ebp - 0x14] */ 1385 PUSH32(esp, eax); /* 0x25148821: push eax */ 1386 RECOMP_ICALL(0x25137EECu); /* 0x25148822: call 0x25137eec */ /* not lifted */ 1387 RECOMP_FLAGS_IN(); 1388 ecx = POP32_VAL(esp); /* 0x25148827: pop ecx */ 1389 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148828: ret */ 1390 RECOMP_REGS_OUT(); 1391 } 1392 1393 void sub_25148829(void) { 1394 int _fpu_cmp = 0; 1395 uint32_t _cf = 0; 1396 int _df = 1; 1397 uint32_t _flag_k = FK_NONE; 1398 uint32_t _flag_a = 0, _flag_b = 0; 1399 uint32_t _itail_tgt = 0; 1400 RECOMP_REGS_LOCALS 1401 RECOMP_ENTER(0x25148829u); 1402 1403 L_25148829: 1404 ecx = MEM32(ebp + (-0x14)); /* 0x25148829: mov ecx, dword ptr [ebp - 0x14] */ 1405 goto L_2501C660; /* 0x2514882C: jmp 0x2501c660 */ 1406 { RECOMP_REGS_OUT(); return; } /* end of function */ 1407 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1408 RECOMP_REGS_OUT(); 1409 } 1410 1411 void sub_25148831(void) { 1412 int _fpu_cmp = 0; 1413 uint32_t _cf = 0; 1414 int _df = 1; 1415 uint32_t _flag_k = FK_NONE; 1416 uint32_t _flag_a = 0, _flag_b = 0; 1417 uint32_t _itail_tgt = 0; 1418 RECOMP_REGS_LOCALS 1419 RECOMP_ENTER(0x25148831u); 1420 1421 L_25148831: 1422 eax = MEM32(ebp + (-0x14)); /* 0x25148831: mov eax, dword ptr [ebp - 0x14] */ 1423 PUSH32(esp, eax); /* 0x25148834: push eax */ 1424 RECOMP_ICALL(0x25137EECu); /* 0x25148835: call 0x25137eec */ /* not lifted */ 1425 RECOMP_FLAGS_IN(); 1426 ecx = POP32_VAL(esp); /* 0x2514883A: pop ecx */ 1427 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514883B: ret */ 1428 RECOMP_REGS_OUT(); 1429 } 1430 1431 void sub_2514883C(void) { 1432 int _fpu_cmp = 0; 1433 uint32_t _cf = 0; 1434 int _df = 1; 1435 uint32_t _flag_k = FK_NONE; 1436 uint32_t _flag_a = 0, _flag_b = 0; 1437 uint32_t _itail_tgt = 0; 1438 RECOMP_REGS_LOCALS 1439 RECOMP_ENTER(0x2514883Cu); 1440 1441 L_2514883C: 1442 ecx = MEM32(ebp + (-0x14)); /* 0x2514883C: mov ecx, dword ptr [ebp - 0x14] */ 1443 goto L_2501C660; /* 0x2514883F: jmp 0x2501c660 */ 1444 { RECOMP_REGS_OUT(); return; } /* end of function */ 1445 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1446 RECOMP_REGS_OUT(); 1447 } 1448 1449 void sub_25148844(void) { 1450 int _fpu_cmp = 0; 1451 uint32_t _cf = 0; 1452 int _df = 1; 1453 uint32_t _flag_k = FK_NONE; 1454 uint32_t _flag_a = 0, _flag_b = 0; 1455 uint32_t _itail_tgt = 0; 1456 RECOMP_REGS_LOCALS 1457 RECOMP_ENTER(0x25148844u); 1458 1459 L_25148844: 1460 eax = MEM32(ebp + (-0x14)); /* 0x25148844: mov eax, dword ptr [ebp - 0x14] */ 1461 PUSH32(esp, eax); /* 0x25148847: push eax */ 1462 RECOMP_ICALL(0x25137EECu); /* 0x25148848: call 0x25137eec */ /* not lifted */ 1463 RECOMP_FLAGS_IN(); 1464 ecx = POP32_VAL(esp); /* 0x2514884D: pop ecx */ 1465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514884E: ret */ 1466 RECOMP_REGS_OUT(); 1467 } 1468 1469 void sub_2514884F(void) { 1470 int _fpu_cmp = 0; 1471 uint32_t _cf = 0; 1472 int _df = 1; 1473 uint32_t _flag_k = FK_NONE; 1474 uint32_t _flag_a = 0, _flag_b = 0; 1475 uint32_t _itail_tgt = 0; 1476 RECOMP_REGS_LOCALS 1477 RECOMP_ENTER(0x2514884Fu); 1478 1479 L_2514884F: 1480 ecx = MEM32(ebp + (-0x14)); /* 0x2514884F: mov ecx, dword ptr [ebp - 0x14] */ 1481 goto L_2501C660; /* 0x25148852: jmp 0x2501c660 */ 1482 { RECOMP_REGS_OUT(); return; } /* end of function */ 1483 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1484 RECOMP_REGS_OUT(); 1485 } 1486 1487 void sub_25148857(void) { 1488 int _fpu_cmp = 0; 1489 uint32_t _cf = 0; 1490 int _df = 1; 1491 uint32_t _flag_k = FK_NONE; 1492 uint32_t _flag_a = 0, _flag_b = 0; 1493 uint32_t _itail_tgt = 0; 1494 RECOMP_REGS_LOCALS 1495 RECOMP_ENTER(0x25148857u); 1496 1497 L_25148857: 1498 eax = MEM32(ebp + (-0x14)); /* 0x25148857: mov eax, dword ptr [ebp - 0x14] */ 1499 PUSH32(esp, eax); /* 0x2514885A: push eax */ 1500 RECOMP_ICALL(0x25137EECu); /* 0x2514885B: call 0x25137eec */ /* not lifted */ 1501 RECOMP_FLAGS_IN(); 1502 ecx = POP32_VAL(esp); /* 0x25148860: pop ecx */ 1503 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148861: ret */ 1504 RECOMP_REGS_OUT(); 1505 } 1506 1507 void sub_25148862(void) { 1508 int _fpu_cmp = 0; 1509 uint32_t _cf = 0; 1510 int _df = 1; 1511 uint32_t _flag_k = FK_NONE; 1512 uint32_t _flag_a = 0, _flag_b = 0; 1513 uint32_t _itail_tgt = 0; 1514 RECOMP_REGS_LOCALS 1515 RECOMP_ENTER(0x25148862u); 1516 1517 L_25148862: 1518 ecx = MEM32(ebp + (-0x14)); /* 0x25148862: mov ecx, dword ptr [ebp - 0x14] */ 1519 goto L_2501C660; /* 0x25148865: jmp 0x2501c660 */ 1520 { RECOMP_REGS_OUT(); return; } /* end of function */ 1521 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1522 RECOMP_REGS_OUT(); 1523 } 1524 1525 void sub_2514886A(void) { 1526 int _fpu_cmp = 0; 1527 uint32_t _cf = 0; 1528 int _df = 1; 1529 uint32_t _flag_k = FK_NONE; 1530 uint32_t _flag_a = 0, _flag_b = 0; 1531 uint32_t _itail_tgt = 0; 1532 RECOMP_REGS_LOCALS 1533 RECOMP_ENTER(0x2514886Au); 1534 1535 L_2514886A: 1536 eax = MEM32(ebp + (-0x14)); /* 0x2514886A: mov eax, dword ptr [ebp - 0x14] */ 1537 PUSH32(esp, eax); /* 0x2514886D: push eax */ 1538 RECOMP_ICALL(0x25137EECu); /* 0x2514886E: call 0x25137eec */ /* not lifted */ 1539 RECOMP_FLAGS_IN(); 1540 ecx = POP32_VAL(esp); /* 0x25148873: pop ecx */ 1541 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148874: ret */ 1542 RECOMP_REGS_OUT(); 1543 } 1544 1545 void sub_25148875(void) { 1546 int _fpu_cmp = 0; 1547 uint32_t _cf = 0; 1548 int _df = 1; 1549 uint32_t _flag_k = FK_NONE; 1550 uint32_t _flag_a = 0, _flag_b = 0; 1551 uint32_t _itail_tgt = 0; 1552 RECOMP_REGS_LOCALS 1553 RECOMP_ENTER(0x25148875u); 1554 1555 L_25148875: 1556 ecx = MEM32(ebp + (-0x14)); /* 0x25148875: mov ecx, dword ptr [ebp - 0x14] */ 1557 goto L_2501C660; /* 0x25148878: jmp 0x2501c660 */ 1558 { RECOMP_REGS_OUT(); return; } /* end of function */ 1559 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1560 RECOMP_REGS_OUT(); 1561 } 1562 1563 void sub_2514887D(void) { 1564 int _fpu_cmp = 0; 1565 uint32_t _cf = 0; 1566 int _df = 1; 1567 uint32_t _flag_k = FK_NONE; 1568 uint32_t _flag_a = 0, _flag_b = 0; 1569 uint32_t _itail_tgt = 0; 1570 RECOMP_REGS_LOCALS 1571 RECOMP_ENTER(0x2514887Du); 1572 1573 L_2514887D: 1574 eax = MEM32(ebp + (-0x14)); /* 0x2514887D: mov eax, dword ptr [ebp - 0x14] */ 1575 PUSH32(esp, eax); /* 0x25148880: push eax */ 1576 RECOMP_ICALL(0x25137EECu); /* 0x25148881: call 0x25137eec */ /* not lifted */ 1577 RECOMP_FLAGS_IN(); 1578 ecx = POP32_VAL(esp); /* 0x25148886: pop ecx */ 1579 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148887: ret */ 1580 RECOMP_REGS_OUT(); 1581 } 1582 1583 void sub_25148888(void) { 1584 int _fpu_cmp = 0; 1585 uint32_t _cf = 0; 1586 int _df = 1; 1587 uint32_t _flag_k = FK_NONE; 1588 uint32_t _flag_a = 0, _flag_b = 0; 1589 uint32_t _itail_tgt = 0; 1590 RECOMP_REGS_LOCALS 1591 RECOMP_ENTER(0x25148888u); 1592 1593 L_25148888: 1594 ecx = MEM32(ebp + (-0x14)); /* 0x25148888: mov ecx, dword ptr [ebp - 0x14] */ 1595 goto L_2501C660; /* 0x2514888B: jmp 0x2501c660 */ 1596 { RECOMP_REGS_OUT(); return; } /* end of function */ 1597 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1598 RECOMP_REGS_OUT(); 1599 } 1600 1601 void sub_25148890(void) { 1602 int _fpu_cmp = 0; 1603 uint32_t _cf = 0; 1604 int _df = 1; 1605 uint32_t _flag_k = FK_NONE; 1606 uint32_t _flag_a = 0, _flag_b = 0; 1607 uint32_t _itail_tgt = 0; 1608 RECOMP_REGS_LOCALS 1609 RECOMP_ENTER(0x25148890u); 1610 1611 L_25148890: 1612 eax = MEM32(ebp + (-0x14)); /* 0x25148890: mov eax, dword ptr [ebp - 0x14] */ 1613 PUSH32(esp, eax); /* 0x25148893: push eax */ 1614 RECOMP_ICALL(0x25137EECu); /* 0x25148894: call 0x25137eec */ /* not lifted */ 1615 RECOMP_FLAGS_IN(); 1616 ecx = POP32_VAL(esp); /* 0x25148899: pop ecx */ 1617 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514889A: ret */ 1618 RECOMP_REGS_OUT(); 1619 } 1620 1621 void sub_2514889B(void) { 1622 int _fpu_cmp = 0; 1623 uint32_t _cf = 0; 1624 int _df = 1; 1625 uint32_t _flag_k = FK_NONE; 1626 uint32_t _flag_a = 0, _flag_b = 0; 1627 uint32_t _itail_tgt = 0; 1628 RECOMP_REGS_LOCALS 1629 RECOMP_ENTER(0x2514889Bu); 1630 1631 L_2514889B: 1632 ecx = MEM32(ebp + (-0x14)); /* 0x2514889B: mov ecx, dword ptr [ebp - 0x14] */ 1633 goto L_2501C660; /* 0x2514889E: jmp 0x2501c660 */ 1634 { RECOMP_REGS_OUT(); return; } /* end of function */ 1635 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1636 RECOMP_REGS_OUT(); 1637 } 1638 1639 void sub_251488A3(void) { 1640 int _fpu_cmp = 0; 1641 uint32_t _cf = 0; 1642 int _df = 1; 1643 uint32_t _flag_k = FK_NONE; 1644 uint32_t _flag_a = 0, _flag_b = 0; 1645 uint32_t _itail_tgt = 0; 1646 RECOMP_REGS_LOCALS 1647 RECOMP_ENTER(0x251488A3u); 1648 1649 L_251488A3: 1650 eax = MEM32(ebp + (-0x14)); /* 0x251488A3: mov eax, dword ptr [ebp - 0x14] */ 1651 PUSH32(esp, eax); /* 0x251488A6: push eax */ 1652 RECOMP_ICALL(0x25137EECu); /* 0x251488A7: call 0x25137eec */ /* not lifted */ 1653 RECOMP_FLAGS_IN(); 1654 ecx = POP32_VAL(esp); /* 0x251488AC: pop ecx */ 1655 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251488AD: ret */ 1656 RECOMP_REGS_OUT(); 1657 } 1658 1659 void sub_251488AE(void) { 1660 int _fpu_cmp = 0; 1661 uint32_t _cf = 0; 1662 int _df = 1; 1663 uint32_t _flag_k = FK_NONE; 1664 uint32_t _flag_a = 0, _flag_b = 0; 1665 uint32_t _itail_tgt = 0; 1666 RECOMP_REGS_LOCALS 1667 RECOMP_ENTER(0x251488AEu); 1668 1669 L_251488AE: 1670 ecx = MEM32(ebp + (-0x14)); /* 0x251488AE: mov ecx, dword ptr [ebp - 0x14] */ 1671 goto L_2501C660; /* 0x251488B1: jmp 0x2501c660 */ 1672 { RECOMP_REGS_OUT(); return; } /* end of function */ 1673 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1674 RECOMP_REGS_OUT(); 1675 } 1676 1677 void sub_251488B6(void) { 1678 int _fpu_cmp = 0; 1679 uint32_t _cf = 0; 1680 int _df = 1; 1681 uint32_t _flag_k = FK_NONE; 1682 uint32_t _flag_a = 0, _flag_b = 0; 1683 uint32_t _itail_tgt = 0; 1684 RECOMP_REGS_LOCALS 1685 RECOMP_ENTER(0x251488B6u); 1686 1687 L_251488B6: 1688 eax = MEM32(ebp + (-0x14)); /* 0x251488B6: mov eax, dword ptr [ebp - 0x14] */ 1689 PUSH32(esp, eax); /* 0x251488B9: push eax */ 1690 RECOMP_ICALL(0x25137EECu); /* 0x251488BA: call 0x25137eec */ /* not lifted */ 1691 RECOMP_FLAGS_IN(); 1692 ecx = POP32_VAL(esp); /* 0x251488BF: pop ecx */ 1693 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251488C0: ret */ 1694 RECOMP_REGS_OUT(); 1695 } 1696 1697 void sub_251488C1(void) { 1698 int _fpu_cmp = 0; 1699 uint32_t _cf = 0; 1700 int _df = 1; 1701 uint32_t _flag_k = FK_NONE; 1702 uint32_t _flag_a = 0, _flag_b = 0; 1703 uint32_t _itail_tgt = 0; 1704 RECOMP_REGS_LOCALS 1705 RECOMP_ENTER(0x251488C1u); 1706 1707 L_251488C1: 1708 ecx = MEM32(ebp + (-0x14)); /* 0x251488C1: mov ecx, dword ptr [ebp - 0x14] */ 1709 goto L_2501C660; /* 0x251488C4: jmp 0x2501c660 */ 1710 { RECOMP_REGS_OUT(); return; } /* end of function */ 1711 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1712 RECOMP_REGS_OUT(); 1713 } 1714 1715 void sub_251488C9(void) { 1716 int _fpu_cmp = 0; 1717 uint32_t _cf = 0; 1718 int _df = 1; 1719 uint32_t _flag_k = FK_NONE; 1720 uint32_t _flag_a = 0, _flag_b = 0; 1721 uint32_t _itail_tgt = 0; 1722 RECOMP_REGS_LOCALS 1723 RECOMP_ENTER(0x251488C9u); 1724 1725 L_251488C9: 1726 eax = MEM32(ebp + (-0x14)); /* 0x251488C9: mov eax, dword ptr [ebp - 0x14] */ 1727 PUSH32(esp, eax); /* 0x251488CC: push eax */ 1728 RECOMP_ICALL(0x25137EECu); /* 0x251488CD: call 0x25137eec */ /* not lifted */ 1729 RECOMP_FLAGS_IN(); 1730 ecx = POP32_VAL(esp); /* 0x251488D2: pop ecx */ 1731 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251488D3: ret */ 1732 RECOMP_REGS_OUT(); 1733 } 1734 1735 void sub_251488D4(void) { 1736 int _fpu_cmp = 0; 1737 uint32_t _cf = 0; 1738 int _df = 1; 1739 uint32_t _flag_k = FK_NONE; 1740 uint32_t _flag_a = 0, _flag_b = 0; 1741 uint32_t _itail_tgt = 0; 1742 RECOMP_REGS_LOCALS 1743 RECOMP_ENTER(0x251488D4u); 1744 1745 L_251488D4: 1746 ecx = MEM32(ebp + (-0x14)); /* 0x251488D4: mov ecx, dword ptr [ebp - 0x14] */ 1747 goto L_2501C660; /* 0x251488D7: jmp 0x2501c660 */ 1748 { RECOMP_REGS_OUT(); return; } /* end of function */ 1749 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1750 RECOMP_REGS_OUT(); 1751 } 1752 1753 void sub_251488DC(void) { 1754 int _fpu_cmp = 0; 1755 uint32_t _cf = 0; 1756 int _df = 1; 1757 uint32_t _flag_k = FK_NONE; 1758 uint32_t _flag_a = 0, _flag_b = 0; 1759 uint32_t _itail_tgt = 0; 1760 RECOMP_REGS_LOCALS 1761 RECOMP_ENTER(0x251488DCu); 1762 1763 L_251488DC: 1764 eax = MEM32(ebp + (-0x14)); /* 0x251488DC: mov eax, dword ptr [ebp - 0x14] */ 1765 PUSH32(esp, eax); /* 0x251488DF: push eax */ 1766 RECOMP_ICALL(0x25137EECu); /* 0x251488E0: call 0x25137eec */ /* not lifted */ 1767 RECOMP_FLAGS_IN(); 1768 ecx = POP32_VAL(esp); /* 0x251488E5: pop ecx */ 1769 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251488E6: ret */ 1770 RECOMP_REGS_OUT(); 1771 } 1772 1773 void sub_251488E7(void) { 1774 int _fpu_cmp = 0; 1775 uint32_t _cf = 0; 1776 int _df = 1; 1777 uint32_t _flag_k = FK_NONE; 1778 uint32_t _flag_a = 0, _flag_b = 0; 1779 uint32_t _itail_tgt = 0; 1780 RECOMP_REGS_LOCALS 1781 RECOMP_ENTER(0x251488E7u); 1782 1783 L_251488E7: 1784 ecx = MEM32(ebp + (-0x14)); /* 0x251488E7: mov ecx, dword ptr [ebp - 0x14] */ 1785 goto L_250212E0; /* 0x251488EA: jmp 0x250212e0 */ 1786 { RECOMP_REGS_OUT(); return; } /* end of function */ 1787 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1788 RECOMP_REGS_OUT(); 1789 } 1790 1791 void sub_251488EF(void) { 1792 int _fpu_cmp = 0; 1793 uint32_t _cf = 0; 1794 int _df = 1; 1795 uint32_t _flag_k = FK_NONE; 1796 uint32_t _flag_a = 0, _flag_b = 0; 1797 uint32_t _itail_tgt = 0; 1798 RECOMP_REGS_LOCALS 1799 RECOMP_ENTER(0x251488EFu); 1800 1801 L_251488EF: 1802 eax = MEM32(ebp + (-0x14)); /* 0x251488EF: mov eax, dword ptr [ebp - 0x14] */ 1803 PUSH32(esp, eax); /* 0x251488F2: push eax */ 1804 RECOMP_ICALL(0x25137EECu); /* 0x251488F3: call 0x25137eec */ /* not lifted */ 1805 RECOMP_FLAGS_IN(); 1806 ecx = POP32_VAL(esp); /* 0x251488F8: pop ecx */ 1807 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251488F9: ret */ 1808 RECOMP_REGS_OUT(); 1809 } 1810 1811 void sub_251488FA(void) { 1812 int _fpu_cmp = 0; 1813 uint32_t _cf = 0; 1814 int _df = 1; 1815 uint32_t _flag_k = FK_NONE; 1816 uint32_t _flag_a = 0, _flag_b = 0; 1817 uint32_t _itail_tgt = 0; 1818 RECOMP_REGS_LOCALS 1819 RECOMP_ENTER(0x251488FAu); 1820 1821 L_251488FA: 1822 ecx = MEM32(ebp + (-0x14)); /* 0x251488FA: mov ecx, dword ptr [ebp - 0x14] */ 1823 goto L_250212E0; /* 0x251488FD: jmp 0x250212e0 */ 1824 { RECOMP_REGS_OUT(); return; } /* end of function */ 1825 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 1826 RECOMP_REGS_OUT(); 1827 } 1828 1829 void sub_25148902(void) { 1830 int _fpu_cmp = 0; 1831 uint32_t _cf = 0; 1832 int _df = 1; 1833 uint32_t _flag_k = FK_NONE; 1834 uint32_t _flag_a = 0, _flag_b = 0; 1835 uint32_t _itail_tgt = 0; 1836 RECOMP_REGS_LOCALS 1837 RECOMP_ENTER(0x25148902u); 1838 1839 L_25148902: 1840 eax = MEM32(ebp + (-0x14)); /* 0x25148902: mov eax, dword ptr [ebp - 0x14] */ 1841 PUSH32(esp, eax); /* 0x25148905: push eax */ 1842 RECOMP_ICALL(0x25137EECu); /* 0x25148906: call 0x25137eec */ /* not lifted */ 1843 RECOMP_FLAGS_IN(); 1844 ecx = POP32_VAL(esp); /* 0x2514890B: pop ecx */ 1845 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514890C: ret */ 1846 RECOMP_REGS_OUT(); 1847 } 1848 1849 void sub_2514890D(void) { 1850 int _fpu_cmp = 0; 1851 uint32_t _cf = 0; 1852 int _df = 1; 1853 uint32_t _flag_k = FK_NONE; 1854 uint32_t _flag_a = 0, _flag_b = 0; 1855 uint32_t _itail_tgt = 0; 1856 RECOMP_REGS_LOCALS 1857 RECOMP_ENTER(0x2514890Du); 1858 1859 L_2514890D: 1860 ecx = MEM32(ebp + (-0x14)); /* 0x2514890D: mov ecx, dword ptr [ebp - 0x14] */ 1861 goto L_2501C660; /* 0x25148910: jmp 0x2501c660 */ 1862 { RECOMP_REGS_OUT(); return; } /* end of function */ 1863 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1864 RECOMP_REGS_OUT(); 1865 } 1866 1867 void sub_25148915(void) { 1868 int _fpu_cmp = 0; 1869 uint32_t _cf = 0; 1870 int _df = 1; 1871 uint32_t _flag_k = FK_NONE; 1872 uint32_t _flag_a = 0, _flag_b = 0; 1873 uint32_t _itail_tgt = 0; 1874 RECOMP_REGS_LOCALS 1875 RECOMP_ENTER(0x25148915u); 1876 1877 L_25148915: 1878 eax = MEM32(ebp + (-0x14)); /* 0x25148915: mov eax, dword ptr [ebp - 0x14] */ 1879 PUSH32(esp, eax); /* 0x25148918: push eax */ 1880 RECOMP_ICALL(0x25137EECu); /* 0x25148919: call 0x25137eec */ /* not lifted */ 1881 RECOMP_FLAGS_IN(); 1882 ecx = POP32_VAL(esp); /* 0x2514891E: pop ecx */ 1883 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514891F: ret */ 1884 RECOMP_REGS_OUT(); 1885 } 1886 1887 void sub_25148920(void) { 1888 int _fpu_cmp = 0; 1889 uint32_t _cf = 0; 1890 int _df = 1; 1891 uint32_t _flag_k = FK_NONE; 1892 uint32_t _flag_a = 0, _flag_b = 0; 1893 uint32_t _itail_tgt = 0; 1894 RECOMP_REGS_LOCALS 1895 RECOMP_ENTER(0x25148920u); 1896 1897 L_25148920: 1898 ecx = MEM32(ebp + (-0x14)); /* 0x25148920: mov ecx, dword ptr [ebp - 0x14] */ 1899 goto L_2501C660; /* 0x25148923: jmp 0x2501c660 */ 1900 { RECOMP_REGS_OUT(); return; } /* end of function */ 1901 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1902 RECOMP_REGS_OUT(); 1903 } 1904 1905 void sub_25148928(void) { 1906 int _fpu_cmp = 0; 1907 uint32_t _cf = 0; 1908 int _df = 1; 1909 uint32_t _flag_k = FK_NONE; 1910 uint32_t _flag_a = 0, _flag_b = 0; 1911 uint32_t _itail_tgt = 0; 1912 RECOMP_REGS_LOCALS 1913 RECOMP_ENTER(0x25148928u); 1914 1915 L_25148928: 1916 eax = MEM32(ebp + (-0x14)); /* 0x25148928: mov eax, dword ptr [ebp - 0x14] */ 1917 PUSH32(esp, eax); /* 0x2514892B: push eax */ 1918 RECOMP_ICALL(0x25137EECu); /* 0x2514892C: call 0x25137eec */ /* not lifted */ 1919 RECOMP_FLAGS_IN(); 1920 ecx = POP32_VAL(esp); /* 0x25148931: pop ecx */ 1921 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148932: ret */ 1922 RECOMP_REGS_OUT(); 1923 } 1924 1925 void sub_25148933(void) { 1926 int _fpu_cmp = 0; 1927 uint32_t _cf = 0; 1928 int _df = 1; 1929 uint32_t _flag_k = FK_NONE; 1930 uint32_t _flag_a = 0, _flag_b = 0; 1931 uint32_t _itail_tgt = 0; 1932 RECOMP_REGS_LOCALS 1933 RECOMP_ENTER(0x25148933u); 1934 1935 L_25148933: 1936 ecx = MEM32(ebp + (-0x14)); /* 0x25148933: mov ecx, dword ptr [ebp - 0x14] */ 1937 goto L_2501C660; /* 0x25148936: jmp 0x2501c660 */ 1938 { RECOMP_REGS_OUT(); return; } /* end of function */ 1939 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1940 RECOMP_REGS_OUT(); 1941 } 1942 1943 void sub_2514893B(void) { 1944 int _fpu_cmp = 0; 1945 uint32_t _cf = 0; 1946 int _df = 1; 1947 uint32_t _flag_k = FK_NONE; 1948 uint32_t _flag_a = 0, _flag_b = 0; 1949 uint32_t _itail_tgt = 0; 1950 RECOMP_REGS_LOCALS 1951 RECOMP_ENTER(0x2514893Bu); 1952 1953 L_2514893B: 1954 eax = MEM32(ebp + (-0x14)); /* 0x2514893B: mov eax, dword ptr [ebp - 0x14] */ 1955 PUSH32(esp, eax); /* 0x2514893E: push eax */ 1956 RECOMP_ICALL(0x25137EECu); /* 0x2514893F: call 0x25137eec */ /* not lifted */ 1957 RECOMP_FLAGS_IN(); 1958 ecx = POP32_VAL(esp); /* 0x25148944: pop ecx */ 1959 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148945: ret */ 1960 RECOMP_REGS_OUT(); 1961 } 1962 1963 void sub_25148946(void) { 1964 int _fpu_cmp = 0; 1965 uint32_t _cf = 0; 1966 int _df = 1; 1967 uint32_t _flag_k = FK_NONE; 1968 uint32_t _flag_a = 0, _flag_b = 0; 1969 uint32_t _itail_tgt = 0; 1970 RECOMP_REGS_LOCALS 1971 RECOMP_ENTER(0x25148946u); 1972 1973 L_25148946: 1974 ecx = MEM32(ebp + (-0x14)); /* 0x25148946: mov ecx, dword ptr [ebp - 0x14] */ 1975 goto L_2501C660; /* 0x25148949: jmp 0x2501c660 */ 1976 { RECOMP_REGS_OUT(); return; } /* end of function */ 1977 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 1978 RECOMP_REGS_OUT(); 1979 } 1980 1981 void sub_2514894E(void) { 1982 int _fpu_cmp = 0; 1983 uint32_t _cf = 0; 1984 int _df = 1; 1985 uint32_t _flag_k = FK_NONE; 1986 uint32_t _flag_a = 0, _flag_b = 0; 1987 uint32_t _itail_tgt = 0; 1988 RECOMP_REGS_LOCALS 1989 RECOMP_ENTER(0x2514894Eu); 1990 1991 L_2514894E: 1992 eax = MEM32(ebp + (-0x14)); /* 0x2514894E: mov eax, dword ptr [ebp - 0x14] */ 1993 PUSH32(esp, eax); /* 0x25148951: push eax */ 1994 RECOMP_ICALL(0x25137EECu); /* 0x25148952: call 0x25137eec */ /* not lifted */ 1995 RECOMP_FLAGS_IN(); 1996 ecx = POP32_VAL(esp); /* 0x25148957: pop ecx */ 1997 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148958: ret */ 1998 RECOMP_REGS_OUT(); 1999 } 2000 2001 void sub_25148959(void) { 2002 int _fpu_cmp = 0; 2003 uint32_t _cf = 0; 2004 int _df = 1; 2005 uint32_t _flag_k = FK_NONE; 2006 uint32_t _flag_a = 0, _flag_b = 0; 2007 uint32_t _itail_tgt = 0; 2008 RECOMP_REGS_LOCALS 2009 RECOMP_ENTER(0x25148959u); 2010 2011 L_25148959: 2012 ecx = MEM32(ebp + (-0x14)); /* 0x25148959: mov ecx, dword ptr [ebp - 0x14] */ 2013 goto L_2501C660; /* 0x2514895C: jmp 0x2501c660 */ 2014 { RECOMP_REGS_OUT(); return; } /* end of function */ 2015 L_2501C660: RECOMP_ITAIL(0x2501C660u); { RECOMP_REGS_OUT(); return; } 2016 RECOMP_REGS_OUT(); 2017 } 2018 2019 void sub_25148961(void) { 2020 int _fpu_cmp = 0; 2021 uint32_t _cf = 0; 2022 int _df = 1; 2023 uint32_t _flag_k = FK_NONE; 2024 uint32_t _flag_a = 0, _flag_b = 0; 2025 uint32_t _itail_tgt = 0; 2026 RECOMP_REGS_LOCALS 2027 RECOMP_ENTER(0x25148961u); 2028 2029 L_25148961: 2030 eax = MEM32(ebp + (-0x14)); /* 0x25148961: mov eax, dword ptr [ebp - 0x14] */ 2031 PUSH32(esp, eax); /* 0x25148964: push eax */ 2032 RECOMP_ICALL(0x25137EECu); /* 0x25148965: call 0x25137eec */ /* not lifted */ 2033 RECOMP_FLAGS_IN(); 2034 ecx = POP32_VAL(esp); /* 0x2514896A: pop ecx */ 2035 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514896B: ret */ 2036 RECOMP_REGS_OUT(); 2037 } 2038 2039 void sub_2514896C(void) { 2040 int _fpu_cmp = 0; 2041 uint32_t _cf = 0; 2042 int _df = 1; 2043 uint32_t _flag_k = FK_NONE; 2044 uint32_t _flag_a = 0, _flag_b = 0; 2045 uint32_t _itail_tgt = 0; 2046 RECOMP_REGS_LOCALS 2047 RECOMP_ENTER(0x2514896Cu); 2048 2049 L_2514896C: 2050 eax = MEM32(ebp + (-0x14)); /* 0x2514896C: mov eax, dword ptr [ebp - 0x14] */ 2051 PUSH32(esp, eax); /* 0x2514896F: push eax */ 2052 RECOMP_ICALL(0x25137EECu); /* 0x25148970: call 0x25137eec */ /* not lifted */ 2053 RECOMP_FLAGS_IN(); 2054 ecx = POP32_VAL(esp); /* 0x25148975: pop ecx */ 2055 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148976: ret */ 2056 RECOMP_REGS_OUT(); 2057 } 2058 2059 void sub_25148977(void) { 2060 int _fpu_cmp = 0; 2061 uint32_t _cf = 0; 2062 int _df = 1; 2063 uint32_t _flag_k = FK_NONE; 2064 uint32_t _flag_a = 0, _flag_b = 0; 2065 uint32_t _itail_tgt = 0; 2066 RECOMP_REGS_LOCALS 2067 RECOMP_ENTER(0x25148977u); 2068 2069 L_25148977: 2070 eax = MEM32(ebp + (-0x14)); /* 0x25148977: mov eax, dword ptr [ebp - 0x14] */ 2071 PUSH32(esp, eax); /* 0x2514897A: push eax */ 2072 RECOMP_ICALL(0x25137EECu); /* 0x2514897B: call 0x25137eec */ /* not lifted */ 2073 RECOMP_FLAGS_IN(); 2074 ecx = POP32_VAL(esp); /* 0x25148980: pop ecx */ 2075 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25148981: ret */ 2076 RECOMP_REGS_OUT(); 2077 } 2078 2079 void sub_25148982(void) { 2080 int _fpu_cmp = 0; 2081 uint32_t _cf = 0; 2082 int _df = 1; 2083 uint32_t _flag_k = FK_NONE; 2084 uint32_t _flag_a = 0, _flag_b = 0; 2085 uint32_t _itail_tgt = 0; 2086 RECOMP_REGS_LOCALS 2087 RECOMP_ENTER(0x25148982u); 2088 2089 goto L_25148982; 2090 L_251380C4: 2091 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2092 L_25148982: 2093 eax = 0x25168D50u; /* 0x25148982: mov eax, 0x25168d50 */ 2094 L_25148987: 2095 RECOMP_BACKEDGE(); 2096 goto L_251380C4; /* 0x25148987: jmp 0x251380c4 */ 2097 { RECOMP_REGS_OUT(); return; } /* end of function */ 2098 _ljump: 2099 switch (_itail_tgt) { 2100 case 0x251380C4u: goto L_251380C4; 2101 case 0x25148982u: goto L_25148982; 2102 case 0x25148987u: goto L_25148987; 2103 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2104 } 2105 RECOMP_REGS_OUT(); 2106 } 2107 2108 void sub_25148990(void) { 2109 int _fpu_cmp = 0; 2110 uint32_t _cf = 0; 2111 int _df = 1; 2112 uint32_t _flag_k = FK_NONE; 2113 uint32_t _flag_a = 0, _flag_b = 0; 2114 uint32_t _itail_tgt = 0; 2115 RECOMP_REGS_LOCALS 2116 RECOMP_ENTER(0x25148990u); 2117 2118 goto L_25148990; 2119 L_250DB0B0: 2120 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 2121 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 2122 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 2123 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 2124 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 2125 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 2126 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 2127 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2129 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 2130 _flag_k = FK_CMP; 2131 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 2132 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 2133 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 2134 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 2135 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 2136 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 2137 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 2138 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 2139 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 2140 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 2141 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 2142 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 2143 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 2144 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 2145 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2146 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 2147 _cf = 0; 2148 _flag_k = FK_TEST; 2149 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 2150 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2152 _flag_k = FK_CMP; 2153 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 2154 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 2155 L_250DB11E: 2156 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 2157 RECOMP_FLAGS_IN(); 2158 L_250DB123: 2159 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 2160 PUSH32(esp, eax); /* 0x250DB129: push eax */ 2161 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 2162 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 2163 RECOMP_FLAGS_IN(); 2164 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2165 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2166 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 2167 _flag_k = FK_ADD; 2168 eax = edi; /* 0x250DB135: mov eax, edi */ 2169 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2170 _cf = (eax) != 0; 2171 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 2172 _flag_k = FK_CMP; 2173 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 2174 eax = _sc ? 0xFFFFFFFFu : 0; 2175 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2176 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2178 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 2179 _cf = 0; 2180 _flag_k = FK_TEST; 2181 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 2182 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 2183 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 2184 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 2185 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 2186 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 2187 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 2188 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2190 _flag_k = FK_CMP; 2191 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 2192 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 2193 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 2194 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 2195 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 2196 L_250DB16C: 2197 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 2198 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 2199 ecx = esi; /* 0x250DB170: mov ecx, esi */ 2200 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 2201 RECOMP_FLAGS_IN(); 2202 ecx = eax; /* 0x250DB177: mov ecx, eax */ 2203 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 2204 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 2205 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 2206 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2208 _flag_k = FK_CMP; 2209 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 2210 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 2211 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2213 _flag_k = FK_NARROW(FK_CMP, 24); 2214 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 2215 L_250DB187: 2216 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 2217 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 2218 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2220 _flag_k = FK_CMP; 2221 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 2222 L_250DB18F: 2223 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 2224 PUSH32(esp, edx); /* 0x250DB192: push edx */ 2225 ecx = esi; /* 0x250DB193: mov ecx, esi */ 2226 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 2227 RECOMP_FLAGS_IN(); 2228 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 2229 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 2230 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 2231 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 2232 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 2233 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 2234 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 2235 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 2236 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 2237 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 2238 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 2239 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 2240 RECOMP_FLAGS_IN(); 2241 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 2242 L_250DB1BE: 2243 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 2244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 2245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2246 _flag_k = FK_CMP; 2247 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 2248 L_250DB1C3: 2249 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 2250 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 2251 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 2252 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 2253 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 2254 RECOMP_FLAGS_IN(); 2255 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 2256 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 2257 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 2258 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 2259 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 2260 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 2261 RECOMP_FLAGS_IN(); 2262 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 2263 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 2264 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 2265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2266 _flag_k = FK_CMP; 2267 RECOMP_BACKEDGE(); 2268 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 2269 L_250DB1E6: 2270 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 2271 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 2272 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 2273 RECOMP_FLAGS_IN(); 2274 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 2275 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 2276 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 2277 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 2278 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 2279 RECOMP_FLAGS_IN(); 2280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2282 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 2283 _flag_k = FK_ADD; 2284 eax = edi; /* 0x250DB201: mov eax, edi */ 2285 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 2286 _cf = (eax) != 0; 2287 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 2288 _flag_k = FK_CMP; 2289 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 2290 eax = _sc ? 0xFFFFFFFFu : 0; 2291 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2292 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2293 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 2294 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 2295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2296 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 2297 _cf = 0; 2298 _flag_k = FK_TEST; 2299 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 2300 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 2301 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 2302 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 2303 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 2304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2305 _flag_k = FK_CMP; 2306 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 2307 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 2308 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 2309 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 2310 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 2311 L_250DB22E: 2312 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 2313 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 2314 ecx = esi; /* 0x250DB232: mov ecx, esi */ 2315 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 2316 RECOMP_FLAGS_IN(); 2317 edx = eax; /* 0x250DB239: mov edx, eax */ 2318 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 2319 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 2320 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 2321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2323 _flag_k = FK_CMP; 2324 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 2325 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 2326 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2328 _flag_k = FK_NARROW(FK_CMP, 24); 2329 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 2330 L_250DB249: 2331 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 2332 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 2333 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 2334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2335 _flag_k = FK_CMP; 2336 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 2337 L_250DB251: 2338 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 2339 PUSH32(esp, eax); /* 0x250DB254: push eax */ 2340 ecx = esi; /* 0x250DB255: mov ecx, esi */ 2341 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 2342 RECOMP_FLAGS_IN(); 2343 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 2344 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 2345 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 2346 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 2347 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 2348 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 2349 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 2350 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 2351 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 2352 PUSH32(esp, eax); /* 0x250DB276: push eax */ 2353 ecx = esi; /* 0x250DB277: mov ecx, esi */ 2354 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 2355 RECOMP_FLAGS_IN(); 2356 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 2357 L_250DB280: 2358 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 2359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 2360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2361 _flag_k = FK_CMP; 2362 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 2363 L_250DB285: 2364 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 2365 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 2366 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 2367 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 2368 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 2369 RECOMP_FLAGS_IN(); 2370 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 2371 PUSH32(esp, edx); /* 0x250DB294: push edx */ 2372 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 2373 PUSH32(esp, eax); /* 0x250DB298: push eax */ 2374 ecx = esi; /* 0x250DB299: mov ecx, esi */ 2375 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 2376 RECOMP_FLAGS_IN(); 2377 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 2378 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 2379 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 2380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2381 _flag_k = FK_CMP; 2382 RECOMP_BACKEDGE(); 2383 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 2384 L_250DB2A8: 2385 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 2386 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 2387 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 2388 RECOMP_FLAGS_IN(); 2389 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 2390 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 2391 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 2392 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 2393 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 2394 RECOMP_FLAGS_IN(); 2395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2397 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 2398 _flag_k = FK_ADD; 2399 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 2400 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 2401 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 2402 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 2403 RECOMP_FLAGS_IN(); 2404 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 2405 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 2406 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 2407 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 2408 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 2409 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 2410 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 2411 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 2412 L_25148990: 2413 ecx = MEM32(ebp + (-0x10)); /* 0x25148990: mov ecx, dword ptr [ebp - 0x10] */ 2414 RECOMP_BACKEDGE(); 2415 goto L_250DB0B0; /* 0x25148993: jmp 0x250db0b0 */ 2416 { RECOMP_REGS_OUT(); return; } /* end of function */ 2417 RECOMP_REGS_OUT(); 2418 } 2419 2420 void sub_25148998(void) { 2421 int _fpu_cmp = 0; 2422 uint32_t _cf = 0; 2423 int _df = 1; 2424 uint32_t _flag_k = FK_NONE; 2425 uint32_t _flag_a = 0, _flag_b = 0; 2426 uint32_t _itail_tgt = 0; 2427 RECOMP_REGS_LOCALS 2428 RECOMP_ENTER(0x25148998u); 2429 2430 L_25148998: 2431 eax = MEM32(ebp + 0x8); /* 0x25148998: mov eax, dword ptr [ebp + 8] */ 2432 PUSH32(esp, eax); /* 0x2514899B: push eax */ 2433 RECOMP_ICALL(0x25137EECu); /* 0x2514899C: call 0x25137eec */ /* not lifted */ 2434 RECOMP_FLAGS_IN(); 2435 ecx = POP32_VAL(esp); /* 0x251489A1: pop ecx */ 2436 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251489A2: ret */ 2437 RECOMP_REGS_OUT(); 2438 } 2439 2440 void sub_251489A3(void) { 2441 int _fpu_cmp = 0; 2442 uint32_t _cf = 0; 2443 int _df = 1; 2444 uint32_t _flag_k = FK_NONE; 2445 uint32_t _flag_a = 0, _flag_b = 0; 2446 uint32_t _itail_tgt = 0; 2447 RECOMP_REGS_LOCALS 2448 RECOMP_ENTER(0x251489A3u); 2449 2450 goto L_251489A3; 2451 L_251380C4: 2452 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2453 L_251489A3: 2454 eax = 0x25168F80u; /* 0x251489A3: mov eax, 0x25168f80 */ 2455 L_251489A8: 2456 RECOMP_BACKEDGE(); 2457 goto L_251380C4; /* 0x251489A8: jmp 0x251380c4 */ 2458 { RECOMP_REGS_OUT(); return; } /* end of function */ 2459 _ljump: 2460 switch (_itail_tgt) { 2461 case 0x251380C4u: goto L_251380C4; 2462 case 0x251489A3u: goto L_251489A3; 2463 case 0x251489A8u: goto L_251489A8; 2464 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2465 } 2466 RECOMP_REGS_OUT(); 2467 } 2468 2469 void sub_251489B0(void) { 2470 int _fpu_cmp = 0; 2471 uint32_t _cf = 0; 2472 int _df = 1; 2473 uint32_t _flag_k = FK_NONE; 2474 uint32_t _flag_a = 0, _flag_b = 0; 2475 uint32_t _itail_tgt = 0; 2476 RECOMP_REGS_LOCALS 2477 RECOMP_ENTER(0x251489B0u); 2478 2479 L_251489B0: 2480 ecx = MEM32(ebp + (-0x10)); /* 0x251489B0: mov ecx, dword ptr [ebp - 0x10] */ 2481 goto L_250212E0; /* 0x251489B3: jmp 0x250212e0 */ 2482 { RECOMP_REGS_OUT(); return; } /* end of function */ 2483 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 2484 RECOMP_REGS_OUT(); 2485 } 2486 2487 void sub_251489B8(void) { 2488 int _fpu_cmp = 0; 2489 uint32_t _cf = 0; 2490 int _df = 1; 2491 uint32_t _flag_k = FK_NONE; 2492 uint32_t _flag_a = 0, _flag_b = 0; 2493 uint32_t _itail_tgt = 0; 2494 RECOMP_REGS_LOCALS 2495 RECOMP_ENTER(0x251489B8u); 2496 2497 goto L_251489B8; 2498 L_250F2480: 2499 PUSH32(esp, ebp); /* 0x250F2480: push ebp */ 2500 ebp = esp; /* 0x250F2481: mov ebp, esp */ 2501 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */ 2502 PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */ 2503 eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */ 2504 PUSH32(esp, eax); /* 0x250F2490: push eax */ 2505 MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */ 2506 PUSH32(esp, ecx); /* 0x250F2498: push ecx */ 2507 PUSH32(esp, ebx); /* 0x250F2499: push ebx */ 2508 PUSH32(esp, esi); /* 0x250F249A: push esi */ 2509 esi = ecx; /* 0x250F249B: mov esi, ecx */ 2510 PUSH32(esp, edi); /* 0x250F249D: push edi */ 2511 MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */ 2512 MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */ 2513 MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */ 2514 MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */ 2515 MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */ 2516 MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */ 2517 MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */ 2518 MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */ 2519 ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */ 2520 /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */ 2521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2522 _cf = 0; 2523 _flag_k = FK_TEST; 2524 MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */ 2525 if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */ 2526 L_250F24E8: 2527 RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */ 2528 RECOMP_FLAGS_IN(); 2529 L_250F24ED: 2530 ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */ 2531 edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */ 2532 /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */ 2533 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2535 _flag_k = FK_CMP; 2536 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */ 2537 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */ 2538 L_250F2501: 2539 ecx = edi; /* 0x250F2501: mov ecx, edi */ 2540 RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */ 2541 RECOMP_FLAGS_IN(); 2542 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2543 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2544 edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */ 2545 _flag_k = FK_ADD; 2546 /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */ 2547 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2549 _flag_k = FK_CMP; 2550 RECOMP_BACKEDGE(); 2551 if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */ 2552 L_250F250F: 2553 eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */ 2554 PUSH32(esp, eax); /* 0x250F2515: push eax */ 2555 RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */ 2556 RECOMP_FLAGS_IN(); 2557 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2558 eax = 0; /* 0x250F251B: xor eax, eax */ 2559 _cf = 0; 2560 _flag_k = FK_TEST; 2561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2563 esp = esp + 4; /* 0x250F251D: add esp, 4 */ 2564 _flag_k = FK_ADD; 2565 ecx = esi; /* 0x250F2520: mov ecx, esi */ 2566 MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */ 2567 MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */ 2568 MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */ 2569 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */ 2570 RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */ 2571 RECOMP_FLAGS_IN(); 2572 ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */ 2573 edi = POP32_VAL(esp); /* 0x250F2543: pop edi */ 2574 esi = POP32_VAL(esp); /* 0x250F2544: pop esi */ 2575 ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */ 2576 MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */ 2577 esp = ebp; /* 0x250F254D: mov esp, ebp */ 2578 ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */ 2579 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret */ 2580 L_251489B8: 2581 ecx = MEM32(ebp + (-0x10)); /* 0x251489B8: mov ecx, dword ptr [ebp - 0x10] */ 2582 RECOMP_BACKEDGE(); 2583 goto L_250F2480; /* 0x251489BB: jmp 0x250f2480 */ 2584 { RECOMP_REGS_OUT(); return; } /* end of function */ 2585 RECOMP_REGS_OUT(); 2586 } 2587 2588 void sub_251489C0(void) { 2589 int _fpu_cmp = 0; 2590 uint32_t _cf = 0; 2591 int _df = 1; 2592 uint32_t _flag_k = FK_NONE; 2593 uint32_t _flag_a = 0, _flag_b = 0; 2594 uint32_t _itail_tgt = 0; 2595 RECOMP_REGS_LOCALS 2596 RECOMP_ENTER(0x251489C0u); 2597 2598 goto L_251489C0; 2599 L_251380C4: 2600 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2601 L_251489C0: 2602 eax = 0x25168FB0u; /* 0x251489C0: mov eax, 0x25168fb0 */ 2603 L_251489C5: 2604 RECOMP_BACKEDGE(); 2605 goto L_251380C4; /* 0x251489C5: jmp 0x251380c4 */ 2606 { RECOMP_REGS_OUT(); return; } /* end of function */ 2607 _ljump: 2608 switch (_itail_tgt) { 2609 case 0x251380C4u: goto L_251380C4; 2610 case 0x251489C0u: goto L_251489C0; 2611 case 0x251489C5u: goto L_251489C5; 2612 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2613 } 2614 RECOMP_REGS_OUT(); 2615 } 2616 2617 void sub_251489D0(void) { 2618 int _fpu_cmp = 0; 2619 uint32_t _cf = 0; 2620 int _df = 1; 2621 uint32_t _flag_k = FK_NONE; 2622 uint32_t _flag_a = 0, _flag_b = 0; 2623 uint32_t _itail_tgt = 0; 2624 RECOMP_REGS_LOCALS 2625 RECOMP_ENTER(0x251489D0u); 2626 2627 L_251489D0: 2628 ecx = MEM32(ebp + (-0x10)); /* 0x251489D0: mov ecx, dword ptr [ebp - 0x10] */ 2629 goto L_250212E0; /* 0x251489D3: jmp 0x250212e0 */ 2630 { RECOMP_REGS_OUT(); return; } /* end of function */ 2631 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 2632 RECOMP_REGS_OUT(); 2633 } 2634 2635 void sub_251489D8(void) { 2636 int _fpu_cmp = 0; 2637 uint32_t _cf = 0; 2638 int _df = 1; 2639 uint32_t _flag_k = FK_NONE; 2640 uint32_t _flag_a = 0, _flag_b = 0; 2641 uint32_t _itail_tgt = 0; 2642 RECOMP_REGS_LOCALS 2643 RECOMP_ENTER(0x251489D8u); 2644 2645 goto L_251489D8; 2646 L_250F2480: 2647 PUSH32(esp, ebp); /* 0x250F2480: push ebp */ 2648 ebp = esp; /* 0x250F2481: mov ebp, esp */ 2649 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */ 2650 PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */ 2651 eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */ 2652 PUSH32(esp, eax); /* 0x250F2490: push eax */ 2653 MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */ 2654 PUSH32(esp, ecx); /* 0x250F2498: push ecx */ 2655 PUSH32(esp, ebx); /* 0x250F2499: push ebx */ 2656 PUSH32(esp, esi); /* 0x250F249A: push esi */ 2657 esi = ecx; /* 0x250F249B: mov esi, ecx */ 2658 PUSH32(esp, edi); /* 0x250F249D: push edi */ 2659 MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */ 2660 MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */ 2661 MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */ 2662 MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */ 2663 MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */ 2664 MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */ 2665 MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */ 2666 MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */ 2667 ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */ 2668 /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */ 2669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2670 _cf = 0; 2671 _flag_k = FK_TEST; 2672 MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */ 2673 if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */ 2674 L_250F24E8: 2675 RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */ 2676 RECOMP_FLAGS_IN(); 2677 L_250F24ED: 2678 ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */ 2679 edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */ 2680 /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */ 2681 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2683 _flag_k = FK_CMP; 2684 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */ 2685 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */ 2686 L_250F2501: 2687 ecx = edi; /* 0x250F2501: mov ecx, edi */ 2688 RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */ 2689 RECOMP_FLAGS_IN(); 2690 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2692 edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */ 2693 _flag_k = FK_ADD; 2694 /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */ 2695 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2697 _flag_k = FK_CMP; 2698 RECOMP_BACKEDGE(); 2699 if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */ 2700 L_250F250F: 2701 eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */ 2702 PUSH32(esp, eax); /* 0x250F2515: push eax */ 2703 RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */ 2704 RECOMP_FLAGS_IN(); 2705 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2706 eax = 0; /* 0x250F251B: xor eax, eax */ 2707 _cf = 0; 2708 _flag_k = FK_TEST; 2709 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2710 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2711 esp = esp + 4; /* 0x250F251D: add esp, 4 */ 2712 _flag_k = FK_ADD; 2713 ecx = esi; /* 0x250F2520: mov ecx, esi */ 2714 MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */ 2715 MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */ 2716 MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */ 2717 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */ 2718 RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */ 2719 RECOMP_FLAGS_IN(); 2720 ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */ 2721 edi = POP32_VAL(esp); /* 0x250F2543: pop edi */ 2722 esi = POP32_VAL(esp); /* 0x250F2544: pop esi */ 2723 ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */ 2724 MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */ 2725 esp = ebp; /* 0x250F254D: mov esp, ebp */ 2726 ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */ 2727 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret */ 2728 L_251489D8: 2729 ecx = MEM32(ebp + (-0x10)); /* 0x251489D8: mov ecx, dword ptr [ebp - 0x10] */ 2730 RECOMP_BACKEDGE(); 2731 goto L_250F2480; /* 0x251489DB: jmp 0x250f2480 */ 2732 { RECOMP_REGS_OUT(); return; } /* end of function */ 2733 RECOMP_REGS_OUT(); 2734 } 2735 2736 void sub_251489E0(void) { 2737 int _fpu_cmp = 0; 2738 uint32_t _cf = 0; 2739 int _df = 1; 2740 uint32_t _flag_k = FK_NONE; 2741 uint32_t _flag_a = 0, _flag_b = 0; 2742 uint32_t _itail_tgt = 0; 2743 RECOMP_REGS_LOCALS 2744 RECOMP_ENTER(0x251489E0u); 2745 2746 goto L_251489E0; 2747 L_251380C4: 2748 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2749 L_251489E0: 2750 eax = 0x25168FE0u; /* 0x251489E0: mov eax, 0x25168fe0 */ 2751 L_251489E5: 2752 RECOMP_BACKEDGE(); 2753 goto L_251380C4; /* 0x251489E5: jmp 0x251380c4 */ 2754 { RECOMP_REGS_OUT(); return; } /* end of function */ 2755 _ljump: 2756 switch (_itail_tgt) { 2757 case 0x251380C4u: goto L_251380C4; 2758 case 0x251489E0u: goto L_251489E0; 2759 case 0x251489E5u: goto L_251489E5; 2760 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2761 } 2762 RECOMP_REGS_OUT(); 2763 } 2764 2765 void sub_251489F0(void) { 2766 int _fpu_cmp = 0; 2767 uint32_t _cf = 0; 2768 int _df = 1; 2769 uint32_t _flag_k = FK_NONE; 2770 uint32_t _flag_a = 0, _flag_b = 0; 2771 uint32_t _itail_tgt = 0; 2772 RECOMP_REGS_LOCALS 2773 RECOMP_ENTER(0x251489F0u); 2774 2775 L_251489F0: 2776 ecx = MEM32(ebp + (-0x10)); /* 0x251489F0: mov ecx, dword ptr [ebp - 0x10] */ 2777 goto L_250212E0; /* 0x251489F3: jmp 0x250212e0 */ 2778 { RECOMP_REGS_OUT(); return; } /* end of function */ 2779 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 2780 RECOMP_REGS_OUT(); 2781 } 2782 2783 void sub_251489F8(void) { 2784 int _fpu_cmp = 0; 2785 uint32_t _cf = 0; 2786 int _df = 1; 2787 uint32_t _flag_k = FK_NONE; 2788 uint32_t _flag_a = 0, _flag_b = 0; 2789 uint32_t _itail_tgt = 0; 2790 RECOMP_REGS_LOCALS 2791 RECOMP_ENTER(0x251489F8u); 2792 2793 goto L_251489F8; 2794 L_250F2480: 2795 PUSH32(esp, ebp); /* 0x250F2480: push ebp */ 2796 ebp = esp; /* 0x250F2481: mov ebp, esp */ 2797 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */ 2798 PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */ 2799 eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */ 2800 PUSH32(esp, eax); /* 0x250F2490: push eax */ 2801 MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */ 2802 PUSH32(esp, ecx); /* 0x250F2498: push ecx */ 2803 PUSH32(esp, ebx); /* 0x250F2499: push ebx */ 2804 PUSH32(esp, esi); /* 0x250F249A: push esi */ 2805 esi = ecx; /* 0x250F249B: mov esi, ecx */ 2806 PUSH32(esp, edi); /* 0x250F249D: push edi */ 2807 MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */ 2808 MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */ 2809 MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */ 2810 MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */ 2811 MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */ 2812 MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */ 2813 MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */ 2814 MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */ 2815 ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */ 2816 /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */ 2817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2818 _cf = 0; 2819 _flag_k = FK_TEST; 2820 MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */ 2821 if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */ 2822 L_250F24E8: 2823 RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */ 2824 RECOMP_FLAGS_IN(); 2825 L_250F24ED: 2826 ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */ 2827 edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */ 2828 /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */ 2829 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2831 _flag_k = FK_CMP; 2832 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */ 2833 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */ 2834 L_250F2501: 2835 ecx = edi; /* 0x250F2501: mov ecx, edi */ 2836 RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */ 2837 RECOMP_FLAGS_IN(); 2838 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2840 edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */ 2841 _flag_k = FK_ADD; 2842 /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */ 2843 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2845 _flag_k = FK_CMP; 2846 RECOMP_BACKEDGE(); 2847 if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */ 2848 L_250F250F: 2849 eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */ 2850 PUSH32(esp, eax); /* 0x250F2515: push eax */ 2851 RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */ 2852 RECOMP_FLAGS_IN(); 2853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2854 eax = 0; /* 0x250F251B: xor eax, eax */ 2855 _cf = 0; 2856 _flag_k = FK_TEST; 2857 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2859 esp = esp + 4; /* 0x250F251D: add esp, 4 */ 2860 _flag_k = FK_ADD; 2861 ecx = esi; /* 0x250F2520: mov ecx, esi */ 2862 MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */ 2863 MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */ 2864 MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */ 2865 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */ 2866 RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */ 2867 RECOMP_FLAGS_IN(); 2868 ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */ 2869 edi = POP32_VAL(esp); /* 0x250F2543: pop edi */ 2870 esi = POP32_VAL(esp); /* 0x250F2544: pop esi */ 2871 ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */ 2872 MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */ 2873 esp = ebp; /* 0x250F254D: mov esp, ebp */ 2874 ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */ 2875 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret */ 2876 L_251489F8: 2877 ecx = MEM32(ebp + (-0x10)); /* 0x251489F8: mov ecx, dword ptr [ebp - 0x10] */ 2878 RECOMP_BACKEDGE(); 2879 goto L_250F2480; /* 0x251489FB: jmp 0x250f2480 */ 2880 { RECOMP_REGS_OUT(); return; } /* end of function */ 2881 RECOMP_REGS_OUT(); 2882 } 2883 2884 void sub_25148A00(void) { 2885 int _fpu_cmp = 0; 2886 uint32_t _cf = 0; 2887 int _df = 1; 2888 uint32_t _flag_k = FK_NONE; 2889 uint32_t _flag_a = 0, _flag_b = 0; 2890 uint32_t _itail_tgt = 0; 2891 RECOMP_REGS_LOCALS 2892 RECOMP_ENTER(0x25148A00u); 2893 2894 goto L_25148A00; 2895 L_251380C4: 2896 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2897 L_25148A00: 2898 eax = 0x25169010u; /* 0x25148A00: mov eax, 0x25169010 */ 2899 L_25148A05: 2900 RECOMP_BACKEDGE(); 2901 goto L_251380C4; /* 0x25148A05: jmp 0x251380c4 */ 2902 { RECOMP_REGS_OUT(); return; } /* end of function */ 2903 _ljump: 2904 switch (_itail_tgt) { 2905 case 0x251380C4u: goto L_251380C4; 2906 case 0x25148A00u: goto L_25148A00; 2907 case 0x25148A05u: goto L_25148A05; 2908 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2909 } 2910 RECOMP_REGS_OUT(); 2911 } 2912 2913 void sub_25148A10(void) { 2914 int _fpu_cmp = 0; 2915 uint32_t _cf = 0; 2916 int _df = 1; 2917 uint32_t _flag_k = FK_NONE; 2918 uint32_t _flag_a = 0, _flag_b = 0; 2919 uint32_t _itail_tgt = 0; 2920 RECOMP_REGS_LOCALS 2921 RECOMP_ENTER(0x25148A10u); 2922 2923 L_25148A10: 2924 ecx = MEM32(ebp + (-0x10)); /* 0x25148A10: mov ecx, dword ptr [ebp - 0x10] */ 2925 goto L_250212E0; /* 0x25148A13: jmp 0x250212e0 */ 2926 { RECOMP_REGS_OUT(); return; } /* end of function */ 2927 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 2928 RECOMP_REGS_OUT(); 2929 } 2930 2931 void sub_25148A18(void) { 2932 int _fpu_cmp = 0; 2933 uint32_t _cf = 0; 2934 int _df = 1; 2935 uint32_t _flag_k = FK_NONE; 2936 uint32_t _flag_a = 0, _flag_b = 0; 2937 uint32_t _itail_tgt = 0; 2938 RECOMP_REGS_LOCALS 2939 RECOMP_ENTER(0x25148A18u); 2940 2941 goto L_25148A18; 2942 L_250F2480: 2943 PUSH32(esp, ebp); /* 0x250F2480: push ebp */ 2944 ebp = esp; /* 0x250F2481: mov ebp, esp */ 2945 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */ 2946 PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */ 2947 eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */ 2948 PUSH32(esp, eax); /* 0x250F2490: push eax */ 2949 MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */ 2950 PUSH32(esp, ecx); /* 0x250F2498: push ecx */ 2951 PUSH32(esp, ebx); /* 0x250F2499: push ebx */ 2952 PUSH32(esp, esi); /* 0x250F249A: push esi */ 2953 esi = ecx; /* 0x250F249B: mov esi, ecx */ 2954 PUSH32(esp, edi); /* 0x250F249D: push edi */ 2955 MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */ 2956 MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */ 2957 MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */ 2958 MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */ 2959 MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */ 2960 MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */ 2961 MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */ 2962 MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */ 2963 ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */ 2964 /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */ 2965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2966 _cf = 0; 2967 _flag_k = FK_TEST; 2968 MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */ 2969 if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */ 2970 L_250F24E8: 2971 RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */ 2972 RECOMP_FLAGS_IN(); 2973 L_250F24ED: 2974 ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */ 2975 edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */ 2976 /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */ 2977 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2979 _flag_k = FK_CMP; 2980 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */ 2981 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */ 2982 L_250F2501: 2983 ecx = edi; /* 0x250F2501: mov ecx, edi */ 2984 RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */ 2985 RECOMP_FLAGS_IN(); 2986 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 2987 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2988 edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */ 2989 _flag_k = FK_ADD; 2990 /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */ 2991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2993 _flag_k = FK_CMP; 2994 RECOMP_BACKEDGE(); 2995 if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */ 2996 L_250F250F: 2997 eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */ 2998 PUSH32(esp, eax); /* 0x250F2515: push eax */ 2999 RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */ 3000 RECOMP_FLAGS_IN(); 3001 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3002 eax = 0; /* 0x250F251B: xor eax, eax */ 3003 _cf = 0; 3004 _flag_k = FK_TEST; 3005 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3006 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3007 esp = esp + 4; /* 0x250F251D: add esp, 4 */ 3008 _flag_k = FK_ADD; 3009 ecx = esi; /* 0x250F2520: mov ecx, esi */ 3010 MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */ 3011 MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */ 3012 MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */ 3013 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */ 3014 RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */ 3015 RECOMP_FLAGS_IN(); 3016 ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */ 3017 edi = POP32_VAL(esp); /* 0x250F2543: pop edi */ 3018 esi = POP32_VAL(esp); /* 0x250F2544: pop esi */ 3019 ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */ 3020 MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */ 3021 esp = ebp; /* 0x250F254D: mov esp, ebp */ 3022 ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */ 3023 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret */ 3024 L_25148A18: 3025 ecx = MEM32(ebp + (-0x10)); /* 0x25148A18: mov ecx, dword ptr [ebp - 0x10] */ 3026 RECOMP_BACKEDGE(); 3027 goto L_250F2480; /* 0x25148A1B: jmp 0x250f2480 */ 3028 { RECOMP_REGS_OUT(); return; } /* end of function */ 3029 RECOMP_REGS_OUT(); 3030 } 3031 3032 void sub_25148A20(void) { 3033 int _fpu_cmp = 0; 3034 uint32_t _cf = 0; 3035 int _df = 1; 3036 uint32_t _flag_k = FK_NONE; 3037 uint32_t _flag_a = 0, _flag_b = 0; 3038 uint32_t _itail_tgt = 0; 3039 RECOMP_REGS_LOCALS 3040 RECOMP_ENTER(0x25148A20u); 3041 3042 goto L_25148A20; 3043 L_251380C4: 3044 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3045 L_25148A20: 3046 eax = 0x25169040u; /* 0x25148A20: mov eax, 0x25169040 */ 3047 L_25148A25: 3048 RECOMP_BACKEDGE(); 3049 goto L_251380C4; /* 0x25148A25: jmp 0x251380c4 */ 3050 { RECOMP_REGS_OUT(); return; } /* end of function */ 3051 _ljump: 3052 switch (_itail_tgt) { 3053 case 0x251380C4u: goto L_251380C4; 3054 case 0x25148A20u: goto L_25148A20; 3055 case 0x25148A25u: goto L_25148A25; 3056 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3057 } 3058 RECOMP_REGS_OUT(); 3059 } 3060 3061 void sub_25148A30(void) { 3062 int _fpu_cmp = 0; 3063 uint32_t _cf = 0; 3064 int _df = 1; 3065 uint32_t _flag_k = FK_NONE; 3066 uint32_t _flag_a = 0, _flag_b = 0; 3067 uint32_t _itail_tgt = 0; 3068 RECOMP_REGS_LOCALS 3069 RECOMP_ENTER(0x25148A30u); 3070 3071 L_25148A30: 3072 ecx = MEM32(ebp + (-0x10)); /* 0x25148A30: mov ecx, dword ptr [ebp - 0x10] */ 3073 goto L_250212E0; /* 0x25148A33: jmp 0x250212e0 */ 3074 { RECOMP_REGS_OUT(); return; } /* end of function */ 3075 L_250212E0: RECOMP_ITAIL(0x250212E0u); { RECOMP_REGS_OUT(); return; } 3076 RECOMP_REGS_OUT(); 3077 } 3078 3079 void sub_25148A38(void) { 3080 int _fpu_cmp = 0; 3081 uint32_t _cf = 0; 3082 int _df = 1; 3083 uint32_t _flag_k = FK_NONE; 3084 uint32_t _flag_a = 0, _flag_b = 0; 3085 uint32_t _itail_tgt = 0; 3086 RECOMP_REGS_LOCALS 3087 RECOMP_ENTER(0x25148A38u); 3088 3089 goto L_25148A38; 3090 L_250F2480: 3091 PUSH32(esp, ebp); /* 0x250F2480: push ebp */ 3092 ebp = esp; /* 0x250F2481: mov ebp, esp */ 3093 PUSH32(esp, 0xFFFFFFFFu); /* 0x250F2483: push -1 */ 3094 PUSH32(esp, 0x2514C486u); /* 0x250F2485: push 0x2514c486 */ 3095 eax = MEM32(FS_BASE + (0)); /* 0x250F248A: mov eax, dword ptr fs:[0] */ 3096 PUSH32(esp, eax); /* 0x250F2490: push eax */ 3097 MEM32(FS_BASE + (0)) = esp; /* 0x250F2491: mov dword ptr fs:[0], esp */ 3098 PUSH32(esp, ecx); /* 0x250F2498: push ecx */ 3099 PUSH32(esp, ebx); /* 0x250F2499: push ebx */ 3100 PUSH32(esp, esi); /* 0x250F249A: push esi */ 3101 esi = ecx; /* 0x250F249B: mov esi, ecx */ 3102 PUSH32(esp, edi); /* 0x250F249D: push edi */ 3103 MEM32(ebp + (-0x10)) = esi; /* 0x250F249E: mov dword ptr [ebp - 0x10], esi */ 3104 MEM32(esi) = 0x251583E8u; /* 0x250F24A1: mov dword ptr [esi], 0x251583e8 */ 3105 MEM32(esi + 0x8) = 0x251583D8u; /* 0x250F24A7: mov dword ptr [esi + 8], 0x251583d8 */ 3106 MEM32(esi + 0x20) = 0x251583C8u; /* 0x250F24AE: mov dword ptr [esi + 0x20], 0x251583c8 */ 3107 MEM32(esi + 0x38) = 0x251583B8u; /* 0x250F24B5: mov dword ptr [esi + 0x38], 0x251583b8 */ 3108 MEM32(esi + 0x50) = 0x251583A8u; /* 0x250F24BC: mov dword ptr [esi + 0x50], 0x251583a8 */ 3109 MEM32(esi + 0x138) = 0x25158398u; /* 0x250F24C3: mov dword ptr [esi + 0x138], 0x25158398 */ 3110 MEM32(esi + 0x150) = 0x25158388u; /* 0x250F24CD: mov dword ptr [esi + 0x150], 0x25158388 */ 3111 ecx = MEM32(esi + 0x1F0); /* 0x250F24D7: mov ecx, dword ptr [esi + 0x1f0] */ 3112 /* test ecx, ecx */ /* 0x250F24DD: test ecx, ecx */ 3113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3114 _cf = 0; 3115 _flag_k = FK_TEST; 3116 MEM32(ebp + (-0x4)) = 1; /* 0x250F24DF: mov dword ptr [ebp - 4], 1 */ 3117 if (TEST_Z(_flag_a, _flag_b)) goto L_250F24ED; /* 0x250F24E6: je 0x250f24ed */ 3118 L_250F24E8: 3119 RECOMP_ICALL(0x250E6370u); /* 0x250F24E8: call 0x250e6370 */ /* not lifted */ 3120 RECOMP_FLAGS_IN(); 3121 L_250F24ED: 3122 ebx = MEM32(esi + 0x1E4); /* 0x250F24ED: mov ebx, dword ptr [esi + 0x1e4] */ 3123 edi = MEM32(esi + 0x1E0); /* 0x250F24F3: mov edi, dword ptr [esi + 0x1e0] */ 3124 /* cmp edi, ebx */ /* 0x250F24F9: cmp edi, ebx */ 3125 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3127 _flag_k = FK_CMP; 3128 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x250F24FB: mov byte ptr [ebp - 4], 0 */ 3129 if (CMP_EQ(_flag_a, _flag_b)) goto L_250F250F; /* 0x250F24FF: je 0x250f250f */ 3130 L_250F2501: 3131 ecx = edi; /* 0x250F2501: mov ecx, edi */ 3132 RECOMP_ICALL(0x25105C10u); /* 0x250F2503: call 0x25105c10 */ /* not lifted */ 3133 RECOMP_FLAGS_IN(); 3134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 3135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3136 edi = edi + 0xCu; /* 0x250F2508: add edi, 0xc */ 3137 _flag_k = FK_ADD; 3138 /* cmp edi, ebx */ /* 0x250F250B: cmp edi, ebx */ 3139 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3141 _flag_k = FK_CMP; 3142 RECOMP_BACKEDGE(); 3143 if (CMP_NE(_flag_a, _flag_b)) goto L_250F2501; /* 0x250F250D: jne 0x250f2501 */ 3144 L_250F250F: 3145 eax = MEM32(esi + 0x1E0); /* 0x250F250F: mov eax, dword ptr [esi + 0x1e0] */ 3146 PUSH32(esp, eax); /* 0x250F2515: push eax */ 3147 RECOMP_ICALL(0x25137EECu); /* 0x250F2516: call 0x25137eec */ /* not lifted */ 3148 RECOMP_FLAGS_IN(); 3149 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3150 eax = 0; /* 0x250F251B: xor eax, eax */ 3151 _cf = 0; 3152 _flag_k = FK_TEST; 3153 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3155 esp = esp + 4; /* 0x250F251D: add esp, 4 */ 3156 _flag_k = FK_ADD; 3157 ecx = esi; /* 0x250F2520: mov ecx, esi */ 3158 MEM32(esi + 0x1E0) = eax; /* 0x250F2522: mov dword ptr [esi + 0x1e0], eax */ 3159 MEM32(esi + 0x1E4) = eax; /* 0x250F2528: mov dword ptr [esi + 0x1e4], eax */ 3160 MEM32(esi + 0x1E8) = eax; /* 0x250F252E: mov dword ptr [esi + 0x1e8], eax */ 3161 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250F2534: mov dword ptr [ebp - 4], 0xffffffff */ 3162 RECOMP_ICALL(0x250DB0B0u); /* 0x250F253B: call 0x250db0b0 */ /* not lifted */ 3163 RECOMP_FLAGS_IN(); 3164 ecx = MEM32(ebp + (-0xC)); /* 0x250F2540: mov ecx, dword ptr [ebp - 0xc] */ 3165 edi = POP32_VAL(esp); /* 0x250F2543: pop edi */ 3166 esi = POP32_VAL(esp); /* 0x250F2544: pop esi */ 3167 ebx = POP32_VAL(esp); /* 0x250F2545: pop ebx */ 3168 MEM32(FS_BASE + (0)) = ecx; /* 0x250F2546: mov dword ptr fs:[0], ecx */ 3169 esp = ebp; /* 0x250F254D: mov esp, ebp */ 3170 ebp = POP32_VAL(esp); /* 0x250F254F: pop ebp */ 3171 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250F2550: ret */ 3172 L_25148A38: 3173 ecx = MEM32(ebp + (-0x10)); /* 0x25148A38: mov ecx, dword ptr [ebp - 0x10] */ 3174 RECOMP_BACKEDGE(); 3175 goto L_250F2480; /* 0x25148A3B: jmp 0x250f2480 */ 3176 { RECOMP_REGS_OUT(); return; } /* end of function */ 3177 RECOMP_REGS_OUT(); 3178 } 3179 3180 void sub_25148A40(void) { 3181 int _fpu_cmp = 0; 3182 uint32_t _cf = 0; 3183 int _df = 1; 3184 uint32_t _flag_k = FK_NONE; 3185 uint32_t _flag_a = 0, _flag_b = 0; 3186 uint32_t _itail_tgt = 0; 3187 RECOMP_REGS_LOCALS 3188 RECOMP_ENTER(0x25148A40u); 3189 3190 goto L_25148A40; 3191 L_251380C4: 3192 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3193 L_25148A40: 3194 eax = 0x25169070u; /* 0x25148A40: mov eax, 0x25169070 */ 3195 L_25148A45: 3196 RECOMP_BACKEDGE(); 3197 goto L_251380C4; /* 0x25148A45: jmp 0x251380c4 */ 3198 { RECOMP_REGS_OUT(); return; } /* end of function */ 3199 _ljump: 3200 switch (_itail_tgt) { 3201 case 0x251380C4u: goto L_251380C4; 3202 case 0x25148A40u: goto L_25148A40; 3203 case 0x25148A45u: goto L_25148A45; 3204 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3205 } 3206 RECOMP_REGS_OUT(); 3207 }