client/game/bbr.dll/lifted-0088.c (148699B)
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_251465F6(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(0x251465F6u); 17 18 goto L_251465F6; 19 L_25085240: 20 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 21 ebp = esp; /* 0x25085241: mov ebp, esp */ 22 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 23 PUSH32(esp, esi); /* 0x25085244: push esi */ 24 esi = ecx; /* 0x25085245: mov esi, ecx */ 25 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 26 PUSH32(esp, eax); /* 0x2508524A: push eax */ 27 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 28 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 29 RECOMP_FLAGS_IN(); 30 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 31 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32 esp = esp + 4; /* 0x25085253: add esp, 4 */ 33 _flag_k = FK_ADD; 34 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35 eax = 0; /* 0x25085256: xor eax, eax */ 36 _cf = 0; 37 _flag_k = FK_TEST; 38 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 39 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 40 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 41 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 42 esp = ebp; /* 0x25085262: mov esp, ebp */ 43 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 44 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 45 L_251465F6: 46 ecx = MEM32(ebp + (-0x10)); /* 0x251465F6: mov ecx, dword ptr [ebp - 0x10] */ 47 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x214u); 48 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 49 ecx = ecx + 0x214u; /* 0x251465F9: add ecx, 0x214 */ 50 _flag_k = FK_ADD; 51 RECOMP_BACKEDGE(); 52 goto L_25085240; /* 0x251465FF: jmp 0x25085240 */ 53 { RECOMP_REGS_OUT(); return; } /* end of function */ 54 RECOMP_REGS_OUT(); 55 } 56 57 void sub_25146604(void) { 58 int _fpu_cmp = 0; 59 uint32_t _cf = 0; 60 int _df = 1; 61 uint32_t _flag_k = FK_NONE; 62 uint32_t _flag_a = 0, _flag_b = 0; 63 uint32_t _itail_tgt = 0; 64 RECOMP_REGS_LOCALS 65 RECOMP_ENTER(0x25146604u); 66 67 goto L_25146604; 68 L_25085240: 69 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 70 ebp = esp; /* 0x25085241: mov ebp, esp */ 71 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 72 PUSH32(esp, esi); /* 0x25085244: push esi */ 73 esi = ecx; /* 0x25085245: mov esi, ecx */ 74 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 75 PUSH32(esp, eax); /* 0x2508524A: push eax */ 76 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 77 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 78 RECOMP_FLAGS_IN(); 79 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 80 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 81 esp = esp + 4; /* 0x25085253: add esp, 4 */ 82 _flag_k = FK_ADD; 83 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 84 eax = 0; /* 0x25085256: xor eax, eax */ 85 _cf = 0; 86 _flag_k = FK_TEST; 87 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 88 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 89 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 90 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 91 esp = ebp; /* 0x25085262: mov esp, ebp */ 92 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 93 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 94 L_25146604: 95 ecx = MEM32(ebp + (-0x10)); /* 0x25146604: mov ecx, dword ptr [ebp - 0x10] */ 96 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x224u); 97 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 98 ecx = ecx + 0x224u; /* 0x25146607: add ecx, 0x224 */ 99 _flag_k = FK_ADD; 100 RECOMP_BACKEDGE(); 101 goto L_25085240; /* 0x2514660D: jmp 0x25085240 */ 102 { RECOMP_REGS_OUT(); return; } /* end of function */ 103 RECOMP_REGS_OUT(); 104 } 105 106 void sub_25146612(void) { 107 int _fpu_cmp = 0; 108 uint32_t _cf = 0; 109 int _df = 1; 110 uint32_t _flag_k = FK_NONE; 111 uint32_t _flag_a = 0, _flag_b = 0; 112 uint32_t _itail_tgt = 0; 113 RECOMP_REGS_LOCALS 114 RECOMP_ENTER(0x25146612u); 115 116 goto L_25146612; 117 L_25085240: 118 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 119 ebp = esp; /* 0x25085241: mov ebp, esp */ 120 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 121 PUSH32(esp, esi); /* 0x25085244: push esi */ 122 esi = ecx; /* 0x25085245: mov esi, ecx */ 123 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 124 PUSH32(esp, eax); /* 0x2508524A: push eax */ 125 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 126 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 127 RECOMP_FLAGS_IN(); 128 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 129 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 130 esp = esp + 4; /* 0x25085253: add esp, 4 */ 131 _flag_k = FK_ADD; 132 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 133 eax = 0; /* 0x25085256: xor eax, eax */ 134 _cf = 0; 135 _flag_k = FK_TEST; 136 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 137 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 138 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 139 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 140 esp = ebp; /* 0x25085262: mov esp, ebp */ 141 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 142 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 143 L_25146612: 144 ecx = MEM32(ebp + 0x8); /* 0x25146612: mov ecx, dword ptr [ebp + 8] */ 145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 147 ecx = ecx + 4; /* 0x25146615: add ecx, 4 */ 148 _flag_k = FK_ADD; 149 RECOMP_BACKEDGE(); 150 goto L_25085240; /* 0x25146618: jmp 0x25085240 */ 151 { RECOMP_REGS_OUT(); return; } /* end of function */ 152 RECOMP_REGS_OUT(); 153 } 154 155 void sub_2514661D(void) { 156 int _fpu_cmp = 0; 157 uint32_t _cf = 0; 158 int _df = 1; 159 uint32_t _flag_k = FK_NONE; 160 uint32_t _flag_a = 0, _flag_b = 0; 161 uint32_t _itail_tgt = 0; 162 RECOMP_REGS_LOCALS 163 RECOMP_ENTER(0x2514661Du); 164 165 L_2514661D: 166 ecx = MEM32(ebp + (-0x10)); /* 0x2514661D: mov ecx, dword ptr [ebp - 0x10] */ 167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24Cu); 168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 169 ecx = ecx + 0x24Cu; /* 0x25146620: add ecx, 0x24c */ 170 _flag_k = FK_ADD; 171 goto L_2503FAA0; /* 0x25146626: jmp 0x2503faa0 */ 172 { RECOMP_REGS_OUT(); return; } /* end of function */ 173 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 174 RECOMP_REGS_OUT(); 175 } 176 177 void sub_2514662B(void) { 178 int _fpu_cmp = 0; 179 uint32_t _cf = 0; 180 int _df = 1; 181 uint32_t _flag_k = FK_NONE; 182 uint32_t _flag_a = 0, _flag_b = 0; 183 uint32_t _itail_tgt = 0; 184 RECOMP_REGS_LOCALS 185 RECOMP_ENTER(0x2514662Bu); 186 187 goto L_2514662B; 188 L_25085240: 189 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 190 ebp = esp; /* 0x25085241: mov ebp, esp */ 191 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 192 PUSH32(esp, esi); /* 0x25085244: push esi */ 193 esi = ecx; /* 0x25085245: mov esi, ecx */ 194 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 195 PUSH32(esp, eax); /* 0x2508524A: push eax */ 196 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 197 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 198 RECOMP_FLAGS_IN(); 199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 201 esp = esp + 4; /* 0x25085253: add esp, 4 */ 202 _flag_k = FK_ADD; 203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 204 eax = 0; /* 0x25085256: xor eax, eax */ 205 _cf = 0; 206 _flag_k = FK_TEST; 207 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 208 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 209 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 210 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 211 esp = ebp; /* 0x25085262: mov esp, ebp */ 212 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 213 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 214 L_2514662B: 215 ecx = MEM32(ebp + 0x8); /* 0x2514662B: mov ecx, dword ptr [ebp + 8] */ 216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 218 ecx = ecx + 4; /* 0x2514662E: add ecx, 4 */ 219 _flag_k = FK_ADD; 220 RECOMP_BACKEDGE(); 221 goto L_25085240; /* 0x25146631: jmp 0x25085240 */ 222 { RECOMP_REGS_OUT(); return; } /* end of function */ 223 RECOMP_REGS_OUT(); 224 } 225 226 void sub_25146636(void) { 227 int _fpu_cmp = 0; 228 uint32_t _cf = 0; 229 int _df = 1; 230 uint32_t _flag_k = FK_NONE; 231 uint32_t _flag_a = 0, _flag_b = 0; 232 uint32_t _itail_tgt = 0; 233 RECOMP_REGS_LOCALS 234 RECOMP_ENTER(0x25146636u); 235 236 L_25146636: 237 ecx = MEM32(ebp + (-0x10)); /* 0x25146636: mov ecx, dword ptr [ebp - 0x10] */ 238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x270u); 239 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 240 ecx = ecx + 0x270u; /* 0x25146639: add ecx, 0x270 */ 241 _flag_k = FK_ADD; 242 goto L_2503FAA0; /* 0x2514663F: jmp 0x2503faa0 */ 243 { RECOMP_REGS_OUT(); return; } /* end of function */ 244 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 245 RECOMP_REGS_OUT(); 246 } 247 248 void sub_25146644(void) { 249 int _fpu_cmp = 0; 250 uint32_t _cf = 0; 251 int _df = 1; 252 uint32_t _flag_k = FK_NONE; 253 uint32_t _flag_a = 0, _flag_b = 0; 254 uint32_t _itail_tgt = 0; 255 RECOMP_REGS_LOCALS 256 RECOMP_ENTER(0x25146644u); 257 258 goto L_25146644; 259 L_25085240: 260 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 261 ebp = esp; /* 0x25085241: mov ebp, esp */ 262 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 263 PUSH32(esp, esi); /* 0x25085244: push esi */ 264 esi = ecx; /* 0x25085245: mov esi, ecx */ 265 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 266 PUSH32(esp, eax); /* 0x2508524A: push eax */ 267 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 268 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 269 RECOMP_FLAGS_IN(); 270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 272 esp = esp + 4; /* 0x25085253: add esp, 4 */ 273 _flag_k = FK_ADD; 274 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 275 eax = 0; /* 0x25085256: xor eax, eax */ 276 _cf = 0; 277 _flag_k = FK_TEST; 278 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 279 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 280 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 281 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 282 esp = ebp; /* 0x25085262: mov esp, ebp */ 283 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 284 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 285 L_25146644: 286 ecx = MEM32(ebp + 0x8); /* 0x25146644: mov ecx, dword ptr [ebp + 8] */ 287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 289 ecx = ecx + 4; /* 0x25146647: add ecx, 4 */ 290 _flag_k = FK_ADD; 291 RECOMP_BACKEDGE(); 292 goto L_25085240; /* 0x2514664A: jmp 0x25085240 */ 293 { RECOMP_REGS_OUT(); return; } /* end of function */ 294 RECOMP_REGS_OUT(); 295 } 296 297 void sub_2514664F(void) { 298 int _fpu_cmp = 0; 299 uint32_t _cf = 0; 300 int _df = 1; 301 uint32_t _flag_k = FK_NONE; 302 uint32_t _flag_a = 0, _flag_b = 0; 303 uint32_t _itail_tgt = 0; 304 RECOMP_REGS_LOCALS 305 RECOMP_ENTER(0x2514664Fu); 306 307 L_2514664F: 308 ecx = MEM32(ebp + (-0x10)); /* 0x2514664F: mov ecx, dword ptr [ebp - 0x10] */ 309 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x294u); 310 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 311 ecx = ecx + 0x294u; /* 0x25146652: add ecx, 0x294 */ 312 _flag_k = FK_ADD; 313 goto L_2503FAA0; /* 0x25146658: jmp 0x2503faa0 */ 314 { RECOMP_REGS_OUT(); return; } /* end of function */ 315 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 316 RECOMP_REGS_OUT(); 317 } 318 319 void sub_2514665D(void) { 320 int _fpu_cmp = 0; 321 uint32_t _cf = 0; 322 int _df = 1; 323 uint32_t _flag_k = FK_NONE; 324 uint32_t _flag_a = 0, _flag_b = 0; 325 uint32_t _itail_tgt = 0; 326 RECOMP_REGS_LOCALS 327 RECOMP_ENTER(0x2514665Du); 328 329 goto L_2514665D; 330 L_25085240: 331 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 332 ebp = esp; /* 0x25085241: mov ebp, esp */ 333 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 334 PUSH32(esp, esi); /* 0x25085244: push esi */ 335 esi = ecx; /* 0x25085245: mov esi, ecx */ 336 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 337 PUSH32(esp, eax); /* 0x2508524A: push eax */ 338 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 339 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 340 RECOMP_FLAGS_IN(); 341 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 343 esp = esp + 4; /* 0x25085253: add esp, 4 */ 344 _flag_k = FK_ADD; 345 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 346 eax = 0; /* 0x25085256: xor eax, eax */ 347 _cf = 0; 348 _flag_k = FK_TEST; 349 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 350 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 351 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 352 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 353 esp = ebp; /* 0x25085262: mov esp, ebp */ 354 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 355 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 356 L_2514665D: 357 ecx = MEM32(ebp + 0x8); /* 0x2514665D: mov ecx, dword ptr [ebp + 8] */ 358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 360 ecx = ecx + 4; /* 0x25146660: add ecx, 4 */ 361 _flag_k = FK_ADD; 362 RECOMP_BACKEDGE(); 363 goto L_25085240; /* 0x25146663: jmp 0x25085240 */ 364 { RECOMP_REGS_OUT(); return; } /* end of function */ 365 RECOMP_REGS_OUT(); 366 } 367 368 void sub_25146668(void) { 369 int _fpu_cmp = 0; 370 uint32_t _cf = 0; 371 int _df = 1; 372 uint32_t _flag_k = FK_NONE; 373 uint32_t _flag_a = 0, _flag_b = 0; 374 uint32_t _itail_tgt = 0; 375 RECOMP_REGS_LOCALS 376 RECOMP_ENTER(0x25146668u); 377 378 L_25146668: 379 ecx = MEM32(ebp + (-0x10)); /* 0x25146668: mov ecx, dword ptr [ebp - 0x10] */ 380 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B8u); 381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 382 ecx = ecx + 0x2B8u; /* 0x2514666B: add ecx, 0x2b8 */ 383 _flag_k = FK_ADD; 384 goto L_2503FAA0; /* 0x25146671: jmp 0x2503faa0 */ 385 { RECOMP_REGS_OUT(); return; } /* end of function */ 386 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 387 RECOMP_REGS_OUT(); 388 } 389 390 void sub_25146676(void) { 391 int _fpu_cmp = 0; 392 uint32_t _cf = 0; 393 int _df = 1; 394 uint32_t _flag_k = FK_NONE; 395 uint32_t _flag_a = 0, _flag_b = 0; 396 uint32_t _itail_tgt = 0; 397 RECOMP_REGS_LOCALS 398 RECOMP_ENTER(0x25146676u); 399 400 goto L_25146676; 401 L_25085240: 402 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 403 ebp = esp; /* 0x25085241: mov ebp, esp */ 404 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 405 PUSH32(esp, esi); /* 0x25085244: push esi */ 406 esi = ecx; /* 0x25085245: mov esi, ecx */ 407 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 408 PUSH32(esp, eax); /* 0x2508524A: push eax */ 409 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 410 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 411 RECOMP_FLAGS_IN(); 412 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 414 esp = esp + 4; /* 0x25085253: add esp, 4 */ 415 _flag_k = FK_ADD; 416 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 417 eax = 0; /* 0x25085256: xor eax, eax */ 418 _cf = 0; 419 _flag_k = FK_TEST; 420 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 421 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 422 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 423 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 424 esp = ebp; /* 0x25085262: mov esp, ebp */ 425 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 426 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 427 L_25146676: 428 ecx = MEM32(ebp + 0x8); /* 0x25146676: mov ecx, dword ptr [ebp + 8] */ 429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 430 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 431 ecx = ecx + 4; /* 0x25146679: add ecx, 4 */ 432 _flag_k = FK_ADD; 433 RECOMP_BACKEDGE(); 434 goto L_25085240; /* 0x2514667C: jmp 0x25085240 */ 435 { RECOMP_REGS_OUT(); return; } /* end of function */ 436 RECOMP_REGS_OUT(); 437 } 438 439 void sub_25146681(void) { 440 int _fpu_cmp = 0; 441 uint32_t _cf = 0; 442 int _df = 1; 443 uint32_t _flag_k = FK_NONE; 444 uint32_t _flag_a = 0, _flag_b = 0; 445 uint32_t _itail_tgt = 0; 446 RECOMP_REGS_LOCALS 447 RECOMP_ENTER(0x25146681u); 448 449 L_25146681: 450 ecx = MEM32(ebp + (-0x10)); /* 0x25146681: mov ecx, dword ptr [ebp - 0x10] */ 451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2DCu); 452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 453 ecx = ecx + 0x2DCu; /* 0x25146684: add ecx, 0x2dc */ 454 _flag_k = FK_ADD; 455 goto L_2503FAA0; /* 0x2514668A: jmp 0x2503faa0 */ 456 { RECOMP_REGS_OUT(); return; } /* end of function */ 457 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 458 RECOMP_REGS_OUT(); 459 } 460 461 void sub_2514668F(void) { 462 int _fpu_cmp = 0; 463 uint32_t _cf = 0; 464 int _df = 1; 465 uint32_t _flag_k = FK_NONE; 466 uint32_t _flag_a = 0, _flag_b = 0; 467 uint32_t _itail_tgt = 0; 468 RECOMP_REGS_LOCALS 469 RECOMP_ENTER(0x2514668Fu); 470 471 goto L_2514668F; 472 L_25085240: 473 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 474 ebp = esp; /* 0x25085241: mov ebp, esp */ 475 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 476 PUSH32(esp, esi); /* 0x25085244: push esi */ 477 esi = ecx; /* 0x25085245: mov esi, ecx */ 478 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 479 PUSH32(esp, eax); /* 0x2508524A: push eax */ 480 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 481 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 482 RECOMP_FLAGS_IN(); 483 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 484 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 485 esp = esp + 4; /* 0x25085253: add esp, 4 */ 486 _flag_k = FK_ADD; 487 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 488 eax = 0; /* 0x25085256: xor eax, eax */ 489 _cf = 0; 490 _flag_k = FK_TEST; 491 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 492 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 493 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 494 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 495 esp = ebp; /* 0x25085262: mov esp, ebp */ 496 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 497 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 498 L_2514668F: 499 ecx = MEM32(ebp + 0x8); /* 0x2514668F: mov ecx, dword ptr [ebp + 8] */ 500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 502 ecx = ecx + 4; /* 0x25146692: add ecx, 4 */ 503 _flag_k = FK_ADD; 504 RECOMP_BACKEDGE(); 505 goto L_25085240; /* 0x25146695: jmp 0x25085240 */ 506 { RECOMP_REGS_OUT(); return; } /* end of function */ 507 RECOMP_REGS_OUT(); 508 } 509 510 void sub_2514669A(void) { 511 int _fpu_cmp = 0; 512 uint32_t _cf = 0; 513 int _df = 1; 514 uint32_t _flag_k = FK_NONE; 515 uint32_t _flag_a = 0, _flag_b = 0; 516 uint32_t _itail_tgt = 0; 517 RECOMP_REGS_LOCALS 518 RECOMP_ENTER(0x2514669Au); 519 520 L_2514669A: 521 ecx = MEM32(ebp + (-0x10)); /* 0x2514669A: mov ecx, dword ptr [ebp - 0x10] */ 522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x300u); 523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 524 ecx = ecx + 0x300u; /* 0x2514669D: add ecx, 0x300 */ 525 _flag_k = FK_ADD; 526 goto L_2503FAA0; /* 0x251466A3: jmp 0x2503faa0 */ 527 { RECOMP_REGS_OUT(); return; } /* end of function */ 528 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 529 RECOMP_REGS_OUT(); 530 } 531 532 void sub_251466A8(void) { 533 int _fpu_cmp = 0; 534 uint32_t _cf = 0; 535 int _df = 1; 536 uint32_t _flag_k = FK_NONE; 537 uint32_t _flag_a = 0, _flag_b = 0; 538 uint32_t _itail_tgt = 0; 539 RECOMP_REGS_LOCALS 540 RECOMP_ENTER(0x251466A8u); 541 542 goto L_251466A8; 543 L_25085240: 544 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 545 ebp = esp; /* 0x25085241: mov ebp, esp */ 546 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 547 PUSH32(esp, esi); /* 0x25085244: push esi */ 548 esi = ecx; /* 0x25085245: mov esi, ecx */ 549 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 550 PUSH32(esp, eax); /* 0x2508524A: push eax */ 551 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 552 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 553 RECOMP_FLAGS_IN(); 554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 556 esp = esp + 4; /* 0x25085253: add esp, 4 */ 557 _flag_k = FK_ADD; 558 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 559 eax = 0; /* 0x25085256: xor eax, eax */ 560 _cf = 0; 561 _flag_k = FK_TEST; 562 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 563 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 564 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 565 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 566 esp = ebp; /* 0x25085262: mov esp, ebp */ 567 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 568 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 569 L_251466A8: 570 ecx = MEM32(ebp + 0x8); /* 0x251466A8: mov ecx, dword ptr [ebp + 8] */ 571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 573 ecx = ecx + 4; /* 0x251466AB: add ecx, 4 */ 574 _flag_k = FK_ADD; 575 RECOMP_BACKEDGE(); 576 goto L_25085240; /* 0x251466AE: jmp 0x25085240 */ 577 { RECOMP_REGS_OUT(); return; } /* end of function */ 578 RECOMP_REGS_OUT(); 579 } 580 581 void sub_251466B3(void) { 582 int _fpu_cmp = 0; 583 uint32_t _cf = 0; 584 int _df = 1; 585 uint32_t _flag_k = FK_NONE; 586 uint32_t _flag_a = 0, _flag_b = 0; 587 uint32_t _itail_tgt = 0; 588 RECOMP_REGS_LOCALS 589 RECOMP_ENTER(0x251466B3u); 590 591 L_251466B3: 592 ecx = MEM32(ebp + (-0x10)); /* 0x251466B3: mov ecx, dword ptr [ebp - 0x10] */ 593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3E0u); 594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 595 ecx = ecx + 0x3E0u; /* 0x251466B6: add ecx, 0x3e0 */ 596 _flag_k = FK_ADD; 597 goto L_2503FAA0; /* 0x251466BC: jmp 0x2503faa0 */ 598 { RECOMP_REGS_OUT(); return; } /* end of function */ 599 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 600 RECOMP_REGS_OUT(); 601 } 602 603 void sub_251466C1(void) { 604 int _fpu_cmp = 0; 605 uint32_t _cf = 0; 606 int _df = 1; 607 uint32_t _flag_k = FK_NONE; 608 uint32_t _flag_a = 0, _flag_b = 0; 609 uint32_t _itail_tgt = 0; 610 RECOMP_REGS_LOCALS 611 RECOMP_ENTER(0x251466C1u); 612 613 goto L_251466C1; 614 L_25085240: 615 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 616 ebp = esp; /* 0x25085241: mov ebp, esp */ 617 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 618 PUSH32(esp, esi); /* 0x25085244: push esi */ 619 esi = ecx; /* 0x25085245: mov esi, ecx */ 620 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 621 PUSH32(esp, eax); /* 0x2508524A: push eax */ 622 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 623 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 624 RECOMP_FLAGS_IN(); 625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 627 esp = esp + 4; /* 0x25085253: add esp, 4 */ 628 _flag_k = FK_ADD; 629 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 630 eax = 0; /* 0x25085256: xor eax, eax */ 631 _cf = 0; 632 _flag_k = FK_TEST; 633 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 634 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 635 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 636 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 637 esp = ebp; /* 0x25085262: mov esp, ebp */ 638 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 639 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 640 L_251466C1: 641 ecx = MEM32(ebp + 0x8); /* 0x251466C1: mov ecx, dword ptr [ebp + 8] */ 642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 644 ecx = ecx + 4; /* 0x251466C4: add ecx, 4 */ 645 _flag_k = FK_ADD; 646 RECOMP_BACKEDGE(); 647 goto L_25085240; /* 0x251466C7: jmp 0x25085240 */ 648 { RECOMP_REGS_OUT(); return; } /* end of function */ 649 RECOMP_REGS_OUT(); 650 } 651 652 void sub_251466CC(void) { 653 int _fpu_cmp = 0; 654 uint32_t _cf = 0; 655 int _df = 1; 656 uint32_t _flag_k = FK_NONE; 657 uint32_t _flag_a = 0, _flag_b = 0; 658 uint32_t _itail_tgt = 0; 659 RECOMP_REGS_LOCALS 660 RECOMP_ENTER(0x251466CCu); 661 662 goto L_251466CC; 663 L_251380C4: 664 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 665 L_251466CC: 666 eax = 0x25166B58u; /* 0x251466CC: mov eax, 0x25166b58 */ 667 L_251466D1: 668 RECOMP_BACKEDGE(); 669 goto L_251380C4; /* 0x251466D1: jmp 0x251380c4 */ 670 { RECOMP_REGS_OUT(); return; } /* end of function */ 671 _ljump: 672 switch (_itail_tgt) { 673 case 0x251380C4u: goto L_251380C4; 674 case 0x251466CCu: goto L_251466CC; 675 case 0x251466D1u: goto L_251466D1; 676 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 677 } 678 RECOMP_REGS_OUT(); 679 } 680 681 void sub_251466E0(void) { 682 int _fpu_cmp = 0; 683 uint32_t _cf = 0; 684 int _df = 1; 685 uint32_t _flag_k = FK_NONE; 686 uint32_t _flag_a = 0, _flag_b = 0; 687 uint32_t _itail_tgt = 0; 688 RECOMP_REGS_LOCALS 689 RECOMP_ENTER(0x251466E0u); 690 691 goto L_251466E0; 692 L_25085240: 693 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 694 ebp = esp; /* 0x25085241: mov ebp, esp */ 695 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 696 PUSH32(esp, esi); /* 0x25085244: push esi */ 697 esi = ecx; /* 0x25085245: mov esi, ecx */ 698 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 699 PUSH32(esp, eax); /* 0x2508524A: push eax */ 700 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 701 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 702 RECOMP_FLAGS_IN(); 703 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 704 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 705 esp = esp + 4; /* 0x25085253: add esp, 4 */ 706 _flag_k = FK_ADD; 707 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 708 eax = 0; /* 0x25085256: xor eax, eax */ 709 _cf = 0; 710 _flag_k = FK_TEST; 711 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 712 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 713 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 714 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 715 esp = ebp; /* 0x25085262: mov esp, ebp */ 716 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 717 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 718 L_251466E0: 719 ecx = MEM32(ebp + (-0x14)); /* 0x251466E0: mov ecx, dword ptr [ebp - 0x14] */ 720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 722 ecx = ecx + 4; /* 0x251466E3: add ecx, 4 */ 723 _flag_k = FK_ADD; 724 RECOMP_BACKEDGE(); 725 goto L_25085240; /* 0x251466E6: jmp 0x25085240 */ 726 { RECOMP_REGS_OUT(); return; } /* end of function */ 727 RECOMP_REGS_OUT(); 728 } 729 730 void sub_251466EB(void) { 731 int _fpu_cmp = 0; 732 uint32_t _cf = 0; 733 int _df = 1; 734 uint32_t _flag_k = FK_NONE; 735 uint32_t _flag_a = 0, _flag_b = 0; 736 uint32_t _itail_tgt = 0; 737 RECOMP_REGS_LOCALS 738 RECOMP_ENTER(0x251466EBu); 739 740 goto L_251466EB; 741 L_25085240: 742 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 743 ebp = esp; /* 0x25085241: mov ebp, esp */ 744 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 745 PUSH32(esp, esi); /* 0x25085244: push esi */ 746 esi = ecx; /* 0x25085245: mov esi, ecx */ 747 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 748 PUSH32(esp, eax); /* 0x2508524A: push eax */ 749 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 750 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 751 RECOMP_FLAGS_IN(); 752 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 753 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 754 esp = esp + 4; /* 0x25085253: add esp, 4 */ 755 _flag_k = FK_ADD; 756 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 757 eax = 0; /* 0x25085256: xor eax, eax */ 758 _cf = 0; 759 _flag_k = FK_TEST; 760 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 761 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 762 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 763 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 764 esp = ebp; /* 0x25085262: mov esp, ebp */ 765 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 766 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 767 L_251466EB: 768 ecx = MEM32(ebp + (-0x14)); /* 0x251466EB: mov ecx, dword ptr [ebp - 0x14] */ 769 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 770 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 771 ecx = ecx + 0x14u; /* 0x251466EE: add ecx, 0x14 */ 772 _flag_k = FK_ADD; 773 RECOMP_BACKEDGE(); 774 goto L_25085240; /* 0x251466F1: jmp 0x25085240 */ 775 { RECOMP_REGS_OUT(); return; } /* end of function */ 776 RECOMP_REGS_OUT(); 777 } 778 779 void sub_251466F6(void) { 780 int _fpu_cmp = 0; 781 uint32_t _cf = 0; 782 int _df = 1; 783 uint32_t _flag_k = FK_NONE; 784 uint32_t _flag_a = 0, _flag_b = 0; 785 uint32_t _itail_tgt = 0; 786 RECOMP_REGS_LOCALS 787 RECOMP_ENTER(0x251466F6u); 788 789 goto L_251466F6; 790 L_251380C4: 791 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 792 L_251466F6: 793 eax = 0x25166C10u; /* 0x251466F6: mov eax, 0x25166c10 */ 794 L_251466FB: 795 RECOMP_BACKEDGE(); 796 goto L_251380C4; /* 0x251466FB: jmp 0x251380c4 */ 797 { RECOMP_REGS_OUT(); return; } /* end of function */ 798 _ljump: 799 switch (_itail_tgt) { 800 case 0x251380C4u: goto L_251380C4; 801 case 0x251466F6u: goto L_251466F6; 802 case 0x251466FBu: goto L_251466FB; 803 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 804 } 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_25146700(void) { 809 int _fpu_cmp = 0; 810 uint32_t _cf = 0; 811 int _df = 1; 812 uint32_t _flag_k = FK_NONE; 813 uint32_t _flag_a = 0, _flag_b = 0; 814 uint32_t _itail_tgt = 0; 815 RECOMP_REGS_LOCALS 816 RECOMP_ENTER(0x25146700u); 817 818 goto L_25146700; 819 L_250E62B0: 820 PUSH32(esp, ebp); /* 0x250E62B0: push ebp */ 821 ebp = esp; /* 0x250E62B1: mov ebp, esp */ 822 PUSH32(esp, 0xFFFFFFFFu); /* 0x250E62B3: push -1 */ 823 PUSH32(esp, 0x2514B535u); /* 0x250E62B5: push 0x2514b535 */ 824 eax = MEM32(FS_BASE + (0)); /* 0x250E62BA: mov eax, dword ptr fs:[0] */ 825 PUSH32(esp, eax); /* 0x250E62C0: push eax */ 826 MEM32(FS_BASE + (0)) = esp; /* 0x250E62C1: mov dword ptr fs:[0], esp */ 827 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 829 esp = esp - 8; /* 0x250E62C8: sub esp, 8 */ 830 _flag_k = FK_CMP; 831 PUSH32(esp, esi); /* 0x250E62CB: push esi */ 832 esi = ecx; /* 0x250E62CC: mov esi, ecx */ 833 MEM32(ebp + (-0x10)) = esi; /* 0x250E62CE: mov dword ptr [ebp - 0x10], esi */ 834 MEM32(esi) = 0x25158544u; /* 0x250E62D1: mov dword ptr [esi], 0x25158544 */ 835 eax = MEM32(esi + 0x20); /* 0x250E62D7: mov eax, dword ptr [esi + 0x20] */ 836 PUSH32(esp, eax); /* 0x250E62DA: push eax */ 837 eax = ebp + (-0x14); /* 0x250E62DB: lea eax, [ebp - 0x14] */ 838 PUSH32(esp, eax); /* 0x250E62DE: push eax */ 839 ecx = 0x2524C650u; /* 0x250E62DF: mov ecx, 0x2524c650 */ 840 MEM32(ebp + (-0x4)) = 1; /* 0x250E62E4: mov dword ptr [ebp - 4], 1 */ 841 RECOMP_ICALL(0x25114760u); /* 0x250E62EB: call 0x25114760 */ /* not lifted */ 842 RECOMP_FLAGS_IN(); 843 eax = MEM32(esi + 0x1C); /* 0x250E62F0: mov eax, dword ptr [esi + 0x1c] */ 844 /* test eax, eax */ /* 0x250E62F3: test eax, eax */ 845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 846 _cf = 0; 847 _flag_k = FK_TEST; 848 if (TEST_NZ(_flag_a, _flag_b)) goto L_250E62FD; /* 0x250E62F5: jne 0x250e62fd */ 849 L_250E62F7: 850 _flag_a = (uint32_t)(MEM32(0x2524C668)); _flag_b = (uint32_t)(1); 851 MEM32(0x2524C668) = MEM32(0x2524C668) - 1; /* 0x250E62F7: dec dword ptr [0x2524c668] */ 852 _flag_k = FK_DEC; 853 L_250E62FD: 854 eax = MEM32(esi + 0xC); /* 0x250E62FD: mov eax, dword ptr [esi + 0xc] */ 855 /* test eax, eax */ /* 0x250E6300: test eax, eax */ 856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 857 _cf = 0; 858 _flag_k = FK_TEST; 859 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6320; /* 0x250E6302: je 0x250e6320 */ 860 L_250E6304: 861 ecx = eax + (-0x1); /* 0x250E6304: lea ecx, [eax - 1] */ 862 SET_LO8(eax, MEM8(ecx)); /* 0x250E6307: mov al, byte ptr [ecx] */ 863 /* test LO8(eax), LO8(eax) */ /* 0x250E6309: test al, al */ 864 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 865 _cf = 0; 866 _flag_k = FK_NARROW(FK_TEST, 24); 867 if (TEST_Z(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630B: je 0x250e6317 */ 868 L_250E630D: 869 /* cmp LO8(eax), 0xFFu */ /* 0x250E630D: cmp al, 0xff */ 870 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 872 _flag_k = FK_NARROW(FK_CMP, 24); 873 if (CMP_EQ(_flag_a, _flag_b)) goto L_250E6317; /* 0x250E630F: je 0x250e6317 */ 874 L_250E6311: 875 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 876 SET_LO8(eax, LO8(eax) - 1); /* 0x250E6311: dec al */ 877 _flag_k = FK_NARROW(FK_DEC, 24); 878 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x250E6313: mov byte ptr [ecx], al */ 879 goto L_250E6320; /* 0x250E6315: jmp 0x250e6320 */ 880 L_250E6317: 881 PUSH32(esp, ecx); /* 0x250E6317: push ecx */ 882 RECOMP_ICALL(0x25137EECu); /* 0x250E6318: call 0x25137eec */ /* not lifted */ 883 RECOMP_FLAGS_IN(); 884 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 886 esp = esp + 4; /* 0x250E631D: add esp, 4 */ 887 _flag_k = FK_ADD; 888 L_250E6320: 889 ecx = esi; /* 0x250E6320: mov ecx, esi */ 890 MEM32(esi + 0xC) = 0; /* 0x250E6322: mov dword ptr [esi + 0xc], 0 */ 891 MEM32(esi + 0x10) = 0; /* 0x250E6329: mov dword ptr [esi + 0x10], 0 */ 892 MEM32(esi + 0x14) = 0; /* 0x250E6330: mov dword ptr [esi + 0x14], 0 */ 893 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250E6337: mov dword ptr [ebp - 4], 0xffffffff */ 894 RECOMP_ICALL(MEM32(0x251513FC)); /* 0x250E633E: call dword ptr [0x251513fc] */ 895 RECOMP_FLAGS_IN(); 896 ecx = MEM32(ebp + (-0xC)); /* 0x250E6344: mov ecx, dword ptr [ebp - 0xc] */ 897 esi = POP32_VAL(esp); /* 0x250E6347: pop esi */ 898 MEM32(FS_BASE + (0)) = ecx; /* 0x250E6348: mov dword ptr fs:[0], ecx */ 899 esp = ebp; /* 0x250E634F: mov esp, ebp */ 900 ebp = POP32_VAL(esp); /* 0x250E6351: pop ebp */ 901 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250E6352: ret */ 902 L_25146700: 903 ecx = MEM32(ebp + (-0x10)); /* 0x25146700: mov ecx, dword ptr [ebp - 0x10] */ 904 RECOMP_BACKEDGE(); 905 goto L_250E62B0; /* 0x25146703: jmp 0x250e62b0 */ 906 { RECOMP_REGS_OUT(); return; } /* end of function */ 907 RECOMP_REGS_OUT(); 908 } 909 910 void sub_25146708(void) { 911 int _fpu_cmp = 0; 912 uint32_t _cf = 0; 913 int _df = 1; 914 uint32_t _flag_k = FK_NONE; 915 uint32_t _flag_a = 0, _flag_b = 0; 916 uint32_t _itail_tgt = 0; 917 RECOMP_REGS_LOCALS 918 RECOMP_ENTER(0x25146708u); 919 920 goto L_25146708; 921 L_25085240: 922 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 923 ebp = esp; /* 0x25085241: mov ebp, esp */ 924 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 925 PUSH32(esp, esi); /* 0x25085244: push esi */ 926 esi = ecx; /* 0x25085245: mov esi, ecx */ 927 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 928 PUSH32(esp, eax); /* 0x2508524A: push eax */ 929 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 930 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 931 RECOMP_FLAGS_IN(); 932 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 934 esp = esp + 4; /* 0x25085253: add esp, 4 */ 935 _flag_k = FK_ADD; 936 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 937 eax = 0; /* 0x25085256: xor eax, eax */ 938 _cf = 0; 939 _flag_k = FK_TEST; 940 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 941 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 942 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 943 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 944 esp = ebp; /* 0x25085262: mov esp, ebp */ 945 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 946 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 947 L_25146708: 948 ecx = MEM32(ebp + (-0x10)); /* 0x25146708: mov ecx, dword ptr [ebp - 0x10] */ 949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u); 950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 951 ecx = ecx + 0x58u; /* 0x2514670B: add ecx, 0x58 */ 952 _flag_k = FK_ADD; 953 RECOMP_BACKEDGE(); 954 goto L_25085240; /* 0x2514670E: jmp 0x25085240 */ 955 { RECOMP_REGS_OUT(); return; } /* end of function */ 956 RECOMP_REGS_OUT(); 957 } 958 959 void sub_25146713(void) { 960 int _fpu_cmp = 0; 961 uint32_t _cf = 0; 962 int _df = 1; 963 uint32_t _flag_k = FK_NONE; 964 uint32_t _flag_a = 0, _flag_b = 0; 965 uint32_t _itail_tgt = 0; 966 RECOMP_REGS_LOCALS 967 RECOMP_ENTER(0x25146713u); 968 969 goto L_25146713; 970 L_25085240: 971 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 972 ebp = esp; /* 0x25085241: mov ebp, esp */ 973 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 974 PUSH32(esp, esi); /* 0x25085244: push esi */ 975 esi = ecx; /* 0x25085245: mov esi, ecx */ 976 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 977 PUSH32(esp, eax); /* 0x2508524A: push eax */ 978 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 979 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 980 RECOMP_FLAGS_IN(); 981 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 983 esp = esp + 4; /* 0x25085253: add esp, 4 */ 984 _flag_k = FK_ADD; 985 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 986 eax = 0; /* 0x25085256: xor eax, eax */ 987 _cf = 0; 988 _flag_k = FK_TEST; 989 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 990 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 991 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 992 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 993 esp = ebp; /* 0x25085262: mov esp, ebp */ 994 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 995 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 996 L_25146713: 997 ecx = MEM32(ebp + (-0x10)); /* 0x25146713: mov ecx, dword ptr [ebp - 0x10] */ 998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x8Cu); 999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1000 ecx = ecx + 0x8Cu; /* 0x25146716: add ecx, 0x8c */ 1001 _flag_k = FK_ADD; 1002 RECOMP_BACKEDGE(); 1003 goto L_25085240; /* 0x2514671C: jmp 0x25085240 */ 1004 { RECOMP_REGS_OUT(); return; } /* end of function */ 1005 RECOMP_REGS_OUT(); 1006 } 1007 1008 void sub_25146721(void) { 1009 int _fpu_cmp = 0; 1010 uint32_t _cf = 0; 1011 int _df = 1; 1012 uint32_t _flag_k = FK_NONE; 1013 uint32_t _flag_a = 0, _flag_b = 0; 1014 uint32_t _itail_tgt = 0; 1015 RECOMP_REGS_LOCALS 1016 RECOMP_ENTER(0x25146721u); 1017 1018 goto L_25146721; 1019 L_25085240: 1020 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1021 ebp = esp; /* 0x25085241: mov ebp, esp */ 1022 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1023 PUSH32(esp, esi); /* 0x25085244: push esi */ 1024 esi = ecx; /* 0x25085245: mov esi, ecx */ 1025 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1026 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1027 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1028 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1029 RECOMP_FLAGS_IN(); 1030 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1031 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1032 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1033 _flag_k = FK_ADD; 1034 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1035 eax = 0; /* 0x25085256: xor eax, eax */ 1036 _cf = 0; 1037 _flag_k = FK_TEST; 1038 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1039 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1040 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1041 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1042 esp = ebp; /* 0x25085262: mov esp, ebp */ 1043 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1044 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1045 L_25146721: 1046 ecx = MEM32(ebp + (-0x10)); /* 0x25146721: mov ecx, dword ptr [ebp - 0x10] */ 1047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x9Cu); 1048 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1049 ecx = ecx + 0x9Cu; /* 0x25146724: add ecx, 0x9c */ 1050 _flag_k = FK_ADD; 1051 RECOMP_BACKEDGE(); 1052 goto L_25085240; /* 0x2514672A: jmp 0x25085240 */ 1053 { RECOMP_REGS_OUT(); return; } /* end of function */ 1054 RECOMP_REGS_OUT(); 1055 } 1056 1057 void sub_2514672F(void) { 1058 int _fpu_cmp = 0; 1059 uint32_t _cf = 0; 1060 int _df = 1; 1061 uint32_t _flag_k = FK_NONE; 1062 uint32_t _flag_a = 0, _flag_b = 0; 1063 uint32_t _itail_tgt = 0; 1064 RECOMP_REGS_LOCALS 1065 RECOMP_ENTER(0x2514672Fu); 1066 1067 goto L_2514672F; 1068 L_25085240: 1069 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1070 ebp = esp; /* 0x25085241: mov ebp, esp */ 1071 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1072 PUSH32(esp, esi); /* 0x25085244: push esi */ 1073 esi = ecx; /* 0x25085245: mov esi, ecx */ 1074 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1075 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1076 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1077 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1078 RECOMP_FLAGS_IN(); 1079 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1080 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1081 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1082 _flag_k = FK_ADD; 1083 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1084 eax = 0; /* 0x25085256: xor eax, eax */ 1085 _cf = 0; 1086 _flag_k = FK_TEST; 1087 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1088 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1089 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1090 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1091 esp = ebp; /* 0x25085262: mov esp, ebp */ 1092 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1093 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1094 L_2514672F: 1095 ecx = MEM32(ebp + (-0x10)); /* 0x2514672F: mov ecx, dword ptr [ebp - 0x10] */ 1096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xACu); 1097 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1098 ecx = ecx + 0xACu; /* 0x25146732: add ecx, 0xac */ 1099 _flag_k = FK_ADD; 1100 RECOMP_BACKEDGE(); 1101 goto L_25085240; /* 0x25146738: jmp 0x25085240 */ 1102 { RECOMP_REGS_OUT(); return; } /* end of function */ 1103 RECOMP_REGS_OUT(); 1104 } 1105 1106 void sub_2514673D(void) { 1107 int _fpu_cmp = 0; 1108 uint32_t _cf = 0; 1109 int _df = 1; 1110 uint32_t _flag_k = FK_NONE; 1111 uint32_t _flag_a = 0, _flag_b = 0; 1112 uint32_t _itail_tgt = 0; 1113 RECOMP_REGS_LOCALS 1114 RECOMP_ENTER(0x2514673Du); 1115 1116 goto L_2514673D; 1117 L_251380C4: 1118 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1119 L_2514673D: 1120 eax = 0x25166C40u; /* 0x2514673D: mov eax, 0x25166c40 */ 1121 L_25146742: 1122 RECOMP_BACKEDGE(); 1123 goto L_251380C4; /* 0x25146742: jmp 0x251380c4 */ 1124 { RECOMP_REGS_OUT(); return; } /* end of function */ 1125 _ljump: 1126 switch (_itail_tgt) { 1127 case 0x251380C4u: goto L_251380C4; 1128 case 0x2514673Du: goto L_2514673D; 1129 case 0x25146742u: goto L_25146742; 1130 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1131 } 1132 RECOMP_REGS_OUT(); 1133 } 1134 1135 void sub_25146750(void) { 1136 int _fpu_cmp = 0; 1137 uint32_t _cf = 0; 1138 int _df = 1; 1139 uint32_t _flag_k = FK_NONE; 1140 uint32_t _flag_a = 0, _flag_b = 0; 1141 uint32_t _itail_tgt = 0; 1142 RECOMP_REGS_LOCALS 1143 RECOMP_ENTER(0x25146750u); 1144 1145 L_25146750: 1146 eax = MEM32(ebp + (-0x38)); /* 0x25146750: mov eax, dword ptr [ebp - 0x38] */ 1147 PUSH32(esp, eax); /* 0x25146753: push eax */ 1148 RECOMP_ICALL(0x25137EECu); /* 0x25146754: call 0x25137eec */ /* not lifted */ 1149 RECOMP_FLAGS_IN(); 1150 ecx = POP32_VAL(esp); /* 0x25146759: pop ecx */ 1151 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514675A: ret */ 1152 RECOMP_REGS_OUT(); 1153 } 1154 1155 void sub_2514675B(void) { 1156 int _fpu_cmp = 0; 1157 uint32_t _cf = 0; 1158 int _df = 1; 1159 uint32_t _flag_k = FK_NONE; 1160 uint32_t _flag_a = 0, _flag_b = 0; 1161 uint32_t _itail_tgt = 0; 1162 RECOMP_REGS_LOCALS 1163 RECOMP_ENTER(0x2514675Bu); 1164 1165 L_2514675B: 1166 eax = MEM32(ebp + (-0x38)); /* 0x2514675B: mov eax, dword ptr [ebp - 0x38] */ 1167 PUSH32(esp, eax); /* 0x2514675E: push eax */ 1168 RECOMP_ICALL(0x25137EECu); /* 0x2514675F: call 0x25137eec */ /* not lifted */ 1169 RECOMP_FLAGS_IN(); 1170 ecx = POP32_VAL(esp); /* 0x25146764: pop ecx */ 1171 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25146765: ret */ 1172 RECOMP_REGS_OUT(); 1173 } 1174 1175 void sub_25146766(void) { 1176 int _fpu_cmp = 0; 1177 uint32_t _cf = 0; 1178 int _df = 1; 1179 uint32_t _flag_k = FK_NONE; 1180 uint32_t _flag_a = 0, _flag_b = 0; 1181 uint32_t _itail_tgt = 0; 1182 RECOMP_REGS_LOCALS 1183 RECOMP_ENTER(0x25146766u); 1184 1185 L_25146766: 1186 eax = MEM32(ebp + (-0x38)); /* 0x25146766: mov eax, dword ptr [ebp - 0x38] */ 1187 PUSH32(esp, eax); /* 0x25146769: push eax */ 1188 RECOMP_ICALL(0x25137EECu); /* 0x2514676A: call 0x25137eec */ /* not lifted */ 1189 RECOMP_FLAGS_IN(); 1190 ecx = POP32_VAL(esp); /* 0x2514676F: pop ecx */ 1191 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25146770: ret */ 1192 RECOMP_REGS_OUT(); 1193 } 1194 1195 void sub_25146771(void) { 1196 int _fpu_cmp = 0; 1197 uint32_t _cf = 0; 1198 int _df = 1; 1199 uint32_t _flag_k = FK_NONE; 1200 uint32_t _flag_a = 0, _flag_b = 0; 1201 uint32_t _itail_tgt = 0; 1202 RECOMP_REGS_LOCALS 1203 RECOMP_ENTER(0x25146771u); 1204 1205 L_25146771: 1206 eax = MEM32(ebp + (-0x38)); /* 0x25146771: mov eax, dword ptr [ebp - 0x38] */ 1207 PUSH32(esp, eax); /* 0x25146774: push eax */ 1208 RECOMP_ICALL(0x25137EECu); /* 0x25146775: call 0x25137eec */ /* not lifted */ 1209 RECOMP_FLAGS_IN(); 1210 ecx = POP32_VAL(esp); /* 0x2514677A: pop ecx */ 1211 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514677B: ret */ 1212 RECOMP_REGS_OUT(); 1213 } 1214 1215 void sub_2514677C(void) { 1216 int _fpu_cmp = 0; 1217 uint32_t _cf = 0; 1218 int _df = 1; 1219 uint32_t _flag_k = FK_NONE; 1220 uint32_t _flag_a = 0, _flag_b = 0; 1221 uint32_t _itail_tgt = 0; 1222 RECOMP_REGS_LOCALS 1223 RECOMP_ENTER(0x2514677Cu); 1224 1225 goto L_2514677C; 1226 L_251380C4: 1227 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 1228 L_2514677C: 1229 eax = 0x25166C88u; /* 0x2514677C: mov eax, 0x25166c88 */ 1230 L_25146781: 1231 RECOMP_BACKEDGE(); 1232 goto L_251380C4; /* 0x25146781: jmp 0x251380c4 */ 1233 { RECOMP_REGS_OUT(); return; } /* end of function */ 1234 _ljump: 1235 switch (_itail_tgt) { 1236 case 0x251380C4u: goto L_251380C4; 1237 case 0x2514677Cu: goto L_2514677C; 1238 case 0x25146781u: goto L_25146781; 1239 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1240 } 1241 RECOMP_REGS_OUT(); 1242 } 1243 1244 void sub_25146790(void) { 1245 int _fpu_cmp = 0; 1246 uint32_t _cf = 0; 1247 int _df = 1; 1248 uint32_t _flag_k = FK_NONE; 1249 uint32_t _flag_a = 0, _flag_b = 0; 1250 uint32_t _itail_tgt = 0; 1251 RECOMP_REGS_LOCALS 1252 RECOMP_ENTER(0x25146790u); 1253 1254 goto L_25146790; 1255 L_250DB0B0: 1256 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 1257 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 1258 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 1259 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 1260 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 1261 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 1262 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 1263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1265 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 1266 _flag_k = FK_CMP; 1267 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 1268 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 1269 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 1270 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 1271 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 1272 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 1273 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 1274 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 1275 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 1276 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 1277 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 1278 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 1279 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 1280 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 1281 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1282 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 1283 _cf = 0; 1284 _flag_k = FK_TEST; 1285 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 1286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1288 _flag_k = FK_CMP; 1289 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 1290 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 1291 L_250DB11E: 1292 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 1293 RECOMP_FLAGS_IN(); 1294 L_250DB123: 1295 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 1296 PUSH32(esp, eax); /* 0x250DB129: push eax */ 1297 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 1298 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 1299 RECOMP_FLAGS_IN(); 1300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1302 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 1303 _flag_k = FK_ADD; 1304 eax = edi; /* 0x250DB135: mov eax, edi */ 1305 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1306 _cf = (eax) != 0; 1307 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 1308 _flag_k = FK_CMP; 1309 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 1310 eax = _sc ? 0xFFFFFFFFu : 0; 1311 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1312 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1314 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 1315 _cf = 0; 1316 _flag_k = FK_TEST; 1317 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 1318 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 1319 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 1320 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 1321 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 1322 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 1323 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 1324 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1326 _flag_k = FK_CMP; 1327 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 1328 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 1329 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 1330 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 1331 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 1332 L_250DB16C: 1333 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 1334 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 1335 ecx = esi; /* 0x250DB170: mov ecx, esi */ 1336 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 1337 RECOMP_FLAGS_IN(); 1338 ecx = eax; /* 0x250DB177: mov ecx, eax */ 1339 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 1340 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 1341 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 1342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1344 _flag_k = FK_CMP; 1345 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 1346 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 1347 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1349 _flag_k = FK_NARROW(FK_CMP, 24); 1350 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 1351 L_250DB187: 1352 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 1353 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 1354 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1356 _flag_k = FK_CMP; 1357 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 1358 L_250DB18F: 1359 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 1360 PUSH32(esp, edx); /* 0x250DB192: push edx */ 1361 ecx = esi; /* 0x250DB193: mov ecx, esi */ 1362 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 1363 RECOMP_FLAGS_IN(); 1364 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 1365 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 1366 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 1367 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 1368 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 1369 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 1370 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 1371 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 1372 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 1373 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 1374 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 1375 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 1376 RECOMP_FLAGS_IN(); 1377 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 1378 L_250DB1BE: 1379 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 1380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 1381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1382 _flag_k = FK_CMP; 1383 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 1384 L_250DB1C3: 1385 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 1386 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 1387 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 1388 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 1389 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 1390 RECOMP_FLAGS_IN(); 1391 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 1392 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 1393 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 1394 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 1395 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 1396 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 1397 RECOMP_FLAGS_IN(); 1398 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 1399 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 1400 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 1401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1402 _flag_k = FK_CMP; 1403 RECOMP_BACKEDGE(); 1404 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 1405 L_250DB1E6: 1406 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 1407 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 1408 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 1409 RECOMP_FLAGS_IN(); 1410 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 1411 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 1412 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 1413 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 1414 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 1415 RECOMP_FLAGS_IN(); 1416 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1417 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1418 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 1419 _flag_k = FK_ADD; 1420 eax = edi; /* 0x250DB201: mov eax, edi */ 1421 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1422 _cf = (eax) != 0; 1423 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 1424 _flag_k = FK_CMP; 1425 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 1426 eax = _sc ? 0xFFFFFFFFu : 0; 1427 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1428 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1429 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 1430 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 1431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1432 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 1433 _cf = 0; 1434 _flag_k = FK_TEST; 1435 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 1436 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 1437 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 1438 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 1439 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 1440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1441 _flag_k = FK_CMP; 1442 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 1443 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 1444 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 1445 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 1446 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 1447 L_250DB22E: 1448 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 1449 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 1450 ecx = esi; /* 0x250DB232: mov ecx, esi */ 1451 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 1452 RECOMP_FLAGS_IN(); 1453 edx = eax; /* 0x250DB239: mov edx, eax */ 1454 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 1455 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 1456 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 1457 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1459 _flag_k = FK_CMP; 1460 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 1461 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 1462 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1464 _flag_k = FK_NARROW(FK_CMP, 24); 1465 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 1466 L_250DB249: 1467 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 1468 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 1469 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 1470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1471 _flag_k = FK_CMP; 1472 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 1473 L_250DB251: 1474 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 1475 PUSH32(esp, eax); /* 0x250DB254: push eax */ 1476 ecx = esi; /* 0x250DB255: mov ecx, esi */ 1477 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 1478 RECOMP_FLAGS_IN(); 1479 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 1480 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 1481 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 1482 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 1483 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 1484 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 1485 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 1486 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 1487 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 1488 PUSH32(esp, eax); /* 0x250DB276: push eax */ 1489 ecx = esi; /* 0x250DB277: mov ecx, esi */ 1490 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 1491 RECOMP_FLAGS_IN(); 1492 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 1493 L_250DB280: 1494 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 1495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 1496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1497 _flag_k = FK_CMP; 1498 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 1499 L_250DB285: 1500 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 1501 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 1502 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 1503 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 1504 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 1505 RECOMP_FLAGS_IN(); 1506 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 1507 PUSH32(esp, edx); /* 0x250DB294: push edx */ 1508 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 1509 PUSH32(esp, eax); /* 0x250DB298: push eax */ 1510 ecx = esi; /* 0x250DB299: mov ecx, esi */ 1511 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 1512 RECOMP_FLAGS_IN(); 1513 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 1514 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 1515 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 1516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1517 _flag_k = FK_CMP; 1518 RECOMP_BACKEDGE(); 1519 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 1520 L_250DB2A8: 1521 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 1522 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 1523 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 1524 RECOMP_FLAGS_IN(); 1525 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 1526 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 1527 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 1528 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 1529 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 1530 RECOMP_FLAGS_IN(); 1531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1533 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 1534 _flag_k = FK_ADD; 1535 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 1536 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 1537 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 1538 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 1539 RECOMP_FLAGS_IN(); 1540 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 1541 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 1542 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 1543 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 1544 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 1545 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 1546 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 1547 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 1548 L_25146790: 1549 ecx = MEM32(ebp + (-0x64)); /* 0x25146790: mov ecx, dword ptr [ebp - 0x64] */ 1550 RECOMP_BACKEDGE(); 1551 goto L_250DB0B0; /* 0x25146793: jmp 0x250db0b0 */ 1552 { RECOMP_REGS_OUT(); return; } /* end of function */ 1553 RECOMP_REGS_OUT(); 1554 } 1555 1556 void sub_25146798(void) { 1557 int _fpu_cmp = 0; 1558 uint32_t _cf = 0; 1559 int _df = 1; 1560 uint32_t _flag_k = FK_NONE; 1561 uint32_t _flag_a = 0, _flag_b = 0; 1562 uint32_t _itail_tgt = 0; 1563 RECOMP_REGS_LOCALS 1564 RECOMP_ENTER(0x25146798u); 1565 1566 goto L_25146798; 1567 L_25085240: 1568 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1569 ebp = esp; /* 0x25085241: mov ebp, esp */ 1570 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1571 PUSH32(esp, esi); /* 0x25085244: push esi */ 1572 esi = ecx; /* 0x25085245: mov esi, ecx */ 1573 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1574 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1575 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1576 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1577 RECOMP_FLAGS_IN(); 1578 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1580 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1581 _flag_k = FK_ADD; 1582 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1583 eax = 0; /* 0x25085256: xor eax, eax */ 1584 _cf = 0; 1585 _flag_k = FK_TEST; 1586 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1587 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1588 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1589 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1590 esp = ebp; /* 0x25085262: mov esp, ebp */ 1591 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1592 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1593 L_25146798: 1594 ecx = MEM32(ebp + (-0x64)); /* 0x25146798: mov ecx, dword ptr [ebp - 0x64] */ 1595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x204u); 1596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1597 ecx = ecx + 0x204u; /* 0x2514679B: add ecx, 0x204 */ 1598 _flag_k = FK_ADD; 1599 RECOMP_BACKEDGE(); 1600 goto L_25085240; /* 0x251467A1: jmp 0x25085240 */ 1601 { RECOMP_REGS_OUT(); return; } /* end of function */ 1602 RECOMP_REGS_OUT(); 1603 } 1604 1605 void sub_251467A6(void) { 1606 int _fpu_cmp = 0; 1607 uint32_t _cf = 0; 1608 int _df = 1; 1609 uint32_t _flag_k = FK_NONE; 1610 uint32_t _flag_a = 0, _flag_b = 0; 1611 uint32_t _itail_tgt = 0; 1612 RECOMP_REGS_LOCALS 1613 RECOMP_ENTER(0x251467A6u); 1614 1615 goto L_251467A6; 1616 L_25085240: 1617 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1618 ebp = esp; /* 0x25085241: mov ebp, esp */ 1619 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1620 PUSH32(esp, esi); /* 0x25085244: push esi */ 1621 esi = ecx; /* 0x25085245: mov esi, ecx */ 1622 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1623 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1624 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1625 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1626 RECOMP_FLAGS_IN(); 1627 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1628 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1629 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1630 _flag_k = FK_ADD; 1631 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1632 eax = 0; /* 0x25085256: xor eax, eax */ 1633 _cf = 0; 1634 _flag_k = FK_TEST; 1635 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1636 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1637 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1638 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1639 esp = ebp; /* 0x25085262: mov esp, ebp */ 1640 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1641 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1642 L_251467A6: 1643 ecx = MEM32(ebp + (-0x64)); /* 0x251467A6: mov ecx, dword ptr [ebp - 0x64] */ 1644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x214u); 1645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1646 ecx = ecx + 0x214u; /* 0x251467A9: add ecx, 0x214 */ 1647 _flag_k = FK_ADD; 1648 RECOMP_BACKEDGE(); 1649 goto L_25085240; /* 0x251467AF: jmp 0x25085240 */ 1650 { RECOMP_REGS_OUT(); return; } /* end of function */ 1651 RECOMP_REGS_OUT(); 1652 } 1653 1654 void sub_251467B4(void) { 1655 int _fpu_cmp = 0; 1656 uint32_t _cf = 0; 1657 int _df = 1; 1658 uint32_t _flag_k = FK_NONE; 1659 uint32_t _flag_a = 0, _flag_b = 0; 1660 uint32_t _itail_tgt = 0; 1661 RECOMP_REGS_LOCALS 1662 RECOMP_ENTER(0x251467B4u); 1663 1664 goto L_251467B4; 1665 L_25085240: 1666 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1667 ebp = esp; /* 0x25085241: mov ebp, esp */ 1668 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1669 PUSH32(esp, esi); /* 0x25085244: push esi */ 1670 esi = ecx; /* 0x25085245: mov esi, ecx */ 1671 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1672 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1673 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1674 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1675 RECOMP_FLAGS_IN(); 1676 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1678 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1679 _flag_k = FK_ADD; 1680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1681 eax = 0; /* 0x25085256: xor eax, eax */ 1682 _cf = 0; 1683 _flag_k = FK_TEST; 1684 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1685 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1686 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1687 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1688 esp = ebp; /* 0x25085262: mov esp, ebp */ 1689 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1690 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1691 L_251467B4: 1692 ecx = MEM32(ebp + (-0x64)); /* 0x251467B4: mov ecx, dword ptr [ebp - 0x64] */ 1693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x224u); 1694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1695 ecx = ecx + 0x224u; /* 0x251467B7: add ecx, 0x224 */ 1696 _flag_k = FK_ADD; 1697 RECOMP_BACKEDGE(); 1698 goto L_25085240; /* 0x251467BD: jmp 0x25085240 */ 1699 { RECOMP_REGS_OUT(); return; } /* end of function */ 1700 RECOMP_REGS_OUT(); 1701 } 1702 1703 void sub_251467C2(void) { 1704 int _fpu_cmp = 0; 1705 uint32_t _cf = 0; 1706 int _df = 1; 1707 uint32_t _flag_k = FK_NONE; 1708 uint32_t _flag_a = 0, _flag_b = 0; 1709 uint32_t _itail_tgt = 0; 1710 RECOMP_REGS_LOCALS 1711 RECOMP_ENTER(0x251467C2u); 1712 1713 goto L_251467C2; 1714 L_25085240: 1715 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1716 ebp = esp; /* 0x25085241: mov ebp, esp */ 1717 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1718 PUSH32(esp, esi); /* 0x25085244: push esi */ 1719 esi = ecx; /* 0x25085245: mov esi, ecx */ 1720 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1721 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1722 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1723 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1724 RECOMP_FLAGS_IN(); 1725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1726 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1727 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1728 _flag_k = FK_ADD; 1729 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1730 eax = 0; /* 0x25085256: xor eax, eax */ 1731 _cf = 0; 1732 _flag_k = FK_TEST; 1733 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1734 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1735 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1736 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1737 esp = ebp; /* 0x25085262: mov esp, ebp */ 1738 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1739 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1740 L_251467C2: 1741 ecx = MEM32(ebp + (-0x38)); /* 0x251467C2: mov ecx, dword ptr [ebp - 0x38] */ 1742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1744 ecx = ecx + 4; /* 0x251467C5: add ecx, 4 */ 1745 _flag_k = FK_ADD; 1746 RECOMP_BACKEDGE(); 1747 goto L_25085240; /* 0x251467C8: jmp 0x25085240 */ 1748 { RECOMP_REGS_OUT(); return; } /* end of function */ 1749 RECOMP_REGS_OUT(); 1750 } 1751 1752 void sub_251467CD(void) { 1753 int _fpu_cmp = 0; 1754 uint32_t _cf = 0; 1755 int _df = 1; 1756 uint32_t _flag_k = FK_NONE; 1757 uint32_t _flag_a = 0, _flag_b = 0; 1758 uint32_t _itail_tgt = 0; 1759 RECOMP_REGS_LOCALS 1760 RECOMP_ENTER(0x251467CDu); 1761 1762 L_251467CD: 1763 ecx = MEM32(ebp + (-0x64)); /* 0x251467CD: mov ecx, dword ptr [ebp - 0x64] */ 1764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24Cu); 1765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1766 ecx = ecx + 0x24Cu; /* 0x251467D0: add ecx, 0x24c */ 1767 _flag_k = FK_ADD; 1768 goto L_2503FAA0; /* 0x251467D6: jmp 0x2503faa0 */ 1769 { RECOMP_REGS_OUT(); return; } /* end of function */ 1770 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 1771 RECOMP_REGS_OUT(); 1772 } 1773 1774 void sub_251467DB(void) { 1775 int _fpu_cmp = 0; 1776 uint32_t _cf = 0; 1777 int _df = 1; 1778 uint32_t _flag_k = FK_NONE; 1779 uint32_t _flag_a = 0, _flag_b = 0; 1780 uint32_t _itail_tgt = 0; 1781 RECOMP_REGS_LOCALS 1782 RECOMP_ENTER(0x251467DBu); 1783 1784 goto L_251467DB; 1785 L_25085240: 1786 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1787 ebp = esp; /* 0x25085241: mov ebp, esp */ 1788 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1789 PUSH32(esp, esi); /* 0x25085244: push esi */ 1790 esi = ecx; /* 0x25085245: mov esi, ecx */ 1791 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1792 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1793 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1794 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1795 RECOMP_FLAGS_IN(); 1796 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1798 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1799 _flag_k = FK_ADD; 1800 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1801 eax = 0; /* 0x25085256: xor eax, eax */ 1802 _cf = 0; 1803 _flag_k = FK_TEST; 1804 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1805 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1806 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1807 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1808 esp = ebp; /* 0x25085262: mov esp, ebp */ 1809 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1810 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1811 L_251467DB: 1812 ecx = MEM32(ebp + (-0x38)); /* 0x251467DB: mov ecx, dword ptr [ebp - 0x38] */ 1813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1815 ecx = ecx + 4; /* 0x251467DE: add ecx, 4 */ 1816 _flag_k = FK_ADD; 1817 RECOMP_BACKEDGE(); 1818 goto L_25085240; /* 0x251467E1: jmp 0x25085240 */ 1819 { RECOMP_REGS_OUT(); return; } /* end of function */ 1820 RECOMP_REGS_OUT(); 1821 } 1822 1823 void sub_251467E6(void) { 1824 int _fpu_cmp = 0; 1825 uint32_t _cf = 0; 1826 int _df = 1; 1827 uint32_t _flag_k = FK_NONE; 1828 uint32_t _flag_a = 0, _flag_b = 0; 1829 uint32_t _itail_tgt = 0; 1830 RECOMP_REGS_LOCALS 1831 RECOMP_ENTER(0x251467E6u); 1832 1833 L_251467E6: 1834 ecx = MEM32(ebp + (-0x64)); /* 0x251467E6: mov ecx, dword ptr [ebp - 0x64] */ 1835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x270u); 1836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1837 ecx = ecx + 0x270u; /* 0x251467E9: add ecx, 0x270 */ 1838 _flag_k = FK_ADD; 1839 goto L_2503FAA0; /* 0x251467EF: jmp 0x2503faa0 */ 1840 { RECOMP_REGS_OUT(); return; } /* end of function */ 1841 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 1842 RECOMP_REGS_OUT(); 1843 } 1844 1845 void sub_251467F4(void) { 1846 int _fpu_cmp = 0; 1847 uint32_t _cf = 0; 1848 int _df = 1; 1849 uint32_t _flag_k = FK_NONE; 1850 uint32_t _flag_a = 0, _flag_b = 0; 1851 uint32_t _itail_tgt = 0; 1852 RECOMP_REGS_LOCALS 1853 RECOMP_ENTER(0x251467F4u); 1854 1855 goto L_251467F4; 1856 L_25085240: 1857 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1858 ebp = esp; /* 0x25085241: mov ebp, esp */ 1859 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1860 PUSH32(esp, esi); /* 0x25085244: push esi */ 1861 esi = ecx; /* 0x25085245: mov esi, ecx */ 1862 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1863 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1864 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1865 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1866 RECOMP_FLAGS_IN(); 1867 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1869 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1870 _flag_k = FK_ADD; 1871 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1872 eax = 0; /* 0x25085256: xor eax, eax */ 1873 _cf = 0; 1874 _flag_k = FK_TEST; 1875 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1876 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1877 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1878 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1879 esp = ebp; /* 0x25085262: mov esp, ebp */ 1880 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1881 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1882 L_251467F4: 1883 ecx = MEM32(ebp + (-0x38)); /* 0x251467F4: mov ecx, dword ptr [ebp - 0x38] */ 1884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1886 ecx = ecx + 4; /* 0x251467F7: add ecx, 4 */ 1887 _flag_k = FK_ADD; 1888 RECOMP_BACKEDGE(); 1889 goto L_25085240; /* 0x251467FA: jmp 0x25085240 */ 1890 { RECOMP_REGS_OUT(); return; } /* end of function */ 1891 RECOMP_REGS_OUT(); 1892 } 1893 1894 void sub_251467FF(void) { 1895 int _fpu_cmp = 0; 1896 uint32_t _cf = 0; 1897 int _df = 1; 1898 uint32_t _flag_k = FK_NONE; 1899 uint32_t _flag_a = 0, _flag_b = 0; 1900 uint32_t _itail_tgt = 0; 1901 RECOMP_REGS_LOCALS 1902 RECOMP_ENTER(0x251467FFu); 1903 1904 L_251467FF: 1905 ecx = MEM32(ebp + (-0x64)); /* 0x251467FF: mov ecx, dword ptr [ebp - 0x64] */ 1906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x294u); 1907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1908 ecx = ecx + 0x294u; /* 0x25146802: add ecx, 0x294 */ 1909 _flag_k = FK_ADD; 1910 goto L_2503FAA0; /* 0x25146808: jmp 0x2503faa0 */ 1911 { RECOMP_REGS_OUT(); return; } /* end of function */ 1912 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 1913 RECOMP_REGS_OUT(); 1914 } 1915 1916 void sub_2514680D(void) { 1917 int _fpu_cmp = 0; 1918 uint32_t _cf = 0; 1919 int _df = 1; 1920 uint32_t _flag_k = FK_NONE; 1921 uint32_t _flag_a = 0, _flag_b = 0; 1922 uint32_t _itail_tgt = 0; 1923 RECOMP_REGS_LOCALS 1924 RECOMP_ENTER(0x2514680Du); 1925 1926 goto L_2514680D; 1927 L_25085240: 1928 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 1929 ebp = esp; /* 0x25085241: mov ebp, esp */ 1930 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 1931 PUSH32(esp, esi); /* 0x25085244: push esi */ 1932 esi = ecx; /* 0x25085245: mov esi, ecx */ 1933 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 1934 PUSH32(esp, eax); /* 0x2508524A: push eax */ 1935 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 1936 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 1937 RECOMP_FLAGS_IN(); 1938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1940 esp = esp + 4; /* 0x25085253: add esp, 4 */ 1941 _flag_k = FK_ADD; 1942 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1943 eax = 0; /* 0x25085256: xor eax, eax */ 1944 _cf = 0; 1945 _flag_k = FK_TEST; 1946 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 1947 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 1948 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 1949 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 1950 esp = ebp; /* 0x25085262: mov esp, ebp */ 1951 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 1952 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 1953 L_2514680D: 1954 ecx = MEM32(ebp + (-0x38)); /* 0x2514680D: mov ecx, dword ptr [ebp - 0x38] */ 1955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1957 ecx = ecx + 4; /* 0x25146810: add ecx, 4 */ 1958 _flag_k = FK_ADD; 1959 RECOMP_BACKEDGE(); 1960 goto L_25085240; /* 0x25146813: jmp 0x25085240 */ 1961 { RECOMP_REGS_OUT(); return; } /* end of function */ 1962 RECOMP_REGS_OUT(); 1963 } 1964 1965 void sub_25146818(void) { 1966 int _fpu_cmp = 0; 1967 uint32_t _cf = 0; 1968 int _df = 1; 1969 uint32_t _flag_k = FK_NONE; 1970 uint32_t _flag_a = 0, _flag_b = 0; 1971 uint32_t _itail_tgt = 0; 1972 RECOMP_REGS_LOCALS 1973 RECOMP_ENTER(0x25146818u); 1974 1975 L_25146818: 1976 ecx = MEM32(ebp + (-0x64)); /* 0x25146818: mov ecx, dword ptr [ebp - 0x64] */ 1977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B8u); 1978 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1979 ecx = ecx + 0x2B8u; /* 0x2514681B: add ecx, 0x2b8 */ 1980 _flag_k = FK_ADD; 1981 goto L_2503FAA0; /* 0x25146821: jmp 0x2503faa0 */ 1982 { RECOMP_REGS_OUT(); return; } /* end of function */ 1983 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 1984 RECOMP_REGS_OUT(); 1985 } 1986 1987 void sub_25146826(void) { 1988 int _fpu_cmp = 0; 1989 uint32_t _cf = 0; 1990 int _df = 1; 1991 uint32_t _flag_k = FK_NONE; 1992 uint32_t _flag_a = 0, _flag_b = 0; 1993 uint32_t _itail_tgt = 0; 1994 RECOMP_REGS_LOCALS 1995 RECOMP_ENTER(0x25146826u); 1996 1997 goto L_25146826; 1998 L_25085240: 1999 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 2000 ebp = esp; /* 0x25085241: mov ebp, esp */ 2001 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 2002 PUSH32(esp, esi); /* 0x25085244: push esi */ 2003 esi = ecx; /* 0x25085245: mov esi, ecx */ 2004 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 2005 PUSH32(esp, eax); /* 0x2508524A: push eax */ 2006 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 2007 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 2008 RECOMP_FLAGS_IN(); 2009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2011 esp = esp + 4; /* 0x25085253: add esp, 4 */ 2012 _flag_k = FK_ADD; 2013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2014 eax = 0; /* 0x25085256: xor eax, eax */ 2015 _cf = 0; 2016 _flag_k = FK_TEST; 2017 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 2018 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 2019 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 2020 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 2021 esp = ebp; /* 0x25085262: mov esp, ebp */ 2022 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 2023 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 2024 L_25146826: 2025 ecx = MEM32(ebp + (-0x38)); /* 0x25146826: mov ecx, dword ptr [ebp - 0x38] */ 2026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2027 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2028 ecx = ecx + 4; /* 0x25146829: add ecx, 4 */ 2029 _flag_k = FK_ADD; 2030 RECOMP_BACKEDGE(); 2031 goto L_25085240; /* 0x2514682C: jmp 0x25085240 */ 2032 { RECOMP_REGS_OUT(); return; } /* end of function */ 2033 RECOMP_REGS_OUT(); 2034 } 2035 2036 void sub_25146831(void) { 2037 int _fpu_cmp = 0; 2038 uint32_t _cf = 0; 2039 int _df = 1; 2040 uint32_t _flag_k = FK_NONE; 2041 uint32_t _flag_a = 0, _flag_b = 0; 2042 uint32_t _itail_tgt = 0; 2043 RECOMP_REGS_LOCALS 2044 RECOMP_ENTER(0x25146831u); 2045 2046 L_25146831: 2047 ecx = MEM32(ebp + (-0x64)); /* 0x25146831: mov ecx, dword ptr [ebp - 0x64] */ 2048 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2DCu); 2049 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2050 ecx = ecx + 0x2DCu; /* 0x25146834: add ecx, 0x2dc */ 2051 _flag_k = FK_ADD; 2052 goto L_2503FAA0; /* 0x2514683A: jmp 0x2503faa0 */ 2053 { RECOMP_REGS_OUT(); return; } /* end of function */ 2054 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 2055 RECOMP_REGS_OUT(); 2056 } 2057 2058 void sub_2514683F(void) { 2059 int _fpu_cmp = 0; 2060 uint32_t _cf = 0; 2061 int _df = 1; 2062 uint32_t _flag_k = FK_NONE; 2063 uint32_t _flag_a = 0, _flag_b = 0; 2064 uint32_t _itail_tgt = 0; 2065 RECOMP_REGS_LOCALS 2066 RECOMP_ENTER(0x2514683Fu); 2067 2068 goto L_2514683F; 2069 L_25085240: 2070 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 2071 ebp = esp; /* 0x25085241: mov ebp, esp */ 2072 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 2073 PUSH32(esp, esi); /* 0x25085244: push esi */ 2074 esi = ecx; /* 0x25085245: mov esi, ecx */ 2075 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 2076 PUSH32(esp, eax); /* 0x2508524A: push eax */ 2077 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 2078 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 2079 RECOMP_FLAGS_IN(); 2080 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2082 esp = esp + 4; /* 0x25085253: add esp, 4 */ 2083 _flag_k = FK_ADD; 2084 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2085 eax = 0; /* 0x25085256: xor eax, eax */ 2086 _cf = 0; 2087 _flag_k = FK_TEST; 2088 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 2089 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 2090 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 2091 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 2092 esp = ebp; /* 0x25085262: mov esp, ebp */ 2093 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 2094 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 2095 L_2514683F: 2096 ecx = MEM32(ebp + (-0x38)); /* 0x2514683F: mov ecx, dword ptr [ebp - 0x38] */ 2097 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2098 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2099 ecx = ecx + 4; /* 0x25146842: add ecx, 4 */ 2100 _flag_k = FK_ADD; 2101 RECOMP_BACKEDGE(); 2102 goto L_25085240; /* 0x25146845: jmp 0x25085240 */ 2103 { RECOMP_REGS_OUT(); return; } /* end of function */ 2104 RECOMP_REGS_OUT(); 2105 } 2106 2107 void sub_2514684A(void) { 2108 int _fpu_cmp = 0; 2109 uint32_t _cf = 0; 2110 int _df = 1; 2111 uint32_t _flag_k = FK_NONE; 2112 uint32_t _flag_a = 0, _flag_b = 0; 2113 uint32_t _itail_tgt = 0; 2114 RECOMP_REGS_LOCALS 2115 RECOMP_ENTER(0x2514684Au); 2116 2117 L_2514684A: 2118 ecx = MEM32(ebp + (-0x64)); /* 0x2514684A: mov ecx, dword ptr [ebp - 0x64] */ 2119 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x300u); 2120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2121 ecx = ecx + 0x300u; /* 0x2514684D: add ecx, 0x300 */ 2122 _flag_k = FK_ADD; 2123 goto L_2503FAA0; /* 0x25146853: jmp 0x2503faa0 */ 2124 { RECOMP_REGS_OUT(); return; } /* end of function */ 2125 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 2126 RECOMP_REGS_OUT(); 2127 } 2128 2129 void sub_25146858(void) { 2130 int _fpu_cmp = 0; 2131 uint32_t _cf = 0; 2132 int _df = 1; 2133 uint32_t _flag_k = FK_NONE; 2134 uint32_t _flag_a = 0, _flag_b = 0; 2135 uint32_t _itail_tgt = 0; 2136 RECOMP_REGS_LOCALS 2137 RECOMP_ENTER(0x25146858u); 2138 2139 goto L_25146858; 2140 L_25085240: 2141 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 2142 ebp = esp; /* 0x25085241: mov ebp, esp */ 2143 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 2144 PUSH32(esp, esi); /* 0x25085244: push esi */ 2145 esi = ecx; /* 0x25085245: mov esi, ecx */ 2146 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 2147 PUSH32(esp, eax); /* 0x2508524A: push eax */ 2148 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 2149 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 2150 RECOMP_FLAGS_IN(); 2151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2153 esp = esp + 4; /* 0x25085253: add esp, 4 */ 2154 _flag_k = FK_ADD; 2155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2156 eax = 0; /* 0x25085256: xor eax, eax */ 2157 _cf = 0; 2158 _flag_k = FK_TEST; 2159 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 2160 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 2161 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 2162 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 2163 esp = ebp; /* 0x25085262: mov esp, ebp */ 2164 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 2165 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 2166 L_25146858: 2167 ecx = MEM32(ebp + (-0x38)); /* 0x25146858: mov ecx, dword ptr [ebp - 0x38] */ 2168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2170 ecx = ecx + 4; /* 0x2514685B: add ecx, 4 */ 2171 _flag_k = FK_ADD; 2172 RECOMP_BACKEDGE(); 2173 goto L_25085240; /* 0x2514685E: jmp 0x25085240 */ 2174 { RECOMP_REGS_OUT(); return; } /* end of function */ 2175 RECOMP_REGS_OUT(); 2176 } 2177 2178 void sub_25146863(void) { 2179 int _fpu_cmp = 0; 2180 uint32_t _cf = 0; 2181 int _df = 1; 2182 uint32_t _flag_k = FK_NONE; 2183 uint32_t _flag_a = 0, _flag_b = 0; 2184 uint32_t _itail_tgt = 0; 2185 RECOMP_REGS_LOCALS 2186 RECOMP_ENTER(0x25146863u); 2187 2188 L_25146863: 2189 ecx = MEM32(ebp + (-0x64)); /* 0x25146863: mov ecx, dword ptr [ebp - 0x64] */ 2190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3E0u); 2191 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2192 ecx = ecx + 0x3E0u; /* 0x25146866: add ecx, 0x3e0 */ 2193 _flag_k = FK_ADD; 2194 goto L_2503FAA0; /* 0x2514686C: jmp 0x2503faa0 */ 2195 { RECOMP_REGS_OUT(); return; } /* end of function */ 2196 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 2197 RECOMP_REGS_OUT(); 2198 } 2199 2200 void sub_25146871(void) { 2201 int _fpu_cmp = 0; 2202 uint32_t _cf = 0; 2203 int _df = 1; 2204 uint32_t _flag_k = FK_NONE; 2205 uint32_t _flag_a = 0, _flag_b = 0; 2206 uint32_t _itail_tgt = 0; 2207 RECOMP_REGS_LOCALS 2208 RECOMP_ENTER(0x25146871u); 2209 2210 goto L_25146871; 2211 L_25085240: 2212 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 2213 ebp = esp; /* 0x25085241: mov ebp, esp */ 2214 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 2215 PUSH32(esp, esi); /* 0x25085244: push esi */ 2216 esi = ecx; /* 0x25085245: mov esi, ecx */ 2217 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 2218 PUSH32(esp, eax); /* 0x2508524A: push eax */ 2219 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 2220 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 2221 RECOMP_FLAGS_IN(); 2222 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2223 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2224 esp = esp + 4; /* 0x25085253: add esp, 4 */ 2225 _flag_k = FK_ADD; 2226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2227 eax = 0; /* 0x25085256: xor eax, eax */ 2228 _cf = 0; 2229 _flag_k = FK_TEST; 2230 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 2231 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 2232 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 2233 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 2234 esp = ebp; /* 0x25085262: mov esp, ebp */ 2235 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 2236 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 2237 L_25146871: 2238 ecx = MEM32(ebp + (-0x38)); /* 0x25146871: mov ecx, dword ptr [ebp - 0x38] */ 2239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2241 ecx = ecx + 4; /* 0x25146874: add ecx, 4 */ 2242 _flag_k = FK_ADD; 2243 RECOMP_BACKEDGE(); 2244 goto L_25085240; /* 0x25146877: jmp 0x25085240 */ 2245 { RECOMP_REGS_OUT(); return; } /* end of function */ 2246 RECOMP_REGS_OUT(); 2247 } 2248 2249 void sub_2514687C(void) { 2250 int _fpu_cmp = 0; 2251 uint32_t _cf = 0; 2252 int _df = 1; 2253 uint32_t _flag_k = FK_NONE; 2254 uint32_t _flag_a = 0, _flag_b = 0; 2255 uint32_t _itail_tgt = 0; 2256 RECOMP_REGS_LOCALS 2257 RECOMP_ENTER(0x2514687Cu); 2258 2259 L_2514687C: 2260 ecx = MEM32(ebp + (-0x64)); /* 0x2514687C: mov ecx, dword ptr [ebp - 0x64] */ 2261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x404u); 2262 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2263 ecx = ecx + 0x404u; /* 0x2514687F: add ecx, 0x404 */ 2264 _flag_k = FK_ADD; 2265 goto L_2503FAA0; /* 0x25146885: jmp 0x2503faa0 */ 2266 { RECOMP_REGS_OUT(); return; } /* end of function */ 2267 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 2268 RECOMP_REGS_OUT(); 2269 } 2270 2271 void sub_2514688A(void) { 2272 int _fpu_cmp = 0; 2273 uint32_t _cf = 0; 2274 int _df = 1; 2275 uint32_t _flag_k = FK_NONE; 2276 uint32_t _flag_a = 0, _flag_b = 0; 2277 uint32_t _itail_tgt = 0; 2278 RECOMP_REGS_LOCALS 2279 RECOMP_ENTER(0x2514688Au); 2280 2281 L_2514688A: 2282 eax = MEM32(ebp + (-0x38)); /* 0x2514688A: mov eax, dword ptr [ebp - 0x38] */ 2283 PUSH32(esp, eax); /* 0x2514688D: push eax */ 2284 RECOMP_ICALL(0x25137EECu); /* 0x2514688E: call 0x25137eec */ /* not lifted */ 2285 RECOMP_FLAGS_IN(); 2286 ecx = POP32_VAL(esp); /* 0x25146893: pop ecx */ 2287 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25146894: ret */ 2288 RECOMP_REGS_OUT(); 2289 } 2290 2291 void sub_25146895(void) { 2292 int _fpu_cmp = 0; 2293 uint32_t _cf = 0; 2294 int _df = 1; 2295 uint32_t _flag_k = FK_NONE; 2296 uint32_t _flag_a = 0, _flag_b = 0; 2297 uint32_t _itail_tgt = 0; 2298 RECOMP_REGS_LOCALS 2299 RECOMP_ENTER(0x25146895u); 2300 2301 L_25146895: 2302 eax = MEM32(ebp + 0x8); /* 0x25146895: mov eax, dword ptr [ebp + 8] */ 2303 PUSH32(esp, eax); /* 0x25146898: push eax */ 2304 RECOMP_ICALL(0x25137EECu); /* 0x25146899: call 0x25137eec */ /* not lifted */ 2305 RECOMP_FLAGS_IN(); 2306 ecx = POP32_VAL(esp); /* 0x2514689E: pop ecx */ 2307 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2514689F: ret */ 2308 RECOMP_REGS_OUT(); 2309 } 2310 2311 void sub_251468A0(void) { 2312 int _fpu_cmp = 0; 2313 uint32_t _cf = 0; 2314 int _df = 1; 2315 uint32_t _flag_k = FK_NONE; 2316 uint32_t _flag_a = 0, _flag_b = 0; 2317 uint32_t _itail_tgt = 0; 2318 RECOMP_REGS_LOCALS 2319 RECOMP_ENTER(0x251468A0u); 2320 2321 L_251468A0: 2322 eax = MEM32(ebp + 0x8); /* 0x251468A0: mov eax, dword ptr [ebp + 8] */ 2323 PUSH32(esp, eax); /* 0x251468A3: push eax */ 2324 RECOMP_ICALL(0x25137EECu); /* 0x251468A4: call 0x25137eec */ /* not lifted */ 2325 RECOMP_FLAGS_IN(); 2326 ecx = POP32_VAL(esp); /* 0x251468A9: pop ecx */ 2327 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251468AA: ret */ 2328 RECOMP_REGS_OUT(); 2329 } 2330 2331 void sub_251468AB(void) { 2332 int _fpu_cmp = 0; 2333 uint32_t _cf = 0; 2334 int _df = 1; 2335 uint32_t _flag_k = FK_NONE; 2336 uint32_t _flag_a = 0, _flag_b = 0; 2337 uint32_t _itail_tgt = 0; 2338 RECOMP_REGS_LOCALS 2339 RECOMP_ENTER(0x251468ABu); 2340 2341 L_251468AB: 2342 eax = MEM32(ebp + (-0x38)); /* 0x251468AB: mov eax, dword ptr [ebp - 0x38] */ 2343 PUSH32(esp, eax); /* 0x251468AE: push eax */ 2344 RECOMP_ICALL(0x25137EECu); /* 0x251468AF: call 0x25137eec */ /* not lifted */ 2345 RECOMP_FLAGS_IN(); 2346 ecx = POP32_VAL(esp); /* 0x251468B4: pop ecx */ 2347 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251468B5: ret */ 2348 RECOMP_REGS_OUT(); 2349 } 2350 2351 void sub_251468B6(void) { 2352 int _fpu_cmp = 0; 2353 uint32_t _cf = 0; 2354 int _df = 1; 2355 uint32_t _flag_k = FK_NONE; 2356 uint32_t _flag_a = 0, _flag_b = 0; 2357 uint32_t _itail_tgt = 0; 2358 RECOMP_REGS_LOCALS 2359 RECOMP_ENTER(0x251468B6u); 2360 2361 L_251468B6: 2362 eax = MEM32(ebp + 0x8); /* 0x251468B6: mov eax, dword ptr [ebp + 8] */ 2363 PUSH32(esp, eax); /* 0x251468B9: push eax */ 2364 RECOMP_ICALL(0x25137EECu); /* 0x251468BA: call 0x25137eec */ /* not lifted */ 2365 RECOMP_FLAGS_IN(); 2366 ecx = POP32_VAL(esp); /* 0x251468BF: pop ecx */ 2367 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251468C0: ret */ 2368 RECOMP_REGS_OUT(); 2369 } 2370 2371 void sub_251468C1(void) { 2372 int _fpu_cmp = 0; 2373 uint32_t _cf = 0; 2374 int _df = 1; 2375 uint32_t _flag_k = FK_NONE; 2376 uint32_t _flag_a = 0, _flag_b = 0; 2377 uint32_t _itail_tgt = 0; 2378 RECOMP_REGS_LOCALS 2379 RECOMP_ENTER(0x251468C1u); 2380 2381 goto L_251468C1; 2382 L_251380C4: 2383 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2384 L_251468C1: 2385 eax = 0x25166CC8u; /* 0x251468C1: mov eax, 0x25166cc8 */ 2386 L_251468C6: 2387 RECOMP_BACKEDGE(); 2388 goto L_251380C4; /* 0x251468C6: jmp 0x251380c4 */ 2389 { RECOMP_REGS_OUT(); return; } /* end of function */ 2390 _ljump: 2391 switch (_itail_tgt) { 2392 case 0x251380C4u: goto L_251380C4; 2393 case 0x251468C1u: goto L_251468C1; 2394 case 0x251468C6u: goto L_251468C6; 2395 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2396 } 2397 RECOMP_REGS_OUT(); 2398 } 2399 2400 void sub_251468D0(void) { 2401 int _fpu_cmp = 0; 2402 uint32_t _cf = 0; 2403 int _df = 1; 2404 uint32_t _flag_k = FK_NONE; 2405 uint32_t _flag_a = 0, _flag_b = 0; 2406 uint32_t _itail_tgt = 0; 2407 RECOMP_REGS_LOCALS 2408 RECOMP_ENTER(0x251468D0u); 2409 2410 L_251468D0: 2411 PUSH32(esp, 0x25047050u); /* 0x251468D0: push 0x25047050 */ 2412 PUSH32(esp, 2); /* 0x251468D5: push 2 */ 2413 PUSH32(esp, 8); /* 0x251468D7: push 8 */ 2414 eax = MEM32(ebp + (-0x10)); /* 0x251468D9: mov eax, dword ptr [ebp - 0x10] */ 2415 PUSH32(esp, eax); /* 0x251468DC: push eax */ 2416 RECOMP_ICALL(0x25137F92u); /* 0x251468DD: call 0x25137f92 */ /* not lifted */ 2417 RECOMP_FLAGS_IN(); 2418 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x251468E2: ret */ 2419 RECOMP_REGS_OUT(); 2420 } 2421 2422 void sub_251468E3(void) { 2423 int _fpu_cmp = 0; 2424 uint32_t _cf = 0; 2425 int _df = 1; 2426 uint32_t _flag_k = FK_NONE; 2427 uint32_t _flag_a = 0, _flag_b = 0; 2428 uint32_t _itail_tgt = 0; 2429 RECOMP_REGS_LOCALS 2430 RECOMP_ENTER(0x251468E3u); 2431 2432 goto L_251468E3; 2433 L_251380C4: 2434 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2435 L_251468E3: 2436 eax = 0x25166DB0u; /* 0x251468E3: mov eax, 0x25166db0 */ 2437 L_251468E8: 2438 RECOMP_BACKEDGE(); 2439 goto L_251380C4; /* 0x251468E8: jmp 0x251380c4 */ 2440 { RECOMP_REGS_OUT(); return; } /* end of function */ 2441 _ljump: 2442 switch (_itail_tgt) { 2443 case 0x251380C4u: goto L_251380C4; 2444 case 0x251468E3u: goto L_251468E3; 2445 case 0x251468E8u: goto L_251468E8; 2446 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2447 } 2448 RECOMP_REGS_OUT(); 2449 } 2450 2451 void sub_251468F0(void) { 2452 int _fpu_cmp = 0; 2453 uint32_t _cf = 0; 2454 int _df = 1; 2455 uint32_t _flag_k = FK_NONE; 2456 uint32_t _flag_a = 0, _flag_b = 0; 2457 uint32_t _itail_tgt = 0; 2458 RECOMP_REGS_LOCALS 2459 RECOMP_ENTER(0x251468F0u); 2460 2461 L_251468F0: 2462 PUSH32(esp, 0x25047050u); /* 0x251468F0: push 0x25047050 */ 2463 PUSH32(esp, 2); /* 0x251468F5: push 2 */ 2464 PUSH32(esp, 8); /* 0x251468F7: push 8 */ 2465 eax = MEM32(ebp + (-0x10)); /* 0x251468F9: mov eax, dword ptr [ebp - 0x10] */ 2466 PUSH32(esp, eax); /* 0x251468FC: push eax */ 2467 RECOMP_ICALL(0x25137F92u); /* 0x251468FD: call 0x25137f92 */ /* not lifted */ 2468 RECOMP_FLAGS_IN(); 2469 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25146902: ret */ 2470 RECOMP_REGS_OUT(); 2471 } 2472 2473 void sub_25146903(void) { 2474 int _fpu_cmp = 0; 2475 uint32_t _cf = 0; 2476 int _df = 1; 2477 uint32_t _flag_k = FK_NONE; 2478 uint32_t _flag_a = 0, _flag_b = 0; 2479 uint32_t _itail_tgt = 0; 2480 RECOMP_REGS_LOCALS 2481 RECOMP_ENTER(0x25146903u); 2482 2483 goto L_25146903; 2484 L_25050AC0: 2485 goto L_25050AD0; /* 0x25050AC0: jmp 0x25050ad0 */ 2486 L_25050AD0: 2487 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2488 eax = 0; /* 0x25050AD0: xor eax, eax */ 2489 _cf = 0; 2490 _flag_k = FK_TEST; 2491 MEM32(ecx + 0x20) = eax; /* 0x25050AD2: mov dword ptr [ecx + 0x20], eax */ 2492 MEM32(ecx + 0x1C) = eax; /* 0x25050AD5: mov dword ptr [ecx + 0x1c], eax */ 2493 MEM32(ecx + 0x28) = eax; /* 0x25050AD8: mov dword ptr [ecx + 0x28], eax */ 2494 MEM32(ecx + 0x24) = eax; /* 0x25050ADB: mov dword ptr [ecx + 0x24], eax */ 2495 MEM32(ecx + 0xC) = eax; /* 0x25050ADE: mov dword ptr [ecx + 0xc], eax */ 2496 MEM32(ecx + 0x14) = eax; /* 0x25050AE1: mov dword ptr [ecx + 0x14], eax */ 2497 MEM32(ecx + 0x10) = eax; /* 0x25050AE4: mov dword ptr [ecx + 0x10], eax */ 2498 MEM32(ecx + 0x18) = eax; /* 0x25050AE7: mov dword ptr [ecx + 0x18], eax */ 2499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25050AEA: ret */ 2500 L_25146903: 2501 ecx = MEM32(ebp + (-0x10)); /* 0x25146903: mov ecx, dword ptr [ebp - 0x10] */ 2502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 2503 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2504 ecx = ecx + 0x18u; /* 0x25146906: add ecx, 0x18 */ 2505 _flag_k = FK_ADD; 2506 RECOMP_BACKEDGE(); 2507 goto L_25050AC0; /* 0x25146909: jmp 0x25050ac0 */ 2508 { RECOMP_REGS_OUT(); return; } /* end of function */ 2509 RECOMP_REGS_OUT(); 2510 } 2511 2512 void sub_2514690E(void) { 2513 int _fpu_cmp = 0; 2514 uint32_t _cf = 0; 2515 int _df = 1; 2516 uint32_t _flag_k = FK_NONE; 2517 uint32_t _flag_a = 0, _flag_b = 0; 2518 uint32_t _itail_tgt = 0; 2519 RECOMP_REGS_LOCALS 2520 RECOMP_ENTER(0x2514690Eu); 2521 2522 goto L_2514690E; 2523 L_251380C4: 2524 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 2525 L_2514690E: 2526 eax = 0x25166DD8u; /* 0x2514690E: mov eax, 0x25166dd8 */ 2527 L_25146913: 2528 RECOMP_BACKEDGE(); 2529 goto L_251380C4; /* 0x25146913: jmp 0x251380c4 */ 2530 { RECOMP_REGS_OUT(); return; } /* end of function */ 2531 _ljump: 2532 switch (_itail_tgt) { 2533 case 0x251380C4u: goto L_251380C4; 2534 case 0x2514690Eu: goto L_2514690E; 2535 case 0x25146913u: goto L_25146913; 2536 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2537 } 2538 RECOMP_REGS_OUT(); 2539 } 2540 2541 void sub_25146920(void) { 2542 int _fpu_cmp = 0; 2543 uint32_t _cf = 0; 2544 int _df = 1; 2545 uint32_t _flag_k = FK_NONE; 2546 uint32_t _flag_a = 0, _flag_b = 0; 2547 uint32_t _itail_tgt = 0; 2548 RECOMP_REGS_LOCALS 2549 RECOMP_ENTER(0x25146920u); 2550 2551 L_25146920: 2552 ecx = ebp + (-0x84); /* 0x25146920: lea ecx, [ebp - 0x84] */ 2553 goto L_25009BC0; /* 0x25146926: jmp 0x25009bc0 */ 2554 { RECOMP_REGS_OUT(); return; } /* end of function */ 2555 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2556 RECOMP_REGS_OUT(); 2557 } 2558 2559 void sub_2514692B(void) { 2560 int _fpu_cmp = 0; 2561 uint32_t _cf = 0; 2562 int _df = 1; 2563 uint32_t _flag_k = FK_NONE; 2564 uint32_t _flag_a = 0, _flag_b = 0; 2565 uint32_t _itail_tgt = 0; 2566 RECOMP_REGS_LOCALS 2567 RECOMP_ENTER(0x2514692Bu); 2568 2569 L_2514692B: 2570 ecx = ebp + (-0x90); /* 0x2514692B: lea ecx, [ebp - 0x90] */ 2571 goto L_25009BC0; /* 0x25146931: jmp 0x25009bc0 */ 2572 { RECOMP_REGS_OUT(); return; } /* end of function */ 2573 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2574 RECOMP_REGS_OUT(); 2575 } 2576 2577 void sub_25146936(void) { 2578 int _fpu_cmp = 0; 2579 uint32_t _cf = 0; 2580 int _df = 1; 2581 uint32_t _flag_k = FK_NONE; 2582 uint32_t _flag_a = 0, _flag_b = 0; 2583 uint32_t _itail_tgt = 0; 2584 RECOMP_REGS_LOCALS 2585 RECOMP_ENTER(0x25146936u); 2586 2587 L_25146936: 2588 ecx = ebp + (-0x9C); /* 0x25146936: lea ecx, [ebp - 0x9c] */ 2589 goto L_25009BC0; /* 0x2514693C: jmp 0x25009bc0 */ 2590 { RECOMP_REGS_OUT(); return; } /* end of function */ 2591 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2592 RECOMP_REGS_OUT(); 2593 } 2594 2595 void sub_25146941(void) { 2596 int _fpu_cmp = 0; 2597 uint32_t _cf = 0; 2598 int _df = 1; 2599 uint32_t _flag_k = FK_NONE; 2600 uint32_t _flag_a = 0, _flag_b = 0; 2601 uint32_t _itail_tgt = 0; 2602 RECOMP_REGS_LOCALS 2603 RECOMP_ENTER(0x25146941u); 2604 2605 L_25146941: 2606 ecx = ebp + (-0x78); /* 0x25146941: lea ecx, [ebp - 0x78] */ 2607 goto L_25009BC0; /* 0x25146944: jmp 0x25009bc0 */ 2608 { RECOMP_REGS_OUT(); return; } /* end of function */ 2609 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2610 RECOMP_REGS_OUT(); 2611 } 2612 2613 void sub_25146949(void) { 2614 int _fpu_cmp = 0; 2615 uint32_t _cf = 0; 2616 int _df = 1; 2617 uint32_t _flag_k = FK_NONE; 2618 uint32_t _flag_a = 0, _flag_b = 0; 2619 uint32_t _itail_tgt = 0; 2620 RECOMP_REGS_LOCALS 2621 RECOMP_ENTER(0x25146949u); 2622 2623 L_25146949: 2624 ecx = ebp + (-0xBC); /* 0x25146949: lea ecx, [ebp - 0xbc] */ 2625 goto L_25009BF0; /* 0x2514694F: jmp 0x25009bf0 */ 2626 { RECOMP_REGS_OUT(); return; } /* end of function */ 2627 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2628 RECOMP_REGS_OUT(); 2629 } 2630 2631 void sub_25146954(void) { 2632 int _fpu_cmp = 0; 2633 uint32_t _cf = 0; 2634 int _df = 1; 2635 uint32_t _flag_k = FK_NONE; 2636 uint32_t _flag_a = 0, _flag_b = 0; 2637 uint32_t _itail_tgt = 0; 2638 RECOMP_REGS_LOCALS 2639 RECOMP_ENTER(0x25146954u); 2640 2641 L_25146954: 2642 ecx = ebp + (-0xEC); /* 0x25146954: lea ecx, [ebp - 0xec] */ 2643 goto L_25009BF0; /* 0x2514695A: jmp 0x25009bf0 */ 2644 { RECOMP_REGS_OUT(); return; } /* end of function */ 2645 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2646 RECOMP_REGS_OUT(); 2647 } 2648 2649 void sub_2514695F(void) { 2650 int _fpu_cmp = 0; 2651 uint32_t _cf = 0; 2652 int _df = 1; 2653 uint32_t _flag_k = FK_NONE; 2654 uint32_t _flag_a = 0, _flag_b = 0; 2655 uint32_t _itail_tgt = 0; 2656 RECOMP_REGS_LOCALS 2657 RECOMP_ENTER(0x2514695Fu); 2658 2659 L_2514695F: 2660 ecx = ebp + (-0xFC); /* 0x2514695F: lea ecx, [ebp - 0xfc] */ 2661 goto L_25009BF0; /* 0x25146965: jmp 0x25009bf0 */ 2662 { RECOMP_REGS_OUT(); return; } /* end of function */ 2663 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2664 RECOMP_REGS_OUT(); 2665 } 2666 2667 void sub_2514696A(void) { 2668 int _fpu_cmp = 0; 2669 uint32_t _cf = 0; 2670 int _df = 1; 2671 uint32_t _flag_k = FK_NONE; 2672 uint32_t _flag_a = 0, _flag_b = 0; 2673 uint32_t _itail_tgt = 0; 2674 RECOMP_REGS_LOCALS 2675 RECOMP_ENTER(0x2514696Au); 2676 2677 L_2514696A: 2678 ecx = ebp + (-0xDC); /* 0x2514696A: lea ecx, [ebp - 0xdc] */ 2679 goto L_25009BF0; /* 0x25146970: jmp 0x25009bf0 */ 2680 { RECOMP_REGS_OUT(); return; } /* end of function */ 2681 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2682 RECOMP_REGS_OUT(); 2683 } 2684 2685 void sub_25146975(void) { 2686 int _fpu_cmp = 0; 2687 uint32_t _cf = 0; 2688 int _df = 1; 2689 uint32_t _flag_k = FK_NONE; 2690 uint32_t _flag_a = 0, _flag_b = 0; 2691 uint32_t _itail_tgt = 0; 2692 RECOMP_REGS_LOCALS 2693 RECOMP_ENTER(0x25146975u); 2694 2695 L_25146975: 2696 ecx = ebp + (-0xCC); /* 0x25146975: lea ecx, [ebp - 0xcc] */ 2697 goto L_25009BF0; /* 0x2514697B: jmp 0x25009bf0 */ 2698 { RECOMP_REGS_OUT(); return; } /* end of function */ 2699 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2700 RECOMP_REGS_OUT(); 2701 } 2702 2703 void sub_25146980(void) { 2704 int _fpu_cmp = 0; 2705 uint32_t _cf = 0; 2706 int _df = 1; 2707 uint32_t _flag_k = FK_NONE; 2708 uint32_t _flag_a = 0, _flag_b = 0; 2709 uint32_t _itail_tgt = 0; 2710 RECOMP_REGS_LOCALS 2711 RECOMP_ENTER(0x25146980u); 2712 2713 L_25146980: 2714 ecx = ebp + (-0xAC); /* 0x25146980: lea ecx, [ebp - 0xac] */ 2715 goto L_25009BF0; /* 0x25146986: jmp 0x25009bf0 */ 2716 { RECOMP_REGS_OUT(); return; } /* end of function */ 2717 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2718 RECOMP_REGS_OUT(); 2719 } 2720 2721 void sub_2514698B(void) { 2722 int _fpu_cmp = 0; 2723 uint32_t _cf = 0; 2724 int _df = 1; 2725 uint32_t _flag_k = FK_NONE; 2726 uint32_t _flag_a = 0, _flag_b = 0; 2727 uint32_t _itail_tgt = 0; 2728 RECOMP_REGS_LOCALS 2729 RECOMP_ENTER(0x2514698Bu); 2730 2731 L_2514698B: 2732 ecx = ebp + (-0x108); /* 0x2514698B: lea ecx, [ebp - 0x108] */ 2733 goto L_25009BC0; /* 0x25146991: jmp 0x25009bc0 */ 2734 { RECOMP_REGS_OUT(); return; } /* end of function */ 2735 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2736 RECOMP_REGS_OUT(); 2737 } 2738 2739 void sub_25146996(void) { 2740 int _fpu_cmp = 0; 2741 uint32_t _cf = 0; 2742 int _df = 1; 2743 uint32_t _flag_k = FK_NONE; 2744 uint32_t _flag_a = 0, _flag_b = 0; 2745 uint32_t _itail_tgt = 0; 2746 RECOMP_REGS_LOCALS 2747 RECOMP_ENTER(0x25146996u); 2748 2749 L_25146996: 2750 ecx = ebp + (-0x164); /* 0x25146996: lea ecx, [ebp - 0x164] */ 2751 L_2514699C: 2752 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2753 { RECOMP_REGS_OUT(); return; } /* end of function */ 2754 _ljump: 2755 switch (_itail_tgt) { 2756 case 0x25146996u: goto L_25146996; 2757 case 0x2514699Cu: goto L_2514699C; 2758 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2759 } 2760 RECOMP_REGS_OUT(); 2761 } 2762 2763 void sub_251469A2(void) { 2764 int _fpu_cmp = 0; 2765 uint32_t _cf = 0; 2766 int _df = 1; 2767 uint32_t _flag_k = FK_NONE; 2768 uint32_t _flag_a = 0, _flag_b = 0; 2769 uint32_t _itail_tgt = 0; 2770 RECOMP_REGS_LOCALS 2771 RECOMP_ENTER(0x251469A2u); 2772 2773 L_251469A2: 2774 ecx = ebp + (-0x1D4); /* 0x251469A2: lea ecx, [ebp - 0x1d4] */ 2775 L_251469A8: 2776 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2777 { RECOMP_REGS_OUT(); return; } /* end of function */ 2778 _ljump: 2779 switch (_itail_tgt) { 2780 case 0x251469A2u: goto L_251469A2; 2781 case 0x251469A8u: goto L_251469A8; 2782 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2783 } 2784 RECOMP_REGS_OUT(); 2785 } 2786 2787 void sub_251469AE(void) { 2788 int _fpu_cmp = 0; 2789 uint32_t _cf = 0; 2790 int _df = 1; 2791 uint32_t _flag_k = FK_NONE; 2792 uint32_t _flag_a = 0, _flag_b = 0; 2793 uint32_t _itail_tgt = 0; 2794 RECOMP_REGS_LOCALS 2795 RECOMP_ENTER(0x251469AEu); 2796 2797 L_251469AE: 2798 ecx = ebp + (-0x6C); /* 0x251469AE: lea ecx, [ebp - 0x6c] */ 2799 L_251469B1: 2800 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2801 { RECOMP_REGS_OUT(); return; } /* end of function */ 2802 _ljump: 2803 switch (_itail_tgt) { 2804 case 0x251469AEu: goto L_251469AE; 2805 case 0x251469B1u: goto L_251469B1; 2806 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2807 } 2808 RECOMP_REGS_OUT(); 2809 } 2810 2811 void sub_251469B7(void) { 2812 int _fpu_cmp = 0; 2813 uint32_t _cf = 0; 2814 int _df = 1; 2815 uint32_t _flag_k = FK_NONE; 2816 uint32_t _flag_a = 0, _flag_b = 0; 2817 uint32_t _itail_tgt = 0; 2818 RECOMP_REGS_LOCALS 2819 RECOMP_ENTER(0x251469B7u); 2820 2821 L_251469B7: 2822 ecx = ebp + (-0x6C); /* 0x251469B7: lea ecx, [ebp - 0x6c] */ 2823 L_251469BA: 2824 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2825 { RECOMP_REGS_OUT(); return; } /* end of function */ 2826 _ljump: 2827 switch (_itail_tgt) { 2828 case 0x251469B7u: goto L_251469B7; 2829 case 0x251469BAu: goto L_251469BA; 2830 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2831 } 2832 RECOMP_REGS_OUT(); 2833 } 2834 2835 void sub_251469C0(void) { 2836 int _fpu_cmp = 0; 2837 uint32_t _cf = 0; 2838 int _df = 1; 2839 uint32_t _flag_k = FK_NONE; 2840 uint32_t _flag_a = 0, _flag_b = 0; 2841 uint32_t _itail_tgt = 0; 2842 RECOMP_REGS_LOCALS 2843 RECOMP_ENTER(0x251469C0u); 2844 2845 L_251469C0: 2846 ecx = ebp + (-0x1D4); /* 0x251469C0: lea ecx, [ebp - 0x1d4] */ 2847 L_251469C6: 2848 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2849 { RECOMP_REGS_OUT(); return; } /* end of function */ 2850 _ljump: 2851 switch (_itail_tgt) { 2852 case 0x251469C0u: goto L_251469C0; 2853 case 0x251469C6u: goto L_251469C6; 2854 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2855 } 2856 RECOMP_REGS_OUT(); 2857 } 2858 2859 void sub_251469CC(void) { 2860 int _fpu_cmp = 0; 2861 uint32_t _cf = 0; 2862 int _df = 1; 2863 uint32_t _flag_k = FK_NONE; 2864 uint32_t _flag_a = 0, _flag_b = 0; 2865 uint32_t _itail_tgt = 0; 2866 RECOMP_REGS_LOCALS 2867 RECOMP_ENTER(0x251469CCu); 2868 2869 L_251469CC: 2870 ecx = ebp + (-0x6C); /* 0x251469CC: lea ecx, [ebp - 0x6c] */ 2871 L_251469CF: 2872 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2873 { RECOMP_REGS_OUT(); return; } /* end of function */ 2874 _ljump: 2875 switch (_itail_tgt) { 2876 case 0x251469CCu: goto L_251469CC; 2877 case 0x251469CFu: goto L_251469CF; 2878 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2879 } 2880 RECOMP_REGS_OUT(); 2881 } 2882 2883 void sub_251469D5(void) { 2884 int _fpu_cmp = 0; 2885 uint32_t _cf = 0; 2886 int _df = 1; 2887 uint32_t _flag_k = FK_NONE; 2888 uint32_t _flag_a = 0, _flag_b = 0; 2889 uint32_t _itail_tgt = 0; 2890 RECOMP_REGS_LOCALS 2891 RECOMP_ENTER(0x251469D5u); 2892 2893 L_251469D5: 2894 ecx = ebp + (-0x164); /* 0x251469D5: lea ecx, [ebp - 0x164] */ 2895 L_251469DB: 2896 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2897 { RECOMP_REGS_OUT(); return; } /* end of function */ 2898 _ljump: 2899 switch (_itail_tgt) { 2900 case 0x251469D5u: goto L_251469D5; 2901 case 0x251469DBu: goto L_251469DB; 2902 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2903 } 2904 RECOMP_REGS_OUT(); 2905 } 2906 2907 void sub_251469E1(void) { 2908 int _fpu_cmp = 0; 2909 uint32_t _cf = 0; 2910 int _df = 1; 2911 uint32_t _flag_k = FK_NONE; 2912 uint32_t _flag_a = 0, _flag_b = 0; 2913 uint32_t _itail_tgt = 0; 2914 RECOMP_REGS_LOCALS 2915 RECOMP_ENTER(0x251469E1u); 2916 2917 L_251469E1: 2918 ecx = ebp + (-0x1D4); /* 0x251469E1: lea ecx, [ebp - 0x1d4] */ 2919 L_251469E7: 2920 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2921 { RECOMP_REGS_OUT(); return; } /* end of function */ 2922 _ljump: 2923 switch (_itail_tgt) { 2924 case 0x251469E1u: goto L_251469E1; 2925 case 0x251469E7u: goto L_251469E7; 2926 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2927 } 2928 RECOMP_REGS_OUT(); 2929 } 2930 2931 void sub_251469ED(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(0x251469EDu); 2940 2941 L_251469ED: 2942 ecx = ebp + (-0x108); /* 0x251469ED: lea ecx, [ebp - 0x108] */ 2943 goto L_25009BC0; /* 0x251469F3: jmp 0x25009bc0 */ 2944 { RECOMP_REGS_OUT(); return; } /* end of function */ 2945 L_25009BC0: RECOMP_ITAIL(0x25009BC0u); { RECOMP_REGS_OUT(); return; } 2946 RECOMP_REGS_OUT(); 2947 } 2948 2949 void sub_251469F8(void) { 2950 int _fpu_cmp = 0; 2951 uint32_t _cf = 0; 2952 int _df = 1; 2953 uint32_t _flag_k = FK_NONE; 2954 uint32_t _flag_a = 0, _flag_b = 0; 2955 uint32_t _itail_tgt = 0; 2956 RECOMP_REGS_LOCALS 2957 RECOMP_ENTER(0x251469F8u); 2958 2959 L_251469F8: 2960 ecx = ebp + (-0x6C); /* 0x251469F8: lea ecx, [ebp - 0x6c] */ 2961 L_251469FB: 2962 { _itail_tgt = (uint32_t)(MEM32(0x25151504)); goto _ljump; } 2963 { RECOMP_REGS_OUT(); return; } /* end of function */ 2964 _ljump: 2965 switch (_itail_tgt) { 2966 case 0x251469F8u: goto L_251469F8; 2967 case 0x251469FBu: goto L_251469FB; 2968 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2969 } 2970 RECOMP_REGS_OUT(); 2971 } 2972 2973 void sub_25146A01(void) { 2974 int _fpu_cmp = 0; 2975 uint32_t _cf = 0; 2976 int _df = 1; 2977 uint32_t _flag_k = FK_NONE; 2978 uint32_t _flag_a = 0, _flag_b = 0; 2979 uint32_t _itail_tgt = 0; 2980 RECOMP_REGS_LOCALS 2981 RECOMP_ENTER(0x25146A01u); 2982 2983 L_25146A01: 2984 ecx = ebp + (-0x174); /* 0x25146A01: lea ecx, [ebp - 0x174] */ 2985 goto L_25009BF0; /* 0x25146A07: jmp 0x25009bf0 */ 2986 { RECOMP_REGS_OUT(); return; } /* end of function */ 2987 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 2988 RECOMP_REGS_OUT(); 2989 } 2990 2991 void sub_25146A0C(void) { 2992 int _fpu_cmp = 0; 2993 uint32_t _cf = 0; 2994 int _df = 1; 2995 uint32_t _flag_k = FK_NONE; 2996 uint32_t _flag_a = 0, _flag_b = 0; 2997 uint32_t _itail_tgt = 0; 2998 RECOMP_REGS_LOCALS 2999 RECOMP_ENTER(0x25146A0Cu); 3000 3001 L_25146A0C: 3002 ecx = ebp + (-0x194); /* 0x25146A0C: lea ecx, [ebp - 0x194] */ 3003 goto L_25009BF0; /* 0x25146A12: jmp 0x25009bf0 */ 3004 { RECOMP_REGS_OUT(); return; } /* end of function */ 3005 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3006 RECOMP_REGS_OUT(); 3007 } 3008 3009 void sub_25146A17(void) { 3010 int _fpu_cmp = 0; 3011 uint32_t _cf = 0; 3012 int _df = 1; 3013 uint32_t _flag_k = FK_NONE; 3014 uint32_t _flag_a = 0, _flag_b = 0; 3015 uint32_t _itail_tgt = 0; 3016 RECOMP_REGS_LOCALS 3017 RECOMP_ENTER(0x25146A17u); 3018 3019 L_25146A17: 3020 ecx = ebp + (-0x184); /* 0x25146A17: lea ecx, [ebp - 0x184] */ 3021 goto L_25009BF0; /* 0x25146A1D: jmp 0x25009bf0 */ 3022 { RECOMP_REGS_OUT(); return; } /* end of function */ 3023 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3024 RECOMP_REGS_OUT(); 3025 } 3026 3027 void sub_25146A22(void) { 3028 int _fpu_cmp = 0; 3029 uint32_t _cf = 0; 3030 int _df = 1; 3031 uint32_t _flag_k = FK_NONE; 3032 uint32_t _flag_a = 0, _flag_b = 0; 3033 uint32_t _itail_tgt = 0; 3034 RECOMP_REGS_LOCALS 3035 RECOMP_ENTER(0x25146A22u); 3036 3037 L_25146A22: 3038 ecx = ebp + (-0x10C); /* 0x25146A22: lea ecx, [ebp - 0x10c] */ 3039 goto L_25009BF0; /* 0x25146A28: jmp 0x25009bf0 */ 3040 { RECOMP_REGS_OUT(); return; } /* end of function */ 3041 L_25009BF0: RECOMP_ITAIL(0x25009BF0u); { RECOMP_REGS_OUT(); return; } 3042 RECOMP_REGS_OUT(); 3043 } 3044 3045 void sub_25146A2D(void) { 3046 int _fpu_cmp = 0; 3047 uint32_t _cf = 0; 3048 int _df = 1; 3049 uint32_t _flag_k = FK_NONE; 3050 uint32_t _flag_a = 0, _flag_b = 0; 3051 uint32_t _itail_tgt = 0; 3052 RECOMP_REGS_LOCALS 3053 RECOMP_ENTER(0x25146A2Du); 3054 3055 goto L_25146A2D; 3056 L_251380C4: 3057 { _itail_tgt = (uint32_t)(MEM32(0x25151244)); goto _ljump; } 3058 L_25146A2D: 3059 eax = 0x25166E08u; /* 0x25146A2D: mov eax, 0x25166e08 */ 3060 L_25146A32: 3061 RECOMP_BACKEDGE(); 3062 goto L_251380C4; /* 0x25146A32: jmp 0x251380c4 */ 3063 { RECOMP_REGS_OUT(); return; } /* end of function */ 3064 _ljump: 3065 switch (_itail_tgt) { 3066 case 0x251380C4u: goto L_251380C4; 3067 case 0x25146A2Du: goto L_25146A2D; 3068 case 0x25146A32u: goto L_25146A32; 3069 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3070 } 3071 RECOMP_REGS_OUT(); 3072 } 3073 3074 void sub_25146A40(void) { 3075 int _fpu_cmp = 0; 3076 uint32_t _cf = 0; 3077 int _df = 1; 3078 uint32_t _flag_k = FK_NONE; 3079 uint32_t _flag_a = 0, _flag_b = 0; 3080 uint32_t _itail_tgt = 0; 3081 RECOMP_REGS_LOCALS 3082 RECOMP_ENTER(0x25146A40u); 3083 3084 goto L_25146A40; 3085 L_250DB0B0: 3086 PUSH32(esp, ebp); /* 0x250DB0B0: push ebp */ 3087 ebp = esp; /* 0x250DB0B1: mov ebp, esp */ 3088 PUSH32(esp, 0xFFFFFFFFu); /* 0x250DB0B3: push -1 */ 3089 PUSH32(esp, 0x2514AD21u); /* 0x250DB0B5: push 0x2514ad21 */ 3090 eax = MEM32(FS_BASE + (0)); /* 0x250DB0BA: mov eax, dword ptr fs:[0] */ 3091 PUSH32(esp, eax); /* 0x250DB0C0: push eax */ 3092 MEM32(FS_BASE + (0)) = esp; /* 0x250DB0C1: mov dword ptr fs:[0], esp */ 3093 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3095 esp = esp - 0x14u; /* 0x250DB0C8: sub esp, 0x14 */ 3096 _flag_k = FK_CMP; 3097 PUSH32(esp, ebx); /* 0x250DB0CB: push ebx */ 3098 PUSH32(esp, esi); /* 0x250DB0CC: push esi */ 3099 PUSH32(esp, edi); /* 0x250DB0CD: push edi */ 3100 edi = ecx; /* 0x250DB0CE: mov edi, ecx */ 3101 esi = edi + 0x150; /* 0x250DB0D0: lea esi, [edi + 0x150] */ 3102 MEM32(ebp + (-0x18)) = edi; /* 0x250DB0D6: mov dword ptr [ebp - 0x18], edi */ 3103 MEM32(edi) = 0x25158310u; /* 0x250DB0D9: mov dword ptr [edi], 0x25158310 */ 3104 MEM32(edi + 0x8) = 0x25158300u; /* 0x250DB0DF: mov dword ptr [edi + 8], 0x25158300 */ 3105 MEM32(edi + 0x20) = 0x251582F0u; /* 0x250DB0E6: mov dword ptr [edi + 0x20], 0x251582f0 */ 3106 MEM32(edi + 0x38) = 0x251582E0u; /* 0x250DB0ED: mov dword ptr [edi + 0x38], 0x251582e0 */ 3107 MEM32(edi + 0x50) = 0x251582D0u; /* 0x250DB0F4: mov dword ptr [edi + 0x50], 0x251582d0 */ 3108 MEM32(edi + 0x138) = 0x251582C0u; /* 0x250DB0FB: mov dword ptr [edi + 0x138], 0x251582c0 */ 3109 MEM32(esi) = 0x251582B0u; /* 0x250DB105: mov dword ptr [esi], 0x251582b0 */ 3110 ecx = MEM32(edi + 0x168); /* 0x250DB10B: mov ecx, dword ptr [edi + 0x168] */ 3111 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3112 ebx = 0; /* 0x250DB111: xor ebx, ebx */ 3113 _cf = 0; 3114 _flag_k = FK_TEST; 3115 /* cmp ecx, ebx */ /* 0x250DB113: cmp ecx, ebx */ 3116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3118 _flag_k = FK_CMP; 3119 MEM32(ebp + (-0x4)) = 3; /* 0x250DB115: mov dword ptr [ebp - 4], 3 */ 3120 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB123; /* 0x250DB11C: je 0x250db123 */ 3121 L_250DB11E: 3122 RECOMP_ICALL(0x250E6370u); /* 0x250DB11E: call 0x250e6370 */ /* not lifted */ 3123 RECOMP_FLAGS_IN(); 3124 L_250DB123: 3125 eax = MEM32(edi + 0x1BC); /* 0x250DB123: mov eax, dword ptr [edi + 0x1bc] */ 3126 PUSH32(esp, eax); /* 0x250DB129: push eax */ 3127 MEM32(ebp + (-0x14)) = eax; /* 0x250DB12A: mov dword ptr [ebp - 0x14], eax */ 3128 RECOMP_ICALL(0x25137EECu); /* 0x250DB12D: call 0x25137eec */ /* not lifted */ 3129 RECOMP_FLAGS_IN(); 3130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3132 esp = esp + 4; /* 0x250DB132: add esp, 4 */ 3133 _flag_k = FK_ADD; 3134 eax = edi; /* 0x250DB135: mov eax, edi */ 3135 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3136 _cf = (eax) != 0; 3137 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB137: neg eax */ 3138 _flag_k = FK_CMP; 3139 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB139: sbb eax, eax */ 3140 eax = _sc ? 0xFFFFFFFFu : 0; 3141 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3142 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3144 eax = eax & esi; /* 0x250DB13B: and eax, esi */ 3145 _cf = 0; 3146 _flag_k = FK_TEST; 3147 MEM32(edi + 0x1BC) = ebx; /* 0x250DB13D: mov dword ptr [edi + 0x1bc], ebx */ 3148 MEM32(edi + 0x1C0) = ebx; /* 0x250DB143: mov dword ptr [edi + 0x1c0], ebx */ 3149 MEM32(edi + 0x1C4) = ebx; /* 0x250DB149: mov dword ptr [edi + 0x1c4], ebx */ 3150 esi = eax + 0x4; /* 0x250DB14F: lea esi, [eax + 4] */ 3151 MEM32(eax) = 0x25158364u; /* 0x250DB152: mov dword ptr [eax], 0x25158364 */ 3152 eax = MEM32(esi + 0x4); /* 0x250DB158: mov eax, dword ptr [esi + 4] */ 3153 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB15B: cmp dword ptr [esi + 0x10], ebx */ 3154 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3156 _flag_k = FK_CMP; 3157 MEM32(ebp + (-0x10)) = eax; /* 0x250DB15E: mov dword ptr [ebp - 0x10], eax */ 3158 eax = MEM32(eax); /* 0x250DB161: mov eax, dword ptr [eax] */ 3159 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x250DB163: mov byte ptr [ebp - 4], 1 */ 3160 MEM32(ebp + (-0x14)) = eax; /* 0x250DB167: mov dword ptr [ebp - 0x14], eax */ 3161 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB16A: je 0x250db1be */ 3162 L_250DB16C: 3163 eax = ebp + (-0x1C); /* 0x250DB16C: lea eax, [ebp - 0x1c] */ 3164 PUSH32(esp, eax); /* 0x250DB16F: push eax */ 3165 ecx = esi; /* 0x250DB170: mov ecx, esi */ 3166 RECOMP_ICALL(0x25085270u); /* 0x250DB172: call 0x25085270 */ /* not lifted */ 3167 RECOMP_FLAGS_IN(); 3168 ecx = eax; /* 0x250DB177: mov ecx, eax */ 3169 edx = MEM32(ecx); /* 0x250DB179: mov edx, dword ptr [ecx] */ 3170 eax = MEM32(ebp + (-0x14)); /* 0x250DB17B: mov eax, dword ptr [ebp - 0x14] */ 3171 /* cmp eax, edx */ /* 0x250DB17E: cmp eax, edx */ 3172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3174 _flag_k = FK_CMP; 3175 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB180: setne cl */ 3176 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB183: cmp cl, bl */ 3177 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3179 _flag_k = FK_NARROW(FK_CMP, 24); 3180 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB185: jne 0x250db1be */ 3181 L_250DB187: 3182 ecx = MEM32(esi + 0x4); /* 0x250DB187: mov ecx, dword ptr [esi + 4] */ 3183 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB18A: cmp dword ptr [ebp - 0x10], ecx */ 3184 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3186 _flag_k = FK_CMP; 3187 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1BE; /* 0x250DB18D: jne 0x250db1be */ 3188 L_250DB18F: 3189 edx = MEM32(ecx + 0x4); /* 0x250DB18F: mov edx, dword ptr [ecx + 4] */ 3190 PUSH32(esp, edx); /* 0x250DB192: push edx */ 3191 ecx = esi; /* 0x250DB193: mov ecx, esi */ 3192 RECOMP_ICALL(0x25006C00u); /* 0x250DB195: call 0x25006c00 */ /* not lifted */ 3193 RECOMP_FLAGS_IN(); 3194 eax = MEM32(esi + 0x4); /* 0x250DB19A: mov eax, dword ptr [esi + 4] */ 3195 ecx = MEM32(esi + 0x8); /* 0x250DB19D: mov ecx, dword ptr [esi + 8] */ 3196 MEM32(eax + 0x4) = ecx; /* 0x250DB1A0: mov dword ptr [eax + 4], ecx */ 3197 eax = MEM32(esi + 0x4); /* 0x250DB1A3: mov eax, dword ptr [esi + 4] */ 3198 MEM32(esi + 0x10) = ebx; /* 0x250DB1A6: mov dword ptr [esi + 0x10], ebx */ 3199 MEM32(eax) = eax; /* 0x250DB1A9: mov dword ptr [eax], eax */ 3200 eax = MEM32(esi + 0x4); /* 0x250DB1AB: mov eax, dword ptr [esi + 4] */ 3201 edx = ebp + (-0x1C); /* 0x250DB1AE: lea edx, [ebp - 0x1c] */ 3202 PUSH32(esp, edx); /* 0x250DB1B1: push edx */ 3203 ecx = esi; /* 0x250DB1B2: mov ecx, esi */ 3204 MEM32(eax + 0x8) = eax; /* 0x250DB1B4: mov dword ptr [eax + 8], eax */ 3205 RECOMP_ICALL(0x25085270u); /* 0x250DB1B7: call 0x25085270 */ /* not lifted */ 3206 RECOMP_FLAGS_IN(); 3207 goto L_250DB1E6; /* 0x250DB1BC: jmp 0x250db1e6 */ 3208 L_250DB1BE: 3209 /* cmp eax, MEM32(ebp + (-0x10)) */ /* 0x250DB1BE: cmp eax, dword ptr [ebp - 0x10] */ 3210 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x10))); 3211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3212 _flag_k = FK_CMP; 3213 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB1E6; /* 0x250DB1C1: je 0x250db1e6 */ 3214 L_250DB1C3: 3215 PUSH32(esp, ebx); /* 0x250DB1C3: push ebx */ 3216 eax = ebp + (-0x1C); /* 0x250DB1C4: lea eax, [ebp - 0x1c] */ 3217 PUSH32(esp, eax); /* 0x250DB1C7: push eax */ 3218 ecx = ebp + (-0x14); /* 0x250DB1C8: lea ecx, [ebp - 0x14] */ 3219 RECOMP_ICALL(0x250076D0u); /* 0x250DB1CB: call 0x250076d0 */ /* not lifted */ 3220 RECOMP_FLAGS_IN(); 3221 ecx = MEM32(eax); /* 0x250DB1D0: mov ecx, dword ptr [eax] */ 3222 PUSH32(esp, ecx); /* 0x250DB1D2: push ecx */ 3223 edx = ebp + (-0x20); /* 0x250DB1D3: lea edx, [ebp - 0x20] */ 3224 PUSH32(esp, edx); /* 0x250DB1D6: push edx */ 3225 ecx = esi; /* 0x250DB1D7: mov ecx, esi */ 3226 RECOMP_ICALL(0x25006380u); /* 0x250DB1D9: call 0x25006380 */ /* not lifted */ 3227 RECOMP_FLAGS_IN(); 3228 eax = MEM32(ebp + (-0x10)); /* 0x250DB1DE: mov eax, dword ptr [ebp - 0x10] */ 3229 /* cmp MEM32(ebp + (-0x14)), eax */ /* 0x250DB1E1: cmp dword ptr [ebp - 0x14], eax */ 3230 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(eax); 3231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3232 _flag_k = FK_CMP; 3233 RECOMP_BACKEDGE(); 3234 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB1C3; /* 0x250DB1E4: jne 0x250db1c3 */ 3235 L_250DB1E6: 3236 eax = MEM32(esi + 0x4); /* 0x250DB1E6: mov eax, dword ptr [esi + 4] */ 3237 PUSH32(esp, eax); /* 0x250DB1E9: push eax */ 3238 RECOMP_ICALL(0x25137EECu); /* 0x250DB1EA: call 0x25137eec */ /* not lifted */ 3239 RECOMP_FLAGS_IN(); 3240 eax = MEM32(esi + 0x8); /* 0x250DB1EF: mov eax, dword ptr [esi + 8] */ 3241 PUSH32(esp, eax); /* 0x250DB1F2: push eax */ 3242 MEM32(esi + 0x4) = ebx; /* 0x250DB1F3: mov dword ptr [esi + 4], ebx */ 3243 MEM32(esi + 0x10) = ebx; /* 0x250DB1F6: mov dword ptr [esi + 0x10], ebx */ 3244 RECOMP_ICALL(0x25137EECu); /* 0x250DB1F9: call 0x25137eec */ /* not lifted */ 3245 RECOMP_FLAGS_IN(); 3246 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3248 esp = esp + 8; /* 0x250DB1FE: add esp, 8 */ 3249 _flag_k = FK_ADD; 3250 eax = edi; /* 0x250DB201: mov eax, edi */ 3251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3252 _cf = (eax) != 0; 3253 eax = (uint32_t)(-(int32_t)eax); /* 0x250DB203: neg eax */ 3254 _flag_k = FK_CMP; 3255 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x250DB205: sbb eax, eax */ 3256 eax = _sc ? 0xFFFFFFFFu : 0; 3257 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3258 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3259 MEM32(esi + 0x8) = ebx; /* 0x250DB207: mov dword ptr [esi + 8], ebx */ 3260 ecx = edi + 0x138; /* 0x250DB20A: lea ecx, [edi + 0x138] */ 3261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3262 eax = eax & ecx; /* 0x250DB210: and eax, ecx */ 3263 _cf = 0; 3264 _flag_k = FK_TEST; 3265 esi = eax + 0x4; /* 0x250DB212: lea esi, [eax + 4] */ 3266 MEM32(eax) = 0x25158374u; /* 0x250DB215: mov dword ptr [eax], 0x25158374 */ 3267 eax = MEM32(esi + 0x4); /* 0x250DB21B: mov eax, dword ptr [esi + 4] */ 3268 /* cmp MEM32(esi + 0x10), ebx */ /* 0x250DB21E: cmp dword ptr [esi + 0x10], ebx */ 3269 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 3270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3271 _flag_k = FK_CMP; 3272 MEM32(ebp + (-0x14)) = eax; /* 0x250DB221: mov dword ptr [ebp - 0x14], eax */ 3273 eax = MEM32(eax); /* 0x250DB224: mov eax, dword ptr [eax] */ 3274 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x250DB226: mov byte ptr [ebp - 4], bl */ 3275 MEM32(ebp + (-0x10)) = eax; /* 0x250DB229: mov dword ptr [ebp - 0x10], eax */ 3276 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB22C: je 0x250db280 */ 3277 L_250DB22E: 3278 ecx = ebp + (-0x20); /* 0x250DB22E: lea ecx, [ebp - 0x20] */ 3279 PUSH32(esp, ecx); /* 0x250DB231: push ecx */ 3280 ecx = esi; /* 0x250DB232: mov ecx, esi */ 3281 RECOMP_ICALL(0x25085270u); /* 0x250DB234: call 0x25085270 */ /* not lifted */ 3282 RECOMP_FLAGS_IN(); 3283 edx = eax; /* 0x250DB239: mov edx, eax */ 3284 ecx = MEM32(edx); /* 0x250DB23B: mov ecx, dword ptr [edx] */ 3285 eax = MEM32(ebp + (-0x10)); /* 0x250DB23D: mov eax, dword ptr [ebp - 0x10] */ 3286 /* cmp eax, ecx */ /* 0x250DB240: cmp eax, ecx */ 3287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3289 _flag_k = FK_CMP; 3290 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x250DB242: setne cl */ 3291 /* cmp LO8(ecx), LO8(ebx) */ /* 0x250DB245: cmp cl, bl */ 3292 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3294 _flag_k = FK_NARROW(FK_CMP, 24); 3295 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB247: jne 0x250db280 */ 3296 L_250DB249: 3297 ecx = MEM32(esi + 0x4); /* 0x250DB249: mov ecx, dword ptr [esi + 4] */ 3298 /* cmp MEM32(ebp + (-0x14)), ecx */ /* 0x250DB24C: cmp dword ptr [ebp - 0x14], ecx */ 3299 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ecx); 3300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3301 _flag_k = FK_CMP; 3302 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB280; /* 0x250DB24F: jne 0x250db280 */ 3303 L_250DB251: 3304 eax = MEM32(ecx + 0x4); /* 0x250DB251: mov eax, dword ptr [ecx + 4] */ 3305 PUSH32(esp, eax); /* 0x250DB254: push eax */ 3306 ecx = esi; /* 0x250DB255: mov ecx, esi */ 3307 RECOMP_ICALL(0x250068F0u); /* 0x250DB257: call 0x250068f0 */ /* not lifted */ 3308 RECOMP_FLAGS_IN(); 3309 ecx = MEM32(esi + 0x4); /* 0x250DB25C: mov ecx, dword ptr [esi + 4] */ 3310 edx = MEM32(esi + 0x8); /* 0x250DB25F: mov edx, dword ptr [esi + 8] */ 3311 MEM32(ecx + 0x4) = edx; /* 0x250DB262: mov dword ptr [ecx + 4], edx */ 3312 eax = MEM32(esi + 0x4); /* 0x250DB265: mov eax, dword ptr [esi + 4] */ 3313 MEM32(esi + 0x10) = ebx; /* 0x250DB268: mov dword ptr [esi + 0x10], ebx */ 3314 MEM32(eax) = eax; /* 0x250DB26B: mov dword ptr [eax], eax */ 3315 eax = MEM32(esi + 0x4); /* 0x250DB26D: mov eax, dword ptr [esi + 4] */ 3316 MEM32(eax + 0x8) = eax; /* 0x250DB270: mov dword ptr [eax + 8], eax */ 3317 eax = ebp + (-0x20); /* 0x250DB273: lea eax, [ebp - 0x20] */ 3318 PUSH32(esp, eax); /* 0x250DB276: push eax */ 3319 ecx = esi; /* 0x250DB277: mov ecx, esi */ 3320 RECOMP_ICALL(0x25085270u); /* 0x250DB279: call 0x25085270 */ /* not lifted */ 3321 RECOMP_FLAGS_IN(); 3322 goto L_250DB2A8; /* 0x250DB27E: jmp 0x250db2a8 */ 3323 L_250DB280: 3324 /* cmp eax, MEM32(ebp + (-0x14)) */ /* 0x250DB280: cmp eax, dword ptr [ebp - 0x14] */ 3325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x14))); 3326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3327 _flag_k = FK_CMP; 3328 if (CMP_EQ(_flag_a, _flag_b)) goto L_250DB2A8; /* 0x250DB283: je 0x250db2a8 */ 3329 L_250DB285: 3330 PUSH32(esp, ebx); /* 0x250DB285: push ebx */ 3331 ecx = ebp + (-0x20); /* 0x250DB286: lea ecx, [ebp - 0x20] */ 3332 PUSH32(esp, ecx); /* 0x250DB289: push ecx */ 3333 ecx = ebp + (-0x10); /* 0x250DB28A: lea ecx, [ebp - 0x10] */ 3334 RECOMP_ICALL(0x250076D0u); /* 0x250DB28D: call 0x250076d0 */ /* not lifted */ 3335 RECOMP_FLAGS_IN(); 3336 edx = MEM32(eax); /* 0x250DB292: mov edx, dword ptr [eax] */ 3337 PUSH32(esp, edx); /* 0x250DB294: push edx */ 3338 eax = ebp + (-0x1C); /* 0x250DB295: lea eax, [ebp - 0x1c] */ 3339 PUSH32(esp, eax); /* 0x250DB298: push eax */ 3340 ecx = esi; /* 0x250DB299: mov ecx, esi */ 3341 RECOMP_ICALL(0x25006380u); /* 0x250DB29B: call 0x25006380 */ /* not lifted */ 3342 RECOMP_FLAGS_IN(); 3343 ecx = MEM32(ebp + (-0x14)); /* 0x250DB2A0: mov ecx, dword ptr [ebp - 0x14] */ 3344 /* cmp MEM32(ebp + (-0x10)), ecx */ /* 0x250DB2A3: cmp dword ptr [ebp - 0x10], ecx */ 3345 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ecx); 3346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3347 _flag_k = FK_CMP; 3348 RECOMP_BACKEDGE(); 3349 if (CMP_NE(_flag_a, _flag_b)) goto L_250DB285; /* 0x250DB2A6: jne 0x250db285 */ 3350 L_250DB2A8: 3351 eax = MEM32(esi + 0x4); /* 0x250DB2A8: mov eax, dword ptr [esi + 4] */ 3352 PUSH32(esp, eax); /* 0x250DB2AB: push eax */ 3353 RECOMP_ICALL(0x25137EECu); /* 0x250DB2AC: call 0x25137eec */ /* not lifted */ 3354 RECOMP_FLAGS_IN(); 3355 eax = MEM32(esi + 0x8); /* 0x250DB2B1: mov eax, dword ptr [esi + 8] */ 3356 PUSH32(esp, eax); /* 0x250DB2B4: push eax */ 3357 MEM32(esi + 0x4) = ebx; /* 0x250DB2B5: mov dword ptr [esi + 4], ebx */ 3358 MEM32(esi + 0x10) = ebx; /* 0x250DB2B8: mov dword ptr [esi + 0x10], ebx */ 3359 RECOMP_ICALL(0x25137EECu); /* 0x250DB2BB: call 0x25137eec */ /* not lifted */ 3360 RECOMP_FLAGS_IN(); 3361 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3363 esp = esp + 8; /* 0x250DB2C0: add esp, 8 */ 3364 _flag_k = FK_ADD; 3365 ecx = edi; /* 0x250DB2C3: mov ecx, edi */ 3366 MEM32(esi + 0x8) = ebx; /* 0x250DB2C5: mov dword ptr [esi + 8], ebx */ 3367 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x250DB2C8: mov dword ptr [ebp - 4], 0xffffffff */ 3368 RECOMP_ICALL(0x250E19E0u); /* 0x250DB2CF: call 0x250e19e0 */ /* not lifted */ 3369 RECOMP_FLAGS_IN(); 3370 ecx = MEM32(ebp + (-0xC)); /* 0x250DB2D4: mov ecx, dword ptr [ebp - 0xc] */ 3371 edi = POP32_VAL(esp); /* 0x250DB2D7: pop edi */ 3372 esi = POP32_VAL(esp); /* 0x250DB2D8: pop esi */ 3373 ebx = POP32_VAL(esp); /* 0x250DB2D9: pop ebx */ 3374 MEM32(FS_BASE + (0)) = ecx; /* 0x250DB2DA: mov dword ptr fs:[0], ecx */ 3375 esp = ebp; /* 0x250DB2E1: mov esp, ebp */ 3376 ebp = POP32_VAL(esp); /* 0x250DB2E3: pop ebp */ 3377 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x250DB2E4: ret */ 3378 L_25146A40: 3379 ecx = MEM32(ebp + (-0x10)); /* 0x25146A40: mov ecx, dword ptr [ebp - 0x10] */ 3380 RECOMP_BACKEDGE(); 3381 goto L_250DB0B0; /* 0x25146A43: jmp 0x250db0b0 */ 3382 { RECOMP_REGS_OUT(); return; } /* end of function */ 3383 RECOMP_REGS_OUT(); 3384 } 3385 3386 void sub_25146A48(void) { 3387 int _fpu_cmp = 0; 3388 uint32_t _cf = 0; 3389 int _df = 1; 3390 uint32_t _flag_k = FK_NONE; 3391 uint32_t _flag_a = 0, _flag_b = 0; 3392 uint32_t _itail_tgt = 0; 3393 RECOMP_REGS_LOCALS 3394 RECOMP_ENTER(0x25146A48u); 3395 3396 goto L_25146A48; 3397 L_25085240: 3398 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 3399 ebp = esp; /* 0x25085241: mov ebp, esp */ 3400 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 3401 PUSH32(esp, esi); /* 0x25085244: push esi */ 3402 esi = ecx; /* 0x25085245: mov esi, ecx */ 3403 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 3404 PUSH32(esp, eax); /* 0x2508524A: push eax */ 3405 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 3406 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 3407 RECOMP_FLAGS_IN(); 3408 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3410 esp = esp + 4; /* 0x25085253: add esp, 4 */ 3411 _flag_k = FK_ADD; 3412 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3413 eax = 0; /* 0x25085256: xor eax, eax */ 3414 _cf = 0; 3415 _flag_k = FK_TEST; 3416 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 3417 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 3418 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 3419 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 3420 esp = ebp; /* 0x25085262: mov esp, ebp */ 3421 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 3422 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 3423 L_25146A48: 3424 ecx = MEM32(ebp + (-0x10)); /* 0x25146A48: mov ecx, dword ptr [ebp - 0x10] */ 3425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x204u); 3426 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3427 ecx = ecx + 0x204u; /* 0x25146A4B: add ecx, 0x204 */ 3428 _flag_k = FK_ADD; 3429 RECOMP_BACKEDGE(); 3430 goto L_25085240; /* 0x25146A51: jmp 0x25085240 */ 3431 { RECOMP_REGS_OUT(); return; } /* end of function */ 3432 RECOMP_REGS_OUT(); 3433 } 3434 3435 void sub_25146A56(void) { 3436 int _fpu_cmp = 0; 3437 uint32_t _cf = 0; 3438 int _df = 1; 3439 uint32_t _flag_k = FK_NONE; 3440 uint32_t _flag_a = 0, _flag_b = 0; 3441 uint32_t _itail_tgt = 0; 3442 RECOMP_REGS_LOCALS 3443 RECOMP_ENTER(0x25146A56u); 3444 3445 goto L_25146A56; 3446 L_25085240: 3447 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 3448 ebp = esp; /* 0x25085241: mov ebp, esp */ 3449 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 3450 PUSH32(esp, esi); /* 0x25085244: push esi */ 3451 esi = ecx; /* 0x25085245: mov esi, ecx */ 3452 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 3453 PUSH32(esp, eax); /* 0x2508524A: push eax */ 3454 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 3455 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 3456 RECOMP_FLAGS_IN(); 3457 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3458 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3459 esp = esp + 4; /* 0x25085253: add esp, 4 */ 3460 _flag_k = FK_ADD; 3461 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3462 eax = 0; /* 0x25085256: xor eax, eax */ 3463 _cf = 0; 3464 _flag_k = FK_TEST; 3465 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 3466 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 3467 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 3468 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 3469 esp = ebp; /* 0x25085262: mov esp, ebp */ 3470 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 3471 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 3472 L_25146A56: 3473 ecx = MEM32(ebp + (-0x10)); /* 0x25146A56: mov ecx, dword ptr [ebp - 0x10] */ 3474 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x214u); 3475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3476 ecx = ecx + 0x214u; /* 0x25146A59: add ecx, 0x214 */ 3477 _flag_k = FK_ADD; 3478 RECOMP_BACKEDGE(); 3479 goto L_25085240; /* 0x25146A5F: jmp 0x25085240 */ 3480 { RECOMP_REGS_OUT(); return; } /* end of function */ 3481 RECOMP_REGS_OUT(); 3482 } 3483 3484 void sub_25146A64(void) { 3485 int _fpu_cmp = 0; 3486 uint32_t _cf = 0; 3487 int _df = 1; 3488 uint32_t _flag_k = FK_NONE; 3489 uint32_t _flag_a = 0, _flag_b = 0; 3490 uint32_t _itail_tgt = 0; 3491 RECOMP_REGS_LOCALS 3492 RECOMP_ENTER(0x25146A64u); 3493 3494 goto L_25146A64; 3495 L_25085240: 3496 PUSH32(esp, ebp); /* 0x25085240: push ebp */ 3497 ebp = esp; /* 0x25085241: mov ebp, esp */ 3498 PUSH32(esp, ecx); /* 0x25085243: push ecx */ 3499 PUSH32(esp, esi); /* 0x25085244: push esi */ 3500 esi = ecx; /* 0x25085245: mov esi, ecx */ 3501 eax = MEM32(esi + 0x4); /* 0x25085247: mov eax, dword ptr [esi + 4] */ 3502 PUSH32(esp, eax); /* 0x2508524A: push eax */ 3503 MEM32(ebp + (-0x4)) = eax; /* 0x2508524B: mov dword ptr [ebp - 4], eax */ 3504 RECOMP_ICALL(0x25137EECu); /* 0x2508524E: call 0x25137eec */ /* not lifted */ 3505 RECOMP_FLAGS_IN(); 3506 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3507 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3508 esp = esp + 4; /* 0x25085253: add esp, 4 */ 3509 _flag_k = FK_ADD; 3510 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3511 eax = 0; /* 0x25085256: xor eax, eax */ 3512 _cf = 0; 3513 _flag_k = FK_TEST; 3514 MEM32(esi + 0x4) = eax; /* 0x25085258: mov dword ptr [esi + 4], eax */ 3515 MEM32(esi + 0x8) = eax; /* 0x2508525B: mov dword ptr [esi + 8], eax */ 3516 MEM32(esi + 0xC) = eax; /* 0x2508525E: mov dword ptr [esi + 0xc], eax */ 3517 esi = POP32_VAL(esp); /* 0x25085261: pop esi */ 3518 esp = ebp; /* 0x25085262: mov esp, ebp */ 3519 ebp = POP32_VAL(esp); /* 0x25085264: pop ebp */ 3520 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x25085265: ret */ 3521 L_25146A64: 3522 ecx = MEM32(ebp + (-0x10)); /* 0x25146A64: mov ecx, dword ptr [ebp - 0x10] */ 3523 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x224u); 3524 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3525 ecx = ecx + 0x224u; /* 0x25146A67: add ecx, 0x224 */ 3526 _flag_k = FK_ADD; 3527 RECOMP_BACKEDGE(); 3528 goto L_25085240; /* 0x25146A6D: jmp 0x25085240 */ 3529 { RECOMP_REGS_OUT(); return; } /* end of function */ 3530 RECOMP_REGS_OUT(); 3531 } 3532 3533 void sub_25146A72(void) { 3534 int _fpu_cmp = 0; 3535 uint32_t _cf = 0; 3536 int _df = 1; 3537 uint32_t _flag_k = FK_NONE; 3538 uint32_t _flag_a = 0, _flag_b = 0; 3539 uint32_t _itail_tgt = 0; 3540 RECOMP_REGS_LOCALS 3541 RECOMP_ENTER(0x25146A72u); 3542 3543 L_25146A72: 3544 ecx = MEM32(ebp + (-0x10)); /* 0x25146A72: mov ecx, dword ptr [ebp - 0x10] */ 3545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24Cu); 3546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3547 ecx = ecx + 0x24Cu; /* 0x25146A75: add ecx, 0x24c */ 3548 _flag_k = FK_ADD; 3549 goto L_2503FAA0; /* 0x25146A7B: jmp 0x2503faa0 */ 3550 { RECOMP_REGS_OUT(); return; } /* end of function */ 3551 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3552 RECOMP_REGS_OUT(); 3553 } 3554 3555 void sub_25146A80(void) { 3556 int _fpu_cmp = 0; 3557 uint32_t _cf = 0; 3558 int _df = 1; 3559 uint32_t _flag_k = FK_NONE; 3560 uint32_t _flag_a = 0, _flag_b = 0; 3561 uint32_t _itail_tgt = 0; 3562 RECOMP_REGS_LOCALS 3563 RECOMP_ENTER(0x25146A80u); 3564 3565 L_25146A80: 3566 ecx = MEM32(ebp + (-0x10)); /* 0x25146A80: mov ecx, dword ptr [ebp - 0x10] */ 3567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x270u); 3568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3569 ecx = ecx + 0x270u; /* 0x25146A83: add ecx, 0x270 */ 3570 _flag_k = FK_ADD; 3571 goto L_2503FAA0; /* 0x25146A89: jmp 0x2503faa0 */ 3572 { RECOMP_REGS_OUT(); return; } /* end of function */ 3573 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3574 RECOMP_REGS_OUT(); 3575 } 3576 3577 void sub_25146A8E(void) { 3578 int _fpu_cmp = 0; 3579 uint32_t _cf = 0; 3580 int _df = 1; 3581 uint32_t _flag_k = FK_NONE; 3582 uint32_t _flag_a = 0, _flag_b = 0; 3583 uint32_t _itail_tgt = 0; 3584 RECOMP_REGS_LOCALS 3585 RECOMP_ENTER(0x25146A8Eu); 3586 3587 L_25146A8E: 3588 ecx = MEM32(ebp + (-0x10)); /* 0x25146A8E: mov ecx, dword ptr [ebp - 0x10] */ 3589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x294u); 3590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3591 ecx = ecx + 0x294u; /* 0x25146A91: add ecx, 0x294 */ 3592 _flag_k = FK_ADD; 3593 goto L_2503FAA0; /* 0x25146A97: jmp 0x2503faa0 */ 3594 { RECOMP_REGS_OUT(); return; } /* end of function */ 3595 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3596 RECOMP_REGS_OUT(); 3597 } 3598 3599 void sub_25146A9C(void) { 3600 int _fpu_cmp = 0; 3601 uint32_t _cf = 0; 3602 int _df = 1; 3603 uint32_t _flag_k = FK_NONE; 3604 uint32_t _flag_a = 0, _flag_b = 0; 3605 uint32_t _itail_tgt = 0; 3606 RECOMP_REGS_LOCALS 3607 RECOMP_ENTER(0x25146A9Cu); 3608 3609 L_25146A9C: 3610 ecx = MEM32(ebp + (-0x10)); /* 0x25146A9C: mov ecx, dword ptr [ebp - 0x10] */ 3611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2B8u); 3612 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3613 ecx = ecx + 0x2B8u; /* 0x25146A9F: add ecx, 0x2b8 */ 3614 _flag_k = FK_ADD; 3615 goto L_2503FAA0; /* 0x25146AA5: jmp 0x2503faa0 */ 3616 { RECOMP_REGS_OUT(); return; } /* end of function */ 3617 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3618 RECOMP_REGS_OUT(); 3619 } 3620 3621 void sub_25146AAA(void) { 3622 int _fpu_cmp = 0; 3623 uint32_t _cf = 0; 3624 int _df = 1; 3625 uint32_t _flag_k = FK_NONE; 3626 uint32_t _flag_a = 0, _flag_b = 0; 3627 uint32_t _itail_tgt = 0; 3628 RECOMP_REGS_LOCALS 3629 RECOMP_ENTER(0x25146AAAu); 3630 3631 L_25146AAA: 3632 ecx = MEM32(ebp + (-0x10)); /* 0x25146AAA: mov ecx, dword ptr [ebp - 0x10] */ 3633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2DCu); 3634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3635 ecx = ecx + 0x2DCu; /* 0x25146AAD: add ecx, 0x2dc */ 3636 _flag_k = FK_ADD; 3637 goto L_2503FAA0; /* 0x25146AB3: jmp 0x2503faa0 */ 3638 { RECOMP_REGS_OUT(); return; } /* end of function */ 3639 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3640 RECOMP_REGS_OUT(); 3641 } 3642 3643 void sub_25146AB8(void) { 3644 int _fpu_cmp = 0; 3645 uint32_t _cf = 0; 3646 int _df = 1; 3647 uint32_t _flag_k = FK_NONE; 3648 uint32_t _flag_a = 0, _flag_b = 0; 3649 uint32_t _itail_tgt = 0; 3650 RECOMP_REGS_LOCALS 3651 RECOMP_ENTER(0x25146AB8u); 3652 3653 L_25146AB8: 3654 ecx = MEM32(ebp + (-0x10)); /* 0x25146AB8: mov ecx, dword ptr [ebp - 0x10] */ 3655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x300u); 3656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3657 ecx = ecx + 0x300u; /* 0x25146ABB: add ecx, 0x300 */ 3658 _flag_k = FK_ADD; 3659 goto L_2503FAA0; /* 0x25146AC1: jmp 0x2503faa0 */ 3660 { RECOMP_REGS_OUT(); return; } /* end of function */ 3661 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3662 RECOMP_REGS_OUT(); 3663 } 3664 3665 void sub_25146AC6(void) { 3666 int _fpu_cmp = 0; 3667 uint32_t _cf = 0; 3668 int _df = 1; 3669 uint32_t _flag_k = FK_NONE; 3670 uint32_t _flag_a = 0, _flag_b = 0; 3671 uint32_t _itail_tgt = 0; 3672 RECOMP_REGS_LOCALS 3673 RECOMP_ENTER(0x25146AC6u); 3674 3675 L_25146AC6: 3676 ecx = MEM32(ebp + (-0x10)); /* 0x25146AC6: mov ecx, dword ptr [ebp - 0x10] */ 3677 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3E0u); 3678 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3679 ecx = ecx + 0x3E0u; /* 0x25146AC9: add ecx, 0x3e0 */ 3680 _flag_k = FK_ADD; 3681 goto L_2503FAA0; /* 0x25146ACF: jmp 0x2503faa0 */ 3682 { RECOMP_REGS_OUT(); return; } /* end of function */ 3683 L_2503FAA0: RECOMP_ITAIL(0x2503FAA0u); { RECOMP_REGS_OUT(); return; } 3684 RECOMP_REGS_OUT(); 3685 }