client/vendor/ace/source/lifted-0064.c (147228B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 4 void sub_4708F100(void) { 5 int _fpu_cmp = 0; 6 uint32_t _cf = 0; 7 int _df = 1; 8 uint32_t _flag_k = FK_NONE; 9 uint32_t _flag_a = 0, _flag_b = 0; 10 uint32_t _itail_tgt = 0; 11 RECOMP_REGS_LOCALS 12 RECOMP_ENTER(0x4708F100u); 13 14 L_4708F100: 15 MEM32(0x4710FA40) = 0x47105690u; /* 0x4708F100: mov dword ptr [0x4710fa40], 0x47105690 */ 16 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F10A: ret */ 17 RECOMP_REGS_OUT(); 18 } 19 20 void sub_4708F110(void) { 21 int _fpu_cmp = 0; 22 uint32_t _cf = 0; 23 int _df = 1; 24 uint32_t _flag_k = FK_NONE; 25 uint32_t _flag_a = 0, _flag_b = 0; 26 uint32_t _itail_tgt = 0; 27 RECOMP_REGS_LOCALS 28 RECOMP_ENTER(0x4708F110u); 29 30 L_4708F110: 31 MEM32(0x4710FA44) = 0x4710CAF4u; /* 0x4708F110: mov dword ptr [0x4710fa44], 0x4710caf4 */ 32 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F11A: ret */ 33 RECOMP_REGS_OUT(); 34 } 35 36 void sub_4708F120(void) { 37 int _fpu_cmp = 0; 38 uint32_t _cf = 0; 39 int _df = 1; 40 uint32_t _flag_k = FK_NONE; 41 uint32_t _flag_a = 0, _flag_b = 0; 42 uint32_t _itail_tgt = 0; 43 RECOMP_REGS_LOCALS 44 RECOMP_ENTER(0x4708F120u); 45 46 L_4708F120: 47 ecx = 0x4710FA6Du; /* 0x4708F120: mov ecx, 0x4710fa6d */ 48 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F125: call dword ptr [0x470ac1c8] */ 49 RECOMP_FLAGS_IN(); 50 PUSH32(esp, 0x4708F140u); /* 0x4708F12B: push 0x4708f140 */ 51 RECOMP_ICALL(0x470A32D9u); /* 0x4708F130: call 0x470a32d9 */ /* not lifted */ 52 RECOMP_FLAGS_IN(); 53 ecx = POP32_VAL(esp); /* 0x4708F135: pop ecx */ 54 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F136: ret */ 55 RECOMP_REGS_OUT(); 56 } 57 58 void sub_4708F140(void) { 59 int _fpu_cmp = 0; 60 uint32_t _cf = 0; 61 int _df = 1; 62 uint32_t _flag_k = FK_NONE; 63 uint32_t _flag_a = 0, _flag_b = 0; 64 uint32_t _itail_tgt = 0; 65 RECOMP_REGS_LOCALS 66 RECOMP_ENTER(0x4708F140u); 67 68 L_4708F140: 69 ecx = 0x4710FA6Du; /* 0x4708F140: mov ecx, 0x4710fa6d */ 70 L_4708F145: 71 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 72 { RECOMP_REGS_OUT(); return; } /* end of function */ 73 _ljump: 74 switch (_itail_tgt) { 75 case 0x4708F140u: goto L_4708F140; 76 case 0x4708F145u: goto L_4708F145; 77 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 78 } 79 RECOMP_REGS_OUT(); 80 } 81 82 void sub_4708F150(void) { 83 int _fpu_cmp = 0; 84 uint32_t _cf = 0; 85 int _df = 1; 86 uint32_t _flag_k = FK_NONE; 87 uint32_t _flag_a = 0, _flag_b = 0; 88 uint32_t _itail_tgt = 0; 89 RECOMP_REGS_LOCALS 90 RECOMP_ENTER(0x4708F150u); 91 92 L_4708F150: 93 ecx = 0x4710FA6Cu; /* 0x4708F150: mov ecx, 0x4710fa6c */ 94 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F155: call dword ptr [0x470ac1c4] */ 95 RECOMP_FLAGS_IN(); 96 PUSH32(esp, 0x4708F170u); /* 0x4708F15B: push 0x4708f170 */ 97 RECOMP_ICALL(0x470A32D9u); /* 0x4708F160: call 0x470a32d9 */ /* not lifted */ 98 RECOMP_FLAGS_IN(); 99 ecx = POP32_VAL(esp); /* 0x4708F165: pop ecx */ 100 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F166: ret */ 101 RECOMP_REGS_OUT(); 102 } 103 104 void sub_4708F170(void) { 105 int _fpu_cmp = 0; 106 uint32_t _cf = 0; 107 int _df = 1; 108 uint32_t _flag_k = FK_NONE; 109 uint32_t _flag_a = 0, _flag_b = 0; 110 uint32_t _itail_tgt = 0; 111 RECOMP_REGS_LOCALS 112 RECOMP_ENTER(0x4708F170u); 113 114 L_4708F170: 115 ecx = 0x4710FA6Cu; /* 0x4708F170: mov ecx, 0x4710fa6c */ 116 L_4708F175: 117 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 118 { RECOMP_REGS_OUT(); return; } /* end of function */ 119 _ljump: 120 switch (_itail_tgt) { 121 case 0x4708F170u: goto L_4708F170; 122 case 0x4708F175u: goto L_4708F175; 123 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 124 } 125 RECOMP_REGS_OUT(); 126 } 127 128 void sub_4708F180(void) { 129 int _fpu_cmp = 0; 130 uint32_t _cf = 0; 131 int _df = 1; 132 uint32_t _flag_k = FK_NONE; 133 uint32_t _flag_a = 0, _flag_b = 0; 134 uint32_t _itail_tgt = 0; 135 RECOMP_REGS_LOCALS 136 RECOMP_ENTER(0x4708F180u); 137 138 L_4708F180: 139 MEM32(0x4710FA64) = 0x47104A3Cu; /* 0x4708F180: mov dword ptr [0x4710fa64], 0x47104a3c */ 140 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F18A: ret */ 141 RECOMP_REGS_OUT(); 142 } 143 144 void sub_4708F190(void) { 145 int _fpu_cmp = 0; 146 uint32_t _cf = 0; 147 int _df = 1; 148 uint32_t _flag_k = FK_NONE; 149 uint32_t _flag_a = 0, _flag_b = 0; 150 uint32_t _itail_tgt = 0; 151 RECOMP_REGS_LOCALS 152 RECOMP_ENTER(0x4708F190u); 153 154 L_4708F190: 155 MEM32(0x4710FA88) = 0x47104B6Cu; /* 0x4708F190: mov dword ptr [0x4710fa88], 0x47104b6c */ 156 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F19A: ret */ 157 RECOMP_REGS_OUT(); 158 } 159 160 void sub_4708F1A0(void) { 161 int _fpu_cmp = 0; 162 uint32_t _cf = 0; 163 int _df = 1; 164 uint32_t _flag_k = FK_NONE; 165 uint32_t _flag_a = 0, _flag_b = 0; 166 uint32_t _itail_tgt = 0; 167 RECOMP_REGS_LOCALS 168 RECOMP_ENTER(0x4708F1A0u); 169 170 L_4708F1A0: 171 MEM32(0x4710FA74) = 0x47104A00u; /* 0x4708F1A0: mov dword ptr [0x4710fa74], 0x47104a00 */ 172 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1AA: ret */ 173 RECOMP_REGS_OUT(); 174 } 175 176 void sub_4708F1B0(void) { 177 int _fpu_cmp = 0; 178 uint32_t _cf = 0; 179 int _df = 1; 180 uint32_t _flag_k = FK_NONE; 181 uint32_t _flag_a = 0, _flag_b = 0; 182 uint32_t _itail_tgt = 0; 183 RECOMP_REGS_LOCALS 184 RECOMP_ENTER(0x4708F1B0u); 185 186 L_4708F1B0: 187 MEM32(0x4710FA70) = 0x47104A70u; /* 0x4708F1B0: mov dword ptr [0x4710fa70], 0x47104a70 */ 188 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1BA: ret */ 189 RECOMP_REGS_OUT(); 190 } 191 192 void sub_4708F1C0(void) { 193 int _fpu_cmp = 0; 194 uint32_t _cf = 0; 195 int _df = 1; 196 uint32_t _flag_k = FK_NONE; 197 uint32_t _flag_a = 0, _flag_b = 0; 198 uint32_t _itail_tgt = 0; 199 RECOMP_REGS_LOCALS 200 RECOMP_ENTER(0x4708F1C0u); 201 202 L_4708F1C0: 203 MEM32(0x4710FA68) = 0x47104BA0u; /* 0x4708F1C0: mov dword ptr [0x4710fa68], 0x47104ba0 */ 204 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1CA: ret */ 205 RECOMP_REGS_OUT(); 206 } 207 208 void sub_4708F1D0(void) { 209 int _fpu_cmp = 0; 210 uint32_t _cf = 0; 211 int _df = 1; 212 uint32_t _flag_k = FK_NONE; 213 uint32_t _flag_a = 0, _flag_b = 0; 214 uint32_t _itail_tgt = 0; 215 RECOMP_REGS_LOCALS 216 RECOMP_ENTER(0x4708F1D0u); 217 218 L_4708F1D0: 219 MEM32(0x4710FA80) = 0x47104BD4u; /* 0x4708F1D0: mov dword ptr [0x4710fa80], 0x47104bd4 */ 220 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1DA: ret */ 221 RECOMP_REGS_OUT(); 222 } 223 224 void sub_4708F1E0(void) { 225 int _fpu_cmp = 0; 226 uint32_t _cf = 0; 227 int _df = 1; 228 uint32_t _flag_k = FK_NONE; 229 uint32_t _flag_a = 0, _flag_b = 0; 230 uint32_t _itail_tgt = 0; 231 RECOMP_REGS_LOCALS 232 RECOMP_ENTER(0x4708F1E0u); 233 234 L_4708F1E0: 235 MEM32(0x4710FA7C) = 0x471050FCu; /* 0x4708F1E0: mov dword ptr [0x4710fa7c], 0x471050fc */ 236 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1EA: ret */ 237 RECOMP_REGS_OUT(); 238 } 239 240 void sub_4708F1F0(void) { 241 int _fpu_cmp = 0; 242 uint32_t _cf = 0; 243 int _df = 1; 244 uint32_t _flag_k = FK_NONE; 245 uint32_t _flag_a = 0, _flag_b = 0; 246 uint32_t _itail_tgt = 0; 247 RECOMP_REGS_LOCALS 248 RECOMP_ENTER(0x4708F1F0u); 249 250 L_4708F1F0: 251 MEM32(0x4710FA78) = 0x47105658u; /* 0x4708F1F0: mov dword ptr [0x4710fa78], 0x47105658 */ 252 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F1FA: ret */ 253 RECOMP_REGS_OUT(); 254 } 255 256 void sub_4708F200(void) { 257 int _fpu_cmp = 0; 258 uint32_t _cf = 0; 259 int _df = 1; 260 uint32_t _flag_k = FK_NONE; 261 uint32_t _flag_a = 0, _flag_b = 0; 262 uint32_t _itail_tgt = 0; 263 RECOMP_REGS_LOCALS 264 RECOMP_ENTER(0x4708F200u); 265 266 L_4708F200: 267 MEM32(0x4710FA84) = 0x4710CB28u; /* 0x4708F200: mov dword ptr [0x4710fa84], 0x4710cb28 */ 268 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F20A: ret */ 269 RECOMP_REGS_OUT(); 270 } 271 272 void sub_4708F210(void) { 273 int _fpu_cmp = 0; 274 uint32_t _cf = 0; 275 int _df = 1; 276 uint32_t _flag_k = FK_NONE; 277 uint32_t _flag_a = 0, _flag_b = 0; 278 uint32_t _itail_tgt = 0; 279 RECOMP_REGS_LOCALS 280 RECOMP_ENTER(0x4708F210u); 281 282 L_4708F210: 283 ecx = 0x4710FA99u; /* 0x4708F210: mov ecx, 0x4710fa99 */ 284 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F215: call dword ptr [0x470ac1c8] */ 285 RECOMP_FLAGS_IN(); 286 PUSH32(esp, 0x4708F230u); /* 0x4708F21B: push 0x4708f230 */ 287 RECOMP_ICALL(0x470A32D9u); /* 0x4708F220: call 0x470a32d9 */ /* not lifted */ 288 RECOMP_FLAGS_IN(); 289 ecx = POP32_VAL(esp); /* 0x4708F225: pop ecx */ 290 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F226: ret */ 291 RECOMP_REGS_OUT(); 292 } 293 294 void sub_4708F230(void) { 295 int _fpu_cmp = 0; 296 uint32_t _cf = 0; 297 int _df = 1; 298 uint32_t _flag_k = FK_NONE; 299 uint32_t _flag_a = 0, _flag_b = 0; 300 uint32_t _itail_tgt = 0; 301 RECOMP_REGS_LOCALS 302 RECOMP_ENTER(0x4708F230u); 303 304 L_4708F230: 305 ecx = 0x4710FA99u; /* 0x4708F230: mov ecx, 0x4710fa99 */ 306 L_4708F235: 307 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 308 { RECOMP_REGS_OUT(); return; } /* end of function */ 309 _ljump: 310 switch (_itail_tgt) { 311 case 0x4708F230u: goto L_4708F230; 312 case 0x4708F235u: goto L_4708F235; 313 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 314 } 315 RECOMP_REGS_OUT(); 316 } 317 318 void sub_4708F240(void) { 319 int _fpu_cmp = 0; 320 uint32_t _cf = 0; 321 int _df = 1; 322 uint32_t _flag_k = FK_NONE; 323 uint32_t _flag_a = 0, _flag_b = 0; 324 uint32_t _itail_tgt = 0; 325 RECOMP_REGS_LOCALS 326 RECOMP_ENTER(0x4708F240u); 327 328 L_4708F240: 329 ecx = 0x4710FA98u; /* 0x4708F240: mov ecx, 0x4710fa98 */ 330 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F245: call dword ptr [0x470ac1c4] */ 331 RECOMP_FLAGS_IN(); 332 PUSH32(esp, 0x4708F260u); /* 0x4708F24B: push 0x4708f260 */ 333 RECOMP_ICALL(0x470A32D9u); /* 0x4708F250: call 0x470a32d9 */ /* not lifted */ 334 RECOMP_FLAGS_IN(); 335 ecx = POP32_VAL(esp); /* 0x4708F255: pop ecx */ 336 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F256: ret */ 337 RECOMP_REGS_OUT(); 338 } 339 340 void sub_4708F260(void) { 341 int _fpu_cmp = 0; 342 uint32_t _cf = 0; 343 int _df = 1; 344 uint32_t _flag_k = FK_NONE; 345 uint32_t _flag_a = 0, _flag_b = 0; 346 uint32_t _itail_tgt = 0; 347 RECOMP_REGS_LOCALS 348 RECOMP_ENTER(0x4708F260u); 349 350 L_4708F260: 351 ecx = 0x4710FA98u; /* 0x4708F260: mov ecx, 0x4710fa98 */ 352 L_4708F265: 353 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 354 { RECOMP_REGS_OUT(); return; } /* end of function */ 355 _ljump: 356 switch (_itail_tgt) { 357 case 0x4708F260u: goto L_4708F260; 358 case 0x4708F265u: goto L_4708F265; 359 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 360 } 361 RECOMP_REGS_OUT(); 362 } 363 364 void sub_4708F270(void) { 365 int _fpu_cmp = 0; 366 uint32_t _cf = 0; 367 int _df = 1; 368 uint32_t _flag_k = FK_NONE; 369 uint32_t _flag_a = 0, _flag_b = 0; 370 uint32_t _itail_tgt = 0; 371 RECOMP_REGS_LOCALS 372 RECOMP_ENTER(0x4708F270u); 373 374 L_4708F270: 375 MEM32(0x4710FA8C) = 0x47104A3Cu; /* 0x4708F270: mov dword ptr [0x4710fa8c], 0x47104a3c */ 376 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F27A: ret */ 377 RECOMP_REGS_OUT(); 378 } 379 380 void sub_4708F280(void) { 381 int _fpu_cmp = 0; 382 uint32_t _cf = 0; 383 int _df = 1; 384 uint32_t _flag_k = FK_NONE; 385 uint32_t _flag_a = 0, _flag_b = 0; 386 uint32_t _itail_tgt = 0; 387 RECOMP_REGS_LOCALS 388 RECOMP_ENTER(0x4708F280u); 389 390 L_4708F280: 391 MEM32(0x4710FAA0) = 0x47104A00u; /* 0x4708F280: mov dword ptr [0x4710faa0], 0x47104a00 */ 392 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F28A: ret */ 393 RECOMP_REGS_OUT(); 394 } 395 396 void sub_4708F290(void) { 397 int _fpu_cmp = 0; 398 uint32_t _cf = 0; 399 int _df = 1; 400 uint32_t _flag_k = FK_NONE; 401 uint32_t _flag_a = 0, _flag_b = 0; 402 uint32_t _itail_tgt = 0; 403 RECOMP_REGS_LOCALS 404 RECOMP_ENTER(0x4708F290u); 405 406 L_4708F290: 407 MEM32(0x4710FA9C) = 0x47104A70u; /* 0x4708F290: mov dword ptr [0x4710fa9c], 0x47104a70 */ 408 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F29A: ret */ 409 RECOMP_REGS_OUT(); 410 } 411 412 void sub_4708F2A0(void) { 413 int _fpu_cmp = 0; 414 uint32_t _cf = 0; 415 int _df = 1; 416 uint32_t _flag_k = FK_NONE; 417 uint32_t _flag_a = 0, _flag_b = 0; 418 uint32_t _itail_tgt = 0; 419 RECOMP_REGS_LOCALS 420 RECOMP_ENTER(0x4708F2A0u); 421 422 L_4708F2A0: 423 MEM32(0x4710FAAC) = 0x47104B6Cu; /* 0x4708F2A0: mov dword ptr [0x4710faac], 0x47104b6c */ 424 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F2AA: ret */ 425 RECOMP_REGS_OUT(); 426 } 427 428 void sub_4708F2B0(void) { 429 int _fpu_cmp = 0; 430 uint32_t _cf = 0; 431 int _df = 1; 432 uint32_t _flag_k = FK_NONE; 433 uint32_t _flag_a = 0, _flag_b = 0; 434 uint32_t _itail_tgt = 0; 435 RECOMP_REGS_LOCALS 436 RECOMP_ENTER(0x4708F2B0u); 437 438 L_4708F2B0: 439 MEM32(0x4710FA90) = 0x47104BA0u; /* 0x4708F2B0: mov dword ptr [0x4710fa90], 0x47104ba0 */ 440 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F2BA: ret */ 441 RECOMP_REGS_OUT(); 442 } 443 444 void sub_4708F2C0(void) { 445 int _fpu_cmp = 0; 446 uint32_t _cf = 0; 447 int _df = 1; 448 uint32_t _flag_k = FK_NONE; 449 uint32_t _flag_a = 0, _flag_b = 0; 450 uint32_t _itail_tgt = 0; 451 RECOMP_REGS_LOCALS 452 RECOMP_ENTER(0x4708F2C0u); 453 454 L_4708F2C0: 455 MEM32(0x4710FAA8) = 0x47104BD4u; /* 0x4708F2C0: mov dword ptr [0x4710faa8], 0x47104bd4 */ 456 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F2CA: ret */ 457 RECOMP_REGS_OUT(); 458 } 459 460 void sub_4708F2D0(void) { 461 int _fpu_cmp = 0; 462 uint32_t _cf = 0; 463 int _df = 1; 464 uint32_t _flag_k = FK_NONE; 465 uint32_t _flag_a = 0, _flag_b = 0; 466 uint32_t _itail_tgt = 0; 467 RECOMP_REGS_LOCALS 468 RECOMP_ENTER(0x4708F2D0u); 469 470 L_4708F2D0: 471 MEM32(0x4710FAA4) = 0x471050FCu; /* 0x4708F2D0: mov dword ptr [0x4710faa4], 0x471050fc */ 472 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F2DA: ret */ 473 RECOMP_REGS_OUT(); 474 } 475 476 void sub_4708F2E0(void) { 477 int _fpu_cmp = 0; 478 uint32_t _cf = 0; 479 int _df = 1; 480 uint32_t _flag_k = FK_NONE; 481 uint32_t _flag_a = 0, _flag_b = 0; 482 uint32_t _itail_tgt = 0; 483 RECOMP_REGS_LOCALS 484 RECOMP_ENTER(0x4708F2E0u); 485 486 L_4708F2E0: 487 MEM32(0x4710FA94) = 0x4710CB5Cu; /* 0x4708F2E0: mov dword ptr [0x4710fa94], 0x4710cb5c */ 488 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F2EA: ret */ 489 RECOMP_REGS_OUT(); 490 } 491 492 void sub_4708F2F0(void) { 493 int _fpu_cmp = 0; 494 uint32_t _cf = 0; 495 int _df = 1; 496 uint32_t _flag_k = FK_NONE; 497 uint32_t _flag_a = 0, _flag_b = 0; 498 uint32_t _itail_tgt = 0; 499 RECOMP_REGS_LOCALS 500 RECOMP_ENTER(0x4708F2F0u); 501 502 L_4708F2F0: 503 ecx = 0x4710FAC9u; /* 0x4708F2F0: mov ecx, 0x4710fac9 */ 504 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F2F5: call dword ptr [0x470ac1c8] */ 505 RECOMP_FLAGS_IN(); 506 PUSH32(esp, 0x4708F310u); /* 0x4708F2FB: push 0x4708f310 */ 507 RECOMP_ICALL(0x470A32D9u); /* 0x4708F300: call 0x470a32d9 */ /* not lifted */ 508 RECOMP_FLAGS_IN(); 509 ecx = POP32_VAL(esp); /* 0x4708F305: pop ecx */ 510 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F306: ret */ 511 RECOMP_REGS_OUT(); 512 } 513 514 void sub_4708F310(void) { 515 int _fpu_cmp = 0; 516 uint32_t _cf = 0; 517 int _df = 1; 518 uint32_t _flag_k = FK_NONE; 519 uint32_t _flag_a = 0, _flag_b = 0; 520 uint32_t _itail_tgt = 0; 521 RECOMP_REGS_LOCALS 522 RECOMP_ENTER(0x4708F310u); 523 524 L_4708F310: 525 ecx = 0x4710FAC9u; /* 0x4708F310: mov ecx, 0x4710fac9 */ 526 L_4708F315: 527 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 528 { RECOMP_REGS_OUT(); return; } /* end of function */ 529 _ljump: 530 switch (_itail_tgt) { 531 case 0x4708F310u: goto L_4708F310; 532 case 0x4708F315u: goto L_4708F315; 533 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 534 } 535 RECOMP_REGS_OUT(); 536 } 537 538 void sub_4708F320(void) { 539 int _fpu_cmp = 0; 540 uint32_t _cf = 0; 541 int _df = 1; 542 uint32_t _flag_k = FK_NONE; 543 uint32_t _flag_a = 0, _flag_b = 0; 544 uint32_t _itail_tgt = 0; 545 RECOMP_REGS_LOCALS 546 RECOMP_ENTER(0x4708F320u); 547 548 L_4708F320: 549 ecx = 0x4710FAC8u; /* 0x4708F320: mov ecx, 0x4710fac8 */ 550 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F325: call dword ptr [0x470ac1c4] */ 551 RECOMP_FLAGS_IN(); 552 PUSH32(esp, 0x4708F340u); /* 0x4708F32B: push 0x4708f340 */ 553 RECOMP_ICALL(0x470A32D9u); /* 0x4708F330: call 0x470a32d9 */ /* not lifted */ 554 RECOMP_FLAGS_IN(); 555 ecx = POP32_VAL(esp); /* 0x4708F335: pop ecx */ 556 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F336: ret */ 557 RECOMP_REGS_OUT(); 558 } 559 560 void sub_4708F340(void) { 561 int _fpu_cmp = 0; 562 uint32_t _cf = 0; 563 int _df = 1; 564 uint32_t _flag_k = FK_NONE; 565 uint32_t _flag_a = 0, _flag_b = 0; 566 uint32_t _itail_tgt = 0; 567 RECOMP_REGS_LOCALS 568 RECOMP_ENTER(0x4708F340u); 569 570 L_4708F340: 571 ecx = 0x4710FAC8u; /* 0x4708F340: mov ecx, 0x4710fac8 */ 572 L_4708F345: 573 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 574 { RECOMP_REGS_OUT(); return; } /* end of function */ 575 _ljump: 576 switch (_itail_tgt) { 577 case 0x4708F340u: goto L_4708F340; 578 case 0x4708F345u: goto L_4708F345; 579 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 580 } 581 RECOMP_REGS_OUT(); 582 } 583 584 void sub_4708F350(void) { 585 int _fpu_cmp = 0; 586 uint32_t _cf = 0; 587 int _df = 1; 588 uint32_t _flag_k = FK_NONE; 589 uint32_t _flag_a = 0, _flag_b = 0; 590 uint32_t _itail_tgt = 0; 591 RECOMP_REGS_LOCALS 592 RECOMP_ENTER(0x4708F350u); 593 594 L_4708F350: 595 MEM32(0x4710FAB0) = 0x47104A3Cu; /* 0x4708F350: mov dword ptr [0x4710fab0], 0x47104a3c */ 596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F35A: ret */ 597 RECOMP_REGS_OUT(); 598 } 599 600 void sub_4708F360(void) { 601 int _fpu_cmp = 0; 602 uint32_t _cf = 0; 603 int _df = 1; 604 uint32_t _flag_k = FK_NONE; 605 uint32_t _flag_a = 0, _flag_b = 0; 606 uint32_t _itail_tgt = 0; 607 RECOMP_REGS_LOCALS 608 RECOMP_ENTER(0x4708F360u); 609 610 L_4708F360: 611 MEM32(0x4710FAD4) = 0x47104A00u; /* 0x4708F360: mov dword ptr [0x4710fad4], 0x47104a00 */ 612 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F36A: ret */ 613 RECOMP_REGS_OUT(); 614 } 615 616 void sub_4708F370(void) { 617 int _fpu_cmp = 0; 618 uint32_t _cf = 0; 619 int _df = 1; 620 uint32_t _flag_k = FK_NONE; 621 uint32_t _flag_a = 0, _flag_b = 0; 622 uint32_t _itail_tgt = 0; 623 RECOMP_REGS_LOCALS 624 RECOMP_ENTER(0x4708F370u); 625 626 L_4708F370: 627 MEM32(0x4710FAD0) = 0x47104A70u; /* 0x4708F370: mov dword ptr [0x4710fad0], 0x47104a70 */ 628 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F37A: ret */ 629 RECOMP_REGS_OUT(); 630 } 631 632 void sub_4708F380(void) { 633 int _fpu_cmp = 0; 634 uint32_t _cf = 0; 635 int _df = 1; 636 uint32_t _flag_k = FK_NONE; 637 uint32_t _flag_a = 0, _flag_b = 0; 638 uint32_t _itail_tgt = 0; 639 RECOMP_REGS_LOCALS 640 RECOMP_ENTER(0x4708F380u); 641 642 L_4708F380: 643 MEM32(0x4710FAF0) = 0x47104B6Cu; /* 0x4708F380: mov dword ptr [0x4710faf0], 0x47104b6c */ 644 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F38A: ret */ 645 RECOMP_REGS_OUT(); 646 } 647 648 void sub_4708F390(void) { 649 int _fpu_cmp = 0; 650 uint32_t _cf = 0; 651 int _df = 1; 652 uint32_t _flag_k = FK_NONE; 653 uint32_t _flag_a = 0, _flag_b = 0; 654 uint32_t _itail_tgt = 0; 655 RECOMP_REGS_LOCALS 656 RECOMP_ENTER(0x4708F390u); 657 658 L_4708F390: 659 MEM32(0x4710FAC0) = 0x47104BA0u; /* 0x4708F390: mov dword ptr [0x4710fac0], 0x47104ba0 */ 660 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F39A: ret */ 661 RECOMP_REGS_OUT(); 662 } 663 664 void sub_4708F3A0(void) { 665 int _fpu_cmp = 0; 666 uint32_t _cf = 0; 667 int _df = 1; 668 uint32_t _flag_k = FK_NONE; 669 uint32_t _flag_a = 0, _flag_b = 0; 670 uint32_t _itail_tgt = 0; 671 RECOMP_REGS_LOCALS 672 RECOMP_ENTER(0x4708F3A0u); 673 674 L_4708F3A0: 675 MEM32(0x4710FAE8) = 0x47104BD4u; /* 0x4708F3A0: mov dword ptr [0x4710fae8], 0x47104bd4 */ 676 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3AA: ret */ 677 RECOMP_REGS_OUT(); 678 } 679 680 void sub_4708F3B0(void) { 681 int _fpu_cmp = 0; 682 uint32_t _cf = 0; 683 int _df = 1; 684 uint32_t _flag_k = FK_NONE; 685 uint32_t _flag_a = 0, _flag_b = 0; 686 uint32_t _itail_tgt = 0; 687 RECOMP_REGS_LOCALS 688 RECOMP_ENTER(0x4708F3B0u); 689 690 L_4708F3B0: 691 MEM32(0x4710FADC) = 0x47104C0Cu; /* 0x4708F3B0: mov dword ptr [0x4710fadc], 0x47104c0c */ 692 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3BA: ret */ 693 RECOMP_REGS_OUT(); 694 } 695 696 void sub_4708F3C0(void) { 697 int _fpu_cmp = 0; 698 uint32_t _cf = 0; 699 int _df = 1; 700 uint32_t _flag_k = FK_NONE; 701 uint32_t _flag_a = 0, _flag_b = 0; 702 uint32_t _itail_tgt = 0; 703 RECOMP_REGS_LOCALS 704 RECOMP_ENTER(0x4708F3C0u); 705 706 L_4708F3C0: 707 MEM32(0x4710FAE4) = 0x471050FCu; /* 0x4708F3C0: mov dword ptr [0x4710fae4], 0x471050fc */ 708 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3CA: ret */ 709 RECOMP_REGS_OUT(); 710 } 711 712 void sub_4708F3D0(void) { 713 int _fpu_cmp = 0; 714 uint32_t _cf = 0; 715 int _df = 1; 716 uint32_t _flag_k = FK_NONE; 717 uint32_t _flag_a = 0, _flag_b = 0; 718 uint32_t _itail_tgt = 0; 719 RECOMP_REGS_LOCALS 720 RECOMP_ENTER(0x4708F3D0u); 721 722 L_4708F3D0: 723 MEM32(0x4710FACC) = 0x47105158u; /* 0x4708F3D0: mov dword ptr [0x4710facc], 0x47105158 */ 724 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3DA: ret */ 725 RECOMP_REGS_OUT(); 726 } 727 728 void sub_4708F3E0(void) { 729 int _fpu_cmp = 0; 730 uint32_t _cf = 0; 731 int _df = 1; 732 uint32_t _flag_k = FK_NONE; 733 uint32_t _flag_a = 0, _flag_b = 0; 734 uint32_t _itail_tgt = 0; 735 RECOMP_REGS_LOCALS 736 RECOMP_ENTER(0x4708F3E0u); 737 738 L_4708F3E0: 739 MEM32(0x4710FABC) = 0x4710518Cu; /* 0x4708F3E0: mov dword ptr [0x4710fabc], 0x4710518c */ 740 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3EA: ret */ 741 RECOMP_REGS_OUT(); 742 } 743 744 void sub_4708F3F0(void) { 745 int _fpu_cmp = 0; 746 uint32_t _cf = 0; 747 int _df = 1; 748 uint32_t _flag_k = FK_NONE; 749 uint32_t _flag_a = 0, _flag_b = 0; 750 uint32_t _itail_tgt = 0; 751 RECOMP_REGS_LOCALS 752 RECOMP_ENTER(0x4708F3F0u); 753 754 L_4708F3F0: 755 MEM32(0x4710FAEC) = 0x471051ECu; /* 0x4708F3F0: mov dword ptr [0x4710faec], 0x471051ec */ 756 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F3FA: ret */ 757 RECOMP_REGS_OUT(); 758 } 759 760 void sub_4708F400(void) { 761 int _fpu_cmp = 0; 762 uint32_t _cf = 0; 763 int _df = 1; 764 uint32_t _flag_k = FK_NONE; 765 uint32_t _flag_a = 0, _flag_b = 0; 766 uint32_t _itail_tgt = 0; 767 RECOMP_REGS_LOCALS 768 RECOMP_ENTER(0x4708F400u); 769 770 L_4708F400: 771 MEM32(0x4710FAD8) = 0x47105224u; /* 0x4708F400: mov dword ptr [0x4710fad8], 0x47105224 */ 772 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F40A: ret */ 773 RECOMP_REGS_OUT(); 774 } 775 776 void sub_4708F410(void) { 777 int _fpu_cmp = 0; 778 uint32_t _cf = 0; 779 int _df = 1; 780 uint32_t _flag_k = FK_NONE; 781 uint32_t _flag_a = 0, _flag_b = 0; 782 uint32_t _itail_tgt = 0; 783 RECOMP_REGS_LOCALS 784 RECOMP_ENTER(0x4708F410u); 785 786 L_4708F410: 787 MEM32(0x4710FAC4) = 0x47108CC8u; /* 0x4708F410: mov dword ptr [0x4710fac4], 0x47108cc8 */ 788 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F41A: ret */ 789 RECOMP_REGS_OUT(); 790 } 791 792 void sub_4708F420(void) { 793 int _fpu_cmp = 0; 794 uint32_t _cf = 0; 795 int _df = 1; 796 uint32_t _flag_k = FK_NONE; 797 uint32_t _flag_a = 0, _flag_b = 0; 798 uint32_t _itail_tgt = 0; 799 RECOMP_REGS_LOCALS 800 RECOMP_ENTER(0x4708F420u); 801 802 L_4708F420: 803 MEM32(0x4710FAB8) = 0x47108D04u; /* 0x4708F420: mov dword ptr [0x4710fab8], 0x47108d04 */ 804 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F42A: ret */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_4708F430(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(0x4708F430u); 817 818 L_4708F430: 819 MEM32(0x4710FAE0) = 0x47108D38u; /* 0x4708F430: mov dword ptr [0x4710fae0], 0x47108d38 */ 820 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F43A: ret */ 821 RECOMP_REGS_OUT(); 822 } 823 824 void sub_4708F440(void) { 825 int _fpu_cmp = 0; 826 uint32_t _cf = 0; 827 int _df = 1; 828 uint32_t _flag_k = FK_NONE; 829 uint32_t _flag_a = 0, _flag_b = 0; 830 uint32_t _itail_tgt = 0; 831 RECOMP_REGS_LOCALS 832 RECOMP_ENTER(0x4708F440u); 833 834 L_4708F440: 835 MEM32(0x4710FAB4) = 0x4710CB94u; /* 0x4708F440: mov dword ptr [0x4710fab4], 0x4710cb94 */ 836 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F44A: ret */ 837 RECOMP_REGS_OUT(); 838 } 839 840 void sub_4708F450(void) { 841 int _fpu_cmp = 0; 842 uint32_t _cf = 0; 843 int _df = 1; 844 uint32_t _flag_k = FK_NONE; 845 uint32_t _flag_a = 0, _flag_b = 0; 846 uint32_t _itail_tgt = 0; 847 RECOMP_REGS_LOCALS 848 RECOMP_ENTER(0x4708F450u); 849 850 L_4708F450: 851 ecx = 0x4710FAFDu; /* 0x4708F450: mov ecx, 0x4710fafd */ 852 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F455: call dword ptr [0x470ac1c8] */ 853 RECOMP_FLAGS_IN(); 854 PUSH32(esp, 0x4708F470u); /* 0x4708F45B: push 0x4708f470 */ 855 RECOMP_ICALL(0x470A32D9u); /* 0x4708F460: call 0x470a32d9 */ /* not lifted */ 856 RECOMP_FLAGS_IN(); 857 ecx = POP32_VAL(esp); /* 0x4708F465: pop ecx */ 858 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F466: ret */ 859 RECOMP_REGS_OUT(); 860 } 861 862 void sub_4708F470(void) { 863 int _fpu_cmp = 0; 864 uint32_t _cf = 0; 865 int _df = 1; 866 uint32_t _flag_k = FK_NONE; 867 uint32_t _flag_a = 0, _flag_b = 0; 868 uint32_t _itail_tgt = 0; 869 RECOMP_REGS_LOCALS 870 RECOMP_ENTER(0x4708F470u); 871 872 L_4708F470: 873 ecx = 0x4710FAFDu; /* 0x4708F470: mov ecx, 0x4710fafd */ 874 L_4708F475: 875 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 876 { RECOMP_REGS_OUT(); return; } /* end of function */ 877 _ljump: 878 switch (_itail_tgt) { 879 case 0x4708F470u: goto L_4708F470; 880 case 0x4708F475u: goto L_4708F475; 881 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 882 } 883 RECOMP_REGS_OUT(); 884 } 885 886 void sub_4708F480(void) { 887 int _fpu_cmp = 0; 888 uint32_t _cf = 0; 889 int _df = 1; 890 uint32_t _flag_k = FK_NONE; 891 uint32_t _flag_a = 0, _flag_b = 0; 892 uint32_t _itail_tgt = 0; 893 RECOMP_REGS_LOCALS 894 RECOMP_ENTER(0x4708F480u); 895 896 L_4708F480: 897 ecx = 0x4710FAFCu; /* 0x4708F480: mov ecx, 0x4710fafc */ 898 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F485: call dword ptr [0x470ac1c4] */ 899 RECOMP_FLAGS_IN(); 900 PUSH32(esp, 0x4708F4A0u); /* 0x4708F48B: push 0x4708f4a0 */ 901 RECOMP_ICALL(0x470A32D9u); /* 0x4708F490: call 0x470a32d9 */ /* not lifted */ 902 RECOMP_FLAGS_IN(); 903 ecx = POP32_VAL(esp); /* 0x4708F495: pop ecx */ 904 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F496: ret */ 905 RECOMP_REGS_OUT(); 906 } 907 908 void sub_4708F4A0(void) { 909 int _fpu_cmp = 0; 910 uint32_t _cf = 0; 911 int _df = 1; 912 uint32_t _flag_k = FK_NONE; 913 uint32_t _flag_a = 0, _flag_b = 0; 914 uint32_t _itail_tgt = 0; 915 RECOMP_REGS_LOCALS 916 RECOMP_ENTER(0x4708F4A0u); 917 918 L_4708F4A0: 919 ecx = 0x4710FAFCu; /* 0x4708F4A0: mov ecx, 0x4710fafc */ 920 L_4708F4A5: 921 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 922 { RECOMP_REGS_OUT(); return; } /* end of function */ 923 _ljump: 924 switch (_itail_tgt) { 925 case 0x4708F4A0u: goto L_4708F4A0; 926 case 0x4708F4A5u: goto L_4708F4A5; 927 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 928 } 929 RECOMP_REGS_OUT(); 930 } 931 932 void sub_4708F4B0(void) { 933 int _fpu_cmp = 0; 934 uint32_t _cf = 0; 935 int _df = 1; 936 uint32_t _flag_k = FK_NONE; 937 uint32_t _flag_a = 0, _flag_b = 0; 938 uint32_t _itail_tgt = 0; 939 RECOMP_REGS_LOCALS 940 RECOMP_ENTER(0x4708F4B0u); 941 942 L_4708F4B0: 943 MEM32(0x4710FAF4) = 0x47104A3Cu; /* 0x4708F4B0: mov dword ptr [0x4710faf4], 0x47104a3c */ 944 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F4BA: ret */ 945 RECOMP_REGS_OUT(); 946 } 947 948 void sub_4708F4C0(void) { 949 int _fpu_cmp = 0; 950 uint32_t _cf = 0; 951 int _df = 1; 952 uint32_t _flag_k = FK_NONE; 953 uint32_t _flag_a = 0, _flag_b = 0; 954 uint32_t _itail_tgt = 0; 955 RECOMP_REGS_LOCALS 956 RECOMP_ENTER(0x4708F4C0u); 957 958 L_4708F4C0: 959 MEM32(0x4710FB10) = 0x47104B6Cu; /* 0x4708F4C0: mov dword ptr [0x4710fb10], 0x47104b6c */ 960 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F4CA: ret */ 961 RECOMP_REGS_OUT(); 962 } 963 964 void sub_4708F4D0(void) { 965 int _fpu_cmp = 0; 966 uint32_t _cf = 0; 967 int _df = 1; 968 uint32_t _flag_k = FK_NONE; 969 uint32_t _flag_a = 0, _flag_b = 0; 970 uint32_t _itail_tgt = 0; 971 RECOMP_REGS_LOCALS 972 RECOMP_ENTER(0x4708F4D0u); 973 974 L_4708F4D0: 975 MEM32(0x4710FB04) = 0x47104A00u; /* 0x4708F4D0: mov dword ptr [0x4710fb04], 0x47104a00 */ 976 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F4DA: ret */ 977 RECOMP_REGS_OUT(); 978 } 979 980 void sub_4708F4E0(void) { 981 int _fpu_cmp = 0; 982 uint32_t _cf = 0; 983 int _df = 1; 984 uint32_t _flag_k = FK_NONE; 985 uint32_t _flag_a = 0, _flag_b = 0; 986 uint32_t _itail_tgt = 0; 987 RECOMP_REGS_LOCALS 988 RECOMP_ENTER(0x4708F4E0u); 989 990 L_4708F4E0: 991 MEM32(0x4710FB00) = 0x47104A70u; /* 0x4708F4E0: mov dword ptr [0x4710fb00], 0x47104a70 */ 992 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F4EA: ret */ 993 RECOMP_REGS_OUT(); 994 } 995 996 void sub_4708F4F0(void) { 997 int _fpu_cmp = 0; 998 uint32_t _cf = 0; 999 int _df = 1; 1000 uint32_t _flag_k = FK_NONE; 1001 uint32_t _flag_a = 0, _flag_b = 0; 1002 uint32_t _itail_tgt = 0; 1003 RECOMP_REGS_LOCALS 1004 RECOMP_ENTER(0x4708F4F0u); 1005 1006 L_4708F4F0: 1007 MEM32(0x4710FAF8) = 0x47104BA0u; /* 0x4708F4F0: mov dword ptr [0x4710faf8], 0x47104ba0 */ 1008 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F4FA: ret */ 1009 RECOMP_REGS_OUT(); 1010 } 1011 1012 void sub_4708F500(void) { 1013 int _fpu_cmp = 0; 1014 uint32_t _cf = 0; 1015 int _df = 1; 1016 uint32_t _flag_k = FK_NONE; 1017 uint32_t _flag_a = 0, _flag_b = 0; 1018 uint32_t _itail_tgt = 0; 1019 RECOMP_REGS_LOCALS 1020 RECOMP_ENTER(0x4708F500u); 1021 1022 L_4708F500: 1023 MEM32(0x4710FB0C) = 0x47104BD4u; /* 0x4708F500: mov dword ptr [0x4710fb0c], 0x47104bd4 */ 1024 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F50A: ret */ 1025 RECOMP_REGS_OUT(); 1026 } 1027 1028 void sub_4708F510(void) { 1029 int _fpu_cmp = 0; 1030 uint32_t _cf = 0; 1031 int _df = 1; 1032 uint32_t _flag_k = FK_NONE; 1033 uint32_t _flag_a = 0, _flag_b = 0; 1034 uint32_t _itail_tgt = 0; 1035 RECOMP_REGS_LOCALS 1036 RECOMP_ENTER(0x4708F510u); 1037 1038 L_4708F510: 1039 MEM32(0x4710FB08) = 0x471050FCu; /* 0x4708F510: mov dword ptr [0x4710fb08], 0x471050fc */ 1040 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F51A: ret */ 1041 RECOMP_REGS_OUT(); 1042 } 1043 1044 void sub_4708F520(void) { 1045 int _fpu_cmp = 0; 1046 uint32_t _cf = 0; 1047 int _df = 1; 1048 uint32_t _flag_k = FK_NONE; 1049 uint32_t _flag_a = 0, _flag_b = 0; 1050 uint32_t _itail_tgt = 0; 1051 RECOMP_REGS_LOCALS 1052 RECOMP_ENTER(0x4708F520u); 1053 1054 L_4708F520: 1055 MEM32(0x4710FB14) = 0x471056C8u; /* 0x4708F520: mov dword ptr [0x4710fb14], 0x471056c8 */ 1056 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F52A: ret */ 1057 RECOMP_REGS_OUT(); 1058 } 1059 1060 void sub_4708F530(void) { 1061 int _fpu_cmp = 0; 1062 uint32_t _cf = 0; 1063 int _df = 1; 1064 uint32_t _flag_k = FK_NONE; 1065 uint32_t _flag_a = 0, _flag_b = 0; 1066 uint32_t _itail_tgt = 0; 1067 RECOMP_REGS_LOCALS 1068 RECOMP_ENTER(0x4708F530u); 1069 1070 L_4708F530: 1071 MEM32(0x4710FB18) = 0x4710CBD4u; /* 0x4708F530: mov dword ptr [0x4710fb18], 0x4710cbd4 */ 1072 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F53A: ret */ 1073 RECOMP_REGS_OUT(); 1074 } 1075 1076 void sub_4708F540(void) { 1077 int _fpu_cmp = 0; 1078 uint32_t _cf = 0; 1079 int _df = 1; 1080 uint32_t _flag_k = FK_NONE; 1081 uint32_t _flag_a = 0, _flag_b = 0; 1082 uint32_t _itail_tgt = 0; 1083 RECOMP_REGS_LOCALS 1084 RECOMP_ENTER(0x4708F540u); 1085 1086 L_4708F540: 1087 ecx = 0x4710FB21u; /* 0x4708F540: mov ecx, 0x4710fb21 */ 1088 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F545: call dword ptr [0x470ac1c8] */ 1089 RECOMP_FLAGS_IN(); 1090 PUSH32(esp, 0x4708F560u); /* 0x4708F54B: push 0x4708f560 */ 1091 RECOMP_ICALL(0x470A32D9u); /* 0x4708F550: call 0x470a32d9 */ /* not lifted */ 1092 RECOMP_FLAGS_IN(); 1093 ecx = POP32_VAL(esp); /* 0x4708F555: pop ecx */ 1094 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F556: ret */ 1095 RECOMP_REGS_OUT(); 1096 } 1097 1098 void sub_4708F560(void) { 1099 int _fpu_cmp = 0; 1100 uint32_t _cf = 0; 1101 int _df = 1; 1102 uint32_t _flag_k = FK_NONE; 1103 uint32_t _flag_a = 0, _flag_b = 0; 1104 uint32_t _itail_tgt = 0; 1105 RECOMP_REGS_LOCALS 1106 RECOMP_ENTER(0x4708F560u); 1107 1108 L_4708F560: 1109 ecx = 0x4710FB21u; /* 0x4708F560: mov ecx, 0x4710fb21 */ 1110 L_4708F565: 1111 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 1112 { RECOMP_REGS_OUT(); return; } /* end of function */ 1113 _ljump: 1114 switch (_itail_tgt) { 1115 case 0x4708F560u: goto L_4708F560; 1116 case 0x4708F565u: goto L_4708F565; 1117 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1118 } 1119 RECOMP_REGS_OUT(); 1120 } 1121 1122 void sub_4708F570(void) { 1123 int _fpu_cmp = 0; 1124 uint32_t _cf = 0; 1125 int _df = 1; 1126 uint32_t _flag_k = FK_NONE; 1127 uint32_t _flag_a = 0, _flag_b = 0; 1128 uint32_t _itail_tgt = 0; 1129 RECOMP_REGS_LOCALS 1130 RECOMP_ENTER(0x4708F570u); 1131 1132 L_4708F570: 1133 ecx = 0x4710FB20u; /* 0x4708F570: mov ecx, 0x4710fb20 */ 1134 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F575: call dword ptr [0x470ac1c4] */ 1135 RECOMP_FLAGS_IN(); 1136 PUSH32(esp, 0x4708F590u); /* 0x4708F57B: push 0x4708f590 */ 1137 RECOMP_ICALL(0x470A32D9u); /* 0x4708F580: call 0x470a32d9 */ /* not lifted */ 1138 RECOMP_FLAGS_IN(); 1139 ecx = POP32_VAL(esp); /* 0x4708F585: pop ecx */ 1140 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F586: ret */ 1141 RECOMP_REGS_OUT(); 1142 } 1143 1144 void sub_4708F590(void) { 1145 int _fpu_cmp = 0; 1146 uint32_t _cf = 0; 1147 int _df = 1; 1148 uint32_t _flag_k = FK_NONE; 1149 uint32_t _flag_a = 0, _flag_b = 0; 1150 uint32_t _itail_tgt = 0; 1151 RECOMP_REGS_LOCALS 1152 RECOMP_ENTER(0x4708F590u); 1153 1154 L_4708F590: 1155 ecx = 0x4710FB20u; /* 0x4708F590: mov ecx, 0x4710fb20 */ 1156 L_4708F595: 1157 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 1158 { RECOMP_REGS_OUT(); return; } /* end of function */ 1159 _ljump: 1160 switch (_itail_tgt) { 1161 case 0x4708F590u: goto L_4708F590; 1162 case 0x4708F595u: goto L_4708F595; 1163 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1164 } 1165 RECOMP_REGS_OUT(); 1166 } 1167 1168 void sub_4708F5A0(void) { 1169 int _fpu_cmp = 0; 1170 uint32_t _cf = 0; 1171 int _df = 1; 1172 uint32_t _flag_k = FK_NONE; 1173 uint32_t _flag_a = 0, _flag_b = 0; 1174 uint32_t _itail_tgt = 0; 1175 RECOMP_REGS_LOCALS 1176 RECOMP_ENTER(0x4708F5A0u); 1177 1178 L_4708F5A0: 1179 MEM32(0x4710FB1C) = 0x4710CC08u; /* 0x4708F5A0: mov dword ptr [0x4710fb1c], 0x4710cc08 */ 1180 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F5AA: ret */ 1181 RECOMP_REGS_OUT(); 1182 } 1183 1184 void sub_4708F5B0(void) { 1185 int _fpu_cmp = 0; 1186 uint32_t _cf = 0; 1187 int _df = 1; 1188 uint32_t _flag_k = FK_NONE; 1189 uint32_t _flag_a = 0, _flag_b = 0; 1190 uint32_t _itail_tgt = 0; 1191 RECOMP_REGS_LOCALS 1192 RECOMP_ENTER(0x4708F5B0u); 1193 1194 L_4708F5B0: 1195 ecx = 0x4710FB25u; /* 0x4708F5B0: mov ecx, 0x4710fb25 */ 1196 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F5B5: call dword ptr [0x470ac1c8] */ 1197 RECOMP_FLAGS_IN(); 1198 PUSH32(esp, 0x4708F5D0u); /* 0x4708F5BB: push 0x4708f5d0 */ 1199 RECOMP_ICALL(0x470A32D9u); /* 0x4708F5C0: call 0x470a32d9 */ /* not lifted */ 1200 RECOMP_FLAGS_IN(); 1201 ecx = POP32_VAL(esp); /* 0x4708F5C5: pop ecx */ 1202 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F5C6: ret */ 1203 RECOMP_REGS_OUT(); 1204 } 1205 1206 void sub_4708F5D0(void) { 1207 int _fpu_cmp = 0; 1208 uint32_t _cf = 0; 1209 int _df = 1; 1210 uint32_t _flag_k = FK_NONE; 1211 uint32_t _flag_a = 0, _flag_b = 0; 1212 uint32_t _itail_tgt = 0; 1213 RECOMP_REGS_LOCALS 1214 RECOMP_ENTER(0x4708F5D0u); 1215 1216 L_4708F5D0: 1217 ecx = 0x4710FB25u; /* 0x4708F5D0: mov ecx, 0x4710fb25 */ 1218 L_4708F5D5: 1219 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 1220 { RECOMP_REGS_OUT(); return; } /* end of function */ 1221 _ljump: 1222 switch (_itail_tgt) { 1223 case 0x4708F5D0u: goto L_4708F5D0; 1224 case 0x4708F5D5u: goto L_4708F5D5; 1225 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1226 } 1227 RECOMP_REGS_OUT(); 1228 } 1229 1230 void sub_4708F5E0(void) { 1231 int _fpu_cmp = 0; 1232 uint32_t _cf = 0; 1233 int _df = 1; 1234 uint32_t _flag_k = FK_NONE; 1235 uint32_t _flag_a = 0, _flag_b = 0; 1236 uint32_t _itail_tgt = 0; 1237 RECOMP_REGS_LOCALS 1238 RECOMP_ENTER(0x4708F5E0u); 1239 1240 L_4708F5E0: 1241 ecx = 0x4710FB24u; /* 0x4708F5E0: mov ecx, 0x4710fb24 */ 1242 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F5E5: call dword ptr [0x470ac1c4] */ 1243 RECOMP_FLAGS_IN(); 1244 PUSH32(esp, 0x4708F600u); /* 0x4708F5EB: push 0x4708f600 */ 1245 RECOMP_ICALL(0x470A32D9u); /* 0x4708F5F0: call 0x470a32d9 */ /* not lifted */ 1246 RECOMP_FLAGS_IN(); 1247 ecx = POP32_VAL(esp); /* 0x4708F5F5: pop ecx */ 1248 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F5F6: ret */ 1249 RECOMP_REGS_OUT(); 1250 } 1251 1252 void sub_4708F600(void) { 1253 int _fpu_cmp = 0; 1254 uint32_t _cf = 0; 1255 int _df = 1; 1256 uint32_t _flag_k = FK_NONE; 1257 uint32_t _flag_a = 0, _flag_b = 0; 1258 uint32_t _itail_tgt = 0; 1259 RECOMP_REGS_LOCALS 1260 RECOMP_ENTER(0x4708F600u); 1261 1262 L_4708F600: 1263 ecx = 0x4710FB24u; /* 0x4708F600: mov ecx, 0x4710fb24 */ 1264 L_4708F605: 1265 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 1266 { RECOMP_REGS_OUT(); return; } /* end of function */ 1267 _ljump: 1268 switch (_itail_tgt) { 1269 case 0x4708F600u: goto L_4708F600; 1270 case 0x4708F605u: goto L_4708F605; 1271 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1272 } 1273 RECOMP_REGS_OUT(); 1274 } 1275 1276 void sub_4708F610(void) { 1277 int _fpu_cmp = 0; 1278 uint32_t _cf = 0; 1279 int _df = 1; 1280 uint32_t _flag_k = FK_NONE; 1281 uint32_t _flag_a = 0, _flag_b = 0; 1282 uint32_t _itail_tgt = 0; 1283 RECOMP_REGS_LOCALS 1284 RECOMP_ENTER(0x4708F610u); 1285 1286 L_4708F610: 1287 MEM32(0x4710FB28) = 0x4710CC38u; /* 0x4708F610: mov dword ptr [0x4710fb28], 0x4710cc38 */ 1288 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F61A: ret */ 1289 RECOMP_REGS_OUT(); 1290 } 1291 1292 void sub_4708F620(void) { 1293 int _fpu_cmp = 0; 1294 uint32_t _cf = 0; 1295 int _df = 1; 1296 uint32_t _flag_k = FK_NONE; 1297 uint32_t _flag_a = 0, _flag_b = 0; 1298 uint32_t _itail_tgt = 0; 1299 RECOMP_REGS_LOCALS 1300 RECOMP_ENTER(0x4708F620u); 1301 1302 L_4708F620: 1303 ecx = 0x4710FB2Du; /* 0x4708F620: mov ecx, 0x4710fb2d */ 1304 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F625: call dword ptr [0x470ac1c8] */ 1305 RECOMP_FLAGS_IN(); 1306 PUSH32(esp, 0x4708F640u); /* 0x4708F62B: push 0x4708f640 */ 1307 RECOMP_ICALL(0x470A32D9u); /* 0x4708F630: call 0x470a32d9 */ /* not lifted */ 1308 RECOMP_FLAGS_IN(); 1309 ecx = POP32_VAL(esp); /* 0x4708F635: pop ecx */ 1310 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F636: ret */ 1311 RECOMP_REGS_OUT(); 1312 } 1313 1314 void sub_4708F640(void) { 1315 int _fpu_cmp = 0; 1316 uint32_t _cf = 0; 1317 int _df = 1; 1318 uint32_t _flag_k = FK_NONE; 1319 uint32_t _flag_a = 0, _flag_b = 0; 1320 uint32_t _itail_tgt = 0; 1321 RECOMP_REGS_LOCALS 1322 RECOMP_ENTER(0x4708F640u); 1323 1324 L_4708F640: 1325 ecx = 0x4710FB2Du; /* 0x4708F640: mov ecx, 0x4710fb2d */ 1326 L_4708F645: 1327 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 1328 { RECOMP_REGS_OUT(); return; } /* end of function */ 1329 _ljump: 1330 switch (_itail_tgt) { 1331 case 0x4708F640u: goto L_4708F640; 1332 case 0x4708F645u: goto L_4708F645; 1333 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1334 } 1335 RECOMP_REGS_OUT(); 1336 } 1337 1338 void sub_4708F650(void) { 1339 int _fpu_cmp = 0; 1340 uint32_t _cf = 0; 1341 int _df = 1; 1342 uint32_t _flag_k = FK_NONE; 1343 uint32_t _flag_a = 0, _flag_b = 0; 1344 uint32_t _itail_tgt = 0; 1345 RECOMP_REGS_LOCALS 1346 RECOMP_ENTER(0x4708F650u); 1347 1348 L_4708F650: 1349 ecx = 0x4710FB2Cu; /* 0x4708F650: mov ecx, 0x4710fb2c */ 1350 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F655: call dword ptr [0x470ac1c4] */ 1351 RECOMP_FLAGS_IN(); 1352 PUSH32(esp, 0x4708F670u); /* 0x4708F65B: push 0x4708f670 */ 1353 RECOMP_ICALL(0x470A32D9u); /* 0x4708F660: call 0x470a32d9 */ /* not lifted */ 1354 RECOMP_FLAGS_IN(); 1355 ecx = POP32_VAL(esp); /* 0x4708F665: pop ecx */ 1356 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F666: ret */ 1357 RECOMP_REGS_OUT(); 1358 } 1359 1360 void sub_4708F670(void) { 1361 int _fpu_cmp = 0; 1362 uint32_t _cf = 0; 1363 int _df = 1; 1364 uint32_t _flag_k = FK_NONE; 1365 uint32_t _flag_a = 0, _flag_b = 0; 1366 uint32_t _itail_tgt = 0; 1367 RECOMP_REGS_LOCALS 1368 RECOMP_ENTER(0x4708F670u); 1369 1370 L_4708F670: 1371 ecx = 0x4710FB2Cu; /* 0x4708F670: mov ecx, 0x4710fb2c */ 1372 L_4708F675: 1373 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 1374 { RECOMP_REGS_OUT(); return; } /* end of function */ 1375 _ljump: 1376 switch (_itail_tgt) { 1377 case 0x4708F670u: goto L_4708F670; 1378 case 0x4708F675u: goto L_4708F675; 1379 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1380 } 1381 RECOMP_REGS_OUT(); 1382 } 1383 1384 void sub_4708F680(void) { 1385 int _fpu_cmp = 0; 1386 uint32_t _cf = 0; 1387 int _df = 1; 1388 uint32_t _flag_k = FK_NONE; 1389 uint32_t _flag_a = 0, _flag_b = 0; 1390 uint32_t _itail_tgt = 0; 1391 RECOMP_REGS_LOCALS 1392 RECOMP_ENTER(0x4708F680u); 1393 1394 L_4708F680: 1395 MEM32(0x4710FB30) = 0x4710CC70u; /* 0x4708F680: mov dword ptr [0x4710fb30], 0x4710cc70 */ 1396 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F68A: ret */ 1397 RECOMP_REGS_OUT(); 1398 } 1399 1400 void sub_4708F690(void) { 1401 int _fpu_cmp = 0; 1402 uint32_t _cf = 0; 1403 int _df = 1; 1404 uint32_t _flag_k = FK_NONE; 1405 uint32_t _flag_a = 0, _flag_b = 0; 1406 uint32_t _itail_tgt = 0; 1407 RECOMP_REGS_LOCALS 1408 RECOMP_ENTER(0x4708F690u); 1409 1410 L_4708F690: 1411 ecx = 0x4710FB39u; /* 0x4708F690: mov ecx, 0x4710fb39 */ 1412 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F695: call dword ptr [0x470ac1c8] */ 1413 RECOMP_FLAGS_IN(); 1414 PUSH32(esp, 0x4708F6B0u); /* 0x4708F69B: push 0x4708f6b0 */ 1415 RECOMP_ICALL(0x470A32D9u); /* 0x4708F6A0: call 0x470a32d9 */ /* not lifted */ 1416 RECOMP_FLAGS_IN(); 1417 ecx = POP32_VAL(esp); /* 0x4708F6A5: pop ecx */ 1418 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F6A6: ret */ 1419 RECOMP_REGS_OUT(); 1420 } 1421 1422 void sub_4708F6B0(void) { 1423 int _fpu_cmp = 0; 1424 uint32_t _cf = 0; 1425 int _df = 1; 1426 uint32_t _flag_k = FK_NONE; 1427 uint32_t _flag_a = 0, _flag_b = 0; 1428 uint32_t _itail_tgt = 0; 1429 RECOMP_REGS_LOCALS 1430 RECOMP_ENTER(0x4708F6B0u); 1431 1432 L_4708F6B0: 1433 ecx = 0x4710FB39u; /* 0x4708F6B0: mov ecx, 0x4710fb39 */ 1434 L_4708F6B5: 1435 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 1436 { RECOMP_REGS_OUT(); return; } /* end of function */ 1437 _ljump: 1438 switch (_itail_tgt) { 1439 case 0x4708F6B0u: goto L_4708F6B0; 1440 case 0x4708F6B5u: goto L_4708F6B5; 1441 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1442 } 1443 RECOMP_REGS_OUT(); 1444 } 1445 1446 void sub_4708F6C0(void) { 1447 int _fpu_cmp = 0; 1448 uint32_t _cf = 0; 1449 int _df = 1; 1450 uint32_t _flag_k = FK_NONE; 1451 uint32_t _flag_a = 0, _flag_b = 0; 1452 uint32_t _itail_tgt = 0; 1453 RECOMP_REGS_LOCALS 1454 RECOMP_ENTER(0x4708F6C0u); 1455 1456 L_4708F6C0: 1457 ecx = 0x4710FB38u; /* 0x4708F6C0: mov ecx, 0x4710fb38 */ 1458 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F6C5: call dword ptr [0x470ac1c4] */ 1459 RECOMP_FLAGS_IN(); 1460 PUSH32(esp, 0x4708F6E0u); /* 0x4708F6CB: push 0x4708f6e0 */ 1461 RECOMP_ICALL(0x470A32D9u); /* 0x4708F6D0: call 0x470a32d9 */ /* not lifted */ 1462 RECOMP_FLAGS_IN(); 1463 ecx = POP32_VAL(esp); /* 0x4708F6D5: pop ecx */ 1464 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F6D6: ret */ 1465 RECOMP_REGS_OUT(); 1466 } 1467 1468 void sub_4708F6E0(void) { 1469 int _fpu_cmp = 0; 1470 uint32_t _cf = 0; 1471 int _df = 1; 1472 uint32_t _flag_k = FK_NONE; 1473 uint32_t _flag_a = 0, _flag_b = 0; 1474 uint32_t _itail_tgt = 0; 1475 RECOMP_REGS_LOCALS 1476 RECOMP_ENTER(0x4708F6E0u); 1477 1478 L_4708F6E0: 1479 ecx = 0x4710FB38u; /* 0x4708F6E0: mov ecx, 0x4710fb38 */ 1480 L_4708F6E5: 1481 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 1482 { RECOMP_REGS_OUT(); return; } /* end of function */ 1483 _ljump: 1484 switch (_itail_tgt) { 1485 case 0x4708F6E0u: goto L_4708F6E0; 1486 case 0x4708F6E5u: goto L_4708F6E5; 1487 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1488 } 1489 RECOMP_REGS_OUT(); 1490 } 1491 1492 void sub_4708F6F0(void) { 1493 int _fpu_cmp = 0; 1494 uint32_t _cf = 0; 1495 int _df = 1; 1496 uint32_t _flag_k = FK_NONE; 1497 uint32_t _flag_a = 0, _flag_b = 0; 1498 uint32_t _itail_tgt = 0; 1499 RECOMP_REGS_LOCALS 1500 RECOMP_ENTER(0x4708F6F0u); 1501 1502 L_4708F6F0: 1503 MEM32(0x4710FB34) = 0x4710CCA8u; /* 0x4708F6F0: mov dword ptr [0x4710fb34], 0x4710cca8 */ 1504 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F6FA: ret */ 1505 RECOMP_REGS_OUT(); 1506 } 1507 1508 void sub_4708F700(void) { 1509 int _fpu_cmp = 0; 1510 uint32_t _cf = 0; 1511 int _df = 1; 1512 uint32_t _flag_k = FK_NONE; 1513 uint32_t _flag_a = 0, _flag_b = 0; 1514 uint32_t _itail_tgt = 0; 1515 RECOMP_REGS_LOCALS 1516 RECOMP_ENTER(0x4708F700u); 1517 1518 L_4708F700: 1519 ecx = 0x4710FB45u; /* 0x4708F700: mov ecx, 0x4710fb45 */ 1520 RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4708F705: call dword ptr [0x470ac1c8] */ 1521 RECOMP_FLAGS_IN(); 1522 PUSH32(esp, 0x4708F720u); /* 0x4708F70B: push 0x4708f720 */ 1523 RECOMP_ICALL(0x470A32D9u); /* 0x4708F710: call 0x470a32d9 */ /* not lifted */ 1524 RECOMP_FLAGS_IN(); 1525 ecx = POP32_VAL(esp); /* 0x4708F715: pop ecx */ 1526 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F716: ret */ 1527 RECOMP_REGS_OUT(); 1528 } 1529 1530 void sub_4708F720(void) { 1531 int _fpu_cmp = 0; 1532 uint32_t _cf = 0; 1533 int _df = 1; 1534 uint32_t _flag_k = FK_NONE; 1535 uint32_t _flag_a = 0, _flag_b = 0; 1536 uint32_t _itail_tgt = 0; 1537 RECOMP_REGS_LOCALS 1538 RECOMP_ENTER(0x4708F720u); 1539 1540 L_4708F720: 1541 ecx = 0x4710FB45u; /* 0x4708F720: mov ecx, 0x4710fb45 */ 1542 L_4708F725: 1543 { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; } 1544 { RECOMP_REGS_OUT(); return; } /* end of function */ 1545 _ljump: 1546 switch (_itail_tgt) { 1547 case 0x4708F720u: goto L_4708F720; 1548 case 0x4708F725u: goto L_4708F725; 1549 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1550 } 1551 RECOMP_REGS_OUT(); 1552 } 1553 1554 void sub_4708F730(void) { 1555 int _fpu_cmp = 0; 1556 uint32_t _cf = 0; 1557 int _df = 1; 1558 uint32_t _flag_k = FK_NONE; 1559 uint32_t _flag_a = 0, _flag_b = 0; 1560 uint32_t _itail_tgt = 0; 1561 RECOMP_REGS_LOCALS 1562 RECOMP_ENTER(0x4708F730u); 1563 1564 L_4708F730: 1565 ecx = 0x4710FB44u; /* 0x4708F730: mov ecx, 0x4710fb44 */ 1566 RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4708F735: call dword ptr [0x470ac1c4] */ 1567 RECOMP_FLAGS_IN(); 1568 PUSH32(esp, 0x4708F750u); /* 0x4708F73B: push 0x4708f750 */ 1569 RECOMP_ICALL(0x470A32D9u); /* 0x4708F740: call 0x470a32d9 */ /* not lifted */ 1570 RECOMP_FLAGS_IN(); 1571 ecx = POP32_VAL(esp); /* 0x4708F745: pop ecx */ 1572 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F746: ret */ 1573 RECOMP_REGS_OUT(); 1574 } 1575 1576 void sub_4708F750(void) { 1577 int _fpu_cmp = 0; 1578 uint32_t _cf = 0; 1579 int _df = 1; 1580 uint32_t _flag_k = FK_NONE; 1581 uint32_t _flag_a = 0, _flag_b = 0; 1582 uint32_t _itail_tgt = 0; 1583 RECOMP_REGS_LOCALS 1584 RECOMP_ENTER(0x4708F750u); 1585 1586 L_4708F750: 1587 ecx = 0x4710FB44u; /* 0x4708F750: mov ecx, 0x4710fb44 */ 1588 L_4708F755: 1589 { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; } 1590 { RECOMP_REGS_OUT(); return; } /* end of function */ 1591 _ljump: 1592 switch (_itail_tgt) { 1593 case 0x4708F750u: goto L_4708F750; 1594 case 0x4708F755u: goto L_4708F755; 1595 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1596 } 1597 RECOMP_REGS_OUT(); 1598 } 1599 1600 void sub_4708F760(void) { 1601 int _fpu_cmp = 0; 1602 uint32_t _cf = 0; 1603 int _df = 1; 1604 uint32_t _flag_k = FK_NONE; 1605 uint32_t _flag_a = 0, _flag_b = 0; 1606 uint32_t _itail_tgt = 0; 1607 RECOMP_REGS_LOCALS 1608 RECOMP_ENTER(0x4708F760u); 1609 1610 L_4708F760: 1611 MEM32(0x4710FB3C) = 0x47104A3Cu; /* 0x4708F760: mov dword ptr [0x4710fb3c], 0x47104a3c */ 1612 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F76A: ret */ 1613 RECOMP_REGS_OUT(); 1614 } 1615 1616 void sub_4708F770(void) { 1617 int _fpu_cmp = 0; 1618 uint32_t _cf = 0; 1619 int _df = 1; 1620 uint32_t _flag_k = FK_NONE; 1621 uint32_t _flag_a = 0, _flag_b = 0; 1622 uint32_t _itail_tgt = 0; 1623 RECOMP_REGS_LOCALS 1624 RECOMP_ENTER(0x4708F770u); 1625 1626 L_4708F770: 1627 MEM32(0x4710FB40) = 0x4710CCE0u; /* 0x4708F770: mov dword ptr [0x4710fb40], 0x4710cce0 */ 1628 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708F77A: ret */ 1629 RECOMP_REGS_OUT(); 1630 } 1631 1632 void sub_4708F780(void) { 1633 int _fpu_cmp = 0; 1634 uint32_t _cf = 0; 1635 int _df = 1; 1636 uint32_t _flag_k = FK_NONE; 1637 uint32_t _flag_a = 0, _flag_b = 0; 1638 uint32_t _itail_tgt = 0; 1639 RECOMP_REGS_LOCALS 1640 RECOMP_ENTER(0x4708F780u); 1641 1642 L_4708F780: 1643 PUSH32(esp, ecx); /* 0x4708F780: push ecx */ 1644 PUSH32(esp, ebx); /* 0x4708F781: push ebx */ 1645 PUSH32(esp, ebp); /* 0x4708F782: push ebp */ 1646 PUSH32(esp, esi); /* 0x4708F783: push esi */ 1647 PUSH32(esp, edi); /* 0x4708F784: push edi */ 1648 edi = MEM32(0x470AC150); /* 0x4708F785: mov edi, dword ptr [0x470ac150] */ 1649 ebp = ecx; /* 0x4708F78B: mov ebp, ecx */ 1650 RECOMP_ICALL(edi); /* 0x4708F78D: call edi */ 1651 RECOMP_FLAGS_IN(); 1652 ebx = MEM32(0x470AC3C8); /* 0x4708F78F: mov ebx, dword ptr [0x470ac3c8] */ 1653 esi = eax; /* 0x4708F795: mov esi, eax */ 1654 RECOMP_ICALL(ebx); /* 0x4708F797: call ebx */ 1655 RECOMP_FLAGS_IN(); 1656 eax = MEM32(eax); /* 0x4708F799: mov eax, dword ptr [eax] */ 1657 /* test eax, eax */ /* 0x4708F79B: test eax, eax */ 1658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1659 _cf = 0; 1660 _flag_k = FK_TEST; 1661 MEM32(esp + 0x10) = esi; /* 0x4708F79D: mov dword ptr [esp + 0x10], esi */ 1662 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F7A7; /* 0x4708F7A1: je 0x4708f7a7 */ 1663 L_4708F7A3: 1664 MEM32(esp + 0x10) = eax; /* 0x4708F7A3: mov dword ptr [esp + 0x10], eax */ 1665 L_4708F7A7: 1666 RECOMP_ICALL(0x47039020u); /* 0x4708F7A7: call 0x47039020 */ /* not lifted */ 1667 RECOMP_FLAGS_IN(); 1668 esi = eax; /* 0x4708F7AC: mov esi, eax */ 1669 ecx = esi; /* 0x4708F7AE: mov ecx, esi */ 1670 RECOMP_ICALL(0x4703B210u); /* 0x4708F7B0: call 0x4703b210 */ /* not lifted */ 1671 RECOMP_FLAGS_IN(); 1672 PUSH32(esp, eax); /* 0x4708F7B5: push eax */ 1673 ecx = esi; /* 0x4708F7B6: mov ecx, esi */ 1674 RECOMP_ICALL(0x4703B240u); /* 0x4708F7B8: call 0x4703b240 */ /* not lifted */ 1675 RECOMP_FLAGS_IN(); 1676 PUSH32(esp, eax); /* 0x4708F7BD: push eax */ 1677 ecx = esi; /* 0x4708F7BE: mov ecx, esi */ 1678 RECOMP_ICALL(0x4703B080u); /* 0x4708F7C0: call 0x4703b080 */ /* not lifted */ 1679 RECOMP_FLAGS_IN(); 1680 PUSH32(esp, eax); /* 0x4708F7C5: push eax */ 1681 eax = MEM32(esp + 0x1C); /* 0x4708F7C6: mov eax, dword ptr [esp + 0x1c] */ 1682 PUSH32(esp, eax); /* 0x4708F7CA: push eax */ 1683 PUSH32(esp, 0); /* 0x4708F7CB: push 0 */ 1684 PUSH32(esp, 0x1Cu); /* 0x4708F7CD: push 0x1c */ 1685 PUSH32(esp, 0x4710CD68u); /* 0x4708F7CF: push 0x4710cd68 */ 1686 ecx = esi; /* 0x4708F7D4: mov ecx, esi */ 1687 RECOMP_ICALL(0x4703A340u); /* 0x4708F7D6: call 0x4703a340 */ /* not lifted */ 1688 RECOMP_FLAGS_IN(); 1689 PUSH32(esp, ebp); /* 0x4708F7DB: push ebp */ 1690 PUSH32(esp, 0x471052CCu); /* 0x4708F7DC: push 0x471052cc */ 1691 PUSH32(esp, 4); /* 0x4708F7E1: push 4 */ 1692 PUSH32(esp, esi); /* 0x4708F7E3: push esi */ 1693 RECOMP_ICALL(0x47039830u); /* 0x4708F7E4: call 0x47039830 */ /* not lifted */ 1694 RECOMP_FLAGS_IN(); 1695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1697 esp = esp + 0x10u; /* 0x4708F7E9: add esp, 0x10 */ 1698 _flag_k = FK_ADD; 1699 RECOMP_ICALL(edi); /* 0x4708F7EC: call edi */ 1700 RECOMP_FLAGS_IN(); 1701 esi = eax; /* 0x4708F7EE: mov esi, eax */ 1702 RECOMP_ICALL(ebx); /* 0x4708F7F0: call ebx */ 1703 RECOMP_FLAGS_IN(); 1704 eax = MEM32(eax); /* 0x4708F7F2: mov eax, dword ptr [eax] */ 1705 /* test eax, eax */ /* 0x4708F7F4: test eax, eax */ 1706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1707 _cf = 0; 1708 _flag_k = FK_TEST; 1709 MEM32(esp + 0x10) = esi; /* 0x4708F7F6: mov dword ptr [esp + 0x10], esi */ 1710 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F800; /* 0x4708F7FA: je 0x4708f800 */ 1711 L_4708F7FC: 1712 MEM32(esp + 0x10) = eax; /* 0x4708F7FC: mov dword ptr [esp + 0x10], eax */ 1713 L_4708F800: 1714 RECOMP_ICALL(0x47039020u); /* 0x4708F800: call 0x47039020 */ /* not lifted */ 1715 RECOMP_FLAGS_IN(); 1716 esi = eax; /* 0x4708F805: mov esi, eax */ 1717 ecx = esi; /* 0x4708F807: mov ecx, esi */ 1718 RECOMP_ICALL(0x4703B210u); /* 0x4708F809: call 0x4703b210 */ /* not lifted */ 1719 RECOMP_FLAGS_IN(); 1720 PUSH32(esp, eax); /* 0x4708F80E: push eax */ 1721 ecx = esi; /* 0x4708F80F: mov ecx, esi */ 1722 RECOMP_ICALL(0x4703B240u); /* 0x4708F811: call 0x4703b240 */ /* not lifted */ 1723 RECOMP_FLAGS_IN(); 1724 PUSH32(esp, eax); /* 0x4708F816: push eax */ 1725 ecx = esi; /* 0x4708F817: mov ecx, esi */ 1726 RECOMP_ICALL(0x4703B080u); /* 0x4708F819: call 0x4703b080 */ /* not lifted */ 1727 RECOMP_FLAGS_IN(); 1728 ecx = MEM32(esp + 0x18); /* 0x4708F81E: mov ecx, dword ptr [esp + 0x18] */ 1729 PUSH32(esp, eax); /* 0x4708F822: push eax */ 1730 PUSH32(esp, ecx); /* 0x4708F823: push ecx */ 1731 PUSH32(esp, 0); /* 0x4708F824: push 0 */ 1732 PUSH32(esp, 0x1Eu); /* 0x4708F826: push 0x1e */ 1733 PUSH32(esp, 0x4710CD68u); /* 0x4708F828: push 0x4710cd68 */ 1734 ecx = esi; /* 0x4708F82D: mov ecx, esi */ 1735 RECOMP_ICALL(0x4703A340u); /* 0x4708F82F: call 0x4703a340 */ /* not lifted */ 1736 RECOMP_FLAGS_IN(); 1737 RECOMP_ICALL(MEM32(0x470AC14C)); /* 0x4708F834: call dword ptr [0x470ac14c] */ 1738 RECOMP_FLAGS_IN(); 1739 PUSH32(esp, eax); /* 0x4708F83A: push eax */ 1740 PUSH32(esp, 0x4710CD58u); /* 0x4708F83B: push 0x4710cd58 */ 1741 PUSH32(esp, 4); /* 0x4708F840: push 4 */ 1742 PUSH32(esp, esi); /* 0x4708F842: push esi */ 1743 RECOMP_ICALL(0x47039830u); /* 0x4708F843: call 0x47039830 */ /* not lifted */ 1744 RECOMP_FLAGS_IN(); 1745 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1746 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1747 esp = esp + 0x10u; /* 0x4708F848: add esp, 0x10 */ 1748 _flag_k = FK_ADD; 1749 RECOMP_ICALL(edi); /* 0x4708F84B: call edi */ 1750 RECOMP_FLAGS_IN(); 1751 esi = eax; /* 0x4708F84D: mov esi, eax */ 1752 RECOMP_ICALL(ebx); /* 0x4708F84F: call ebx */ 1753 RECOMP_FLAGS_IN(); 1754 eax = MEM32(eax); /* 0x4708F851: mov eax, dword ptr [eax] */ 1755 /* test eax, eax */ /* 0x4708F853: test eax, eax */ 1756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1757 _cf = 0; 1758 _flag_k = FK_TEST; 1759 MEM32(esp + 0x10) = esi; /* 0x4708F855: mov dword ptr [esp + 0x10], esi */ 1760 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F85F; /* 0x4708F859: je 0x4708f85f */ 1761 L_4708F85B: 1762 MEM32(esp + 0x10) = eax; /* 0x4708F85B: mov dword ptr [esp + 0x10], eax */ 1763 L_4708F85F: 1764 RECOMP_ICALL(0x47039020u); /* 0x4708F85F: call 0x47039020 */ /* not lifted */ 1765 RECOMP_FLAGS_IN(); 1766 esi = eax; /* 0x4708F864: mov esi, eax */ 1767 ecx = esi; /* 0x4708F866: mov ecx, esi */ 1768 RECOMP_ICALL(0x4703B210u); /* 0x4708F868: call 0x4703b210 */ /* not lifted */ 1769 RECOMP_FLAGS_IN(); 1770 PUSH32(esp, eax); /* 0x4708F86D: push eax */ 1771 ecx = esi; /* 0x4708F86E: mov ecx, esi */ 1772 RECOMP_ICALL(0x4703B240u); /* 0x4708F870: call 0x4703b240 */ /* not lifted */ 1773 RECOMP_FLAGS_IN(); 1774 PUSH32(esp, eax); /* 0x4708F875: push eax */ 1775 ecx = esi; /* 0x4708F876: mov ecx, esi */ 1776 RECOMP_ICALL(0x4703B080u); /* 0x4708F878: call 0x4703b080 */ /* not lifted */ 1777 RECOMP_FLAGS_IN(); 1778 edx = MEM32(esp + 0x18); /* 0x4708F87D: mov edx, dword ptr [esp + 0x18] */ 1779 PUSH32(esp, eax); /* 0x4708F881: push eax */ 1780 PUSH32(esp, edx); /* 0x4708F882: push edx */ 1781 PUSH32(esp, 0); /* 0x4708F883: push 0 */ 1782 PUSH32(esp, 0x21u); /* 0x4708F885: push 0x21 */ 1783 PUSH32(esp, 0x4710CD68u); /* 0x4708F887: push 0x4710cd68 */ 1784 ecx = esi; /* 0x4708F88C: mov ecx, esi */ 1785 RECOMP_ICALL(0x4703A340u); /* 0x4708F88E: call 0x4703a340 */ /* not lifted */ 1786 RECOMP_FLAGS_IN(); 1787 eax = ebp + 0x30; /* 0x4708F893: lea eax, [ebp + 0x30] */ 1788 PUSH32(esp, eax); /* 0x4708F896: push eax */ 1789 PUSH32(esp, 0x4710CD44u); /* 0x4708F897: push 0x4710cd44 */ 1790 PUSH32(esp, 4); /* 0x4708F89C: push 4 */ 1791 PUSH32(esp, esi); /* 0x4708F89E: push esi */ 1792 RECOMP_ICALL(0x47039830u); /* 0x4708F89F: call 0x47039830 */ /* not lifted */ 1793 RECOMP_FLAGS_IN(); 1794 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1795 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1796 esp = esp + 0x10u; /* 0x4708F8A4: add esp, 0x10 */ 1797 _flag_k = FK_ADD; 1798 RECOMP_ICALL(edi); /* 0x4708F8A7: call edi */ 1799 RECOMP_FLAGS_IN(); 1800 esi = eax; /* 0x4708F8A9: mov esi, eax */ 1801 RECOMP_ICALL(ebx); /* 0x4708F8AB: call ebx */ 1802 RECOMP_FLAGS_IN(); 1803 eax = MEM32(eax); /* 0x4708F8AD: mov eax, dword ptr [eax] */ 1804 /* test eax, eax */ /* 0x4708F8AF: test eax, eax */ 1805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1806 _cf = 0; 1807 _flag_k = FK_TEST; 1808 MEM32(esp + 0x10) = esi; /* 0x4708F8B1: mov dword ptr [esp + 0x10], esi */ 1809 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F8BB; /* 0x4708F8B5: je 0x4708f8bb */ 1810 L_4708F8B7: 1811 MEM32(esp + 0x10) = eax; /* 0x4708F8B7: mov dword ptr [esp + 0x10], eax */ 1812 L_4708F8BB: 1813 RECOMP_ICALL(0x47039020u); /* 0x4708F8BB: call 0x47039020 */ /* not lifted */ 1814 RECOMP_FLAGS_IN(); 1815 esi = eax; /* 0x4708F8C0: mov esi, eax */ 1816 ecx = esi; /* 0x4708F8C2: mov ecx, esi */ 1817 RECOMP_ICALL(0x4703B210u); /* 0x4708F8C4: call 0x4703b210 */ /* not lifted */ 1818 RECOMP_FLAGS_IN(); 1819 PUSH32(esp, eax); /* 0x4708F8C9: push eax */ 1820 ecx = esi; /* 0x4708F8CA: mov ecx, esi */ 1821 RECOMP_ICALL(0x4703B240u); /* 0x4708F8CC: call 0x4703b240 */ /* not lifted */ 1822 RECOMP_FLAGS_IN(); 1823 PUSH32(esp, eax); /* 0x4708F8D1: push eax */ 1824 ecx = esi; /* 0x4708F8D2: mov ecx, esi */ 1825 RECOMP_ICALL(0x4703B080u); /* 0x4708F8D4: call 0x4703b080 */ /* not lifted */ 1826 RECOMP_FLAGS_IN(); 1827 ecx = MEM32(esp + 0x18); /* 0x4708F8D9: mov ecx, dword ptr [esp + 0x18] */ 1828 PUSH32(esp, eax); /* 0x4708F8DD: push eax */ 1829 PUSH32(esp, ecx); /* 0x4708F8DE: push ecx */ 1830 PUSH32(esp, 0); /* 0x4708F8DF: push 0 */ 1831 PUSH32(esp, 0x22u); /* 0x4708F8E1: push 0x22 */ 1832 PUSH32(esp, 0x4710CD68u); /* 0x4708F8E3: push 0x4710cd68 */ 1833 ecx = esi; /* 0x4708F8E8: mov ecx, esi */ 1834 RECOMP_ICALL(0x4703A340u); /* 0x4708F8EA: call 0x4703a340 */ /* not lifted */ 1835 RECOMP_FLAGS_IN(); 1836 edx = MEM32(ebp + 0x38); /* 0x4708F8EF: mov edx, dword ptr [ebp + 0x38] */ 1837 PUSH32(esp, edx); /* 0x4708F8F2: push edx */ 1838 PUSH32(esp, 0x4710CD34u); /* 0x4708F8F3: push 0x4710cd34 */ 1839 PUSH32(esp, 4); /* 0x4708F8F8: push 4 */ 1840 PUSH32(esp, esi); /* 0x4708F8FA: push esi */ 1841 RECOMP_ICALL(0x47039830u); /* 0x4708F8FB: call 0x47039830 */ /* not lifted */ 1842 RECOMP_FLAGS_IN(); 1843 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1844 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1845 esp = esp + 0x10u; /* 0x4708F900: add esp, 0x10 */ 1846 _flag_k = FK_ADD; 1847 RECOMP_ICALL(edi); /* 0x4708F903: call edi */ 1848 RECOMP_FLAGS_IN(); 1849 esi = eax; /* 0x4708F905: mov esi, eax */ 1850 RECOMP_ICALL(ebx); /* 0x4708F907: call ebx */ 1851 RECOMP_FLAGS_IN(); 1852 eax = MEM32(eax); /* 0x4708F909: mov eax, dword ptr [eax] */ 1853 /* test eax, eax */ /* 0x4708F90B: test eax, eax */ 1854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1855 _cf = 0; 1856 _flag_k = FK_TEST; 1857 MEM32(esp + 0x10) = esi; /* 0x4708F90D: mov dword ptr [esp + 0x10], esi */ 1858 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F917; /* 0x4708F911: je 0x4708f917 */ 1859 L_4708F913: 1860 MEM32(esp + 0x10) = eax; /* 0x4708F913: mov dword ptr [esp + 0x10], eax */ 1861 L_4708F917: 1862 RECOMP_ICALL(0x47039020u); /* 0x4708F917: call 0x47039020 */ /* not lifted */ 1863 RECOMP_FLAGS_IN(); 1864 esi = eax; /* 0x4708F91C: mov esi, eax */ 1865 ecx = esi; /* 0x4708F91E: mov ecx, esi */ 1866 RECOMP_ICALL(0x4703B210u); /* 0x4708F920: call 0x4703b210 */ /* not lifted */ 1867 RECOMP_FLAGS_IN(); 1868 PUSH32(esp, eax); /* 0x4708F925: push eax */ 1869 ecx = esi; /* 0x4708F926: mov ecx, esi */ 1870 RECOMP_ICALL(0x4703B240u); /* 0x4708F928: call 0x4703b240 */ /* not lifted */ 1871 RECOMP_FLAGS_IN(); 1872 PUSH32(esp, eax); /* 0x4708F92D: push eax */ 1873 ecx = esi; /* 0x4708F92E: mov ecx, esi */ 1874 RECOMP_ICALL(0x4703B080u); /* 0x4708F930: call 0x4703b080 */ /* not lifted */ 1875 RECOMP_FLAGS_IN(); 1876 PUSH32(esp, eax); /* 0x4708F935: push eax */ 1877 eax = MEM32(esp + 0x1C); /* 0x4708F936: mov eax, dword ptr [esp + 0x1c] */ 1878 PUSH32(esp, eax); /* 0x4708F93A: push eax */ 1879 PUSH32(esp, 0); /* 0x4708F93B: push 0 */ 1880 PUSH32(esp, 0x23u); /* 0x4708F93D: push 0x23 */ 1881 PUSH32(esp, 0x4710CD68u); /* 0x4708F93F: push 0x4710cd68 */ 1882 ecx = esi; /* 0x4708F944: mov ecx, esi */ 1883 RECOMP_ICALL(0x4703A340u); /* 0x4708F946: call 0x4703a340 */ /* not lifted */ 1884 RECOMP_FLAGS_IN(); 1885 ecx = MEM32(ebp + 0x34); /* 0x4708F94B: mov ecx, dword ptr [ebp + 0x34] */ 1886 PUSH32(esp, ecx); /* 0x4708F94E: push ecx */ 1887 PUSH32(esp, 0x4710CD24u); /* 0x4708F94F: push 0x4710cd24 */ 1888 PUSH32(esp, 4); /* 0x4708F954: push 4 */ 1889 PUSH32(esp, esi); /* 0x4708F956: push esi */ 1890 RECOMP_ICALL(0x47039830u); /* 0x4708F957: call 0x47039830 */ /* not lifted */ 1891 RECOMP_FLAGS_IN(); 1892 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1894 esp = esp + 0x10u; /* 0x4708F95C: add esp, 0x10 */ 1895 _flag_k = FK_ADD; 1896 RECOMP_ICALL(edi); /* 0x4708F95F: call edi */ 1897 RECOMP_FLAGS_IN(); 1898 esi = eax; /* 0x4708F961: mov esi, eax */ 1899 RECOMP_ICALL(ebx); /* 0x4708F963: call ebx */ 1900 RECOMP_FLAGS_IN(); 1901 eax = MEM32(eax); /* 0x4708F965: mov eax, dword ptr [eax] */ 1902 /* test eax, eax */ /* 0x4708F967: test eax, eax */ 1903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1904 _cf = 0; 1905 _flag_k = FK_TEST; 1906 MEM32(esp + 0x10) = esi; /* 0x4708F969: mov dword ptr [esp + 0x10], esi */ 1907 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F973; /* 0x4708F96D: je 0x4708f973 */ 1908 L_4708F96F: 1909 MEM32(esp + 0x10) = eax; /* 0x4708F96F: mov dword ptr [esp + 0x10], eax */ 1910 L_4708F973: 1911 RECOMP_ICALL(0x47039020u); /* 0x4708F973: call 0x47039020 */ /* not lifted */ 1912 RECOMP_FLAGS_IN(); 1913 esi = eax; /* 0x4708F978: mov esi, eax */ 1914 ecx = esi; /* 0x4708F97A: mov ecx, esi */ 1915 RECOMP_ICALL(0x4703B210u); /* 0x4708F97C: call 0x4703b210 */ /* not lifted */ 1916 RECOMP_FLAGS_IN(); 1917 PUSH32(esp, eax); /* 0x4708F981: push eax */ 1918 ecx = esi; /* 0x4708F982: mov ecx, esi */ 1919 RECOMP_ICALL(0x4703B240u); /* 0x4708F984: call 0x4703b240 */ /* not lifted */ 1920 RECOMP_FLAGS_IN(); 1921 PUSH32(esp, eax); /* 0x4708F989: push eax */ 1922 ecx = esi; /* 0x4708F98A: mov ecx, esi */ 1923 RECOMP_ICALL(0x4703B080u); /* 0x4708F98C: call 0x4703b080 */ /* not lifted */ 1924 RECOMP_FLAGS_IN(); 1925 edx = MEM32(esp + 0x18); /* 0x4708F991: mov edx, dword ptr [esp + 0x18] */ 1926 PUSH32(esp, eax); /* 0x4708F995: push eax */ 1927 PUSH32(esp, edx); /* 0x4708F996: push edx */ 1928 PUSH32(esp, 0); /* 0x4708F997: push 0 */ 1929 PUSH32(esp, 0x24u); /* 0x4708F999: push 0x24 */ 1930 PUSH32(esp, 0x4710CD68u); /* 0x4708F99B: push 0x4710cd68 */ 1931 ecx = esi; /* 0x4708F9A0: mov ecx, esi */ 1932 RECOMP_ICALL(0x4703A340u); /* 0x4708F9A2: call 0x4703a340 */ /* not lifted */ 1933 RECOMP_FLAGS_IN(); 1934 eax = MEM32(ebp + 0x3C); /* 0x4708F9A7: mov eax, dword ptr [ebp + 0x3c] */ 1935 PUSH32(esp, eax); /* 0x4708F9AA: push eax */ 1936 PUSH32(esp, 0x4710CD10u); /* 0x4708F9AB: push 0x4710cd10 */ 1937 PUSH32(esp, 4); /* 0x4708F9B0: push 4 */ 1938 PUSH32(esp, esi); /* 0x4708F9B2: push esi */ 1939 RECOMP_ICALL(0x47039830u); /* 0x4708F9B3: call 0x47039830 */ /* not lifted */ 1940 RECOMP_FLAGS_IN(); 1941 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1942 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1943 esp = esp + 0x10u; /* 0x4708F9B8: add esp, 0x10 */ 1944 _flag_k = FK_ADD; 1945 RECOMP_ICALL(edi); /* 0x4708F9BB: call edi */ 1946 RECOMP_FLAGS_IN(); 1947 esi = eax; /* 0x4708F9BD: mov esi, eax */ 1948 RECOMP_ICALL(ebx); /* 0x4708F9BF: call ebx */ 1949 RECOMP_FLAGS_IN(); 1950 eax = MEM32(eax); /* 0x4708F9C1: mov eax, dword ptr [eax] */ 1951 /* test eax, eax */ /* 0x4708F9C3: test eax, eax */ 1952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1953 _cf = 0; 1954 _flag_k = FK_TEST; 1955 edi = esi; /* 0x4708F9C5: mov edi, esi */ 1956 if (TEST_Z(_flag_a, _flag_b)) goto L_4708F9CB; /* 0x4708F9C7: je 0x4708f9cb */ 1957 L_4708F9C9: 1958 edi = eax; /* 0x4708F9C9: mov edi, eax */ 1959 L_4708F9CB: 1960 RECOMP_ICALL(0x47039020u); /* 0x4708F9CB: call 0x47039020 */ /* not lifted */ 1961 RECOMP_FLAGS_IN(); 1962 esi = eax; /* 0x4708F9D0: mov esi, eax */ 1963 ecx = esi; /* 0x4708F9D2: mov ecx, esi */ 1964 RECOMP_ICALL(0x4703B210u); /* 0x4708F9D4: call 0x4703b210 */ /* not lifted */ 1965 RECOMP_FLAGS_IN(); 1966 PUSH32(esp, eax); /* 0x4708F9D9: push eax */ 1967 ecx = esi; /* 0x4708F9DA: mov ecx, esi */ 1968 RECOMP_ICALL(0x4703B240u); /* 0x4708F9DC: call 0x4703b240 */ /* not lifted */ 1969 RECOMP_FLAGS_IN(); 1970 PUSH32(esp, eax); /* 0x4708F9E1: push eax */ 1971 ecx = esi; /* 0x4708F9E2: mov ecx, esi */ 1972 RECOMP_ICALL(0x4703B080u); /* 0x4708F9E4: call 0x4703b080 */ /* not lifted */ 1973 RECOMP_FLAGS_IN(); 1974 PUSH32(esp, eax); /* 0x4708F9E9: push eax */ 1975 PUSH32(esp, edi); /* 0x4708F9EA: push edi */ 1976 PUSH32(esp, 0); /* 0x4708F9EB: push 0 */ 1977 PUSH32(esp, 0x25u); /* 0x4708F9ED: push 0x25 */ 1978 PUSH32(esp, 0x4710CD68u); /* 0x4708F9EF: push 0x4710cd68 */ 1979 ecx = esi; /* 0x4708F9F4: mov ecx, esi */ 1980 RECOMP_ICALL(0x4703A340u); /* 0x4708F9F6: call 0x4703a340 */ /* not lifted */ 1981 RECOMP_FLAGS_IN(); 1982 PUSH32(esp, 0x4710529Cu); /* 0x4708F9FB: push 0x4710529c */ 1983 PUSH32(esp, 4); /* 0x4708FA00: push 4 */ 1984 PUSH32(esp, esi); /* 0x4708FA02: push esi */ 1985 RECOMP_ICALL(0x47039830u); /* 0x4708FA03: call 0x47039830 */ /* not lifted */ 1986 RECOMP_FLAGS_IN(); 1987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1989 esp = esp + 0xCu; /* 0x4708FA08: add esp, 0xc */ 1990 _flag_k = FK_ADD; 1991 edi = POP32_VAL(esp); /* 0x4708FA0B: pop edi */ 1992 esi = POP32_VAL(esp); /* 0x4708FA0C: pop esi */ 1993 ebp = POP32_VAL(esp); /* 0x4708FA0D: pop ebp */ 1994 ebx = POP32_VAL(esp); /* 0x4708FA0E: pop ebx */ 1995 ecx = POP32_VAL(esp); /* 0x4708FA0F: pop ecx */ 1996 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708FA10: ret */ 1997 RECOMP_REGS_OUT(); 1998 } 1999 2000 void sub_4708FA20(void) { 2001 int _fpu_cmp = 0; 2002 uint32_t _cf = 0; 2003 int _df = 1; 2004 uint32_t _flag_k = FK_NONE; 2005 uint32_t _flag_a = 0, _flag_b = 0; 2006 uint32_t _itail_tgt = 0; 2007 RECOMP_REGS_LOCALS 2008 RECOMP_ENTER(0x4708FA20u); 2009 2010 L_4708FA20: 2011 eax = MEM32(ecx); /* 0x4708FA20: mov eax, dword ptr [ecx] */ 2012 /* test eax, eax */ /* 0x4708FA22: test eax, eax */ 2013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2014 _cf = 0; 2015 _flag_k = FK_TEST; 2016 PUSH32(esp, esi); /* 0x4708FA24: push esi */ 2017 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708FA34; /* 0x4708FA25: jne 0x4708fa34 */ 2018 L_4708FA27: 2019 eax = MEM32(esp + 0x8); /* 0x4708FA27: mov eax, dword ptr [esp + 8] */ 2020 MEM32(ecx) = eax; /* 0x4708FA2B: mov dword ptr [ecx], eax */ 2021 MEM32(ecx + 0x4) = eax; /* 0x4708FA2D: mov dword ptr [ecx + 4], eax */ 2022 esi = POP32_VAL(esp); /* 0x4708FA30: pop esi */ 2023 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4708FA31: ret 8 */ 2024 L_4708FA34: 2025 esi = MEM32(esp + 0xC); /* 0x4708FA34: mov esi, dword ptr [esp + 0xc] */ 2026 /* cmp esi, 0xFFFFFFFFu */ /* 0x4708FA38: cmp esi, -1 */ 2027 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu); 2028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2029 _flag_k = FK_CMP; 2030 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FA4D; /* 0x4708FA3B: jne 0x4708fa4d */ 2031 L_4708FA3D: 2032 edx = MEM32(ecx + 0x4); /* 0x4708FA3D: mov edx, dword ptr [ecx + 4] */ 2033 eax = MEM32(esp + 0x8); /* 0x4708FA40: mov eax, dword ptr [esp + 8] */ 2034 MEM32(edx) = eax; /* 0x4708FA44: mov dword ptr [edx], eax */ 2035 MEM32(ecx + 0x4) = eax; /* 0x4708FA46: mov dword ptr [ecx + 4], eax */ 2036 esi = POP32_VAL(esp); /* 0x4708FA49: pop esi */ 2037 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4708FA4A: ret 8 */ 2038 L_4708FA4D: 2039 /* test esi, esi */ /* 0x4708FA4D: test esi, esi */ 2040 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2041 _cf = 0; 2042 _flag_k = FK_TEST; 2043 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708FA5D; /* 0x4708FA4F: jne 0x4708fa5d */ 2044 L_4708FA51: 2045 edx = MEM32(esp + 0x8); /* 0x4708FA51: mov edx, dword ptr [esp + 8] */ 2046 MEM32(edx) = eax; /* 0x4708FA55: mov dword ptr [edx], eax */ 2047 MEM32(ecx) = edx; /* 0x4708FA57: mov dword ptr [ecx], edx */ 2048 esi = POP32_VAL(esp); /* 0x4708FA59: pop esi */ 2049 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4708FA5A: ret 8 */ 2050 L_4708FA5D: 2051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2052 esi = esi - 1; /* 0x4708FA5D: dec esi */ 2053 _flag_k = FK_DEC; 2054 L_4708FA5E: 2055 edx = MEM32(eax); /* 0x4708FA5E: mov edx, dword ptr [eax] */ 2056 /* test edx, edx */ /* 0x4708FA60: test edx, edx */ 2057 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2058 _cf = 0; 2059 _flag_k = FK_TEST; 2060 if (TEST_Z(_flag_a, _flag_b)) goto L_4708FA6D; /* 0x4708FA62: je 0x4708fa6d */ 2061 L_4708FA64: 2062 eax = edx; /* 0x4708FA64: mov eax, edx */ 2063 edx = esi; /* 0x4708FA66: mov edx, esi */ 2064 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2065 esi = esi - 1; /* 0x4708FA68: dec esi */ 2066 _flag_k = FK_DEC; 2067 /* test edx, edx */ /* 0x4708FA69: test edx, edx */ 2068 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2069 _cf = 0; 2070 _flag_k = FK_TEST; 2071 RECOMP_BACKEDGE(); 2072 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708FA5E; /* 0x4708FA6B: jne 0x4708fa5e */ 2073 L_4708FA6D: 2074 edx = MEM32(eax); /* 0x4708FA6D: mov edx, dword ptr [eax] */ 2075 /* test edx, edx */ /* 0x4708FA6F: test edx, edx */ 2076 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2077 _cf = 0; 2078 _flag_k = FK_TEST; 2079 esi = MEM32(esp + 0x8); /* 0x4708FA71: mov esi, dword ptr [esp + 8] */ 2080 MEM32(esi) = edx; /* 0x4708FA75: mov dword ptr [esi], edx */ 2081 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708FA7C; /* 0x4708FA77: jne 0x4708fa7c */ 2082 L_4708FA79: 2083 MEM32(ecx + 0x4) = esi; /* 0x4708FA79: mov dword ptr [ecx + 4], esi */ 2084 L_4708FA7C: 2085 MEM32(eax) = esi; /* 0x4708FA7C: mov dword ptr [eax], esi */ 2086 esi = POP32_VAL(esp); /* 0x4708FA7E: pop esi */ 2087 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4708FA7F: ret 8 */ 2088 RECOMP_REGS_OUT(); 2089 } 2090 2091 void sub_4708FA90(void) { 2092 int _fpu_cmp = 0; 2093 uint32_t _cf = 0; 2094 int _df = 1; 2095 uint32_t _flag_k = FK_NONE; 2096 uint32_t _flag_a = 0, _flag_b = 0; 2097 uint32_t _itail_tgt = 0; 2098 RECOMP_REGS_LOCALS 2099 RECOMP_ENTER(0x4708FA90u); 2100 2101 L_4708FA90: 2102 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FA90: push -1 */ 2103 PUSH32(esp, 0x470AA89Bu); /* 0x4708FA92: push 0x470aa89b */ 2104 eax = MEM32(FS_BASE + (0)); /* 0x4708FA97: mov eax, dword ptr fs:[0] */ 2105 PUSH32(esp, eax); /* 0x4708FA9D: push eax */ 2106 MEM32(FS_BASE + (0)) = esp; /* 0x4708FA9E: mov dword ptr fs:[0], esp */ 2107 PUSH32(esp, ecx); /* 0x4708FAA5: push ecx */ 2108 eax = MEM32(esp + 0x18); /* 0x4708FAA6: mov eax, dword ptr [esp + 0x18] */ 2109 PUSH32(esp, esi); /* 0x4708FAAA: push esi */ 2110 esi = ecx; /* 0x4708FAAB: mov esi, ecx */ 2111 ecx = MEM32(esp + 0x18); /* 0x4708FAAD: mov ecx, dword ptr [esp + 0x18] */ 2112 PUSH32(esp, edi); /* 0x4708FAB1: push edi */ 2113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2114 edi = 0; /* 0x4708FAB2: xor edi, edi */ 2115 _cf = 0; 2116 _flag_k = FK_TEST; 2117 PUSH32(esp, eax); /* 0x4708FAB4: push eax */ 2118 MEM32(esi + 0x4) = edi; /* 0x4708FAB5: mov dword ptr [esi + 4], edi */ 2119 MEM32(esi + 0x8) = edi; /* 0x4708FAB8: mov dword ptr [esi + 8], edi */ 2120 PUSH32(esp, ecx); /* 0x4708FABB: push ecx */ 2121 ecx = esi + 0x14; /* 0x4708FABC: lea ecx, [esi + 0x14] */ 2122 MEM32(esp + 0x10) = esi; /* 0x4708FABF: mov dword ptr [esp + 0x10], esi */ 2123 MEM32(esi + 0xC) = edi; /* 0x4708FAC3: mov dword ptr [esi + 0xc], edi */ 2124 MEM32(esi + 0x10) = edi; /* 0x4708FAC6: mov dword ptr [esi + 0x10], edi */ 2125 RECOMP_ICALL(0x47087E50u); /* 0x4708FAC9: call 0x47087e50 */ /* not lifted */ 2126 RECOMP_FLAGS_IN(); 2127 edx = MEM32(0x4710E900); /* 0x4708FACE: mov edx, dword ptr [0x4710e900] */ 2128 eax = esi + 0x44; /* 0x4708FAD4: lea eax, [esi + 0x44] */ 2129 PUSH32(esp, 1); /* 0x4708FAD7: push 1 */ 2130 PUSH32(esp, eax); /* 0x4708FAD9: push eax */ 2131 MEM32(esp + 0x1C) = edi; /* 0x4708FADA: mov dword ptr [esp + 0x1c], edi */ 2132 MEM32(esi + 0x30) = edx; /* 0x4708FADE: mov dword ptr [esi + 0x30], edx */ 2133 MEM32(esi + 0x34) = edi; /* 0x4708FAE1: mov dword ptr [esi + 0x34], edi */ 2134 MEM32(esi + 0x38) = edi; /* 0x4708FAE4: mov dword ptr [esi + 0x38], edi */ 2135 MEM32(esi + 0x3C) = edi; /* 0x4708FAE7: mov dword ptr [esi + 0x3c], edi */ 2136 MEM32(esi + 0x40) = edi; /* 0x4708FAEA: mov dword ptr [esi + 0x40], edi */ 2137 RECOMP_ICALL(0x47057A60u); /* 0x4708FAED: call 0x47057a60 */ /* not lifted */ 2138 RECOMP_FLAGS_IN(); 2139 ecx = MEM32(esp + 0x14); /* 0x4708FAF2: mov ecx, dword ptr [esp + 0x14] */ 2140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2142 esp = esp + 8; /* 0x4708FAF6: add esp, 8 */ 2143 _flag_k = FK_ADD; 2144 MEM32(esi) = 0x470AFDC0u; /* 0x4708FAF9: mov dword ptr [esi], 0x470afdc0 */ 2145 edi = POP32_VAL(esp); /* 0x4708FAFF: pop edi */ 2146 eax = esi; /* 0x4708FB00: mov eax, esi */ 2147 esi = POP32_VAL(esp); /* 0x4708FB02: pop esi */ 2148 MEM32(FS_BASE + (0)) = ecx; /* 0x4708FB03: mov dword ptr fs:[0], ecx */ 2149 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2151 esp = esp + 0x10u; /* 0x4708FB0A: add esp, 0x10 */ 2152 _flag_k = FK_ADD; 2153 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4708FB0D: ret 8 */ 2154 RECOMP_REGS_OUT(); 2155 } 2156 2157 void sub_4708FB10(void) { 2158 int _fpu_cmp = 0; 2159 uint32_t _cf = 0; 2160 int _df = 1; 2161 uint32_t _flag_k = FK_NONE; 2162 uint32_t _flag_a = 0, _flag_b = 0; 2163 uint32_t _itail_tgt = 0; 2164 RECOMP_REGS_LOCALS 2165 RECOMP_ENTER(0x4708FB10u); 2166 2167 L_4708FB10: 2168 PUSH32(esp, ebx); /* 0x4708FB10: push ebx */ 2169 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4708FB11: mov bl, byte ptr [esp + 8] */ 2170 /* test LO8(ebx), 2 */ /* 0x4708FB15: test bl, 2 */ 2171 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2172 _cf = 0; 2173 _flag_k = FK_NARROW(FK_TEST, 24); 2174 PUSH32(esp, esi); /* 0x4708FB18: push esi */ 2175 esi = ecx; /* 0x4708FB19: mov esi, ecx */ 2176 if (TEST_Z(_flag_a, _flag_b)) goto L_4708FB48; /* 0x4708FB1B: je 0x4708fb48 */ 2177 L_4708FB1D: 2178 eax = MEM32(esi + (-0x4)); /* 0x4708FB1D: mov eax, dword ptr [esi - 4] */ 2179 PUSH32(esp, edi); /* 0x4708FB20: push edi */ 2180 PUSH32(esp, 0x4708FB70u); /* 0x4708FB21: push 0x4708fb70 */ 2181 edi = esi + (-0x4); /* 0x4708FB26: lea edi, [esi - 4] */ 2182 PUSH32(esp, eax); /* 0x4708FB29: push eax */ 2183 PUSH32(esp, 0x48u); /* 0x4708FB2A: push 0x48 */ 2184 PUSH32(esp, esi); /* 0x4708FB2C: push esi */ 2185 RECOMP_ICALL(0x470A32EBu); /* 0x4708FB2D: call 0x470a32eb */ /* not lifted */ 2186 RECOMP_FLAGS_IN(); 2187 /* test LO8(ebx), 1 */ /* 0x4708FB32: test bl, 1 */ 2188 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2189 _cf = 0; 2190 _flag_k = FK_NARROW(FK_TEST, 24); 2191 if (TEST_Z(_flag_a, _flag_b)) goto L_4708FB40; /* 0x4708FB35: je 0x4708fb40 */ 2192 L_4708FB37: 2193 PUSH32(esp, edi); /* 0x4708FB37: push edi */ 2194 RECOMP_ICALL(0x470A32A2u); /* 0x4708FB38: call 0x470a32a2 */ /* not lifted */ 2195 RECOMP_FLAGS_IN(); 2196 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2198 esp = esp + 4; /* 0x4708FB3D: add esp, 4 */ 2199 _flag_k = FK_ADD; 2200 L_4708FB40: 2201 eax = edi; /* 0x4708FB40: mov eax, edi */ 2202 edi = POP32_VAL(esp); /* 0x4708FB42: pop edi */ 2203 esi = POP32_VAL(esp); /* 0x4708FB43: pop esi */ 2204 ebx = POP32_VAL(esp); /* 0x4708FB44: pop ebx */ 2205 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4708FB45: ret 4 */ 2206 L_4708FB48: 2207 ecx = esi; /* 0x4708FB48: mov ecx, esi */ 2208 RECOMP_ICALL(0x4708FB70u); /* 0x4708FB4A: call 0x4708fb70 */ /* not lifted */ 2209 RECOMP_FLAGS_IN(); 2210 /* test LO8(ebx), 1 */ /* 0x4708FB4F: test bl, 1 */ 2211 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2212 _cf = 0; 2213 _flag_k = FK_NARROW(FK_TEST, 24); 2214 if (TEST_Z(_flag_a, _flag_b)) goto L_4708FB5D; /* 0x4708FB52: je 0x4708fb5d */ 2215 L_4708FB54: 2216 PUSH32(esp, esi); /* 0x4708FB54: push esi */ 2217 RECOMP_ICALL(0x470A32A2u); /* 0x4708FB55: call 0x470a32a2 */ /* not lifted */ 2218 RECOMP_FLAGS_IN(); 2219 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2220 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2221 esp = esp + 4; /* 0x4708FB5A: add esp, 4 */ 2222 _flag_k = FK_ADD; 2223 L_4708FB5D: 2224 eax = esi; /* 0x4708FB5D: mov eax, esi */ 2225 esi = POP32_VAL(esp); /* 0x4708FB5F: pop esi */ 2226 ebx = POP32_VAL(esp); /* 0x4708FB60: pop ebx */ 2227 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4708FB61: ret 4 */ 2228 RECOMP_REGS_OUT(); 2229 } 2230 2231 void sub_4708FB70(void) { 2232 int _fpu_cmp = 0; 2233 uint32_t _cf = 0; 2234 int _df = 1; 2235 uint32_t _flag_k = FK_NONE; 2236 uint32_t _flag_a = 0, _flag_b = 0; 2237 uint32_t _itail_tgt = 0; 2238 RECOMP_REGS_LOCALS 2239 RECOMP_ENTER(0x4708FB70u); 2240 2241 L_4708FB70: 2242 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FB70: push -1 */ 2243 PUSH32(esp, 0x470AA8BBu); /* 0x4708FB72: push 0x470aa8bb */ 2244 eax = MEM32(FS_BASE + (0)); /* 0x4708FB77: mov eax, dword ptr fs:[0] */ 2245 PUSH32(esp, eax); /* 0x4708FB7D: push eax */ 2246 MEM32(FS_BASE + (0)) = esp; /* 0x4708FB7E: mov dword ptr fs:[0], esp */ 2247 PUSH32(esp, ecx); /* 0x4708FB85: push ecx */ 2248 PUSH32(esp, esi); /* 0x4708FB86: push esi */ 2249 esi = ecx; /* 0x4708FB87: mov esi, ecx */ 2250 MEM32(esp + 0x4) = esi; /* 0x4708FB89: mov dword ptr [esp + 4], esi */ 2251 MEM32(esi) = 0x470AFDC0u; /* 0x4708FB8D: mov dword ptr [esi], 0x470afdc0 */ 2252 eax = esi + 0x44; /* 0x4708FB93: lea eax, [esi + 0x44] */ 2253 PUSH32(esp, eax); /* 0x4708FB96: push eax */ 2254 MEM32(esp + 0x14) = 0; /* 0x4708FB97: mov dword ptr [esp + 0x14], 0 */ 2255 RECOMP_ICALL(0x470913B0u); /* 0x4708FB9F: call 0x470913b0 */ /* not lifted */ 2256 RECOMP_FLAGS_IN(); 2257 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2258 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2259 esp = esp + 4; /* 0x4708FBA4: add esp, 4 */ 2260 _flag_k = FK_ADD; 2261 ecx = esi + 0x14; /* 0x4708FBA7: lea ecx, [esi + 0x14] */ 2262 MEM32(esp + 0x10) = 0xFFFFFFFFu; /* 0x4708FBAA: mov dword ptr [esp + 0x10], 0xffffffff */ 2263 RECOMP_ICALL(0x47087E30u); /* 0x4708FBB2: call 0x47087e30 */ /* not lifted */ 2264 RECOMP_FLAGS_IN(); 2265 ecx = MEM32(esp + 0x8); /* 0x4708FBB7: mov ecx, dword ptr [esp + 8] */ 2266 esi = POP32_VAL(esp); /* 0x4708FBBB: pop esi */ 2267 MEM32(FS_BASE + (0)) = ecx; /* 0x4708FBBC: mov dword ptr fs:[0], ecx */ 2268 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2270 esp = esp + 0x10u; /* 0x4708FBC3: add esp, 0x10 */ 2271 _flag_k = FK_ADD; 2272 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708FBC6: ret */ 2273 RECOMP_REGS_OUT(); 2274 } 2275 2276 void sub_4708FBD0(void) { 2277 int _fpu_cmp = 0; 2278 uint32_t _cf = 0; 2279 int _df = 1; 2280 uint32_t _flag_k = FK_NONE; 2281 uint32_t _flag_a = 0, _flag_b = 0; 2282 uint32_t _itail_tgt = 0; 2283 RECOMP_REGS_LOCALS 2284 RECOMP_ENTER(0x4708FBD0u); 2285 2286 L_4708FBD0: 2287 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FBD0: push -1 */ 2288 PUSH32(esp, 0x470AA8E0u); /* 0x4708FBD2: push 0x470aa8e0 */ 2289 eax = MEM32(FS_BASE + (0)); /* 0x4708FBD7: mov eax, dword ptr fs:[0] */ 2290 PUSH32(esp, eax); /* 0x4708FBDD: push eax */ 2291 MEM32(FS_BASE + (0)) = esp; /* 0x4708FBDE: mov dword ptr fs:[0], esp */ 2292 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 2293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2294 esp = esp - 0x20u; /* 0x4708FBE5: sub esp, 0x20 */ 2295 _flag_k = FK_CMP; 2296 PUSH32(esp, ebx); /* 0x4708FBE8: push ebx */ 2297 PUSH32(esp, ebp); /* 0x4708FBE9: push ebp */ 2298 PUSH32(esp, esi); /* 0x4708FBEA: push esi */ 2299 esi = ecx; /* 0x4708FBEB: mov esi, ecx */ 2300 PUSH32(esp, edi); /* 0x4708FBED: push edi */ 2301 ebp = esi + 0x14; /* 0x4708FBEE: lea ebp, [esi + 0x14] */ 2302 eax = ebp; /* 0x4708FBF1: mov eax, ebp */ 2303 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2304 edi = 0; /* 0x4708FBF3: xor edi, edi */ 2305 _cf = 0; 2306 _flag_k = FK_TEST; 2307 PUSH32(esp, eax); /* 0x4708FBF5: push eax */ 2308 MEM32(esp + 0x18) = eax; /* 0x4708FBF6: mov dword ptr [esp + 0x18], eax */ 2309 MEM32(esp + 0x1C) = edi; /* 0x4708FBFA: mov dword ptr [esp + 0x1c], edi */ 2310 RECOMP_ICALL(MEM32(0x470AC180)); /* 0x4708FBFE: call dword ptr [0x470ac180] */ 2311 RECOMP_FLAGS_IN(); 2312 MEM32(esp + 0x18) = edi; /* 0x4708FC04: mov dword ptr [esp + 0x18], edi */ 2313 MEM32(esp + 0x38) = edi; /* 0x4708FC08: mov dword ptr [esp + 0x38], edi */ 2314 RECOMP_ICALL(MEM32(0x470AC14C)); /* 0x4708FC0C: call dword ptr [0x470ac14c] */ 2315 RECOMP_FLAGS_IN(); 2316 /* cmp MEM32(esi + 0x34), edi */ /* 0x4708FC12: cmp dword ptr [esi + 0x34], edi */ 2317 _flag_a = (uint32_t)(MEM32(esi + 0x34)); _flag_b = (uint32_t)(edi); 2318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2319 _flag_k = FK_CMP; 2320 MEM32(esp + 0x10) = eax; /* 0x4708FC15: mov dword ptr [esp + 0x10], eax */ 2321 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FC3D; /* 0x4708FC19: jne 0x4708fc3d */ 2322 L_4708FC1B: 2323 ecx = MEM32(esp + 0x4C); /* 0x4708FC1B: mov ecx, dword ptr [esp + 0x4c] */ 2324 MEM32(esi + 0x34) = ecx; /* 0x4708FC1F: mov dword ptr [esi + 0x34], ecx */ 2325 ecx = esp + 0x14; /* 0x4708FC22: lea ecx, [esp + 0x14] */ 2326 MEM32(esi + 0x30) = eax; /* 0x4708FC26: mov dword ptr [esi + 0x30], eax */ 2327 MEM32(esp + 0x38) = 0xFFFFFFFFu; /* 0x4708FC29: mov dword ptr [esp + 0x38], 0xffffffff */ 2328 RECOMP_ICALL(0x470559D0u); /* 0x4708FC31: call 0x470559d0 */ /* not lifted */ 2329 RECOMP_FLAGS_IN(); 2330 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2331 eax = 0; /* 0x4708FC36: xor eax, eax */ 2332 _cf = 0; 2333 _flag_k = FK_TEST; 2334 goto L_4708FF55; /* 0x4708FC38: jmp 0x4708ff55 */ 2335 L_4708FC3D: 2336 /* cmp eax, MEM32(esi + 0x30) */ /* 0x4708FC3D: cmp eax, dword ptr [esi + 0x30] */ 2337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 2338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2339 _flag_k = FK_CMP; 2340 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FC6A; /* 0x4708FC40: jne 0x4708fc6a */ 2341 L_4708FC42: 2342 edx = MEM32(esi + 0x3C); /* 0x4708FC42: mov edx, dword ptr [esi + 0x3c] */ 2343 ecx = MEM32(esp + 0x18); /* 0x4708FC45: mov ecx, dword ptr [esp + 0x18] */ 2344 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2345 edx = edx + 1; /* 0x4708FC49: inc edx */ 2346 _flag_k = FK_INC; 2347 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 2348 eax = eax | 0xFFFFFFFFu; /* 0x4708FC4A: or eax, 0xffffffff */ 2349 _cf = 0; 2350 _flag_k = FK_TEST; 2351 /* cmp ecx, eax */ /* 0x4708FC4D: cmp ecx, eax */ 2352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2354 _flag_k = FK_CMP; 2355 MEM32(esi + 0x3C) = edx; /* 0x4708FC4F: mov dword ptr [esi + 0x3c], edx */ 2356 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FC63; /* 0x4708FC52: je 0x4708fc63 */ 2357 L_4708FC54: 2358 edx = MEM32(esp + 0x14); /* 0x4708FC54: mov edx, dword ptr [esp + 0x14] */ 2359 PUSH32(esp, edx); /* 0x4708FC58: push edx */ 2360 MEM32(esp + 0x1C) = eax; /* 0x4708FC59: mov dword ptr [esp + 0x1c], eax */ 2361 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FC5D: call dword ptr [0x470ac190] */ 2362 RECOMP_FLAGS_IN(); 2363 L_4708FC63: 2364 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2365 eax = 0; /* 0x4708FC63: xor eax, eax */ 2366 _cf = 0; 2367 _flag_k = FK_TEST; 2368 goto L_4708FF55; /* 0x4708FC65: jmp 0x4708ff55 */ 2369 L_4708FC6A: 2370 ebx = MEM32(esp + 0x48); /* 0x4708FC6A: mov ebx, dword ptr [esp + 0x48] */ 2371 /* cmp ebx, edi */ /* 0x4708FC6E: cmp ebx, edi */ 2372 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 2373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2374 _flag_k = FK_CMP; 2375 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FCA8; /* 0x4708FC70: je 0x4708fca8 */ 2376 L_4708FC72: 2377 /* cmp MEM32(ebx), edi */ /* 0x4708FC72: cmp dword ptr [ebx], edi */ 2378 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(edi); 2379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2380 _flag_k = FK_CMP; 2381 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FCA8; /* 0x4708FC74: jne 0x4708fca8 */ 2382 L_4708FC76: 2383 /* cmp MEM32(ebx + 0x4), edi */ /* 0x4708FC76: cmp dword ptr [ebx + 4], edi */ 2384 _flag_a = (uint32_t)(MEM32(ebx + 0x4)); _flag_b = (uint32_t)(edi); 2385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2386 _flag_k = FK_CMP; 2387 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FCA8; /* 0x4708FC79: jne 0x4708fca8 */ 2388 L_4708FC7B: 2389 RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4708FC7B: call dword ptr [0x470ac3c8] */ 2390 RECOMP_FLAGS_IN(); 2391 MEM32(eax) = 0x79u; /* 0x4708FC81: mov dword ptr [eax], 0x79 */ 2392 eax = MEM32(esp + 0x18); /* 0x4708FC87: mov eax, dword ptr [esp + 0x18] */ 2393 _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu)); 2394 esi = esi | 0xFFFFFFFFu; /* 0x4708FC8B: or esi, 0xffffffff */ 2395 _cf = 0; 2396 _flag_k = FK_TEST; 2397 /* cmp eax, esi */ /* 0x4708FC8E: cmp eax, esi */ 2398 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2400 _flag_k = FK_CMP; 2401 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FCA1; /* 0x4708FC90: je 0x4708fca1 */ 2402 L_4708FC92: 2403 eax = MEM32(esp + 0x14); /* 0x4708FC92: mov eax, dword ptr [esp + 0x14] */ 2404 PUSH32(esp, eax); /* 0x4708FC96: push eax */ 2405 MEM32(esp + 0x1C) = esi; /* 0x4708FC97: mov dword ptr [esp + 0x1c], esi */ 2406 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FC9B: call dword ptr [0x470ac190] */ 2407 RECOMP_FLAGS_IN(); 2408 L_4708FCA1: 2409 eax = esi; /* 0x4708FCA1: mov eax, esi */ 2410 goto L_4708FF55; /* 0x4708FCA3: jmp 0x4708ff55 */ 2411 L_4708FCA8: 2412 /* cmp MEM32(esp + 0x4C), 1 */ /* 0x4708FCA8: cmp dword ptr [esp + 0x4c], 1 */ 2413 _flag_a = (uint32_t)(MEM32(esp + 0x4C)); _flag_b = (uint32_t)(1); 2414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2415 _flag_k = FK_CMP; 2416 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FCB8; /* 0x4708FCAD: jne 0x4708fcb8 */ 2417 L_4708FCAF: 2418 ecx = esi + 0xC; /* 0x4708FCAF: lea ecx, [esi + 0xc] */ 2419 MEM32(esp + 0x4C) = ecx; /* 0x4708FCB2: mov dword ptr [esp + 0x4c], ecx */ 2420 goto L_4708FCBF; /* 0x4708FCB6: jmp 0x4708fcbf */ 2421 L_4708FCB8: 2422 edx = esi + 0x4; /* 0x4708FCB8: lea edx, [esi + 4] */ 2423 MEM32(esp + 0x4C) = edx; /* 0x4708FCBB: mov dword ptr [esp + 0x4c], edx */ 2424 L_4708FCBF: 2425 PUSH32(esp, 0x7FFFFFFFu); /* 0x4708FCBF: push 0x7fffffff */ 2426 PUSH32(esp, edi); /* 0x4708FCC4: push edi */ 2427 PUSH32(esp, edi); /* 0x4708FCC5: push edi */ 2428 PUSH32(esp, 1); /* 0x4708FCC6: push 1 */ 2429 PUSH32(esp, edi); /* 0x4708FCC8: push edi */ 2430 ecx = esp + 0x38; /* 0x4708FCC9: lea ecx, [esp + 0x38] */ 2431 MEM32(esp + 0x30) = edi; /* 0x4708FCCD: mov dword ptr [esp + 0x30], edi */ 2432 MEM32(esp + 0x34) = eax; /* 0x4708FCD1: mov dword ptr [esp + 0x34], eax */ 2433 RECOMP_ICALL(0x47085ED0u); /* 0x4708FCD5: call 0x47085ed0 */ /* not lifted */ 2434 RECOMP_FLAGS_IN(); 2435 MEM32(esp + 0x2C) = edi; /* 0x4708FCDA: mov dword ptr [esp + 0x2c], edi */ 2436 ecx = MEM32(esp + 0x4C); /* 0x4708FCDE: mov ecx, dword ptr [esp + 0x4c] */ 2437 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FCE2: push -1 */ 2438 eax = esp + 0x20; /* 0x4708FCE4: lea eax, [esp + 0x20] */ 2439 PUSH32(esp, eax); /* 0x4708FCE8: push eax */ 2440 MEM8(esp + 0x40) = (uint8_t)(1); /* 0x4708FCE9: mov byte ptr [esp + 0x40], 1 */ 2441 RECOMP_ICALL(0x4708FA20u); /* 0x4708FCEE: call 0x4708fa20 */ /* not lifted */ 2442 RECOMP_FLAGS_IN(); 2443 edx = MEM32(esi + 0x38); /* 0x4708FCF3: mov edx, dword ptr [esi + 0x38] */ 2444 eax = MEM32(esp + 0x40); /* 0x4708FCF6: mov eax, dword ptr [esp + 0x40] */ 2445 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2446 edx = edx + 1; /* 0x4708FCFA: inc edx */ 2447 _flag_k = FK_INC; 2448 /* cmp eax, edi */ /* 0x4708FCFB: cmp eax, edi */ 2449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2451 _flag_k = FK_CMP; 2452 MEM32(esi + 0x38) = edx; /* 0x4708FCFD: mov dword ptr [esi + 0x38], edx */ 2453 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FD0E; /* 0x4708FD00: je 0x4708fd0e */ 2454 L_4708FD02: 2455 ecx = MEM32(esp + 0x44); /* 0x4708FD02: mov ecx, dword ptr [esp + 0x44] */ 2456 PUSH32(esp, ecx); /* 0x4708FD06: push ecx */ 2457 RECOMP_ICALL(eax); /* 0x4708FD07: call eax */ 2458 RECOMP_FLAGS_IN(); 2459 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2460 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2461 esp = esp + 4; /* 0x4708FD09: add esp, 4 */ 2462 _flag_k = FK_ADD; 2463 goto L_4708FD15; /* 0x4708FD0C: jmp 0x4708fd15 */ 2464 L_4708FD0E: 2465 edx = MEM32(esi); /* 0x4708FD0E: mov edx, dword ptr [esi] */ 2466 ecx = esi; /* 0x4708FD10: mov ecx, esi */ 2467 RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4708FD12: call dword ptr [edx + 4] */ 2468 RECOMP_FLAGS_IN(); 2469 L_4708FD15: 2470 MEM32(esp + 0x48) = edi; /* 0x4708FD15: mov dword ptr [esp + 0x48], edi */ 2471 MEM32(esp + 0x40) = edi; /* 0x4708FD19: mov dword ptr [esp + 0x40], edi */ 2472 L_4708FD1D: 2473 PUSH32(esp, ebp); /* 0x4708FD1D: push ebp */ 2474 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FD1E: call dword ptr [0x470ac190] */ 2475 RECOMP_FLAGS_IN(); 2476 /* cmp ebx, edi */ /* 0x4708FD24: cmp ebx, edi */ 2477 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 2478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2479 _flag_k = FK_CMP; 2480 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FD37; /* 0x4708FD26: jne 0x4708fd37 */ 2481 L_4708FD28: 2482 eax = esp + 0x24; /* 0x4708FD28: lea eax, [esp + 0x24] */ 2483 PUSH32(esp, eax); /* 0x4708FD2C: push eax */ 2484 RECOMP_ICALL(0x47003140u); /* 0x4708FD2D: call 0x47003140 */ /* not lifted */ 2485 RECOMP_FLAGS_IN(); 2486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2488 esp = esp + 4; /* 0x4708FD32: add esp, 4 */ 2489 _flag_k = FK_ADD; 2490 goto L_4708FD45; /* 0x4708FD35: jmp 0x4708fd45 */ 2491 L_4708FD37: 2492 ecx = esp + 0x24; /* 0x4708FD37: lea ecx, [esp + 0x24] */ 2493 PUSH32(esp, ebx); /* 0x4708FD3B: push ebx */ 2494 PUSH32(esp, ecx); /* 0x4708FD3C: push ecx */ 2495 RECOMP_ICALL(0x47002870u); /* 0x4708FD3D: call 0x47002870 */ /* not lifted */ 2496 RECOMP_FLAGS_IN(); 2497 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2499 esp = esp + 8; /* 0x4708FD42: add esp, 8 */ 2500 _flag_k = FK_ADD; 2501 L_4708FD45: 2502 PUSH32(esp, ebp); /* 0x4708FD45: push ebp */ 2503 edi = eax; /* 0x4708FD46: mov edi, eax */ 2504 RECOMP_ICALL(MEM32(0x470AC180)); /* 0x4708FD48: call dword ptr [0x470ac180] */ 2505 RECOMP_FLAGS_IN(); 2506 /* cmp edi, 0xFFFFFFFFu */ /* 0x4708FD4E: cmp edi, -1 */ 2507 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu); 2508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2509 _flag_k = FK_CMP; 2510 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FD60; /* 0x4708FD51: jne 0x4708fd60 */ 2511 L_4708FD53: 2512 edi = MEM32(0x470AC3C8); /* 0x4708FD53: mov edi, dword ptr [0x470ac3c8] */ 2513 RECOMP_ICALL(edi); /* 0x4708FD59: call edi */ 2514 RECOMP_FLAGS_IN(); 2515 /* cmp MEM32(eax), 4 */ /* 0x4708FD5B: cmp dword ptr [eax], 4 */ 2516 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(4); 2517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2518 _flag_k = FK_CMP; 2519 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FD6D; /* 0x4708FD5E: jne 0x4708fd6d */ 2520 L_4708FD60: 2521 edx = MEM32(esp + 0x10); /* 0x4708FD60: mov edx, dword ptr [esp + 0x10] */ 2522 /* cmp edx, MEM32(esi + 0x30) */ /* 0x4708FD64: cmp edx, dword ptr [esi + 0x30] */ 2523 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 2524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2525 _flag_k = FK_CMP; 2526 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FD86; /* 0x4708FD67: je 0x4708fd86 */ 2527 L_4708FD69: 2528 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2529 edi = 0; /* 0x4708FD69: xor edi, edi */ 2530 _cf = 0; 2531 _flag_k = FK_TEST; 2532 RECOMP_BACKEDGE(); 2533 goto L_4708FD1D; /* 0x4708FD6B: jmp 0x4708fd1d */ 2534 L_4708FD6D: 2535 RECOMP_ICALL(edi); /* 0x4708FD6D: call edi */ 2536 RECOMP_FLAGS_IN(); 2537 /* cmp MEM32(eax), 0x79u */ /* 0x4708FD6F: cmp dword ptr [eax], 0x79 */ 2538 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0x79u); 2539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2540 _flag_k = FK_CMP; 2541 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FD7E; /* 0x4708FD72: jne 0x4708fd7e */ 2542 L_4708FD74: 2543 MEM32(esp + 0x48) = 1; /* 0x4708FD74: mov dword ptr [esp + 0x48], 1 */ 2544 goto L_4708FD86; /* 0x4708FD7C: jmp 0x4708fd86 */ 2545 L_4708FD7E: 2546 MEM32(esp + 0x40) = 1; /* 0x4708FD7E: mov dword ptr [esp + 0x40], 1 */ 2547 L_4708FD86: 2548 ecx = MEM32(esi + 0x38); /* 0x4708FD86: mov ecx, dword ptr [esi + 0x38] */ 2549 edi = MEM32(esp + 0x4C); /* 0x4708FD89: mov edi, dword ptr [esp + 0x4c] */ 2550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2551 ecx = ecx - 1; /* 0x4708FD8D: dec ecx */ 2552 _flag_k = FK_DEC; 2553 MEM32(esi + 0x38) = ecx; /* 0x4708FD8E: mov dword ptr [esi + 0x38], ecx */ 2554 edx = MEM32(edi); /* 0x4708FD91: mov edx, dword ptr [edi] */ 2555 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2556 ebx = 0; /* 0x4708FD93: xor ebx, ebx */ 2557 _cf = 0; 2558 _flag_k = FK_TEST; 2559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2560 ecx = 0; /* 0x4708FD95: xor ecx, ecx */ 2561 _cf = 0; 2562 _flag_k = FK_TEST; 2563 /* cmp edx, ebx */ /* 0x4708FD97: cmp edx, ebx */ 2564 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 2565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2566 _flag_k = FK_CMP; 2567 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FDCC; /* 0x4708FD99: je 0x4708fdcc */ 2568 L_4708FD9B: 2569 eax = edx; /* 0x4708FD9B: mov eax, edx */ 2570 /* cmp eax, ebx */ /* 0x4708FD9D: cmp eax, ebx */ 2571 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2573 _flag_k = FK_CMP; 2574 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FDCC; /* 0x4708FD9F: je 0x4708fdcc */ 2575 L_4708FDA1: 2576 ebp = esp + 0x1C; /* 0x4708FDA1: lea ebp, [esp + 0x1c] */ 2577 /* cmp eax, ebp */ /* 0x4708FDA5: cmp eax, ebp */ 2578 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebp); 2579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2580 _flag_k = FK_CMP; 2581 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FDB3; /* 0x4708FDA7: je 0x4708fdb3 */ 2582 L_4708FDA9: 2583 ecx = eax; /* 0x4708FDA9: mov ecx, eax */ 2584 eax = MEM32(eax); /* 0x4708FDAB: mov eax, dword ptr [eax] */ 2585 /* cmp eax, ebx */ /* 0x4708FDAD: cmp eax, ebx */ 2586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2588 _flag_k = FK_CMP; 2589 RECOMP_BACKEDGE(); 2590 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FDA1; /* 0x4708FDAF: jne 0x4708fda1 */ 2591 L_4708FDB1: 2592 goto L_4708FDCC; /* 0x4708FDB1: jmp 0x4708fdcc */ 2593 L_4708FDB3: 2594 /* cmp eax, ebx */ /* 0x4708FDB3: cmp eax, ebx */ 2595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2597 _flag_k = FK_CMP; 2598 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FDCC; /* 0x4708FDB5: je 0x4708fdcc */ 2599 L_4708FDB7: 2600 /* cmp ecx, ebx */ /* 0x4708FDB7: cmp ecx, ebx */ 2601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2603 _flag_k = FK_CMP; 2604 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FDC1; /* 0x4708FDB9: jne 0x4708fdc1 */ 2605 L_4708FDBB: 2606 edx = MEM32(edx); /* 0x4708FDBB: mov edx, dword ptr [edx] */ 2607 MEM32(edi) = edx; /* 0x4708FDBD: mov dword ptr [edi], edx */ 2608 goto L_4708FDC5; /* 0x4708FDBF: jmp 0x4708fdc5 */ 2609 L_4708FDC1: 2610 edx = MEM32(eax); /* 0x4708FDC1: mov edx, dword ptr [eax] */ 2611 MEM32(ecx) = edx; /* 0x4708FDC3: mov dword ptr [ecx], edx */ 2612 L_4708FDC5: 2613 /* cmp MEM32(eax), ebx */ /* 0x4708FDC5: cmp dword ptr [eax], ebx */ 2614 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(ebx); 2615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2616 _flag_k = FK_CMP; 2617 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FDCC; /* 0x4708FDC7: jne 0x4708fdcc */ 2618 L_4708FDC9: 2619 MEM32(edi + 0x4) = ecx; /* 0x4708FDC9: mov dword ptr [edi + 4], ecx */ 2620 L_4708FDCC: 2621 /* cmp MEM32(esp + 0x48), ebx */ /* 0x4708FDCC: cmp dword ptr [esp + 0x48], ebx */ 2622 _flag_a = (uint32_t)(MEM32(esp + 0x48)); _flag_b = (uint32_t)(ebx); 2623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2624 _flag_k = FK_CMP; 2625 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE5F; /* 0x4708FDD0: je 0x4708fe5f */ 2626 L_4708FDD6: 2627 /* cmp MEM32(esp + 0x2C), ebx */ /* 0x4708FDD6: cmp dword ptr [esp + 0x2c], ebx */ 2628 _flag_a = (uint32_t)(MEM32(esp + 0x2C)); _flag_b = (uint32_t)(ebx); 2629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2630 _flag_k = FK_CMP; 2631 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE30; /* 0x4708FDDA: je 0x4708fe30 */ 2632 L_4708FDDC: 2633 eax = MEM32(0x4710E900); /* 0x4708FDDC: mov eax, dword ptr [0x4710e900] */ 2634 edi = esi + 0x4; /* 0x4708FDE1: lea edi, [esi + 4] */ 2635 MEM32(esi + 0x30) = eax; /* 0x4708FDE4: mov dword ptr [esi + 0x30], eax */ 2636 eax = MEM32(edi); /* 0x4708FDE7: mov eax, dword ptr [edi] */ 2637 /* cmp eax, ebx */ /* 0x4708FDE9: cmp eax, ebx */ 2638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2640 _flag_k = FK_CMP; 2641 MEM32(esi + 0x34) = ebx; /* 0x4708FDEB: mov dword ptr [esi + 0x34], ebx */ 2642 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FDFE; /* 0x4708FDEE: jne 0x4708fdfe */ 2643 L_4708FDF0: 2644 /* cmp MEM32(esi + 0xC), ebx */ /* 0x4708FDF0: cmp dword ptr [esi + 0xc], ebx */ 2645 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(ebx); 2646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2647 _flag_k = FK_CMP; 2648 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FDFA; /* 0x4708FDF3: jne 0x4708fdfa */ 2649 L_4708FDF5: 2650 MEM32(esi + 0x40) = ebx; /* 0x4708FDF5: mov dword ptr [esi + 0x40], ebx */ 2651 goto L_4708FE30; /* 0x4708FDF8: jmp 0x4708fe30 */ 2652 L_4708FDFA: 2653 /* cmp eax, ebx */ /* 0x4708FDFA: cmp eax, ebx */ 2654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2656 _flag_k = FK_CMP; 2657 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE07; /* 0x4708FDFC: je 0x4708fe07 */ 2658 L_4708FDFE: 2659 MEM32(esi + 0x34) = 2; /* 0x4708FDFE: mov dword ptr [esi + 0x34], 2 */ 2660 goto L_4708FE11; /* 0x4708FE05: jmp 0x4708fe11 */ 2661 L_4708FE07: 2662 MEM32(esi + 0x34) = 1; /* 0x4708FE07: mov dword ptr [esi + 0x34], 1 */ 2663 edi = esi + 0xC; /* 0x4708FE0E: lea edi, [esi + 0xc] */ 2664 L_4708FE11: 2665 ecx = MEM32(edi); /* 0x4708FE11: mov ecx, dword ptr [edi] */ 2666 MEM32(ecx + 0x10) = 1; /* 0x4708FE13: mov dword ptr [ecx + 0x10], 1 */ 2667 eax = MEM32(edi); /* 0x4708FE1A: mov eax, dword ptr [edi] */ 2668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 2669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2670 eax = eax + 8; /* 0x4708FE1C: add eax, 8 */ 2671 _flag_k = FK_ADD; 2672 PUSH32(esp, eax); /* 0x4708FE1F: push eax */ 2673 RECOMP_ICALL(0x470027A0u); /* 0x4708FE20: call 0x470027a0 */ /* not lifted */ 2674 RECOMP_FLAGS_IN(); 2675 edx = MEM32(edi); /* 0x4708FE25: mov edx, dword ptr [edi] */ 2676 eax = MEM32(edx + 0x4); /* 0x4708FE27: mov eax, dword ptr [edx + 4] */ 2677 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2678 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2679 esp = esp + 4; /* 0x4708FE2A: add esp, 4 */ 2680 _flag_k = FK_ADD; 2681 MEM32(esi + 0x30) = eax; /* 0x4708FE2D: mov dword ptr [esi + 0x30], eax */ 2682 L_4708FE30: 2683 ecx = esp + 0x24; /* 0x4708FE30: lea ecx, [esp + 0x24] */ 2684 MEM8(esp + 0x38) = (uint8_t)(0); /* 0x4708FE34: mov byte ptr [esp + 0x38], 0 */ 2685 RECOMP_ICALL(0x47086020u); /* 0x4708FE39: call 0x47086020 */ /* not lifted */ 2686 RECOMP_FLAGS_IN(); 2687 eax = MEM32(esp + 0x18); /* 0x4708FE3E: mov eax, dword ptr [esp + 0x18] */ 2688 _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu)); 2689 esi = esi | 0xFFFFFFFFu; /* 0x4708FE42: or esi, 0xffffffff */ 2690 _cf = 0; 2691 _flag_k = FK_TEST; 2692 /* cmp eax, esi */ /* 0x4708FE45: cmp eax, esi */ 2693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2695 _flag_k = FK_CMP; 2696 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE58; /* 0x4708FE47: je 0x4708fe58 */ 2697 L_4708FE49: 2698 ecx = MEM32(esp + 0x14); /* 0x4708FE49: mov ecx, dword ptr [esp + 0x14] */ 2699 PUSH32(esp, ecx); /* 0x4708FE4D: push ecx */ 2700 MEM32(esp + 0x1C) = esi; /* 0x4708FE4E: mov dword ptr [esp + 0x1c], esi */ 2701 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FE52: call dword ptr [0x470ac190] */ 2702 RECOMP_FLAGS_IN(); 2703 L_4708FE58: 2704 eax = esi; /* 0x4708FE58: mov eax, esi */ 2705 goto L_4708FF55; /* 0x4708FE5A: jmp 0x4708ff55 */ 2706 L_4708FE5F: 2707 /* cmp MEM32(esp + 0x40), ebx */ /* 0x4708FE5F: cmp dword ptr [esp + 0x40], ebx */ 2708 _flag_a = (uint32_t)(MEM32(esp + 0x40)); _flag_b = (uint32_t)(ebx); 2709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2710 _flag_k = FK_CMP; 2711 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE94; /* 0x4708FE63: je 0x4708fe94 */ 2712 L_4708FE65: 2713 ecx = esp + 0x24; /* 0x4708FE65: lea ecx, [esp + 0x24] */ 2714 MEM8(esp + 0x38) = (uint8_t)(0); /* 0x4708FE69: mov byte ptr [esp + 0x38], 0 */ 2715 RECOMP_ICALL(0x47086020u); /* 0x4708FE6E: call 0x47086020 */ /* not lifted */ 2716 RECOMP_FLAGS_IN(); 2717 eax = MEM32(esp + 0x18); /* 0x4708FE73: mov eax, dword ptr [esp + 0x18] */ 2718 _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu)); 2719 esi = esi | 0xFFFFFFFFu; /* 0x4708FE77: or esi, 0xffffffff */ 2720 _cf = 0; 2721 _flag_k = FK_TEST; 2722 /* cmp eax, esi */ /* 0x4708FE7A: cmp eax, esi */ 2723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2725 _flag_k = FK_CMP; 2726 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FE8D; /* 0x4708FE7C: je 0x4708fe8d */ 2727 L_4708FE7E: 2728 edx = MEM32(esp + 0x14); /* 0x4708FE7E: mov edx, dword ptr [esp + 0x14] */ 2729 PUSH32(esp, edx); /* 0x4708FE82: push edx */ 2730 MEM32(esp + 0x1C) = esi; /* 0x4708FE83: mov dword ptr [esp + 0x1c], esi */ 2731 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FE87: call dword ptr [0x470ac190] */ 2732 RECOMP_FLAGS_IN(); 2733 L_4708FE8D: 2734 eax = esi; /* 0x4708FE8D: mov eax, esi */ 2735 goto L_4708FF55; /* 0x4708FE8F: jmp 0x4708ff55 */ 2736 L_4708FE94: 2737 /* cmp MEM32(esp + 0x2C), ebx */ /* 0x4708FE94: cmp dword ptr [esp + 0x2c], ebx */ 2738 _flag_a = (uint32_t)(MEM32(esp + 0x2C)); _flag_b = (uint32_t)(ebx); 2739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2740 _flag_k = FK_CMP; 2741 if (CMP_NE(_flag_a, _flag_b)) goto L_4708FEFD; /* 0x4708FE98: jne 0x4708fefd */ 2742 L_4708FE9A: 2743 RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4708FE9A: call dword ptr [0x470ac150] */ 2744 RECOMP_FLAGS_IN(); 2745 ebp = eax; /* 0x4708FEA0: mov ebp, eax */ 2746 RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4708FEA2: call dword ptr [0x470ac3c8] */ 2747 RECOMP_FLAGS_IN(); 2748 eax = MEM32(eax); /* 0x4708FEA8: mov eax, dword ptr [eax] */ 2749 /* cmp eax, ebx */ /* 0x4708FEAA: cmp eax, ebx */ 2750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2752 _flag_k = FK_CMP; 2753 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FEB0; /* 0x4708FEAC: je 0x4708feb0 */ 2754 L_4708FEAE: 2755 ebp = eax; /* 0x4708FEAE: mov ebp, eax */ 2756 L_4708FEB0: 2757 RECOMP_ICALL(0x47039020u); /* 0x4708FEB0: call 0x47039020 */ /* not lifted */ 2758 RECOMP_FLAGS_IN(); 2759 edi = eax; /* 0x4708FEB5: mov edi, eax */ 2760 ecx = edi; /* 0x4708FEB7: mov ecx, edi */ 2761 RECOMP_ICALL(0x4703B210u); /* 0x4708FEB9: call 0x4703b210 */ /* not lifted */ 2762 RECOMP_FLAGS_IN(); 2763 PUSH32(esp, eax); /* 0x4708FEBE: push eax */ 2764 ecx = edi; /* 0x4708FEBF: mov ecx, edi */ 2765 RECOMP_ICALL(0x4703B240u); /* 0x4708FEC1: call 0x4703b240 */ /* not lifted */ 2766 RECOMP_FLAGS_IN(); 2767 PUSH32(esp, eax); /* 0x4708FEC6: push eax */ 2768 ecx = edi; /* 0x4708FEC7: mov ecx, edi */ 2769 RECOMP_ICALL(0x4703B080u); /* 0x4708FEC9: call 0x4703b080 */ /* not lifted */ 2770 RECOMP_FLAGS_IN(); 2771 PUSH32(esp, eax); /* 0x4708FECE: push eax */ 2772 PUSH32(esp, ebp); /* 0x4708FECF: push ebp */ 2773 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FED0: push -1 */ 2774 PUSH32(esp, 0x140u); /* 0x4708FED2: push 0x140 */ 2775 PUSH32(esp, 0x4710CD68u); /* 0x4708FED7: push 0x4710cd68 */ 2776 ecx = edi; /* 0x4708FEDC: mov ecx, edi */ 2777 RECOMP_ICALL(0x4703A340u); /* 0x4708FEDE: call 0x4703a340 */ /* not lifted */ 2778 RECOMP_FLAGS_IN(); 2779 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FEE3: push -1 */ 2780 PUSH32(esp, 0x4710CD9Cu); /* 0x4708FEE5: push 0x4710cd9c */ 2781 PUSH32(esp, 0x47104AA4u); /* 0x4708FEEA: push 0x47104aa4 */ 2782 PUSH32(esp, 0x80u); /* 0x4708FEEF: push 0x80 */ 2783 PUSH32(esp, edi); /* 0x4708FEF4: push edi */ 2784 RECOMP_ICALL(0x47039830u); /* 0x4708FEF5: call 0x47039830 */ /* not lifted */ 2785 RECOMP_FLAGS_IN(); 2786 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 2787 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2788 esp = esp + 0x14u; /* 0x4708FEFA: add esp, 0x14 */ 2789 _flag_k = FK_ADD; 2790 L_4708FEFD: 2791 /* cmp MEM32(esi + 0x40), ebx */ /* 0x4708FEFD: cmp dword ptr [esi + 0x40], ebx */ 2792 _flag_a = (uint32_t)(MEM32(esi + 0x40)); _flag_b = (uint32_t)(ebx); 2793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2794 _flag_k = FK_CMP; 2795 MEM8(esp + 0x38) = (uint8_t)(0); /* 0x4708FF00: mov byte ptr [esp + 0x38], 0 */ 2796 ecx = esp + 0x24; /* 0x4708FF05: lea ecx, [esp + 0x24] */ 2797 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FF31; /* 0x4708FF09: je 0x4708ff31 */ 2798 L_4708FF0B: 2799 RECOMP_ICALL(0x47086020u); /* 0x4708FF0B: call 0x47086020 */ /* not lifted */ 2800 RECOMP_FLAGS_IN(); 2801 ecx = MEM32(esp + 0x18); /* 0x4708FF10: mov ecx, dword ptr [esp + 0x18] */ 2802 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 2803 eax = eax | 0xFFFFFFFFu; /* 0x4708FF14: or eax, 0xffffffff */ 2804 _cf = 0; 2805 _flag_k = FK_TEST; 2806 /* cmp ecx, eax */ /* 0x4708FF17: cmp ecx, eax */ 2807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2809 _flag_k = FK_CMP; 2810 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FF2A; /* 0x4708FF19: je 0x4708ff2a */ 2811 L_4708FF1B: 2812 MEM32(esp + 0x18) = eax; /* 0x4708FF1B: mov dword ptr [esp + 0x18], eax */ 2813 eax = MEM32(esp + 0x14); /* 0x4708FF1F: mov eax, dword ptr [esp + 0x14] */ 2814 PUSH32(esp, eax); /* 0x4708FF23: push eax */ 2815 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FF24: call dword ptr [0x470ac190] */ 2816 RECOMP_FLAGS_IN(); 2817 L_4708FF2A: 2818 eax = 2; /* 0x4708FF2A: mov eax, 2 */ 2819 goto L_4708FF55; /* 0x4708FF2F: jmp 0x4708ff55 */ 2820 L_4708FF31: 2821 RECOMP_ICALL(0x47086020u); /* 0x4708FF31: call 0x47086020 */ /* not lifted */ 2822 RECOMP_FLAGS_IN(); 2823 ecx = MEM32(esp + 0x18); /* 0x4708FF36: mov ecx, dword ptr [esp + 0x18] */ 2824 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 2825 eax = eax | 0xFFFFFFFFu; /* 0x4708FF3A: or eax, 0xffffffff */ 2826 _cf = 0; 2827 _flag_k = FK_TEST; 2828 /* cmp ecx, eax */ /* 0x4708FF3D: cmp ecx, eax */ 2829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2831 _flag_k = FK_CMP; 2832 if (CMP_EQ(_flag_a, _flag_b)) goto L_4708FF50; /* 0x4708FF3F: je 0x4708ff50 */ 2833 L_4708FF41: 2834 ecx = MEM32(esp + 0x14); /* 0x4708FF41: mov ecx, dword ptr [esp + 0x14] */ 2835 PUSH32(esp, ecx); /* 0x4708FF45: push ecx */ 2836 MEM32(esp + 0x1C) = eax; /* 0x4708FF46: mov dword ptr [esp + 0x1c], eax */ 2837 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4708FF4A: call dword ptr [0x470ac190] */ 2838 RECOMP_FLAGS_IN(); 2839 L_4708FF50: 2840 eax = 1; /* 0x4708FF50: mov eax, 1 */ 2841 L_4708FF55: 2842 ecx = MEM32(esp + 0x30); /* 0x4708FF55: mov ecx, dword ptr [esp + 0x30] */ 2843 edi = POP32_VAL(esp); /* 0x4708FF59: pop edi */ 2844 esi = POP32_VAL(esp); /* 0x4708FF5A: pop esi */ 2845 ebp = POP32_VAL(esp); /* 0x4708FF5B: pop ebp */ 2846 ebx = POP32_VAL(esp); /* 0x4708FF5C: pop ebx */ 2847 MEM32(FS_BASE + (0)) = ecx; /* 0x4708FF5D: mov dword ptr fs:[0], ecx */ 2848 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 2849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2850 esp = esp + 0x2Cu; /* 0x4708FF64: add esp, 0x2c */ 2851 _flag_k = FK_ADD; 2852 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4708FF67: ret 0x10 */ 2853 RECOMP_REGS_OUT(); 2854 } 2855 2856 void sub_4708FF55(void) { 2857 int _fpu_cmp = 0; 2858 uint32_t _cf = 0; 2859 int _df = 1; 2860 uint32_t _flag_k = FK_NONE; 2861 uint32_t _flag_a = 0, _flag_b = 0; 2862 uint32_t _itail_tgt = 0; 2863 RECOMP_REGS_LOCALS 2864 RECOMP_ENTER(0x4708FF55u); 2865 2866 L_4708FF55: 2867 ecx = MEM32(esp + 0x30); /* 0x4708FF55: mov ecx, dword ptr [esp + 0x30] */ 2868 edi = POP32_VAL(esp); /* 0x4708FF59: pop edi */ 2869 esi = POP32_VAL(esp); /* 0x4708FF5A: pop esi */ 2870 ebp = POP32_VAL(esp); /* 0x4708FF5B: pop ebp */ 2871 ebx = POP32_VAL(esp); /* 0x4708FF5C: pop ebx */ 2872 MEM32(FS_BASE + (0)) = ecx; /* 0x4708FF5D: mov dword ptr fs:[0], ecx */ 2873 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 2874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2875 esp = esp + 0x2Cu; /* 0x4708FF64: add esp, 0x2c */ 2876 _flag_k = FK_ADD; 2877 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4708FF67: ret 0x10 */ 2878 RECOMP_REGS_OUT(); 2879 } 2880 2881 void sub_4708FF70(void) { 2882 int _fpu_cmp = 0; 2883 uint32_t _cf = 0; 2884 int _df = 1; 2885 uint32_t _flag_k = FK_NONE; 2886 uint32_t _flag_a = 0, _flag_b = 0; 2887 uint32_t _itail_tgt = 0; 2888 RECOMP_REGS_LOCALS 2889 RECOMP_ENTER(0x4708FF70u); 2890 2891 goto L_4708FF70; 2892 L_47086020: 2893 eax = MEM32(ecx + 0x4); /* 0x47086020: mov eax, dword ptr [ecx + 4] */ 2894 /* test eax, eax */ /* 0x47086023: test eax, eax */ 2895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2896 _cf = 0; 2897 _flag_k = FK_TEST; 2898 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708604D; /* 0x47086025: jne 0x4708604d */ 2899 L_47086027: 2900 eax = MEM32(ecx); /* 0x47086027: mov eax, dword ptr [ecx] */ 2901 PUSH32(esp, eax); /* 0x47086029: push eax */ 2902 MEM32(ecx + 0x4) = 1; /* 0x4708602A: mov dword ptr [ecx + 4], 1 */ 2903 RECOMP_ICALL(MEM32(0x470AC198)); /* 0x47086031: call dword ptr [0x470ac198] */ 2904 RECOMP_FLAGS_IN(); 2905 /* test eax, eax */ /* 0x47086037: test eax, eax */ 2906 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2907 _cf = 0; 2908 _flag_k = FK_TEST; 2909 if (TEST_NZ(_flag_a, _flag_b)) goto L_4708604D; /* 0x47086039: jne 0x4708604d */ 2910 L_4708603B: 2911 PUSH32(esp, esi); /* 0x4708603B: push esi */ 2912 RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4708603C: call dword ptr [0x470ac3c8] */ 2913 RECOMP_FLAGS_IN(); 2914 esi = eax; /* 0x47086042: mov esi, eax */ 2915 RECOMP_ICALL(MEM32(0x470AC150)); /* 0x47086044: call dword ptr [0x470ac150] */ 2916 RECOMP_FLAGS_IN(); 2917 MEM32(esi) = eax; /* 0x4708604A: mov dword ptr [esi], eax */ 2918 esi = POP32_VAL(esp); /* 0x4708604C: pop esi */ 2919 L_4708604D: 2920 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4708604D: ret */ 2921 L_4708FF70: 2922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 2923 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2924 ecx = ecx + 8; /* 0x4708FF70: add ecx, 8 */ 2925 _flag_k = FK_ADD; 2926 RECOMP_BACKEDGE(); 2927 goto L_47086020; /* 0x4708FF73: jmp 0x47086020 */ 2928 { RECOMP_REGS_OUT(); return; } /* end of function */ 2929 RECOMP_REGS_OUT(); 2930 } 2931 2932 void sub_4708FF80(void) { 2933 int _fpu_cmp = 0; 2934 uint32_t _cf = 0; 2935 int _df = 1; 2936 uint32_t _flag_k = FK_NONE; 2937 uint32_t _flag_a = 0, _flag_b = 0; 2938 uint32_t _itail_tgt = 0; 2939 RECOMP_REGS_LOCALS 2940 RECOMP_ENTER(0x4708FF80u); 2941 2942 L_4708FF80: 2943 eax = MEM32(esp + 0x4); /* 0x4708FF80: mov eax, dword ptr [esp + 4] */ 2944 PUSH32(esp, 2); /* 0x4708FF84: push 2 */ 2945 PUSH32(esp, eax); /* 0x4708FF86: push eax */ 2946 PUSH32(esp, 0); /* 0x4708FF87: push 0 */ 2947 PUSH32(esp, 0); /* 0x4708FF89: push 0 */ 2948 RECOMP_ICALL(0x4708FBD0u); /* 0x4708FF8B: call 0x4708fbd0 */ /* not lifted */ 2949 RECOMP_FLAGS_IN(); 2950 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4708FF90: ret 4 */ 2951 RECOMP_REGS_OUT(); 2952 } 2953 2954 void sub_4708FFA0(void) { 2955 int _fpu_cmp = 0; 2956 uint32_t _cf = 0; 2957 int _df = 1; 2958 uint32_t _flag_k = FK_NONE; 2959 uint32_t _flag_a = 0, _flag_b = 0; 2960 uint32_t _itail_tgt = 0; 2961 RECOMP_REGS_LOCALS 2962 RECOMP_ENTER(0x4708FFA0u); 2963 2964 L_4708FFA0: 2965 eax = MEM32(esp + 0xC); /* 0x4708FFA0: mov eax, dword ptr [esp + 0xc] */ 2966 edx = MEM32(esp + 0x8); /* 0x4708FFA4: mov edx, dword ptr [esp + 8] */ 2967 PUSH32(esp, 2); /* 0x4708FFA8: push 2 */ 2968 PUSH32(esp, eax); /* 0x4708FFAA: push eax */ 2969 eax = MEM32(esp + 0xC); /* 0x4708FFAB: mov eax, dword ptr [esp + 0xc] */ 2970 PUSH32(esp, edx); /* 0x4708FFAF: push edx */ 2971 PUSH32(esp, eax); /* 0x4708FFB0: push eax */ 2972 RECOMP_ICALL(0x4708FBD0u); /* 0x4708FFB1: call 0x4708fbd0 */ /* not lifted */ 2973 RECOMP_FLAGS_IN(); 2974 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4708FFB6: ret 0xc */ 2975 RECOMP_REGS_OUT(); 2976 } 2977 2978 void sub_4708FFC0(void) { 2979 int _fpu_cmp = 0; 2980 uint32_t _cf = 0; 2981 int _df = 1; 2982 uint32_t _flag_k = FK_NONE; 2983 uint32_t _flag_a = 0, _flag_b = 0; 2984 uint32_t _itail_tgt = 0; 2985 RECOMP_REGS_LOCALS 2986 RECOMP_ENTER(0x4708FFC0u); 2987 2988 L_4708FFC0: 2989 PUSH32(esp, 0xFFFFFFFFu); /* 0x4708FFC0: push -1 */ 2990 PUSH32(esp, 0x470AA900u); /* 0x4708FFC2: push 0x470aa900 */ 2991 eax = MEM32(FS_BASE + (0)); /* 0x4708FFC7: mov eax, dword ptr fs:[0] */ 2992 PUSH32(esp, eax); /* 0x4708FFCD: push eax */ 2993 MEM32(FS_BASE + (0)) = esp; /* 0x4708FFCE: mov dword ptr fs:[0], esp */ 2994 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 2995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2996 esp = esp - 0x28u; /* 0x4708FFD5: sub esp, 0x28 */ 2997 _flag_k = FK_CMP; 2998 PUSH32(esp, ebx); /* 0x4708FFD8: push ebx */ 2999 PUSH32(esp, ebp); /* 0x4708FFD9: push ebp */ 3000 PUSH32(esp, esi); /* 0x4708FFDA: push esi */ 3001 esi = ecx; /* 0x4708FFDB: mov esi, ecx */ 3002 PUSH32(esp, edi); /* 0x4708FFDD: push edi */ 3003 ebx = esi + 0x14; /* 0x4708FFDE: lea ebx, [esi + 0x14] */ 3004 eax = ebx; /* 0x4708FFE1: mov eax, ebx */ 3005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3006 edi = 0; /* 0x4708FFE3: xor edi, edi */ 3007 _cf = 0; 3008 _flag_k = FK_TEST; 3009 PUSH32(esp, eax); /* 0x4708FFE5: push eax */ 3010 MEM32(esp + 0x20) = eax; /* 0x4708FFE6: mov dword ptr [esp + 0x20], eax */ 3011 MEM32(esp + 0x24) = edi; /* 0x4708FFEA: mov dword ptr [esp + 0x24], edi */ 3012 RECOMP_ICALL(MEM32(0x470AC180)); /* 0x4708FFEE: call dword ptr [0x470ac180] */ 3013 RECOMP_FLAGS_IN(); 3014 MEM32(esp + 0x20) = edi; /* 0x4708FFF4: mov dword ptr [esp + 0x20], edi */ 3015 eax = MEM32(esi + 0x4); /* 0x4708FFF8: mov eax, dword ptr [esi + 4] */ 3016 /* cmp eax, edi */ /* 0x4708FFFB: cmp eax, edi */ 3017 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3019 _flag_k = FK_CMP; 3020 ebp = esi + 0x4; /* 0x4708FFFD: lea ebp, [esi + 4] */ 3021 MEM32(esp + 0x40) = edi; /* 0x47090000: mov dword ptr [esp + 0x40], edi */ 3022 if (CMP_NE(_flag_a, _flag_b)) goto L_4709001E; /* 0x47090004: jne 0x4709001e */ 3023 L_47090006: 3024 /* cmp MEM32(esi + 0x34), 2 */ /* 0x47090006: cmp dword ptr [esi + 0x34], 2 */ 3025 _flag_a = (uint32_t)(MEM32(esi + 0x34)); _flag_b = (uint32_t)(2); 3026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3027 _flag_k = FK_CMP; 3028 if (CMP_NE(_flag_a, _flag_b)) goto L_4709001E; /* 0x4709000A: jne 0x4709001e */ 3029 L_4709000C: 3030 /* cmp MEM32(esi + 0xC), edi */ /* 0x4709000C: cmp dword ptr [esi + 0xc], edi */ 3031 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(edi); 3032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3033 _flag_k = FK_CMP; 3034 if (CMP_NE(_flag_a, _flag_b)) goto L_4709001E; /* 0x4709000F: jne 0x4709001e */ 3035 L_47090011: 3036 MEM32(esp + 0x20) = 0xFFFFFFFFu; /* 0x47090011: mov dword ptr [esp + 0x20], 0xffffffff */ 3037 goto L_470902D4; /* 0x47090019: jmp 0x470902d4 */ 3038 L_4709001E: 3039 /* cmp MEM32(esi + 0x34), 1 */ /* 0x4709001E: cmp dword ptr [esi + 0x34], 1 */ 3040 _flag_a = (uint32_t)(MEM32(esi + 0x34)); _flag_b = (uint32_t)(1); 3041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3042 _flag_k = FK_CMP; 3043 if (CMP_NE(_flag_a, _flag_b)) goto L_4709002D; /* 0x47090022: jne 0x4709002d */ 3044 L_47090024: 3045 ecx = esi + 0xC; /* 0x47090024: lea ecx, [esi + 0xc] */ 3046 MEM32(esp + 0x10) = ecx; /* 0x47090027: mov dword ptr [esp + 0x10], ecx */ 3047 goto L_47090031; /* 0x4709002B: jmp 0x47090031 */ 3048 L_4709002D: 3049 MEM32(esp + 0x10) = ebp; /* 0x4709002D: mov dword ptr [esp + 0x10], ebp */ 3050 L_47090031: 3051 eax = MEM32(esi + 0x30); /* 0x47090031: mov eax, dword ptr [esi + 0x30] */ 3052 PUSH32(esp, 0x7FFFFFFFu); /* 0x47090034: push 0x7fffffff */ 3053 PUSH32(esp, edi); /* 0x47090039: push edi */ 3054 PUSH32(esp, edi); /* 0x4709003A: push edi */ 3055 PUSH32(esp, 1); /* 0x4709003B: push 1 */ 3056 PUSH32(esp, edi); /* 0x4709003D: push edi */ 3057 ecx = esp + 0x40; /* 0x4709003E: lea ecx, [esp + 0x40] */ 3058 MEM32(esp + 0x38) = edi; /* 0x47090042: mov dword ptr [esp + 0x38], edi */ 3059 MEM32(esp + 0x3C) = eax; /* 0x47090046: mov dword ptr [esp + 0x3c], eax */ 3060 RECOMP_ICALL(0x47085ED0u); /* 0x4709004A: call 0x47085ed0 */ /* not lifted */ 3061 RECOMP_FLAGS_IN(); 3062 MEM32(esp + 0x34) = edi; /* 0x4709004F: mov dword ptr [esp + 0x34], edi */ 3063 edx = MEM32(esp + 0x48); /* 0x47090053: mov edx, dword ptr [esp + 0x48] */ 3064 ecx = MEM32(esp + 0x10); /* 0x47090057: mov ecx, dword ptr [esp + 0x10] */ 3065 PUSH32(esp, edx); /* 0x4709005B: push edx */ 3066 eax = esp + 0x28; /* 0x4709005C: lea eax, [esp + 0x28] */ 3067 PUSH32(esp, eax); /* 0x47090060: push eax */ 3068 MEM8(esp + 0x48) = (uint8_t)(1); /* 0x47090061: mov byte ptr [esp + 0x48], 1 */ 3069 RECOMP_ICALL(0x4708FA20u); /* 0x47090066: call 0x4708fa20 */ /* not lifted */ 3070 RECOMP_FLAGS_IN(); 3071 edx = MEM32(esi + 0x38); /* 0x4709006B: mov edx, dword ptr [esi + 0x38] */ 3072 ecx = MEM32(esi + 0x3C); /* 0x4709006E: mov ecx, dword ptr [esi + 0x3c] */ 3073 eax = MEM32(ebp); /* 0x47090071: mov eax, dword ptr [ebp] */ 3074 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3075 edx = edx + 1; /* 0x47090074: inc edx */ 3076 _flag_k = FK_INC; 3077 /* cmp eax, edi */ /* 0x47090075: cmp eax, edi */ 3078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3080 _flag_k = FK_CMP; 3081 MEM32(esi + 0x38) = edx; /* 0x47090077: mov dword ptr [esi + 0x38], edx */ 3082 MEM32(esi + 0x3C) = edi; /* 0x4709007A: mov dword ptr [esi + 0x3c], edi */ 3083 edx = MEM32(0x4710E900); /* 0x4709007D: mov edx, dword ptr [0x4710e900] */ 3084 MEM32(esp + 0x18) = ecx; /* 0x47090083: mov dword ptr [esp + 0x18], ecx */ 3085 MEM32(esi + 0x30) = edx; /* 0x47090087: mov dword ptr [esi + 0x30], edx */ 3086 MEM32(esi + 0x34) = edi; /* 0x4709008A: mov dword ptr [esi + 0x34], edi */ 3087 if (CMP_NE(_flag_a, _flag_b)) goto L_4709009D; /* 0x4709008D: jne 0x4709009d */ 3088 L_4709008F: 3089 /* cmp MEM32(esi + 0xC), edi */ /* 0x4709008F: cmp dword ptr [esi + 0xc], edi */ 3090 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(edi); 3091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3092 _flag_k = FK_CMP; 3093 if (CMP_NE(_flag_a, _flag_b)) goto L_47090099; /* 0x47090092: jne 0x47090099 */ 3094 L_47090094: 3095 MEM32(esi + 0x40) = edi; /* 0x47090094: mov dword ptr [esi + 0x40], edi */ 3096 goto L_470900D2; /* 0x47090097: jmp 0x470900d2 */ 3097 L_47090099: 3098 /* cmp eax, edi */ /* 0x47090099: cmp eax, edi */ 3099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3101 _flag_k = FK_CMP; 3102 if (CMP_EQ(_flag_a, _flag_b)) goto L_470900A6; /* 0x4709009B: je 0x470900a6 */ 3103 L_4709009D: 3104 MEM32(esi + 0x34) = 2; /* 0x4709009D: mov dword ptr [esi + 0x34], 2 */ 3105 goto L_470900B0; /* 0x470900A4: jmp 0x470900b0 */ 3106 L_470900A6: 3107 MEM32(esi + 0x34) = 1; /* 0x470900A6: mov dword ptr [esi + 0x34], 1 */ 3108 ebp = esi + 0xC; /* 0x470900AD: lea ebp, [esi + 0xc] */ 3109 L_470900B0: 3110 eax = MEM32(ebp); /* 0x470900B0: mov eax, dword ptr [ebp] */ 3111 MEM32(eax + 0x10) = 1; /* 0x470900B3: mov dword ptr [eax + 0x10], 1 */ 3112 eax = MEM32(ebp); /* 0x470900BA: mov eax, dword ptr [ebp] */ 3113 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 3114 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3115 eax = eax + 8; /* 0x470900BD: add eax, 8 */ 3116 _flag_k = FK_ADD; 3117 PUSH32(esp, eax); /* 0x470900C0: push eax */ 3118 RECOMP_ICALL(0x470027A0u); /* 0x470900C1: call 0x470027a0 */ /* not lifted */ 3119 RECOMP_FLAGS_IN(); 3120 ecx = MEM32(ebp); /* 0x470900C6: mov ecx, dword ptr [ebp] */ 3121 edx = MEM32(ecx + 0x4); /* 0x470900C9: mov edx, dword ptr [ecx + 4] */ 3122 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3123 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3124 esp = esp + 4; /* 0x470900CC: add esp, 4 */ 3125 _flag_k = FK_ADD; 3126 MEM32(esi + 0x30) = edx; /* 0x470900CF: mov dword ptr [esi + 0x30], edx */ 3127 L_470900D2: 3128 MEM32(esp + 0x48) = edi; /* 0x470900D2: mov dword ptr [esp + 0x48], edi */ 3129 MEM32(esp + 0x14) = edi; /* 0x470900D6: mov dword ptr [esp + 0x14], edi */ 3130 edi = MEM32(esp + 0x4C); /* 0x470900DA: mov edi, dword ptr [esp + 0x4c] */ 3131 L_470900DE: 3132 PUSH32(esp, ebx); /* 0x470900DE: push ebx */ 3133 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x470900DF: call dword ptr [0x470ac190] */ 3134 RECOMP_FLAGS_IN(); 3135 /* test edi, edi */ /* 0x470900E5: test edi, edi */ 3136 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3137 _cf = 0; 3138 _flag_k = FK_TEST; 3139 if (TEST_NZ(_flag_a, _flag_b)) goto L_470900F8; /* 0x470900E7: jne 0x470900f8 */ 3140 L_470900E9: 3141 eax = esp + 0x2C; /* 0x470900E9: lea eax, [esp + 0x2c] */ 3142 PUSH32(esp, eax); /* 0x470900ED: push eax */ 3143 RECOMP_ICALL(0x47003140u); /* 0x470900EE: call 0x47003140 */ /* not lifted */ 3144 RECOMP_FLAGS_IN(); 3145 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3147 esp = esp + 4; /* 0x470900F3: add esp, 4 */ 3148 _flag_k = FK_ADD; 3149 goto L_47090106; /* 0x470900F6: jmp 0x47090106 */ 3150 L_470900F8: 3151 ecx = esp + 0x2C; /* 0x470900F8: lea ecx, [esp + 0x2c] */ 3152 PUSH32(esp, edi); /* 0x470900FC: push edi */ 3153 PUSH32(esp, ecx); /* 0x470900FD: push ecx */ 3154 RECOMP_ICALL(0x47002870u); /* 0x470900FE: call 0x47002870 */ /* not lifted */ 3155 RECOMP_FLAGS_IN(); 3156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3158 esp = esp + 8; /* 0x47090103: add esp, 8 */ 3159 _flag_k = FK_ADD; 3160 L_47090106: 3161 PUSH32(esp, ebx); /* 0x47090106: push ebx */ 3162 ebp = eax; /* 0x47090107: mov ebp, eax */ 3163 RECOMP_ICALL(MEM32(0x470AC180)); /* 0x47090109: call dword ptr [0x470ac180] */ 3164 RECOMP_FLAGS_IN(); 3165 /* cmp ebp, 0xFFFFFFFFu */ /* 0x4709010F: cmp ebp, -1 */ 3166 _flag_a = (uint32_t)(ebp); _flag_b = (uint32_t)(0xFFFFFFFFu); 3167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3168 _flag_k = FK_CMP; 3169 if (CMP_NE(_flag_a, _flag_b)) goto L_47090121; /* 0x47090112: jne 0x47090121 */ 3170 L_47090114: 3171 ebp = MEM32(0x470AC3C8); /* 0x47090114: mov ebp, dword ptr [0x470ac3c8] */ 3172 RECOMP_ICALL(ebp); /* 0x4709011A: call ebp */ 3173 RECOMP_FLAGS_IN(); 3174 /* cmp MEM32(eax), 4 */ /* 0x4709011C: cmp dword ptr [eax], 4 */ 3175 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(4); 3176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3177 _flag_k = FK_CMP; 3178 if (CMP_NE(_flag_a, _flag_b)) goto L_4709012C; /* 0x4709011F: jne 0x4709012c */ 3179 L_47090121: 3180 edx = MEM32(esp + 0x28); /* 0x47090121: mov edx, dword ptr [esp + 0x28] */ 3181 /* cmp edx, MEM32(esi + 0x30) */ /* 0x47090125: cmp edx, dword ptr [esi + 0x30] */ 3182 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 3183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3184 _flag_k = FK_CMP; 3185 if (CMP_EQ(_flag_a, _flag_b)) goto L_47090145; /* 0x47090128: je 0x47090145 */ 3186 L_4709012A: 3187 RECOMP_BACKEDGE(); 3188 goto L_470900DE; /* 0x4709012A: jmp 0x470900de */ 3189 L_4709012C: 3190 RECOMP_ICALL(ebp); /* 0x4709012C: call ebp */ 3191 RECOMP_FLAGS_IN(); 3192 /* cmp MEM32(eax), 0x79u */ /* 0x4709012E: cmp dword ptr [eax], 0x79 */ 3193 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0x79u); 3194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3195 _flag_k = FK_CMP; 3196 if (CMP_NE(_flag_a, _flag_b)) goto L_4709013D; /* 0x47090131: jne 0x4709013d */ 3197 L_47090133: 3198 MEM32(esp + 0x48) = 1; /* 0x47090133: mov dword ptr [esp + 0x48], 1 */ 3199 goto L_47090145; /* 0x4709013B: jmp 0x47090145 */ 3200 L_4709013D: 3201 MEM32(esp + 0x14) = 1; /* 0x4709013D: mov dword ptr [esp + 0x14], 1 */ 3202 L_47090145: 3203 ecx = MEM32(esi + 0x38); /* 0x47090145: mov ecx, dword ptr [esi + 0x38] */ 3204 edi = MEM32(esp + 0x10); /* 0x47090148: mov edi, dword ptr [esp + 0x10] */ 3205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3206 ecx = ecx - 1; /* 0x4709014C: dec ecx */ 3207 _flag_k = FK_DEC; 3208 MEM32(esi + 0x38) = ecx; /* 0x4709014D: mov dword ptr [esi + 0x38], ecx */ 3209 edx = MEM32(edi); /* 0x47090150: mov edx, dword ptr [edi] */ 3210 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3211 ebx = 0; /* 0x47090152: xor ebx, ebx */ 3212 _cf = 0; 3213 _flag_k = FK_TEST; 3214 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3215 ecx = 0; /* 0x47090154: xor ecx, ecx */ 3216 _cf = 0; 3217 _flag_k = FK_TEST; 3218 /* cmp edx, ebx */ /* 0x47090156: cmp edx, ebx */ 3219 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 3220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3221 _flag_k = FK_CMP; 3222 if (CMP_EQ(_flag_a, _flag_b)) goto L_4709018B; /* 0x47090158: je 0x4709018b */ 3223 L_4709015A: 3224 eax = edx; /* 0x4709015A: mov eax, edx */ 3225 /* cmp eax, ebx */ /* 0x4709015C: cmp eax, ebx */ 3226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3228 _flag_k = FK_CMP; 3229 if (CMP_EQ(_flag_a, _flag_b)) goto L_4709018B; /* 0x4709015E: je 0x4709018b */ 3230 L_47090160: 3231 ebp = esp + 0x24; /* 0x47090160: lea ebp, [esp + 0x24] */ 3232 /* cmp eax, ebp */ /* 0x47090164: cmp eax, ebp */ 3233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebp); 3234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3235 _flag_k = FK_CMP; 3236 if (CMP_EQ(_flag_a, _flag_b)) goto L_47090172; /* 0x47090166: je 0x47090172 */ 3237 L_47090168: 3238 ecx = eax; /* 0x47090168: mov ecx, eax */ 3239 eax = MEM32(eax); /* 0x4709016A: mov eax, dword ptr [eax] */ 3240 /* cmp eax, ebx */ /* 0x4709016C: cmp eax, ebx */ 3241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3243 _flag_k = FK_CMP; 3244 RECOMP_BACKEDGE(); 3245 if (CMP_NE(_flag_a, _flag_b)) goto L_47090160; /* 0x4709016E: jne 0x47090160 */ 3246 L_47090170: 3247 goto L_4709018B; /* 0x47090170: jmp 0x4709018b */ 3248 L_47090172: 3249 /* cmp eax, ebx */ /* 0x47090172: cmp eax, ebx */ 3250 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3252 _flag_k = FK_CMP; 3253 if (CMP_EQ(_flag_a, _flag_b)) goto L_4709018B; /* 0x47090174: je 0x4709018b */ 3254 L_47090176: 3255 /* cmp ecx, ebx */ /* 0x47090176: cmp ecx, ebx */ 3256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3258 _flag_k = FK_CMP; 3259 if (CMP_NE(_flag_a, _flag_b)) goto L_47090180; /* 0x47090178: jne 0x47090180 */ 3260 L_4709017A: 3261 edx = MEM32(edx); /* 0x4709017A: mov edx, dword ptr [edx] */ 3262 MEM32(edi) = edx; /* 0x4709017C: mov dword ptr [edi], edx */ 3263 goto L_47090184; /* 0x4709017E: jmp 0x47090184 */ 3264 L_47090180: 3265 edx = MEM32(eax); /* 0x47090180: mov edx, dword ptr [eax] */ 3266 MEM32(ecx) = edx; /* 0x47090182: mov dword ptr [ecx], edx */ 3267 L_47090184: 3268 /* cmp MEM32(eax), ebx */ /* 0x47090184: cmp dword ptr [eax], ebx */ 3269 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(ebx); 3270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3271 _flag_k = FK_CMP; 3272 if (CMP_NE(_flag_a, _flag_b)) goto L_4709018B; /* 0x47090186: jne 0x4709018b */ 3273 L_47090188: 3274 MEM32(edi + 0x4) = ecx; /* 0x47090188: mov dword ptr [edi + 4], ecx */ 3275 L_4709018B: 3276 /* cmp MEM32(esp + 0x48), ebx */ /* 0x4709018B: cmp dword ptr [esp + 0x48], ebx */ 3277 _flag_a = (uint32_t)(MEM32(esp + 0x48)); _flag_b = (uint32_t)(ebx); 3278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3279 _flag_k = FK_CMP; 3280 if (CMP_EQ(_flag_a, _flag_b)) goto L_47090216; /* 0x4709018F: je 0x47090216 */ 3281 L_47090195: 3282 /* cmp MEM32(esp + 0x34), ebx */ /* 0x47090195: cmp dword ptr [esp + 0x34], ebx */ 3283 _flag_a = (uint32_t)(MEM32(esp + 0x34)); _flag_b = (uint32_t)(ebx); 3284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3285 _flag_k = FK_CMP; 3286 if (CMP_EQ(_flag_a, _flag_b)) goto L_470901EF; /* 0x47090199: je 0x470901ef */ 3287 L_4709019B: 3288 eax = MEM32(0x4710E900); /* 0x4709019B: mov eax, dword ptr [0x4710e900] */ 3289 edi = esi + 0x4; /* 0x470901A0: lea edi, [esi + 4] */ 3290 MEM32(esi + 0x30) = eax; /* 0x470901A3: mov dword ptr [esi + 0x30], eax */ 3291 eax = MEM32(edi); /* 0x470901A6: mov eax, dword ptr [edi] */ 3292 /* cmp eax, ebx */ /* 0x470901A8: cmp eax, ebx */ 3293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3295 _flag_k = FK_CMP; 3296 MEM32(esi + 0x34) = ebx; /* 0x470901AA: mov dword ptr [esi + 0x34], ebx */ 3297 if (CMP_NE(_flag_a, _flag_b)) goto L_470901BD; /* 0x470901AD: jne 0x470901bd */ 3298 L_470901AF: 3299 /* cmp MEM32(esi + 0xC), ebx */ /* 0x470901AF: cmp dword ptr [esi + 0xc], ebx */ 3300 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(ebx); 3301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3302 _flag_k = FK_CMP; 3303 if (CMP_NE(_flag_a, _flag_b)) goto L_470901B9; /* 0x470901B2: jne 0x470901b9 */ 3304 L_470901B4: 3305 MEM32(esi + 0x40) = ebx; /* 0x470901B4: mov dword ptr [esi + 0x40], ebx */ 3306 goto L_470901EF; /* 0x470901B7: jmp 0x470901ef */ 3307 L_470901B9: 3308 /* cmp eax, ebx */ /* 0x470901B9: cmp eax, ebx */ 3309 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3311 _flag_k = FK_CMP; 3312 if (CMP_EQ(_flag_a, _flag_b)) goto L_470901C6; /* 0x470901BB: je 0x470901c6 */ 3313 L_470901BD: 3314 MEM32(esi + 0x34) = 2; /* 0x470901BD: mov dword ptr [esi + 0x34], 2 */ 3315 goto L_470901D0; /* 0x470901C4: jmp 0x470901d0 */ 3316 L_470901C6: 3317 MEM32(esi + 0x34) = 1; /* 0x470901C6: mov dword ptr [esi + 0x34], 1 */ 3318 edi = esi + 0xC; /* 0x470901CD: lea edi, [esi + 0xc] */ 3319 L_470901D0: 3320 ecx = MEM32(edi); /* 0x470901D0: mov ecx, dword ptr [edi] */ 3321 MEM32(ecx + 0x10) = 1; /* 0x470901D2: mov dword ptr [ecx + 0x10], 1 */ 3322 eax = MEM32(edi); /* 0x470901D9: mov eax, dword ptr [edi] */ 3323 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 3324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3325 eax = eax + 8; /* 0x470901DB: add eax, 8 */ 3326 _flag_k = FK_ADD; 3327 PUSH32(esp, eax); /* 0x470901DE: push eax */ 3328 RECOMP_ICALL(0x470027A0u); /* 0x470901DF: call 0x470027a0 */ /* not lifted */ 3329 RECOMP_FLAGS_IN(); 3330 edx = MEM32(edi); /* 0x470901E4: mov edx, dword ptr [edi] */ 3331 eax = MEM32(edx + 0x4); /* 0x470901E6: mov eax, dword ptr [edx + 4] */ 3332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3334 esp = esp + 4; /* 0x470901E9: add esp, 4 */ 3335 _flag_k = FK_ADD; 3336 MEM32(esi + 0x30) = eax; /* 0x470901EC: mov dword ptr [esi + 0x30], eax */ 3337 L_470901EF: 3338 ecx = esp + 0x2C; /* 0x470901EF: lea ecx, [esp + 0x2c] */ 3339 MEM8(esp + 0x40) = (uint8_t)(0); /* 0x470901F3: mov byte ptr [esp + 0x40], 0 */ 3340 RECOMP_ICALL(0x47086020u); /* 0x470901F8: call 0x47086020 */ /* not lifted */ 3341 RECOMP_FLAGS_IN(); 3342 ecx = esp + 0x1C; /* 0x470901FD: lea ecx, [esp + 0x1c] */ 3343 MEM32(esp + 0x40) = 0xFFFFFFFFu; /* 0x47090201: mov dword ptr [esp + 0x40], 0xffffffff */ 3344 RECOMP_ICALL(0x470559D0u); /* 0x47090209: call 0x470559d0 */ /* not lifted */ 3345 RECOMP_FLAGS_IN(); 3346 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 3347 eax = eax | 0xFFFFFFFFu; /* 0x4709020E: or eax, 0xffffffff */ 3348 _cf = 0; 3349 _flag_k = FK_TEST; 3350 goto L_470902E1; /* 0x47090211: jmp 0x470902e1 */ 3351 L_47090216: 3352 /* cmp MEM32(esp + 0x14), ebx */ /* 0x47090216: cmp dword ptr [esp + 0x14], ebx */ 3353 _flag_a = (uint32_t)(MEM32(esp + 0x14)); _flag_b = (uint32_t)(ebx); 3354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3355 _flag_k = FK_CMP; 3356 RECOMP_BACKEDGE(); 3357 if (CMP_NE(_flag_a, _flag_b)) goto L_470901EF; /* 0x4709021A: jne 0x470901ef */ 3358 L_4709021C: 3359 /* cmp MEM32(esp + 0x34), ebx */ /* 0x4709021C: cmp dword ptr [esp + 0x34], ebx */ 3360 _flag_a = (uint32_t)(MEM32(esp + 0x34)); _flag_b = (uint32_t)(ebx); 3361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3362 _flag_k = FK_CMP; 3363 if (CMP_NE(_flag_a, _flag_b)) goto L_47090285; /* 0x47090220: jne 0x47090285 */ 3364 L_47090222: 3365 RECOMP_ICALL(MEM32(0x470AC150)); /* 0x47090222: call dword ptr [0x470ac150] */ 3366 RECOMP_FLAGS_IN(); 3367 ebp = eax; /* 0x47090228: mov ebp, eax */ 3368 RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4709022A: call dword ptr [0x470ac3c8] */ 3369 RECOMP_FLAGS_IN(); 3370 eax = MEM32(eax); /* 0x47090230: mov eax, dword ptr [eax] */ 3371 /* cmp eax, ebx */ /* 0x47090232: cmp eax, ebx */ 3372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3374 _flag_k = FK_CMP; 3375 if (CMP_EQ(_flag_a, _flag_b)) goto L_47090238; /* 0x47090234: je 0x47090238 */ 3376 L_47090236: 3377 ebp = eax; /* 0x47090236: mov ebp, eax */ 3378 L_47090238: 3379 RECOMP_ICALL(0x47039020u); /* 0x47090238: call 0x47039020 */ /* not lifted */ 3380 RECOMP_FLAGS_IN(); 3381 edi = eax; /* 0x4709023D: mov edi, eax */ 3382 ecx = edi; /* 0x4709023F: mov ecx, edi */ 3383 RECOMP_ICALL(0x4703B210u); /* 0x47090241: call 0x4703b210 */ /* not lifted */ 3384 RECOMP_FLAGS_IN(); 3385 PUSH32(esp, eax); /* 0x47090246: push eax */ 3386 ecx = edi; /* 0x47090247: mov ecx, edi */ 3387 RECOMP_ICALL(0x4703B240u); /* 0x47090249: call 0x4703b240 */ /* not lifted */ 3388 RECOMP_FLAGS_IN(); 3389 PUSH32(esp, eax); /* 0x4709024E: push eax */ 3390 ecx = edi; /* 0x4709024F: mov ecx, edi */ 3391 RECOMP_ICALL(0x4703B080u); /* 0x47090251: call 0x4703b080 */ /* not lifted */ 3392 RECOMP_FLAGS_IN(); 3393 PUSH32(esp, eax); /* 0x47090256: push eax */ 3394 PUSH32(esp, ebp); /* 0x47090257: push ebp */ 3395 PUSH32(esp, 0xFFFFFFFFu); /* 0x47090258: push -1 */ 3396 PUSH32(esp, 0x1DAu); /* 0x4709025A: push 0x1da */ 3397 PUSH32(esp, 0x4710CD68u); /* 0x4709025F: push 0x4710cd68 */ 3398 ecx = edi; /* 0x47090264: mov ecx, edi */ 3399 RECOMP_ICALL(0x4703A340u); /* 0x47090266: call 0x4703a340 */ /* not lifted */ 3400 RECOMP_FLAGS_IN(); 3401 PUSH32(esp, 0xFFFFFFFFu); /* 0x4709026B: push -1 */ 3402 PUSH32(esp, 0x4710CD9Cu); /* 0x4709026D: push 0x4710cd9c */ 3403 PUSH32(esp, 0x47104AA4u); /* 0x47090272: push 0x47104aa4 */ 3404 PUSH32(esp, 0x80u); /* 0x47090277: push 0x80 */ 3405 PUSH32(esp, edi); /* 0x4709027C: push edi */ 3406 RECOMP_ICALL(0x47039830u); /* 0x4709027D: call 0x47039830 */ /* not lifted */ 3407 RECOMP_FLAGS_IN(); 3408 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 3409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3410 esp = esp + 0x14u; /* 0x47090282: add esp, 0x14 */ 3411 _flag_k = FK_ADD; 3412 L_47090285: 3413 ecx = MEM32(esp + 0x18); /* 0x47090285: mov ecx, dword ptr [esp + 0x18] */ 3414 /* cmp MEM32(esi + 0x40), ebx */ /* 0x47090289: cmp dword ptr [esi + 0x40], ebx */ 3415 _flag_a = (uint32_t)(MEM32(esi + 0x40)); _flag_b = (uint32_t)(ebx); 3416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3417 _flag_k = FK_CMP; 3418 MEM32(esi + 0x3C) = ecx; /* 0x4709028C: mov dword ptr [esi + 0x3c], ecx */ 3419 MEM8(esp + 0x40) = (uint8_t)(0); /* 0x4709028F: mov byte ptr [esp + 0x40], 0 */ 3420 ecx = esp + 0x2C; /* 0x47090294: lea ecx, [esp + 0x2c] */ 3421 if (CMP_EQ(_flag_a, _flag_b)) goto L_470902C0; /* 0x47090298: je 0x470902c0 */ 3422 L_4709029A: 3423 RECOMP_ICALL(0x47086020u); /* 0x4709029A: call 0x47086020 */ /* not lifted */ 3424 RECOMP_FLAGS_IN(); 3425 ecx = MEM32(esp + 0x20); /* 0x4709029F: mov ecx, dword ptr [esp + 0x20] */ 3426 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 3427 eax = eax | 0xFFFFFFFFu; /* 0x470902A3: or eax, 0xffffffff */ 3428 _cf = 0; 3429 _flag_k = FK_TEST; 3430 /* cmp ecx, eax */ /* 0x470902A6: cmp ecx, eax */ 3431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3433 _flag_k = FK_CMP; 3434 if (CMP_EQ(_flag_a, _flag_b)) goto L_470902B9; /* 0x470902A8: je 0x470902b9 */ 3435 L_470902AA: 3436 edx = MEM32(esp + 0x1C); /* 0x470902AA: mov edx, dword ptr [esp + 0x1c] */ 3437 PUSH32(esp, edx); /* 0x470902AE: push edx */ 3438 MEM32(esp + 0x24) = eax; /* 0x470902AF: mov dword ptr [esp + 0x24], eax */ 3439 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x470902B3: call dword ptr [0x470ac190] */ 3440 RECOMP_FLAGS_IN(); 3441 L_470902B9: 3442 eax = 2; /* 0x470902B9: mov eax, 2 */ 3443 goto L_470902E1; /* 0x470902BE: jmp 0x470902e1 */ 3444 L_470902C0: 3445 RECOMP_ICALL(0x47086020u); /* 0x470902C0: call 0x47086020 */ /* not lifted */ 3446 RECOMP_FLAGS_IN(); 3447 ecx = MEM32(esp + 0x20); /* 0x470902C5: mov ecx, dword ptr [esp + 0x20] */ 3448 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 3449 eax = eax | 0xFFFFFFFFu; /* 0x470902C9: or eax, 0xffffffff */ 3450 _cf = 0; 3451 _flag_k = FK_TEST; 3452 /* cmp ecx, eax */ /* 0x470902CC: cmp ecx, eax */ 3453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3455 _flag_k = FK_CMP; 3456 if (CMP_EQ(_flag_a, _flag_b)) goto L_470902DF; /* 0x470902CE: je 0x470902df */ 3457 L_470902D0: 3458 MEM32(esp + 0x20) = eax; /* 0x470902D0: mov dword ptr [esp + 0x20], eax */ 3459 L_470902D4: 3460 eax = MEM32(esp + 0x1C); /* 0x470902D4: mov eax, dword ptr [esp + 0x1c] */ 3461 PUSH32(esp, eax); /* 0x470902D8: push eax */ 3462 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x470902D9: call dword ptr [0x470ac190] */ 3463 RECOMP_FLAGS_IN(); 3464 L_470902DF: 3465 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3466 eax = 0; /* 0x470902DF: xor eax, eax */ 3467 _cf = 0; 3468 _flag_k = FK_TEST; 3469 L_470902E1: 3470 ecx = MEM32(esp + 0x38); /* 0x470902E1: mov ecx, dword ptr [esp + 0x38] */ 3471 edi = POP32_VAL(esp); /* 0x470902E5: pop edi */ 3472 esi = POP32_VAL(esp); /* 0x470902E6: pop esi */ 3473 ebp = POP32_VAL(esp); /* 0x470902E7: pop ebp */ 3474 ebx = POP32_VAL(esp); /* 0x470902E8: pop ebx */ 3475 MEM32(FS_BASE + (0)) = ecx; /* 0x470902E9: mov dword ptr fs:[0], ecx */ 3476 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 3477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3478 esp = esp + 0x34u; /* 0x470902F0: add esp, 0x34 */ 3479 _flag_k = FK_ADD; 3480 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x470902F3: ret 8 */ 3481 RECOMP_REGS_OUT(); 3482 } 3483 3484 void sub_470902D4(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(0x470902D4u); 3493 3494 L_470902D4: 3495 eax = MEM32(esp + 0x1C); /* 0x470902D4: mov eax, dword ptr [esp + 0x1c] */ 3496 PUSH32(esp, eax); /* 0x470902D8: push eax */ 3497 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x470902D9: call dword ptr [0x470ac190] */ 3498 RECOMP_FLAGS_IN(); 3499 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3500 eax = 0; /* 0x470902DF: xor eax, eax */ 3501 _cf = 0; 3502 _flag_k = FK_TEST; 3503 ecx = MEM32(esp + 0x38); /* 0x470902E1: mov ecx, dword ptr [esp + 0x38] */ 3504 edi = POP32_VAL(esp); /* 0x470902E5: pop edi */ 3505 esi = POP32_VAL(esp); /* 0x470902E6: pop esi */ 3506 ebp = POP32_VAL(esp); /* 0x470902E7: pop ebp */ 3507 ebx = POP32_VAL(esp); /* 0x470902E8: pop ebx */ 3508 MEM32(FS_BASE + (0)) = ecx; /* 0x470902E9: mov dword ptr fs:[0], ecx */ 3509 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 3510 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3511 esp = esp + 0x34u; /* 0x470902F0: add esp, 0x34 */ 3512 _flag_k = FK_ADD; 3513 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x470902F3: ret 8 */ 3514 RECOMP_REGS_OUT(); 3515 } 3516 3517 void sub_470902E1(void) { 3518 int _fpu_cmp = 0; 3519 uint32_t _cf = 0; 3520 int _df = 1; 3521 uint32_t _flag_k = FK_NONE; 3522 uint32_t _flag_a = 0, _flag_b = 0; 3523 uint32_t _itail_tgt = 0; 3524 RECOMP_REGS_LOCALS 3525 RECOMP_ENTER(0x470902E1u); 3526 3527 L_470902E1: 3528 ecx = MEM32(esp + 0x38); /* 0x470902E1: mov ecx, dword ptr [esp + 0x38] */ 3529 edi = POP32_VAL(esp); /* 0x470902E5: pop edi */ 3530 esi = POP32_VAL(esp); /* 0x470902E6: pop esi */ 3531 ebp = POP32_VAL(esp); /* 0x470902E7: pop ebp */ 3532 ebx = POP32_VAL(esp); /* 0x470902E8: pop ebx */ 3533 MEM32(FS_BASE + (0)) = ecx; /* 0x470902E9: mov dword ptr fs:[0], ecx */ 3534 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 3535 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3536 esp = esp + 0x34u; /* 0x470902F0: add esp, 0x34 */ 3537 _flag_k = FK_ADD; 3538 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x470902F3: ret 8 */ 3539 RECOMP_REGS_OUT(); 3540 } 3541 3542 void sub_47090300(void) { 3543 int _fpu_cmp = 0; 3544 uint32_t _cf = 0; 3545 int _df = 1; 3546 uint32_t _flag_k = FK_NONE; 3547 uint32_t _flag_a = 0, _flag_b = 0; 3548 uint32_t _itail_tgt = 0; 3549 RECOMP_REGS_LOCALS 3550 RECOMP_ENTER(0x47090300u); 3551 3552 L_47090300: 3553 PUSH32(esp, ebp); /* 0x47090300: push ebp */ 3554 PUSH32(esp, esi); /* 0x47090301: push esi */ 3555 esi = ecx; /* 0x47090302: mov esi, ecx */ 3556 PUSH32(esp, edi); /* 0x47090304: push edi */ 3557 ebp = esi + 0x14; /* 0x47090305: lea ebp, [esi + 0x14] */ 3558 PUSH32(esp, ebp); /* 0x47090308: push ebp */ 3559 RECOMP_ICALL(MEM32(0x470AC180)); /* 0x47090309: call dword ptr [0x470ac180] */ 3560 RECOMP_FLAGS_IN(); 3561 eax = MEM32(esi + 0x3C); /* 0x4709030F: mov eax, dword ptr [esi + 0x3c] */ 3562 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3563 edx = 0; /* 0x47090312: xor edx, edx */ 3564 _cf = 0; 3565 _flag_k = FK_TEST; 3566 /* cmp eax, edx */ /* 0x47090314: cmp eax, edx */ 3567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3569 _flag_k = FK_CMP; 3570 if (CMP_LE(_flag_a, _flag_b)) goto L_47090329; /* 0x47090316: jle 0x47090329 */ 3571 L_47090318: 3572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3573 eax = eax - 1; /* 0x47090318: dec eax */ 3574 _flag_k = FK_DEC; 3575 PUSH32(esp, ebp); /* 0x47090319: push ebp */ 3576 MEM32(esi + 0x3C) = eax; /* 0x4709031A: mov dword ptr [esi + 0x3c], eax */ 3577 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4709031D: call dword ptr [0x470ac190] */ 3578 RECOMP_FLAGS_IN(); 3579 edi = POP32_VAL(esp); /* 0x47090323: pop edi */ 3580 esi = POP32_VAL(esp); /* 0x47090324: pop esi */ 3581 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3582 eax = 0; /* 0x47090325: xor eax, eax */ 3583 _cf = 0; 3584 _flag_k = FK_TEST; 3585 ebp = POP32_VAL(esp); /* 0x47090327: pop ebp */ 3586 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x47090328: ret */ 3587 L_47090329: 3588 eax = MEM32(0x4710E900); /* 0x47090329: mov eax, dword ptr [0x4710e900] */ 3589 edi = esi + 0x4; /* 0x4709032E: lea edi, [esi + 4] */ 3590 MEM32(esi + 0x30) = eax; /* 0x47090331: mov dword ptr [esi + 0x30], eax */ 3591 eax = MEM32(edi); /* 0x47090334: mov eax, dword ptr [edi] */ 3592 /* cmp eax, edx */ /* 0x47090336: cmp eax, edx */ 3593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3595 _flag_k = FK_CMP; 3596 MEM32(esi + 0x34) = edx; /* 0x47090338: mov dword ptr [esi + 0x34], edx */ 3597 if (CMP_NE(_flag_a, _flag_b)) goto L_47090352; /* 0x4709033B: jne 0x47090352 */ 3598 L_4709033D: 3599 /* cmp MEM32(esi + 0xC), edx */ /* 0x4709033D: cmp dword ptr [esi + 0xc], edx */ 3600 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(edx); 3601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3602 _flag_k = FK_CMP; 3603 if (CMP_NE(_flag_a, _flag_b)) goto L_47090352; /* 0x47090340: jne 0x47090352 */ 3604 L_47090342: 3605 PUSH32(esp, ebp); /* 0x47090342: push ebp */ 3606 MEM32(esi + 0x40) = edx; /* 0x47090343: mov dword ptr [esi + 0x40], edx */ 3607 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x47090346: call dword ptr [0x470ac190] */ 3608 RECOMP_FLAGS_IN(); 3609 edi = POP32_VAL(esp); /* 0x4709034C: pop edi */ 3610 esi = POP32_VAL(esp); /* 0x4709034D: pop esi */ 3611 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3612 eax = 0; /* 0x4709034E: xor eax, eax */ 3613 _cf = 0; 3614 _flag_k = FK_TEST; 3615 ebp = POP32_VAL(esp); /* 0x47090350: pop ebp */ 3616 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x47090351: ret */ 3617 L_47090352: 3618 /* cmp eax, edx */ /* 0x47090352: cmp eax, edx */ 3619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3621 _flag_k = FK_CMP; 3622 ecx = 1; /* 0x47090354: mov ecx, 1 */ 3623 if (CMP_EQ(_flag_a, _flag_b)) goto L_47090364; /* 0x47090359: je 0x47090364 */ 3624 L_4709035B: 3625 MEM32(esi + 0x34) = 2; /* 0x4709035B: mov dword ptr [esi + 0x34], 2 */ 3626 goto L_4709036A; /* 0x47090362: jmp 0x4709036a */ 3627 L_47090364: 3628 MEM32(esi + 0x34) = ecx; /* 0x47090364: mov dword ptr [esi + 0x34], ecx */ 3629 edi = esi + 0xC; /* 0x47090367: lea edi, [esi + 0xc] */ 3630 L_4709036A: 3631 eax = MEM32(edi); /* 0x4709036A: mov eax, dword ptr [edi] */ 3632 MEM32(eax + 0x10) = ecx; /* 0x4709036C: mov dword ptr [eax + 0x10], ecx */ 3633 eax = MEM32(edi); /* 0x4709036F: mov eax, dword ptr [edi] */ 3634 PUSH32(esp, edx); /* 0x47090371: push edx */ 3635 PUSH32(esp, ecx); /* 0x47090372: push ecx */ 3636 ecx = MEM32(eax + 0x8); /* 0x47090373: mov ecx, dword ptr [eax + 8] */ 3637 PUSH32(esp, ecx); /* 0x47090376: push ecx */ 3638 RECOMP_ICALL(MEM32(0x470AC168)); /* 0x47090377: call dword ptr [0x470ac168] */ 3639 RECOMP_FLAGS_IN(); 3640 /* test eax, eax */ /* 0x4709037D: test eax, eax */ 3641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3642 _cf = 0; 3643 _flag_k = FK_TEST; 3644 if (TEST_NZ(_flag_a, _flag_b)) goto L_47090393; /* 0x4709037F: jne 0x47090393 */ 3645 L_47090381: 3646 PUSH32(esp, ebx); /* 0x47090381: push ebx */ 3647 RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x47090382: call dword ptr [0x470ac3c8] */ 3648 RECOMP_FLAGS_IN(); 3649 ebx = eax; /* 0x47090388: mov ebx, eax */ 3650 RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4709038A: call dword ptr [0x470ac150] */ 3651 RECOMP_FLAGS_IN(); 3652 MEM32(ebx) = eax; /* 0x47090390: mov dword ptr [ebx], eax */ 3653 ebx = POP32_VAL(esp); /* 0x47090392: pop ebx */ 3654 L_47090393: 3655 edx = MEM32(edi); /* 0x47090393: mov edx, dword ptr [edi] */ 3656 eax = MEM32(edx + 0x4); /* 0x47090395: mov eax, dword ptr [edx + 4] */ 3657 PUSH32(esp, ebp); /* 0x47090398: push ebp */ 3658 MEM32(esi + 0x30) = eax; /* 0x47090399: mov dword ptr [esi + 0x30], eax */ 3659 RECOMP_ICALL(MEM32(0x470AC190)); /* 0x4709039C: call dword ptr [0x470ac190] */ 3660 RECOMP_FLAGS_IN(); 3661 edi = POP32_VAL(esp); /* 0x470903A2: pop edi */ 3662 esi = POP32_VAL(esp); /* 0x470903A3: pop esi */ 3663 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3664 eax = 0; /* 0x470903A4: xor eax, eax */ 3665 _cf = 0; 3666 _flag_k = FK_TEST; 3667 ebp = POP32_VAL(esp); /* 0x470903A6: pop ebp */ 3668 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x470903A7: ret */ 3669 RECOMP_REGS_OUT(); 3670 }