client/vendor/msvcp60/source/lifted-0034.c (131643B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 4 void sub_460288FB(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(0x460288FBu); 13 14 goto L_460288FB; 15 L_46001C9F: 16 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 17 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 18 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 19 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 20 RECOMP_FLAGS_IN(); 21 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 22 L_46001CAE: 23 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 24 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 25 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 26 _cf = 0; 27 _flag_k = FK_TEST; 28 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 29 L_46001CB4: 30 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 31 RECOMP_FLAGS_IN(); 32 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 33 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34 _cf = 0; 35 _flag_k = FK_TEST; 36 RECOMP_BACKEDGE(); 37 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 38 L_46001CBD: 39 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 40 L_460288FB: 41 ecx = ebp + 0x1C; /* 0x460288FB: lea ecx, [ebp + 0x1c] */ 42 RECOMP_BACKEDGE(); 43 goto L_46001CAE; /* 0x460288FE: jmp 0x46001cae */ 44 { RECOMP_REGS_OUT(); return; } /* end of function */ 45 RECOMP_REGS_OUT(); 46 } 47 48 void sub_46028903(void) { 49 int _fpu_cmp = 0; 50 uint32_t _cf = 0; 51 int _df = 1; 52 uint32_t _flag_k = FK_NONE; 53 uint32_t _flag_a = 0, _flag_b = 0; 54 uint32_t _itail_tgt = 0; 55 RECOMP_REGS_LOCALS 56 RECOMP_ENTER(0x46028903u); 57 58 goto L_46028903; 59 L_46028258: 60 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 61 L_46028903: 62 eax = 0x4602E8E8u; /* 0x46028903: mov eax, 0x4602e8e8 */ 63 L_46028908: 64 RECOMP_BACKEDGE(); 65 goto L_46028258; /* 0x46028908: jmp 0x46028258 */ 66 { RECOMP_REGS_OUT(); return; } /* end of function */ 67 _ljump: 68 switch (_itail_tgt) { 69 case 0x46028258u: goto L_46028258; 70 case 0x46028903u: goto L_46028903; 71 case 0x46028908u: goto L_46028908; 72 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 73 } 74 RECOMP_REGS_OUT(); 75 } 76 77 void sub_4602890D(void) { 78 int _fpu_cmp = 0; 79 uint32_t _cf = 0; 80 int _df = 1; 81 uint32_t _flag_k = FK_NONE; 82 uint32_t _flag_a = 0, _flag_b = 0; 83 uint32_t _itail_tgt = 0; 84 RECOMP_REGS_LOCALS 85 RECOMP_ENTER(0x4602890Du); 86 87 goto L_4602890D; 88 L_46001C9F: 89 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 90 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 91 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 92 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 93 RECOMP_FLAGS_IN(); 94 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 95 L_46001CAE: 96 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 97 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 98 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 99 _cf = 0; 100 _flag_k = FK_TEST; 101 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 102 L_46001CB4: 103 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 104 RECOMP_FLAGS_IN(); 105 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 107 _cf = 0; 108 _flag_k = FK_TEST; 109 RECOMP_BACKEDGE(); 110 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 111 L_46001CBD: 112 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 113 L_4602890D: 114 ecx = ebp + 0x1C; /* 0x4602890D: lea ecx, [ebp + 0x1c] */ 115 RECOMP_BACKEDGE(); 116 goto L_46001CAE; /* 0x46028910: jmp 0x46001cae */ 117 { RECOMP_REGS_OUT(); return; } /* end of function */ 118 RECOMP_REGS_OUT(); 119 } 120 121 void sub_46028915(void) { 122 int _fpu_cmp = 0; 123 uint32_t _cf = 0; 124 int _df = 1; 125 uint32_t _flag_k = FK_NONE; 126 uint32_t _flag_a = 0, _flag_b = 0; 127 uint32_t _itail_tgt = 0; 128 RECOMP_REGS_LOCALS 129 RECOMP_ENTER(0x46028915u); 130 131 goto L_46028915; 132 L_46028258: 133 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 134 L_46028915: 135 eax = 0x4602E910u; /* 0x46028915: mov eax, 0x4602e910 */ 136 L_4602891A: 137 RECOMP_BACKEDGE(); 138 goto L_46028258; /* 0x4602891A: jmp 0x46028258 */ 139 { RECOMP_REGS_OUT(); return; } /* end of function */ 140 _ljump: 141 switch (_itail_tgt) { 142 case 0x46028258u: goto L_46028258; 143 case 0x46028915u: goto L_46028915; 144 case 0x4602891Au: goto L_4602891A; 145 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 146 } 147 RECOMP_REGS_OUT(); 148 } 149 150 void sub_4602891F(void) { 151 int _fpu_cmp = 0; 152 uint32_t _cf = 0; 153 int _df = 1; 154 uint32_t _flag_k = FK_NONE; 155 uint32_t _flag_a = 0, _flag_b = 0; 156 uint32_t _itail_tgt = 0; 157 RECOMP_REGS_LOCALS 158 RECOMP_ENTER(0x4602891Fu); 159 160 goto L_4602891F; 161 L_46001C9F: 162 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 163 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 164 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 165 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 166 RECOMP_FLAGS_IN(); 167 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 168 L_46001CAE: 169 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 170 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 171 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 172 _cf = 0; 173 _flag_k = FK_TEST; 174 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 175 L_46001CB4: 176 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 177 RECOMP_FLAGS_IN(); 178 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 180 _cf = 0; 181 _flag_k = FK_TEST; 182 RECOMP_BACKEDGE(); 183 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 184 L_46001CBD: 185 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 186 L_4602891F: 187 ecx = ebp + 0x1C; /* 0x4602891F: lea ecx, [ebp + 0x1c] */ 188 RECOMP_BACKEDGE(); 189 goto L_46001CAE; /* 0x46028922: jmp 0x46001cae */ 190 { RECOMP_REGS_OUT(); return; } /* end of function */ 191 RECOMP_REGS_OUT(); 192 } 193 194 void sub_46028927(void) { 195 int _fpu_cmp = 0; 196 uint32_t _cf = 0; 197 int _df = 1; 198 uint32_t _flag_k = FK_NONE; 199 uint32_t _flag_a = 0, _flag_b = 0; 200 uint32_t _itail_tgt = 0; 201 RECOMP_REGS_LOCALS 202 RECOMP_ENTER(0x46028927u); 203 204 goto L_46028927; 205 L_46028258: 206 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 207 L_46028927: 208 eax = 0x4602E938u; /* 0x46028927: mov eax, 0x4602e938 */ 209 L_4602892C: 210 RECOMP_BACKEDGE(); 211 goto L_46028258; /* 0x4602892C: jmp 0x46028258 */ 212 { RECOMP_REGS_OUT(); return; } /* end of function */ 213 _ljump: 214 switch (_itail_tgt) { 215 case 0x46028258u: goto L_46028258; 216 case 0x46028927u: goto L_46028927; 217 case 0x4602892Cu: goto L_4602892C; 218 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 219 } 220 RECOMP_REGS_OUT(); 221 } 222 223 void sub_46028931(void) { 224 int _fpu_cmp = 0; 225 uint32_t _cf = 0; 226 int _df = 1; 227 uint32_t _flag_k = FK_NONE; 228 uint32_t _flag_a = 0, _flag_b = 0; 229 uint32_t _itail_tgt = 0; 230 RECOMP_REGS_LOCALS 231 RECOMP_ENTER(0x46028931u); 232 233 goto L_46028931; 234 L_46001C9F: 235 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 236 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 237 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 238 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 239 RECOMP_FLAGS_IN(); 240 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 241 L_46001CAE: 242 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 243 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 245 _cf = 0; 246 _flag_k = FK_TEST; 247 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 248 L_46001CB4: 249 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 250 RECOMP_FLAGS_IN(); 251 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 252 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 253 _cf = 0; 254 _flag_k = FK_TEST; 255 RECOMP_BACKEDGE(); 256 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 257 L_46001CBD: 258 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 259 L_46028931: 260 ecx = ebp + 0x1C; /* 0x46028931: lea ecx, [ebp + 0x1c] */ 261 RECOMP_BACKEDGE(); 262 goto L_46001CAE; /* 0x46028934: jmp 0x46001cae */ 263 { RECOMP_REGS_OUT(); return; } /* end of function */ 264 RECOMP_REGS_OUT(); 265 } 266 267 void sub_46028939(void) { 268 int _fpu_cmp = 0; 269 uint32_t _cf = 0; 270 int _df = 1; 271 uint32_t _flag_k = FK_NONE; 272 uint32_t _flag_a = 0, _flag_b = 0; 273 uint32_t _itail_tgt = 0; 274 RECOMP_REGS_LOCALS 275 RECOMP_ENTER(0x46028939u); 276 277 goto L_46028939; 278 L_46028258: 279 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 280 L_46028939: 281 eax = 0x4602E960u; /* 0x46028939: mov eax, 0x4602e960 */ 282 L_4602893E: 283 RECOMP_BACKEDGE(); 284 goto L_46028258; /* 0x4602893E: jmp 0x46028258 */ 285 { RECOMP_REGS_OUT(); return; } /* end of function */ 286 _ljump: 287 switch (_itail_tgt) { 288 case 0x46028258u: goto L_46028258; 289 case 0x46028939u: goto L_46028939; 290 case 0x4602893Eu: goto L_4602893E; 291 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 292 } 293 RECOMP_REGS_OUT(); 294 } 295 296 void sub_46028943(void) { 297 int _fpu_cmp = 0; 298 uint32_t _cf = 0; 299 int _df = 1; 300 uint32_t _flag_k = FK_NONE; 301 uint32_t _flag_a = 0, _flag_b = 0; 302 uint32_t _itail_tgt = 0; 303 RECOMP_REGS_LOCALS 304 RECOMP_ENTER(0x46028943u); 305 306 goto L_46028943; 307 L_46001C9F: 308 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 309 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 310 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 311 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 312 RECOMP_FLAGS_IN(); 313 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 314 L_46001CAE: 315 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 316 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 317 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 318 _cf = 0; 319 _flag_k = FK_TEST; 320 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 321 L_46001CB4: 322 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 323 RECOMP_FLAGS_IN(); 324 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 326 _cf = 0; 327 _flag_k = FK_TEST; 328 RECOMP_BACKEDGE(); 329 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 330 L_46001CBD: 331 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 332 L_46028943: 333 ecx = ebp + 0x1C; /* 0x46028943: lea ecx, [ebp + 0x1c] */ 334 RECOMP_BACKEDGE(); 335 goto L_46001CAE; /* 0x46028946: jmp 0x46001cae */ 336 { RECOMP_REGS_OUT(); return; } /* end of function */ 337 RECOMP_REGS_OUT(); 338 } 339 340 void sub_4602894B(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(0x4602894Bu); 349 350 goto L_4602894B; 351 L_46028258: 352 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 353 L_4602894B: 354 eax = 0x4602E988u; /* 0x4602894B: mov eax, 0x4602e988 */ 355 L_46028950: 356 RECOMP_BACKEDGE(); 357 goto L_46028258; /* 0x46028950: jmp 0x46028258 */ 358 { RECOMP_REGS_OUT(); return; } /* end of function */ 359 _ljump: 360 switch (_itail_tgt) { 361 case 0x46028258u: goto L_46028258; 362 case 0x4602894Bu: goto L_4602894B; 363 case 0x46028950u: goto L_46028950; 364 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 365 } 366 RECOMP_REGS_OUT(); 367 } 368 369 void sub_46028955(void) { 370 int _fpu_cmp = 0; 371 uint32_t _cf = 0; 372 int _df = 1; 373 uint32_t _flag_k = FK_NONE; 374 uint32_t _flag_a = 0, _flag_b = 0; 375 uint32_t _itail_tgt = 0; 376 RECOMP_REGS_LOCALS 377 RECOMP_ENTER(0x46028955u); 378 379 goto L_46028955; 380 L_46001C9F: 381 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 382 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 383 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 384 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 385 RECOMP_FLAGS_IN(); 386 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 387 L_46001CAE: 388 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 389 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 391 _cf = 0; 392 _flag_k = FK_TEST; 393 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 394 L_46001CB4: 395 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 396 RECOMP_FLAGS_IN(); 397 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 398 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 399 _cf = 0; 400 _flag_k = FK_TEST; 401 RECOMP_BACKEDGE(); 402 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 403 L_46001CBD: 404 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 405 L_46028955: 406 ecx = ebp + 0x1C; /* 0x46028955: lea ecx, [ebp + 0x1c] */ 407 RECOMP_BACKEDGE(); 408 goto L_46001CAE; /* 0x46028958: jmp 0x46001cae */ 409 { RECOMP_REGS_OUT(); return; } /* end of function */ 410 RECOMP_REGS_OUT(); 411 } 412 413 void sub_4602895D(void) { 414 int _fpu_cmp = 0; 415 uint32_t _cf = 0; 416 int _df = 1; 417 uint32_t _flag_k = FK_NONE; 418 uint32_t _flag_a = 0, _flag_b = 0; 419 uint32_t _itail_tgt = 0; 420 RECOMP_REGS_LOCALS 421 RECOMP_ENTER(0x4602895Du); 422 423 goto L_4602895D; 424 L_46028258: 425 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 426 L_4602895D: 427 eax = 0x4602E9B0u; /* 0x4602895D: mov eax, 0x4602e9b0 */ 428 L_46028962: 429 RECOMP_BACKEDGE(); 430 goto L_46028258; /* 0x46028962: jmp 0x46028258 */ 431 { RECOMP_REGS_OUT(); return; } /* end of function */ 432 _ljump: 433 switch (_itail_tgt) { 434 case 0x46028258u: goto L_46028258; 435 case 0x4602895Du: goto L_4602895D; 436 case 0x46028962u: goto L_46028962; 437 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 438 } 439 RECOMP_REGS_OUT(); 440 } 441 442 void sub_46028967(void) { 443 int _fpu_cmp = 0; 444 uint32_t _cf = 0; 445 int _df = 1; 446 uint32_t _flag_k = FK_NONE; 447 uint32_t _flag_a = 0, _flag_b = 0; 448 uint32_t _itail_tgt = 0; 449 RECOMP_REGS_LOCALS 450 RECOMP_ENTER(0x46028967u); 451 452 goto L_46028967; 453 L_46001C9F: 454 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 455 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 456 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 457 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 458 RECOMP_FLAGS_IN(); 459 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 460 L_46001CAE: 461 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 462 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 463 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 464 _cf = 0; 465 _flag_k = FK_TEST; 466 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 467 L_46001CB4: 468 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 469 RECOMP_FLAGS_IN(); 470 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 472 _cf = 0; 473 _flag_k = FK_TEST; 474 RECOMP_BACKEDGE(); 475 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 476 L_46001CBD: 477 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 478 L_46028967: 479 ecx = ebp + 0x1C; /* 0x46028967: lea ecx, [ebp + 0x1c] */ 480 RECOMP_BACKEDGE(); 481 goto L_46001CAE; /* 0x4602896A: jmp 0x46001cae */ 482 { RECOMP_REGS_OUT(); return; } /* end of function */ 483 RECOMP_REGS_OUT(); 484 } 485 486 void sub_4602896F(void) { 487 int _fpu_cmp = 0; 488 uint32_t _cf = 0; 489 int _df = 1; 490 uint32_t _flag_k = FK_NONE; 491 uint32_t _flag_a = 0, _flag_b = 0; 492 uint32_t _itail_tgt = 0; 493 RECOMP_REGS_LOCALS 494 RECOMP_ENTER(0x4602896Fu); 495 496 goto L_4602896F; 497 L_46028258: 498 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 499 L_4602896F: 500 eax = 0x4602E9D8u; /* 0x4602896F: mov eax, 0x4602e9d8 */ 501 L_46028974: 502 RECOMP_BACKEDGE(); 503 goto L_46028258; /* 0x46028974: jmp 0x46028258 */ 504 { RECOMP_REGS_OUT(); return; } /* end of function */ 505 _ljump: 506 switch (_itail_tgt) { 507 case 0x46028258u: goto L_46028258; 508 case 0x4602896Fu: goto L_4602896F; 509 case 0x46028974u: goto L_46028974; 510 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 511 } 512 RECOMP_REGS_OUT(); 513 } 514 515 void sub_46028979(void) { 516 int _fpu_cmp = 0; 517 uint32_t _cf = 0; 518 int _df = 1; 519 uint32_t _flag_k = FK_NONE; 520 uint32_t _flag_a = 0, _flag_b = 0; 521 uint32_t _itail_tgt = 0; 522 RECOMP_REGS_LOCALS 523 RECOMP_ENTER(0x46028979u); 524 525 goto L_46028979; 526 L_46001C9F: 527 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 528 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 529 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 530 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 531 RECOMP_FLAGS_IN(); 532 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 533 L_46001CAE: 534 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 535 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 536 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 537 _cf = 0; 538 _flag_k = FK_TEST; 539 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 540 L_46001CB4: 541 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 542 RECOMP_FLAGS_IN(); 543 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 545 _cf = 0; 546 _flag_k = FK_TEST; 547 RECOMP_BACKEDGE(); 548 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 549 L_46001CBD: 550 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 551 L_46028979: 552 ecx = ebp + 0x20; /* 0x46028979: lea ecx, [ebp + 0x20] */ 553 RECOMP_BACKEDGE(); 554 goto L_46001CAE; /* 0x4602897C: jmp 0x46001cae */ 555 { RECOMP_REGS_OUT(); return; } /* end of function */ 556 RECOMP_REGS_OUT(); 557 } 558 559 void sub_46028981(void) { 560 int _fpu_cmp = 0; 561 uint32_t _cf = 0; 562 int _df = 1; 563 uint32_t _flag_k = FK_NONE; 564 uint32_t _flag_a = 0, _flag_b = 0; 565 uint32_t _itail_tgt = 0; 566 RECOMP_REGS_LOCALS 567 RECOMP_ENTER(0x46028981u); 568 569 goto L_46028981; 570 L_46028258: 571 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 572 L_46028981: 573 eax = 0x4602EA00u; /* 0x46028981: mov eax, 0x4602ea00 */ 574 L_46028986: 575 RECOMP_BACKEDGE(); 576 goto L_46028258; /* 0x46028986: jmp 0x46028258 */ 577 { RECOMP_REGS_OUT(); return; } /* end of function */ 578 _ljump: 579 switch (_itail_tgt) { 580 case 0x46028258u: goto L_46028258; 581 case 0x46028981u: goto L_46028981; 582 case 0x46028986u: goto L_46028986; 583 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 584 } 585 RECOMP_REGS_OUT(); 586 } 587 588 void sub_4602898B(void) { 589 int _fpu_cmp = 0; 590 uint32_t _cf = 0; 591 int _df = 1; 592 uint32_t _flag_k = FK_NONE; 593 uint32_t _flag_a = 0, _flag_b = 0; 594 uint32_t _itail_tgt = 0; 595 RECOMP_REGS_LOCALS 596 RECOMP_ENTER(0x4602898Bu); 597 598 goto L_4602898B; 599 L_46002CF0: 600 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 601 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 602 RECOMP_FLAGS_IN(); 603 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 604 L_4602898B: 605 ecx = ebp + (-0x38); /* 0x4602898B: lea ecx, [ebp - 0x38] */ 606 RECOMP_BACKEDGE(); 607 goto L_46002CF0; /* 0x4602898E: jmp 0x46002cf0 */ 608 { RECOMP_REGS_OUT(); return; } /* end of function */ 609 RECOMP_REGS_OUT(); 610 } 611 612 void sub_46028993(void) { 613 int _fpu_cmp = 0; 614 uint32_t _cf = 0; 615 int _df = 1; 616 uint32_t _flag_k = FK_NONE; 617 uint32_t _flag_a = 0, _flag_b = 0; 618 uint32_t _itail_tgt = 0; 619 RECOMP_REGS_LOCALS 620 RECOMP_ENTER(0x46028993u); 621 622 goto L_46028993; 623 L_46002CF0: 624 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 625 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 626 RECOMP_FLAGS_IN(); 627 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 628 L_46028993: 629 ecx = ebp + (-0x28); /* 0x46028993: lea ecx, [ebp - 0x28] */ 630 RECOMP_BACKEDGE(); 631 goto L_46002CF0; /* 0x46028996: jmp 0x46002cf0 */ 632 { RECOMP_REGS_OUT(); return; } /* end of function */ 633 RECOMP_REGS_OUT(); 634 } 635 636 void sub_4602899B(void) { 637 int _fpu_cmp = 0; 638 uint32_t _cf = 0; 639 int _df = 1; 640 uint32_t _flag_k = FK_NONE; 641 uint32_t _flag_a = 0, _flag_b = 0; 642 uint32_t _itail_tgt = 0; 643 RECOMP_REGS_LOCALS 644 RECOMP_ENTER(0x4602899Bu); 645 646 goto L_4602899B; 647 L_46028258: 648 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 649 L_4602899B: 650 eax = 0x4602EA28u; /* 0x4602899B: mov eax, 0x4602ea28 */ 651 L_460289A0: 652 RECOMP_BACKEDGE(); 653 goto L_46028258; /* 0x460289A0: jmp 0x46028258 */ 654 { RECOMP_REGS_OUT(); return; } /* end of function */ 655 _ljump: 656 switch (_itail_tgt) { 657 case 0x46028258u: goto L_46028258; 658 case 0x4602899Bu: goto L_4602899B; 659 case 0x460289A0u: goto L_460289A0; 660 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 661 } 662 RECOMP_REGS_OUT(); 663 } 664 665 void sub_460289A5(void) { 666 int _fpu_cmp = 0; 667 uint32_t _cf = 0; 668 int _df = 1; 669 uint32_t _flag_k = FK_NONE; 670 uint32_t _flag_a = 0, _flag_b = 0; 671 uint32_t _itail_tgt = 0; 672 RECOMP_REGS_LOCALS 673 RECOMP_ENTER(0x460289A5u); 674 675 goto L_460289A5; 676 L_4602877E: 677 MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */ 678 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret */ 679 L_460289A5: 680 ecx = MEM32(ebp + (-0x10)); /* 0x460289A5: mov ecx, dword ptr [ebp - 0x10] */ 681 RECOMP_BACKEDGE(); 682 goto L_4602877E; /* 0x460289A8: jmp 0x4602877e */ 683 { RECOMP_REGS_OUT(); return; } /* end of function */ 684 RECOMP_REGS_OUT(); 685 } 686 687 void sub_460289AD(void) { 688 int _fpu_cmp = 0; 689 uint32_t _cf = 0; 690 int _df = 1; 691 uint32_t _flag_k = FK_NONE; 692 uint32_t _flag_a = 0, _flag_b = 0; 693 uint32_t _itail_tgt = 0; 694 RECOMP_REGS_LOCALS 695 RECOMP_ENTER(0x460289ADu); 696 697 goto L_460289AD; 698 L_46028258: 699 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 700 L_460289AD: 701 eax = 0x4602EA58u; /* 0x460289AD: mov eax, 0x4602ea58 */ 702 L_460289B2: 703 RECOMP_BACKEDGE(); 704 goto L_46028258; /* 0x460289B2: jmp 0x46028258 */ 705 { RECOMP_REGS_OUT(); return; } /* end of function */ 706 _ljump: 707 switch (_itail_tgt) { 708 case 0x46028258u: goto L_46028258; 709 case 0x460289ADu: goto L_460289AD; 710 case 0x460289B2u: goto L_460289B2; 711 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 712 } 713 RECOMP_REGS_OUT(); 714 } 715 716 void sub_460289B7(void) { 717 int _fpu_cmp = 0; 718 uint32_t _cf = 0; 719 int _df = 1; 720 uint32_t _flag_k = FK_NONE; 721 uint32_t _flag_a = 0, _flag_b = 0; 722 uint32_t _itail_tgt = 0; 723 RECOMP_REGS_LOCALS 724 RECOMP_ENTER(0x460289B7u); 725 726 goto L_460289B7; 727 L_46001C9F: 728 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 729 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 730 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 731 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 732 RECOMP_FLAGS_IN(); 733 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 734 L_46001CAE: 735 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 736 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 738 _cf = 0; 739 _flag_k = FK_TEST; 740 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 741 L_46001CB4: 742 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 743 RECOMP_FLAGS_IN(); 744 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 746 _cf = 0; 747 _flag_k = FK_TEST; 748 RECOMP_BACKEDGE(); 749 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 750 L_46001CBD: 751 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 752 L_460289B7: 753 ecx = ebp + 0x14; /* 0x460289B7: lea ecx, [ebp + 0x14] */ 754 RECOMP_BACKEDGE(); 755 goto L_46001CAE; /* 0x460289BA: jmp 0x46001cae */ 756 { RECOMP_REGS_OUT(); return; } /* end of function */ 757 RECOMP_REGS_OUT(); 758 } 759 760 void sub_460289BF(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(0x460289BFu); 769 770 goto L_460289BF; 771 L_46002CF0: 772 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 773 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 774 RECOMP_FLAGS_IN(); 775 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 776 L_460289BF: 777 ecx = ebp + (-0x2C); /* 0x460289BF: lea ecx, [ebp - 0x2c] */ 778 RECOMP_BACKEDGE(); 779 goto L_46002CF0; /* 0x460289C2: jmp 0x46002cf0 */ 780 { RECOMP_REGS_OUT(); return; } /* end of function */ 781 RECOMP_REGS_OUT(); 782 } 783 784 void sub_460289C7(void) { 785 int _fpu_cmp = 0; 786 uint32_t _cf = 0; 787 int _df = 1; 788 uint32_t _flag_k = FK_NONE; 789 uint32_t _flag_a = 0, _flag_b = 0; 790 uint32_t _itail_tgt = 0; 791 RECOMP_REGS_LOCALS 792 RECOMP_ENTER(0x460289C7u); 793 794 goto L_460289C7; 795 L_46002CF0: 796 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 797 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 798 RECOMP_FLAGS_IN(); 799 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 800 L_460289C7: 801 ecx = ebp + (-0x1C); /* 0x460289C7: lea ecx, [ebp - 0x1c] */ 802 RECOMP_BACKEDGE(); 803 goto L_46002CF0; /* 0x460289CA: jmp 0x46002cf0 */ 804 { RECOMP_REGS_OUT(); return; } /* end of function */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_460289CF(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(0x460289CFu); 817 818 goto L_460289CF; 819 L_46002CF0: 820 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 821 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 822 RECOMP_FLAGS_IN(); 823 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 824 L_460289CF: 825 ecx = ebp + (-0x1C); /* 0x460289CF: lea ecx, [ebp - 0x1c] */ 826 RECOMP_BACKEDGE(); 827 goto L_46002CF0; /* 0x460289D2: jmp 0x46002cf0 */ 828 { RECOMP_REGS_OUT(); return; } /* end of function */ 829 RECOMP_REGS_OUT(); 830 } 831 832 void sub_460289D7(void) { 833 int _fpu_cmp = 0; 834 uint32_t _cf = 0; 835 int _df = 1; 836 uint32_t _flag_k = FK_NONE; 837 uint32_t _flag_a = 0, _flag_b = 0; 838 uint32_t _itail_tgt = 0; 839 RECOMP_REGS_LOCALS 840 RECOMP_ENTER(0x460289D7u); 841 842 goto L_460289D7; 843 L_46028258: 844 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 845 L_460289D7: 846 eax = 0x4602EA80u; /* 0x460289D7: mov eax, 0x4602ea80 */ 847 L_460289DC: 848 RECOMP_BACKEDGE(); 849 goto L_46028258; /* 0x460289DC: jmp 0x46028258 */ 850 { RECOMP_REGS_OUT(); return; } /* end of function */ 851 _ljump: 852 switch (_itail_tgt) { 853 case 0x46028258u: goto L_46028258; 854 case 0x460289D7u: goto L_460289D7; 855 case 0x460289DCu: goto L_460289DC; 856 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 857 } 858 RECOMP_REGS_OUT(); 859 } 860 861 void sub_460289E1(void) { 862 int _fpu_cmp = 0; 863 uint32_t _cf = 0; 864 int _df = 1; 865 uint32_t _flag_k = FK_NONE; 866 uint32_t _flag_a = 0, _flag_b = 0; 867 uint32_t _itail_tgt = 0; 868 RECOMP_REGS_LOCALS 869 RECOMP_ENTER(0x460289E1u); 870 871 goto L_460289E1; 872 L_46001C9F: 873 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 874 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 875 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 876 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 877 RECOMP_FLAGS_IN(); 878 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 879 L_46001CAE: 880 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 881 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 883 _cf = 0; 884 _flag_k = FK_TEST; 885 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 886 L_46001CB4: 887 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 888 RECOMP_FLAGS_IN(); 889 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 891 _cf = 0; 892 _flag_k = FK_TEST; 893 RECOMP_BACKEDGE(); 894 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 895 L_46001CBD: 896 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 897 L_460289E1: 898 ecx = ebp + (-0x14); /* 0x460289E1: lea ecx, [ebp - 0x14] */ 899 RECOMP_BACKEDGE(); 900 goto L_46001CAE; /* 0x460289E4: jmp 0x46001cae */ 901 { RECOMP_REGS_OUT(); return; } /* end of function */ 902 RECOMP_REGS_OUT(); 903 } 904 905 void sub_460289E9(void) { 906 int _fpu_cmp = 0; 907 uint32_t _cf = 0; 908 int _df = 1; 909 uint32_t _flag_k = FK_NONE; 910 uint32_t _flag_a = 0, _flag_b = 0; 911 uint32_t _itail_tgt = 0; 912 RECOMP_REGS_LOCALS 913 RECOMP_ENTER(0x460289E9u); 914 915 goto L_460289E9; 916 L_46028258: 917 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 918 L_460289E9: 919 eax = 0x4602EAC0u; /* 0x460289E9: mov eax, 0x4602eac0 */ 920 L_460289EE: 921 RECOMP_BACKEDGE(); 922 goto L_46028258; /* 0x460289EE: jmp 0x46028258 */ 923 { RECOMP_REGS_OUT(); return; } /* end of function */ 924 _ljump: 925 switch (_itail_tgt) { 926 case 0x46028258u: goto L_46028258; 927 case 0x460289E9u: goto L_460289E9; 928 case 0x460289EEu: goto L_460289EE; 929 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 930 } 931 RECOMP_REGS_OUT(); 932 } 933 934 void sub_460289F3(void) { 935 int _fpu_cmp = 0; 936 uint32_t _cf = 0; 937 int _df = 1; 938 uint32_t _flag_k = FK_NONE; 939 uint32_t _flag_a = 0, _flag_b = 0; 940 uint32_t _itail_tgt = 0; 941 RECOMP_REGS_LOCALS 942 RECOMP_ENTER(0x460289F3u); 943 944 goto L_460289F3; 945 L_46001C9F: 946 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 947 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 948 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 949 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 950 RECOMP_FLAGS_IN(); 951 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 952 L_46001CAE: 953 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 954 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 956 _cf = 0; 957 _flag_k = FK_TEST; 958 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 959 L_46001CB4: 960 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 961 RECOMP_FLAGS_IN(); 962 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 964 _cf = 0; 965 _flag_k = FK_TEST; 966 RECOMP_BACKEDGE(); 967 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 968 L_46001CBD: 969 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 970 L_460289F3: 971 ecx = ebp + (-0x20); /* 0x460289F3: lea ecx, [ebp - 0x20] */ 972 RECOMP_BACKEDGE(); 973 goto L_46001CAE; /* 0x460289F6: jmp 0x46001cae */ 974 { RECOMP_REGS_OUT(); return; } /* end of function */ 975 RECOMP_REGS_OUT(); 976 } 977 978 void sub_460289FB(void) { 979 int _fpu_cmp = 0; 980 uint32_t _cf = 0; 981 int _df = 1; 982 uint32_t _flag_k = FK_NONE; 983 uint32_t _flag_a = 0, _flag_b = 0; 984 uint32_t _itail_tgt = 0; 985 RECOMP_REGS_LOCALS 986 RECOMP_ENTER(0x460289FBu); 987 988 goto L_460289FB; 989 L_46002CF0: 990 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 991 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 992 RECOMP_FLAGS_IN(); 993 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 994 L_460289FB: 995 ecx = ebp + (-0x38); /* 0x460289FB: lea ecx, [ebp - 0x38] */ 996 RECOMP_BACKEDGE(); 997 goto L_46002CF0; /* 0x460289FE: jmp 0x46002cf0 */ 998 { RECOMP_REGS_OUT(); return; } /* end of function */ 999 RECOMP_REGS_OUT(); 1000 } 1001 1002 void sub_46028A03(void) { 1003 int _fpu_cmp = 0; 1004 uint32_t _cf = 0; 1005 int _df = 1; 1006 uint32_t _flag_k = FK_NONE; 1007 uint32_t _flag_a = 0, _flag_b = 0; 1008 uint32_t _itail_tgt = 0; 1009 RECOMP_REGS_LOCALS 1010 RECOMP_ENTER(0x46028A03u); 1011 1012 goto L_46028A03; 1013 L_46028258: 1014 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1015 L_46028A03: 1016 eax = 0x4602EAE8u; /* 0x46028A03: mov eax, 0x4602eae8 */ 1017 L_46028A08: 1018 RECOMP_BACKEDGE(); 1019 goto L_46028258; /* 0x46028A08: jmp 0x46028258 */ 1020 { RECOMP_REGS_OUT(); return; } /* end of function */ 1021 _ljump: 1022 switch (_itail_tgt) { 1023 case 0x46028258u: goto L_46028258; 1024 case 0x46028A03u: goto L_46028A03; 1025 case 0x46028A08u: goto L_46028A08; 1026 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1027 } 1028 RECOMP_REGS_OUT(); 1029 } 1030 1031 void sub_46028A0D(void) { 1032 int _fpu_cmp = 0; 1033 uint32_t _cf = 0; 1034 int _df = 1; 1035 uint32_t _flag_k = FK_NONE; 1036 uint32_t _flag_a = 0, _flag_b = 0; 1037 uint32_t _itail_tgt = 0; 1038 RECOMP_REGS_LOCALS 1039 RECOMP_ENTER(0x46028A0Du); 1040 1041 goto L_46028A0D; 1042 L_4602877E: 1043 MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */ 1044 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret */ 1045 L_46028A0D: 1046 ecx = MEM32(ebp + (-0x10)); /* 0x46028A0D: mov ecx, dword ptr [ebp - 0x10] */ 1047 RECOMP_BACKEDGE(); 1048 goto L_4602877E; /* 0x46028A10: jmp 0x4602877e */ 1049 { RECOMP_REGS_OUT(); return; } /* end of function */ 1050 RECOMP_REGS_OUT(); 1051 } 1052 1053 void sub_46028A15(void) { 1054 int _fpu_cmp = 0; 1055 uint32_t _cf = 0; 1056 int _df = 1; 1057 uint32_t _flag_k = FK_NONE; 1058 uint32_t _flag_a = 0, _flag_b = 0; 1059 uint32_t _itail_tgt = 0; 1060 RECOMP_REGS_LOCALS 1061 RECOMP_ENTER(0x46028A15u); 1062 1063 goto L_46028A15; 1064 L_46028258: 1065 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1066 L_46028A15: 1067 eax = 0x4602EB18u; /* 0x46028A15: mov eax, 0x4602eb18 */ 1068 L_46028A1A: 1069 RECOMP_BACKEDGE(); 1070 goto L_46028258; /* 0x46028A1A: jmp 0x46028258 */ 1071 { RECOMP_REGS_OUT(); return; } /* end of function */ 1072 _ljump: 1073 switch (_itail_tgt) { 1074 case 0x46028258u: goto L_46028258; 1075 case 0x46028A15u: goto L_46028A15; 1076 case 0x46028A1Au: goto L_46028A1A; 1077 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1078 } 1079 RECOMP_REGS_OUT(); 1080 } 1081 1082 void sub_46028A1F(void) { 1083 int _fpu_cmp = 0; 1084 uint32_t _cf = 0; 1085 int _df = 1; 1086 uint32_t _flag_k = FK_NONE; 1087 uint32_t _flag_a = 0, _flag_b = 0; 1088 uint32_t _itail_tgt = 0; 1089 RECOMP_REGS_LOCALS 1090 RECOMP_ENTER(0x46028A1Fu); 1091 1092 goto L_46028A1F; 1093 L_46001C9F: 1094 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1095 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1096 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1097 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1098 RECOMP_FLAGS_IN(); 1099 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1100 L_46001CAE: 1101 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1102 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1104 _cf = 0; 1105 _flag_k = FK_TEST; 1106 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1107 L_46001CB4: 1108 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1109 RECOMP_FLAGS_IN(); 1110 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1111 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1112 _cf = 0; 1113 _flag_k = FK_TEST; 1114 RECOMP_BACKEDGE(); 1115 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1116 L_46001CBD: 1117 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1118 L_46028A1F: 1119 ecx = ebp + 0x14; /* 0x46028A1F: lea ecx, [ebp + 0x14] */ 1120 RECOMP_BACKEDGE(); 1121 goto L_46001CAE; /* 0x46028A22: jmp 0x46001cae */ 1122 { RECOMP_REGS_OUT(); return; } /* end of function */ 1123 RECOMP_REGS_OUT(); 1124 } 1125 1126 void sub_46028A27(void) { 1127 int _fpu_cmp = 0; 1128 uint32_t _cf = 0; 1129 int _df = 1; 1130 uint32_t _flag_k = FK_NONE; 1131 uint32_t _flag_a = 0, _flag_b = 0; 1132 uint32_t _itail_tgt = 0; 1133 RECOMP_REGS_LOCALS 1134 RECOMP_ENTER(0x46028A27u); 1135 1136 goto L_46028A27; 1137 L_46002CDC: 1138 PUSH32(esp, 1); /* 0x46002CDC: push 1 */ 1139 RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */ 1140 RECOMP_FLAGS_IN(); 1141 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret */ 1142 L_46028A27: 1143 ecx = ebp + (-0x2C); /* 0x46028A27: lea ecx, [ebp - 0x2c] */ 1144 RECOMP_BACKEDGE(); 1145 goto L_46002CDC; /* 0x46028A2A: jmp 0x46002cdc */ 1146 { RECOMP_REGS_OUT(); return; } /* end of function */ 1147 RECOMP_REGS_OUT(); 1148 } 1149 1150 void sub_46028A2F(void) { 1151 int _fpu_cmp = 0; 1152 uint32_t _cf = 0; 1153 int _df = 1; 1154 uint32_t _flag_k = FK_NONE; 1155 uint32_t _flag_a = 0, _flag_b = 0; 1156 uint32_t _itail_tgt = 0; 1157 RECOMP_REGS_LOCALS 1158 RECOMP_ENTER(0x46028A2Fu); 1159 1160 goto L_46028A2F; 1161 L_46002CDC: 1162 PUSH32(esp, 1); /* 0x46002CDC: push 1 */ 1163 RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */ 1164 RECOMP_FLAGS_IN(); 1165 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret */ 1166 L_46028A2F: 1167 ecx = ebp + (-0x1C); /* 0x46028A2F: lea ecx, [ebp - 0x1c] */ 1168 RECOMP_BACKEDGE(); 1169 goto L_46002CDC; /* 0x46028A32: jmp 0x46002cdc */ 1170 { RECOMP_REGS_OUT(); return; } /* end of function */ 1171 RECOMP_REGS_OUT(); 1172 } 1173 1174 void sub_46028A37(void) { 1175 int _fpu_cmp = 0; 1176 uint32_t _cf = 0; 1177 int _df = 1; 1178 uint32_t _flag_k = FK_NONE; 1179 uint32_t _flag_a = 0, _flag_b = 0; 1180 uint32_t _itail_tgt = 0; 1181 RECOMP_REGS_LOCALS 1182 RECOMP_ENTER(0x46028A37u); 1183 1184 goto L_46028A37; 1185 L_46002CDC: 1186 PUSH32(esp, 1); /* 0x46002CDC: push 1 */ 1187 RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */ 1188 RECOMP_FLAGS_IN(); 1189 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret */ 1190 L_46028A37: 1191 ecx = ebp + (-0x1C); /* 0x46028A37: lea ecx, [ebp - 0x1c] */ 1192 RECOMP_BACKEDGE(); 1193 goto L_46002CDC; /* 0x46028A3A: jmp 0x46002cdc */ 1194 { RECOMP_REGS_OUT(); return; } /* end of function */ 1195 RECOMP_REGS_OUT(); 1196 } 1197 1198 void sub_46028A3F(void) { 1199 int _fpu_cmp = 0; 1200 uint32_t _cf = 0; 1201 int _df = 1; 1202 uint32_t _flag_k = FK_NONE; 1203 uint32_t _flag_a = 0, _flag_b = 0; 1204 uint32_t _itail_tgt = 0; 1205 RECOMP_REGS_LOCALS 1206 RECOMP_ENTER(0x46028A3Fu); 1207 1208 goto L_46028A3F; 1209 L_46028258: 1210 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1211 L_46028A3F: 1212 eax = 0x4602EB40u; /* 0x46028A3F: mov eax, 0x4602eb40 */ 1213 L_46028A44: 1214 RECOMP_BACKEDGE(); 1215 goto L_46028258; /* 0x46028A44: jmp 0x46028258 */ 1216 { RECOMP_REGS_OUT(); return; } /* end of function */ 1217 _ljump: 1218 switch (_itail_tgt) { 1219 case 0x46028258u: goto L_46028258; 1220 case 0x46028A3Fu: goto L_46028A3F; 1221 case 0x46028A44u: goto L_46028A44; 1222 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1223 } 1224 RECOMP_REGS_OUT(); 1225 } 1226 1227 void sub_46028A49(void) { 1228 int _fpu_cmp = 0; 1229 uint32_t _cf = 0; 1230 int _df = 1; 1231 uint32_t _flag_k = FK_NONE; 1232 uint32_t _flag_a = 0, _flag_b = 0; 1233 uint32_t _itail_tgt = 0; 1234 RECOMP_REGS_LOCALS 1235 RECOMP_ENTER(0x46028A49u); 1236 1237 goto L_46028A49; 1238 L_46001C9F: 1239 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1240 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1241 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1242 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1243 RECOMP_FLAGS_IN(); 1244 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1245 L_46001CAE: 1246 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1247 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1249 _cf = 0; 1250 _flag_k = FK_TEST; 1251 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1252 L_46001CB4: 1253 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1254 RECOMP_FLAGS_IN(); 1255 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1257 _cf = 0; 1258 _flag_k = FK_TEST; 1259 RECOMP_BACKEDGE(); 1260 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1261 L_46001CBD: 1262 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1263 L_46028A49: 1264 ecx = ebp + (-0x14); /* 0x46028A49: lea ecx, [ebp - 0x14] */ 1265 RECOMP_BACKEDGE(); 1266 goto L_46001CAE; /* 0x46028A4C: jmp 0x46001cae */ 1267 { RECOMP_REGS_OUT(); return; } /* end of function */ 1268 RECOMP_REGS_OUT(); 1269 } 1270 1271 void sub_46028A51(void) { 1272 int _fpu_cmp = 0; 1273 uint32_t _cf = 0; 1274 int _df = 1; 1275 uint32_t _flag_k = FK_NONE; 1276 uint32_t _flag_a = 0, _flag_b = 0; 1277 uint32_t _itail_tgt = 0; 1278 RECOMP_REGS_LOCALS 1279 RECOMP_ENTER(0x46028A51u); 1280 1281 goto L_46028A51; 1282 L_46028258: 1283 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1284 L_46028A51: 1285 eax = 0x4602EB80u; /* 0x46028A51: mov eax, 0x4602eb80 */ 1286 L_46028A56: 1287 RECOMP_BACKEDGE(); 1288 goto L_46028258; /* 0x46028A56: jmp 0x46028258 */ 1289 { RECOMP_REGS_OUT(); return; } /* end of function */ 1290 _ljump: 1291 switch (_itail_tgt) { 1292 case 0x46028258u: goto L_46028258; 1293 case 0x46028A51u: goto L_46028A51; 1294 case 0x46028A56u: goto L_46028A56; 1295 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1296 } 1297 RECOMP_REGS_OUT(); 1298 } 1299 1300 void sub_46028A5B(void) { 1301 int _fpu_cmp = 0; 1302 uint32_t _cf = 0; 1303 int _df = 1; 1304 uint32_t _flag_k = FK_NONE; 1305 uint32_t _flag_a = 0, _flag_b = 0; 1306 uint32_t _itail_tgt = 0; 1307 RECOMP_REGS_LOCALS 1308 RECOMP_ENTER(0x46028A5Bu); 1309 1310 goto L_46028A5B; 1311 L_46001C9F: 1312 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1313 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1314 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1315 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1316 RECOMP_FLAGS_IN(); 1317 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1318 L_46001CAE: 1319 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1320 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1322 _cf = 0; 1323 _flag_k = FK_TEST; 1324 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1325 L_46001CB4: 1326 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1327 RECOMP_FLAGS_IN(); 1328 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1330 _cf = 0; 1331 _flag_k = FK_TEST; 1332 RECOMP_BACKEDGE(); 1333 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1334 L_46001CBD: 1335 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1336 L_46028A5B: 1337 ecx = ebp + (-0x20); /* 0x46028A5B: lea ecx, [ebp - 0x20] */ 1338 RECOMP_BACKEDGE(); 1339 goto L_46001CAE; /* 0x46028A5E: jmp 0x46001cae */ 1340 { RECOMP_REGS_OUT(); return; } /* end of function */ 1341 RECOMP_REGS_OUT(); 1342 } 1343 1344 void sub_46028A63(void) { 1345 int _fpu_cmp = 0; 1346 uint32_t _cf = 0; 1347 int _df = 1; 1348 uint32_t _flag_k = FK_NONE; 1349 uint32_t _flag_a = 0, _flag_b = 0; 1350 uint32_t _itail_tgt = 0; 1351 RECOMP_REGS_LOCALS 1352 RECOMP_ENTER(0x46028A63u); 1353 1354 goto L_46028A63; 1355 L_46002CF0: 1356 PUSH32(esp, 1); /* 0x46002CF0: push 1 */ 1357 RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */ 1358 RECOMP_FLAGS_IN(); 1359 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret */ 1360 L_46028A63: 1361 ecx = ebp + (-0x38); /* 0x46028A63: lea ecx, [ebp - 0x38] */ 1362 RECOMP_BACKEDGE(); 1363 goto L_46002CF0; /* 0x46028A66: jmp 0x46002cf0 */ 1364 { RECOMP_REGS_OUT(); return; } /* end of function */ 1365 RECOMP_REGS_OUT(); 1366 } 1367 1368 void sub_46028A6B(void) { 1369 int _fpu_cmp = 0; 1370 uint32_t _cf = 0; 1371 int _df = 1; 1372 uint32_t _flag_k = FK_NONE; 1373 uint32_t _flag_a = 0, _flag_b = 0; 1374 uint32_t _itail_tgt = 0; 1375 RECOMP_REGS_LOCALS 1376 RECOMP_ENTER(0x46028A6Bu); 1377 1378 goto L_46028A6B; 1379 L_46028258: 1380 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1381 L_46028A6B: 1382 eax = 0x4602EBA8u; /* 0x46028A6B: mov eax, 0x4602eba8 */ 1383 L_46028A70: 1384 RECOMP_BACKEDGE(); 1385 goto L_46028258; /* 0x46028A70: jmp 0x46028258 */ 1386 { RECOMP_REGS_OUT(); return; } /* end of function */ 1387 _ljump: 1388 switch (_itail_tgt) { 1389 case 0x46028258u: goto L_46028258; 1390 case 0x46028A6Bu: goto L_46028A6B; 1391 case 0x46028A70u: goto L_46028A70; 1392 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1393 } 1394 RECOMP_REGS_OUT(); 1395 } 1396 1397 void sub_46028A75(void) { 1398 int _fpu_cmp = 0; 1399 uint32_t _cf = 0; 1400 int _df = 1; 1401 uint32_t _flag_k = FK_NONE; 1402 uint32_t _flag_a = 0, _flag_b = 0; 1403 uint32_t _itail_tgt = 0; 1404 RECOMP_REGS_LOCALS 1405 RECOMP_ENTER(0x46028A75u); 1406 1407 goto L_46028A75; 1408 L_46001C9F: 1409 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1410 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1411 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1412 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1413 RECOMP_FLAGS_IN(); 1414 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1415 L_46001CAE: 1416 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1417 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1419 _cf = 0; 1420 _flag_k = FK_TEST; 1421 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1422 L_46001CB4: 1423 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1424 RECOMP_FLAGS_IN(); 1425 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1427 _cf = 0; 1428 _flag_k = FK_TEST; 1429 RECOMP_BACKEDGE(); 1430 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1431 L_46001CBD: 1432 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1433 L_46028A75: 1434 ecx = MEM32(ebp + (-0x10)); /* 0x46028A75: mov ecx, dword ptr [ebp - 0x10] */ 1435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u); 1436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1437 ecx = ecx + 0x34u; /* 0x46028A78: add ecx, 0x34 */ 1438 _flag_k = FK_ADD; 1439 RECOMP_BACKEDGE(); 1440 goto L_46001CAE; /* 0x46028A7B: jmp 0x46001cae */ 1441 { RECOMP_REGS_OUT(); return; } /* end of function */ 1442 RECOMP_REGS_OUT(); 1443 } 1444 1445 void sub_46028A80(void) { 1446 int _fpu_cmp = 0; 1447 uint32_t _cf = 0; 1448 int _df = 1; 1449 uint32_t _flag_k = FK_NONE; 1450 uint32_t _flag_a = 0, _flag_b = 0; 1451 uint32_t _itail_tgt = 0; 1452 RECOMP_REGS_LOCALS 1453 RECOMP_ENTER(0x46028A80u); 1454 1455 goto L_46028A80; 1456 L_46028258: 1457 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1458 L_46028A80: 1459 eax = 0x4602EBD8u; /* 0x46028A80: mov eax, 0x4602ebd8 */ 1460 L_46028A85: 1461 RECOMP_BACKEDGE(); 1462 goto L_46028258; /* 0x46028A85: jmp 0x46028258 */ 1463 { RECOMP_REGS_OUT(); return; } /* end of function */ 1464 _ljump: 1465 switch (_itail_tgt) { 1466 case 0x46028258u: goto L_46028258; 1467 case 0x46028A80u: goto L_46028A80; 1468 case 0x46028A85u: goto L_46028A85; 1469 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1470 } 1471 RECOMP_REGS_OUT(); 1472 } 1473 1474 void sub_46028A8A(void) { 1475 int _fpu_cmp = 0; 1476 uint32_t _cf = 0; 1477 int _df = 1; 1478 uint32_t _flag_k = FK_NONE; 1479 uint32_t _flag_a = 0, _flag_b = 0; 1480 uint32_t _itail_tgt = 0; 1481 RECOMP_REGS_LOCALS 1482 RECOMP_ENTER(0x46028A8Au); 1483 1484 goto L_46028A8A; 1485 L_46001C9F: 1486 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1487 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1488 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1489 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1490 RECOMP_FLAGS_IN(); 1491 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1492 L_46001CAE: 1493 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1494 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1496 _cf = 0; 1497 _flag_k = FK_TEST; 1498 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1499 L_46001CB4: 1500 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1501 RECOMP_FLAGS_IN(); 1502 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1504 _cf = 0; 1505 _flag_k = FK_TEST; 1506 RECOMP_BACKEDGE(); 1507 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1508 L_46001CBD: 1509 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1510 L_46028A8A: 1511 ecx = ebp + (-0x10); /* 0x46028A8A: lea ecx, [ebp - 0x10] */ 1512 RECOMP_BACKEDGE(); 1513 goto L_46001CAE; /* 0x46028A8D: jmp 0x46001cae */ 1514 { RECOMP_REGS_OUT(); return; } /* end of function */ 1515 RECOMP_REGS_OUT(); 1516 } 1517 1518 void sub_46028A92(void) { 1519 int _fpu_cmp = 0; 1520 uint32_t _cf = 0; 1521 int _df = 1; 1522 uint32_t _flag_k = FK_NONE; 1523 uint32_t _flag_a = 0, _flag_b = 0; 1524 uint32_t _itail_tgt = 0; 1525 RECOMP_REGS_LOCALS 1526 RECOMP_ENTER(0x46028A92u); 1527 1528 goto L_46028A92; 1529 L_46028258: 1530 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1531 L_46028A92: 1532 eax = 0x4602EC00u; /* 0x46028A92: mov eax, 0x4602ec00 */ 1533 L_46028A97: 1534 RECOMP_BACKEDGE(); 1535 goto L_46028258; /* 0x46028A97: jmp 0x46028258 */ 1536 { RECOMP_REGS_OUT(); return; } /* end of function */ 1537 _ljump: 1538 switch (_itail_tgt) { 1539 case 0x46028258u: goto L_46028258; 1540 case 0x46028A92u: goto L_46028A92; 1541 case 0x46028A97u: goto L_46028A97; 1542 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1543 } 1544 RECOMP_REGS_OUT(); 1545 } 1546 1547 void sub_46028A9C(void) { 1548 int _fpu_cmp = 0; 1549 uint32_t _cf = 0; 1550 int _df = 1; 1551 uint32_t _flag_k = FK_NONE; 1552 uint32_t _flag_a = 0, _flag_b = 0; 1553 uint32_t _itail_tgt = 0; 1554 RECOMP_REGS_LOCALS 1555 RECOMP_ENTER(0x46028A9Cu); 1556 1557 goto L_46028A9C; 1558 L_46001C9F: 1559 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1560 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1561 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1562 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1563 RECOMP_FLAGS_IN(); 1564 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1565 L_46001CAE: 1566 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1567 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1568 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1569 _cf = 0; 1570 _flag_k = FK_TEST; 1571 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1572 L_46001CB4: 1573 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1574 RECOMP_FLAGS_IN(); 1575 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1577 _cf = 0; 1578 _flag_k = FK_TEST; 1579 RECOMP_BACKEDGE(); 1580 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1581 L_46001CBD: 1582 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1583 L_46028A9C: 1584 ecx = MEM32(ebp + (-0x10)); /* 0x46028A9C: mov ecx, dword ptr [ebp - 0x10] */ 1585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u); 1586 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1587 ecx = ecx + 0x34u; /* 0x46028A9F: add ecx, 0x34 */ 1588 _flag_k = FK_ADD; 1589 RECOMP_BACKEDGE(); 1590 goto L_46001CAE; /* 0x46028AA2: jmp 0x46001cae */ 1591 { RECOMP_REGS_OUT(); return; } /* end of function */ 1592 RECOMP_REGS_OUT(); 1593 } 1594 1595 void sub_46028AA7(void) { 1596 int _fpu_cmp = 0; 1597 uint32_t _cf = 0; 1598 int _df = 1; 1599 uint32_t _flag_k = FK_NONE; 1600 uint32_t _flag_a = 0, _flag_b = 0; 1601 uint32_t _itail_tgt = 0; 1602 RECOMP_REGS_LOCALS 1603 RECOMP_ENTER(0x46028AA7u); 1604 1605 goto L_46028AA7; 1606 L_46028258: 1607 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1608 L_46028AA7: 1609 eax = 0x4602EC28u; /* 0x46028AA7: mov eax, 0x4602ec28 */ 1610 L_46028AAC: 1611 RECOMP_BACKEDGE(); 1612 goto L_46028258; /* 0x46028AAC: jmp 0x46028258 */ 1613 { RECOMP_REGS_OUT(); return; } /* end of function */ 1614 _ljump: 1615 switch (_itail_tgt) { 1616 case 0x46028258u: goto L_46028258; 1617 case 0x46028AA7u: goto L_46028AA7; 1618 case 0x46028AACu: goto L_46028AAC; 1619 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1620 } 1621 RECOMP_REGS_OUT(); 1622 } 1623 1624 void sub_46028AB1(void) { 1625 int _fpu_cmp = 0; 1626 uint32_t _cf = 0; 1627 int _df = 1; 1628 uint32_t _flag_k = FK_NONE; 1629 uint32_t _flag_a = 0, _flag_b = 0; 1630 uint32_t _itail_tgt = 0; 1631 RECOMP_REGS_LOCALS 1632 RECOMP_ENTER(0x46028AB1u); 1633 1634 goto L_46028AB1; 1635 L_46001C9F: 1636 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1637 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1638 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1639 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1640 RECOMP_FLAGS_IN(); 1641 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1642 L_46001CAE: 1643 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1644 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1646 _cf = 0; 1647 _flag_k = FK_TEST; 1648 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1649 L_46001CB4: 1650 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1651 RECOMP_FLAGS_IN(); 1652 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1654 _cf = 0; 1655 _flag_k = FK_TEST; 1656 RECOMP_BACKEDGE(); 1657 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1658 L_46001CBD: 1659 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1660 L_46028AB1: 1661 ecx = ebp + (-0x10); /* 0x46028AB1: lea ecx, [ebp - 0x10] */ 1662 RECOMP_BACKEDGE(); 1663 goto L_46001CAE; /* 0x46028AB4: jmp 0x46001cae */ 1664 { RECOMP_REGS_OUT(); return; } /* end of function */ 1665 RECOMP_REGS_OUT(); 1666 } 1667 1668 void sub_46028AB9(void) { 1669 int _fpu_cmp = 0; 1670 uint32_t _cf = 0; 1671 int _df = 1; 1672 uint32_t _flag_k = FK_NONE; 1673 uint32_t _flag_a = 0, _flag_b = 0; 1674 uint32_t _itail_tgt = 0; 1675 RECOMP_REGS_LOCALS 1676 RECOMP_ENTER(0x46028AB9u); 1677 1678 goto L_46028AB9; 1679 L_46028258: 1680 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1681 L_46028AB9: 1682 eax = 0x4602EC50u; /* 0x46028AB9: mov eax, 0x4602ec50 */ 1683 L_46028ABE: 1684 RECOMP_BACKEDGE(); 1685 goto L_46028258; /* 0x46028ABE: jmp 0x46028258 */ 1686 { RECOMP_REGS_OUT(); return; } /* end of function */ 1687 _ljump: 1688 switch (_itail_tgt) { 1689 case 0x46028258u: goto L_46028258; 1690 case 0x46028AB9u: goto L_46028AB9; 1691 case 0x46028ABEu: goto L_46028ABE; 1692 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1693 } 1694 RECOMP_REGS_OUT(); 1695 } 1696 1697 void sub_46028AC3(void) { 1698 int _fpu_cmp = 0; 1699 uint32_t _cf = 0; 1700 int _df = 1; 1701 uint32_t _flag_k = FK_NONE; 1702 uint32_t _flag_a = 0, _flag_b = 0; 1703 uint32_t _itail_tgt = 0; 1704 RECOMP_REGS_LOCALS 1705 RECOMP_ENTER(0x46028AC3u); 1706 1707 goto L_46028AC3; 1708 L_46002DC7: 1709 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 1710 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 1711 RECOMP_FLAGS_IN(); 1712 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 1713 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 1714 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 1715 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 1716 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 1717 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 1718 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1719 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 1720 _cf = 0; 1721 _flag_k = FK_TEST; 1722 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 1723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1724 _cf = 0; 1725 _flag_k = FK_TEST; 1726 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 1727 L_46002DE9: 1728 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 1729 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 1730 _flag_k = FK_NARROW(FK_DEC, 24); 1731 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 1732 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 1733 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 1734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1735 _flag_k = FK_NARROW(FK_CMP, 24); 1736 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 1737 L_46002DFB: 1738 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 1739 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 1740 RECOMP_FLAGS_IN(); 1741 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 1742 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 1743 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 1744 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 1745 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 1746 L_46002E10: 1747 ecx = esi; /* 0x46002E10: mov ecx, esi */ 1748 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 1749 RECOMP_FLAGS_IN(); 1750 RECOMP_BACKEDGE(); 1751 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 1752 L_46028AC3: 1753 ecx = MEM32(ebp + (-0x10)); /* 0x46028AC3: mov ecx, dword ptr [ebp - 0x10] */ 1754 RECOMP_BACKEDGE(); 1755 goto L_46002DC7; /* 0x46028AC6: jmp 0x46002dc7 */ 1756 { RECOMP_REGS_OUT(); return; } /* end of function */ 1757 RECOMP_REGS_OUT(); 1758 } 1759 1760 void sub_46028ACB(void) { 1761 int _fpu_cmp = 0; 1762 uint32_t _cf = 0; 1763 int _df = 1; 1764 uint32_t _flag_k = FK_NONE; 1765 uint32_t _flag_a = 0, _flag_b = 0; 1766 uint32_t _itail_tgt = 0; 1767 RECOMP_REGS_LOCALS 1768 RECOMP_ENTER(0x46028ACBu); 1769 1770 goto L_46028ACB; 1771 L_46028258: 1772 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1773 L_46028ACB: 1774 eax = 0x4602EC78u; /* 0x46028ACB: mov eax, 0x4602ec78 */ 1775 L_46028AD0: 1776 RECOMP_BACKEDGE(); 1777 goto L_46028258; /* 0x46028AD0: jmp 0x46028258 */ 1778 { RECOMP_REGS_OUT(); return; } /* end of function */ 1779 _ljump: 1780 switch (_itail_tgt) { 1781 case 0x46028258u: goto L_46028258; 1782 case 0x46028ACBu: goto L_46028ACB; 1783 case 0x46028AD0u: goto L_46028AD0; 1784 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1785 } 1786 RECOMP_REGS_OUT(); 1787 } 1788 1789 void sub_46028AD5(void) { 1790 int _fpu_cmp = 0; 1791 uint32_t _cf = 0; 1792 int _df = 1; 1793 uint32_t _flag_k = FK_NONE; 1794 uint32_t _flag_a = 0, _flag_b = 0; 1795 uint32_t _itail_tgt = 0; 1796 RECOMP_REGS_LOCALS 1797 RECOMP_ENTER(0x46028AD5u); 1798 1799 goto L_46028AD5; 1800 L_46002DC7: 1801 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 1802 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 1803 RECOMP_FLAGS_IN(); 1804 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 1805 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 1806 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 1807 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 1808 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 1809 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 1810 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1811 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 1812 _cf = 0; 1813 _flag_k = FK_TEST; 1814 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 1815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1816 _cf = 0; 1817 _flag_k = FK_TEST; 1818 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 1819 L_46002DE9: 1820 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 1821 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 1822 _flag_k = FK_NARROW(FK_DEC, 24); 1823 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 1824 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 1825 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 1826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1827 _flag_k = FK_NARROW(FK_CMP, 24); 1828 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 1829 L_46002DFB: 1830 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 1831 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 1832 RECOMP_FLAGS_IN(); 1833 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 1834 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 1835 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 1836 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 1837 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 1838 L_46002E10: 1839 ecx = esi; /* 0x46002E10: mov ecx, esi */ 1840 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 1841 RECOMP_FLAGS_IN(); 1842 RECOMP_BACKEDGE(); 1843 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 1844 L_46028AD5: 1845 ecx = MEM32(ebp + (-0x10)); /* 0x46028AD5: mov ecx, dword ptr [ebp - 0x10] */ 1846 RECOMP_BACKEDGE(); 1847 goto L_46002DC7; /* 0x46028AD8: jmp 0x46002dc7 */ 1848 { RECOMP_REGS_OUT(); return; } /* end of function */ 1849 RECOMP_REGS_OUT(); 1850 } 1851 1852 void sub_46028ADD(void) { 1853 int _fpu_cmp = 0; 1854 uint32_t _cf = 0; 1855 int _df = 1; 1856 uint32_t _flag_k = FK_NONE; 1857 uint32_t _flag_a = 0, _flag_b = 0; 1858 uint32_t _itail_tgt = 0; 1859 RECOMP_REGS_LOCALS 1860 RECOMP_ENTER(0x46028ADDu); 1861 1862 goto L_46028ADD; 1863 L_46028258: 1864 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1865 L_46028ADD: 1866 eax = 0x4602ECA0u; /* 0x46028ADD: mov eax, 0x4602eca0 */ 1867 L_46028AE2: 1868 RECOMP_BACKEDGE(); 1869 goto L_46028258; /* 0x46028AE2: jmp 0x46028258 */ 1870 { RECOMP_REGS_OUT(); return; } /* end of function */ 1871 _ljump: 1872 switch (_itail_tgt) { 1873 case 0x46028258u: goto L_46028258; 1874 case 0x46028ADDu: goto L_46028ADD; 1875 case 0x46028AE2u: goto L_46028AE2; 1876 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1877 } 1878 RECOMP_REGS_OUT(); 1879 } 1880 1881 void sub_46028AE7(void) { 1882 int _fpu_cmp = 0; 1883 uint32_t _cf = 0; 1884 int _df = 1; 1885 uint32_t _flag_k = FK_NONE; 1886 uint32_t _flag_a = 0, _flag_b = 0; 1887 uint32_t _itail_tgt = 0; 1888 RECOMP_REGS_LOCALS 1889 RECOMP_ENTER(0x46028AE7u); 1890 1891 goto L_46028AE7; 1892 L_46001C9F: 1893 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1894 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1895 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1896 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1897 RECOMP_FLAGS_IN(); 1898 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1899 L_46001CAE: 1900 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1901 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1902 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1903 _cf = 0; 1904 _flag_k = FK_TEST; 1905 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1906 L_46001CB4: 1907 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1908 RECOMP_FLAGS_IN(); 1909 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1910 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1911 _cf = 0; 1912 _flag_k = FK_TEST; 1913 RECOMP_BACKEDGE(); 1914 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1915 L_46001CBD: 1916 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1917 L_46028AE7: 1918 ecx = ebp + (-0x10); /* 0x46028AE7: lea ecx, [ebp - 0x10] */ 1919 RECOMP_BACKEDGE(); 1920 goto L_46001CAE; /* 0x46028AEA: jmp 0x46001cae */ 1921 { RECOMP_REGS_OUT(); return; } /* end of function */ 1922 RECOMP_REGS_OUT(); 1923 } 1924 1925 void sub_46028AEF(void) { 1926 int _fpu_cmp = 0; 1927 uint32_t _cf = 0; 1928 int _df = 1; 1929 uint32_t _flag_k = FK_NONE; 1930 uint32_t _flag_a = 0, _flag_b = 0; 1931 uint32_t _itail_tgt = 0; 1932 RECOMP_REGS_LOCALS 1933 RECOMP_ENTER(0x46028AEFu); 1934 1935 goto L_46028AEF; 1936 L_46028258: 1937 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 1938 L_46028AEF: 1939 eax = 0x4602ECC8u; /* 0x46028AEF: mov eax, 0x4602ecc8 */ 1940 L_46028AF4: 1941 RECOMP_BACKEDGE(); 1942 goto L_46028258; /* 0x46028AF4: jmp 0x46028258 */ 1943 { RECOMP_REGS_OUT(); return; } /* end of function */ 1944 _ljump: 1945 switch (_itail_tgt) { 1946 case 0x46028258u: goto L_46028258; 1947 case 0x46028AEFu: goto L_46028AEF; 1948 case 0x46028AF4u: goto L_46028AF4; 1949 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1950 } 1951 RECOMP_REGS_OUT(); 1952 } 1953 1954 void sub_46028AF9(void) { 1955 int _fpu_cmp = 0; 1956 uint32_t _cf = 0; 1957 int _df = 1; 1958 uint32_t _flag_k = FK_NONE; 1959 uint32_t _flag_a = 0, _flag_b = 0; 1960 uint32_t _itail_tgt = 0; 1961 RECOMP_REGS_LOCALS 1962 RECOMP_ENTER(0x46028AF9u); 1963 1964 goto L_46028AF9; 1965 L_46001C9F: 1966 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 1967 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 1968 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 1969 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 1970 RECOMP_FLAGS_IN(); 1971 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 1972 L_46001CAE: 1973 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 1974 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 1975 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1976 _cf = 0; 1977 _flag_k = FK_TEST; 1978 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 1979 L_46001CB4: 1980 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 1981 RECOMP_FLAGS_IN(); 1982 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 1983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1984 _cf = 0; 1985 _flag_k = FK_TEST; 1986 RECOMP_BACKEDGE(); 1987 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 1988 L_46001CBD: 1989 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 1990 L_46028AF9: 1991 ecx = ebp + (-0x10); /* 0x46028AF9: lea ecx, [ebp - 0x10] */ 1992 RECOMP_BACKEDGE(); 1993 goto L_46001CAE; /* 0x46028AFC: jmp 0x46001cae */ 1994 { RECOMP_REGS_OUT(); return; } /* end of function */ 1995 RECOMP_REGS_OUT(); 1996 } 1997 1998 void sub_46028B01(void) { 1999 int _fpu_cmp = 0; 2000 uint32_t _cf = 0; 2001 int _df = 1; 2002 uint32_t _flag_k = FK_NONE; 2003 uint32_t _flag_a = 0, _flag_b = 0; 2004 uint32_t _itail_tgt = 0; 2005 RECOMP_REGS_LOCALS 2006 RECOMP_ENTER(0x46028B01u); 2007 2008 goto L_46028B01; 2009 L_46028258: 2010 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2011 L_46028B01: 2012 eax = 0x4602ECF0u; /* 0x46028B01: mov eax, 0x4602ecf0 */ 2013 L_46028B06: 2014 RECOMP_BACKEDGE(); 2015 goto L_46028258; /* 0x46028B06: jmp 0x46028258 */ 2016 { RECOMP_REGS_OUT(); return; } /* end of function */ 2017 _ljump: 2018 switch (_itail_tgt) { 2019 case 0x46028258u: goto L_46028258; 2020 case 0x46028B01u: goto L_46028B01; 2021 case 0x46028B06u: goto L_46028B06; 2022 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2023 } 2024 RECOMP_REGS_OUT(); 2025 } 2026 2027 void sub_46028B0B(void) { 2028 int _fpu_cmp = 0; 2029 uint32_t _cf = 0; 2030 int _df = 1; 2031 uint32_t _flag_k = FK_NONE; 2032 uint32_t _flag_a = 0, _flag_b = 0; 2033 uint32_t _itail_tgt = 0; 2034 RECOMP_REGS_LOCALS 2035 RECOMP_ENTER(0x46028B0Bu); 2036 2037 goto L_46028B0B; 2038 L_46002DC7: 2039 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 2040 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 2041 RECOMP_FLAGS_IN(); 2042 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 2043 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 2044 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 2045 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 2046 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 2047 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 2048 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 2049 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 2050 _cf = 0; 2051 _flag_k = FK_TEST; 2052 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 2053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2054 _cf = 0; 2055 _flag_k = FK_TEST; 2056 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 2057 L_46002DE9: 2058 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 2059 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 2060 _flag_k = FK_NARROW(FK_DEC, 24); 2061 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 2062 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 2063 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 2064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2065 _flag_k = FK_NARROW(FK_CMP, 24); 2066 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 2067 L_46002DFB: 2068 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 2069 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 2070 RECOMP_FLAGS_IN(); 2071 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 2072 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 2073 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 2074 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 2075 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 2076 L_46002E10: 2077 ecx = esi; /* 0x46002E10: mov ecx, esi */ 2078 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 2079 RECOMP_FLAGS_IN(); 2080 RECOMP_BACKEDGE(); 2081 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 2082 L_46028B0B: 2083 ecx = MEM32(ebp + (-0x10)); /* 0x46028B0B: mov ecx, dword ptr [ebp - 0x10] */ 2084 RECOMP_BACKEDGE(); 2085 goto L_46002DC7; /* 0x46028B0E: jmp 0x46002dc7 */ 2086 { RECOMP_REGS_OUT(); return; } /* end of function */ 2087 RECOMP_REGS_OUT(); 2088 } 2089 2090 void sub_46028B13(void) { 2091 int _fpu_cmp = 0; 2092 uint32_t _cf = 0; 2093 int _df = 1; 2094 uint32_t _flag_k = FK_NONE; 2095 uint32_t _flag_a = 0, _flag_b = 0; 2096 uint32_t _itail_tgt = 0; 2097 RECOMP_REGS_LOCALS 2098 RECOMP_ENTER(0x46028B13u); 2099 2100 goto L_46028B13; 2101 L_46028258: 2102 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2103 L_46028B13: 2104 eax = 0x4602ED18u; /* 0x46028B13: mov eax, 0x4602ed18 */ 2105 L_46028B18: 2106 RECOMP_BACKEDGE(); 2107 goto L_46028258; /* 0x46028B18: jmp 0x46028258 */ 2108 { RECOMP_REGS_OUT(); return; } /* end of function */ 2109 _ljump: 2110 switch (_itail_tgt) { 2111 case 0x46028258u: goto L_46028258; 2112 case 0x46028B13u: goto L_46028B13; 2113 case 0x46028B18u: goto L_46028B18; 2114 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2115 } 2116 RECOMP_REGS_OUT(); 2117 } 2118 2119 void sub_46028B1D(void) { 2120 int _fpu_cmp = 0; 2121 uint32_t _cf = 0; 2122 int _df = 1; 2123 uint32_t _flag_k = FK_NONE; 2124 uint32_t _flag_a = 0, _flag_b = 0; 2125 uint32_t _itail_tgt = 0; 2126 RECOMP_REGS_LOCALS 2127 RECOMP_ENTER(0x46028B1Du); 2128 2129 goto L_46028B1D; 2130 L_46002DC7: 2131 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 2132 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 2133 RECOMP_FLAGS_IN(); 2134 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 2135 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 2136 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 2137 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 2138 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 2139 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 2140 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 2141 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 2142 _cf = 0; 2143 _flag_k = FK_TEST; 2144 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 2145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2146 _cf = 0; 2147 _flag_k = FK_TEST; 2148 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 2149 L_46002DE9: 2150 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 2151 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 2152 _flag_k = FK_NARROW(FK_DEC, 24); 2153 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 2154 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 2155 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 2156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2157 _flag_k = FK_NARROW(FK_CMP, 24); 2158 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 2159 L_46002DFB: 2160 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 2161 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 2162 RECOMP_FLAGS_IN(); 2163 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 2164 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 2165 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 2166 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 2167 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 2168 L_46002E10: 2169 ecx = esi; /* 0x46002E10: mov ecx, esi */ 2170 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 2171 RECOMP_FLAGS_IN(); 2172 RECOMP_BACKEDGE(); 2173 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 2174 L_46028B1D: 2175 ecx = MEM32(ebp + (-0x10)); /* 0x46028B1D: mov ecx, dword ptr [ebp - 0x10] */ 2176 RECOMP_BACKEDGE(); 2177 goto L_46002DC7; /* 0x46028B20: jmp 0x46002dc7 */ 2178 { RECOMP_REGS_OUT(); return; } /* end of function */ 2179 RECOMP_REGS_OUT(); 2180 } 2181 2182 void sub_46028B25(void) { 2183 int _fpu_cmp = 0; 2184 uint32_t _cf = 0; 2185 int _df = 1; 2186 uint32_t _flag_k = FK_NONE; 2187 uint32_t _flag_a = 0, _flag_b = 0; 2188 uint32_t _itail_tgt = 0; 2189 RECOMP_REGS_LOCALS 2190 RECOMP_ENTER(0x46028B25u); 2191 2192 goto L_46028B25; 2193 L_46028258: 2194 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2195 L_46028B25: 2196 eax = 0x4602ED40u; /* 0x46028B25: mov eax, 0x4602ed40 */ 2197 L_46028B2A: 2198 RECOMP_BACKEDGE(); 2199 goto L_46028258; /* 0x46028B2A: jmp 0x46028258 */ 2200 { RECOMP_REGS_OUT(); return; } /* end of function */ 2201 _ljump: 2202 switch (_itail_tgt) { 2203 case 0x46028258u: goto L_46028258; 2204 case 0x46028B25u: goto L_46028B25; 2205 case 0x46028B2Au: goto L_46028B2A; 2206 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2207 } 2208 RECOMP_REGS_OUT(); 2209 } 2210 2211 void sub_46028B2F(void) { 2212 int _fpu_cmp = 0; 2213 uint32_t _cf = 0; 2214 int _df = 1; 2215 uint32_t _flag_k = FK_NONE; 2216 uint32_t _flag_a = 0, _flag_b = 0; 2217 uint32_t _itail_tgt = 0; 2218 RECOMP_REGS_LOCALS 2219 RECOMP_ENTER(0x46028B2Fu); 2220 2221 goto L_46028B2F; 2222 L_46001C9F: 2223 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2224 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2225 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2226 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2227 RECOMP_FLAGS_IN(); 2228 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2229 L_46001CAE: 2230 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2231 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2233 _cf = 0; 2234 _flag_k = FK_TEST; 2235 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 2236 L_46001CB4: 2237 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 2238 RECOMP_FLAGS_IN(); 2239 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 2240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2241 _cf = 0; 2242 _flag_k = FK_TEST; 2243 RECOMP_BACKEDGE(); 2244 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 2245 L_46001CBD: 2246 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 2247 L_46028B2F: 2248 ecx = ebp + (-0x10); /* 0x46028B2F: lea ecx, [ebp - 0x10] */ 2249 RECOMP_BACKEDGE(); 2250 goto L_46001CAE; /* 0x46028B32: jmp 0x46001cae */ 2251 { RECOMP_REGS_OUT(); return; } /* end of function */ 2252 RECOMP_REGS_OUT(); 2253 } 2254 2255 void sub_46028B37(void) { 2256 int _fpu_cmp = 0; 2257 uint32_t _cf = 0; 2258 int _df = 1; 2259 uint32_t _flag_k = FK_NONE; 2260 uint32_t _flag_a = 0, _flag_b = 0; 2261 uint32_t _itail_tgt = 0; 2262 RECOMP_REGS_LOCALS 2263 RECOMP_ENTER(0x46028B37u); 2264 2265 goto L_46028B37; 2266 L_46028258: 2267 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2268 L_46028B37: 2269 eax = 0x4602ED68u; /* 0x46028B37: mov eax, 0x4602ed68 */ 2270 L_46028B3C: 2271 RECOMP_BACKEDGE(); 2272 goto L_46028258; /* 0x46028B3C: jmp 0x46028258 */ 2273 { RECOMP_REGS_OUT(); return; } /* end of function */ 2274 _ljump: 2275 switch (_itail_tgt) { 2276 case 0x46028258u: goto L_46028258; 2277 case 0x46028B37u: goto L_46028B37; 2278 case 0x46028B3Cu: goto L_46028B3C; 2279 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2280 } 2281 RECOMP_REGS_OUT(); 2282 } 2283 2284 void sub_46028B41(void) { 2285 int _fpu_cmp = 0; 2286 uint32_t _cf = 0; 2287 int _df = 1; 2288 uint32_t _flag_k = FK_NONE; 2289 uint32_t _flag_a = 0, _flag_b = 0; 2290 uint32_t _itail_tgt = 0; 2291 RECOMP_REGS_LOCALS 2292 RECOMP_ENTER(0x46028B41u); 2293 2294 goto L_46028B41; 2295 L_46001C9F: 2296 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2297 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2298 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2299 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2300 RECOMP_FLAGS_IN(); 2301 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2302 L_46001CAE: 2303 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2304 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2306 _cf = 0; 2307 _flag_k = FK_TEST; 2308 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 2309 L_46001CB4: 2310 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 2311 RECOMP_FLAGS_IN(); 2312 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 2313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2314 _cf = 0; 2315 _flag_k = FK_TEST; 2316 RECOMP_BACKEDGE(); 2317 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 2318 L_46001CBD: 2319 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 2320 L_46028B41: 2321 ecx = ebp + (-0x10); /* 0x46028B41: lea ecx, [ebp - 0x10] */ 2322 RECOMP_BACKEDGE(); 2323 goto L_46001CAE; /* 0x46028B44: jmp 0x46001cae */ 2324 { RECOMP_REGS_OUT(); return; } /* end of function */ 2325 RECOMP_REGS_OUT(); 2326 } 2327 2328 void sub_46028B49(void) { 2329 int _fpu_cmp = 0; 2330 uint32_t _cf = 0; 2331 int _df = 1; 2332 uint32_t _flag_k = FK_NONE; 2333 uint32_t _flag_a = 0, _flag_b = 0; 2334 uint32_t _itail_tgt = 0; 2335 RECOMP_REGS_LOCALS 2336 RECOMP_ENTER(0x46028B49u); 2337 2338 goto L_46028B49; 2339 L_46028258: 2340 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2341 L_46028B49: 2342 eax = 0x4602ED90u; /* 0x46028B49: mov eax, 0x4602ed90 */ 2343 L_46028B4E: 2344 RECOMP_BACKEDGE(); 2345 goto L_46028258; /* 0x46028B4E: jmp 0x46028258 */ 2346 { RECOMP_REGS_OUT(); return; } /* end of function */ 2347 _ljump: 2348 switch (_itail_tgt) { 2349 case 0x46028258u: goto L_46028258; 2350 case 0x46028B49u: goto L_46028B49; 2351 case 0x46028B4Eu: goto L_46028B4E; 2352 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2353 } 2354 RECOMP_REGS_OUT(); 2355 } 2356 2357 void sub_46028B53(void) { 2358 int _fpu_cmp = 0; 2359 uint32_t _cf = 0; 2360 int _df = 1; 2361 uint32_t _flag_k = FK_NONE; 2362 uint32_t _flag_a = 0, _flag_b = 0; 2363 uint32_t _itail_tgt = 0; 2364 RECOMP_REGS_LOCALS 2365 RECOMP_ENTER(0x46028B53u); 2366 2367 goto L_46028B53; 2368 L_46002DC1: 2369 MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */ 2370 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 2371 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 2372 RECOMP_FLAGS_IN(); 2373 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 2374 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 2375 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 2376 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 2377 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 2378 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 2379 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 2380 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 2381 _cf = 0; 2382 _flag_k = FK_TEST; 2383 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 2384 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2385 _cf = 0; 2386 _flag_k = FK_TEST; 2387 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 2388 L_46002DE9: 2389 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 2390 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 2391 _flag_k = FK_NARROW(FK_DEC, 24); 2392 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 2393 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 2394 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 2395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2396 _flag_k = FK_NARROW(FK_CMP, 24); 2397 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 2398 L_46002DFB: 2399 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 2400 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 2401 RECOMP_FLAGS_IN(); 2402 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 2403 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 2404 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 2405 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 2406 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 2407 L_46002E10: 2408 ecx = esi; /* 0x46002E10: mov ecx, esi */ 2409 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 2410 RECOMP_FLAGS_IN(); 2411 RECOMP_BACKEDGE(); 2412 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 2413 L_46028B53: 2414 eax = MEM32(ebp + (-0x10)); /* 0x46028B53: mov eax, dword ptr [ebp - 0x10] */ 2415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2416 eax = eax & 1; /* 0x46028B56: and eax, 1 */ 2417 _cf = 0; 2418 _flag_k = FK_TEST; 2419 /* test eax, eax */ /* 0x46028B59: test eax, eax */ 2420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2421 _cf = 0; 2422 _flag_k = FK_TEST; 2423 if (TEST_Z(_flag_a, _flag_b)) goto L_46028B68; /* 0x46028B5B: je 0x46028b68 */ 2424 L_46028B5D: 2425 ecx = MEM32(ebp + (-0x14)); /* 0x46028B5D: mov ecx, dword ptr [ebp - 0x14] */ 2426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2428 ecx = ecx + 4; /* 0x46028B60: add ecx, 4 */ 2429 _flag_k = FK_ADD; 2430 RECOMP_BACKEDGE(); 2431 goto L_46002DC1; /* 0x46028B63: jmp 0x46002dc1 */ 2432 L_46028B68: 2433 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028B68: ret */ 2434 RECOMP_REGS_OUT(); 2435 } 2436 2437 void sub_46028B69(void) { 2438 int _fpu_cmp = 0; 2439 uint32_t _cf = 0; 2440 int _df = 1; 2441 uint32_t _flag_k = FK_NONE; 2442 uint32_t _flag_a = 0, _flag_b = 0; 2443 uint32_t _itail_tgt = 0; 2444 RECOMP_REGS_LOCALS 2445 RECOMP_ENTER(0x46028B69u); 2446 2447 goto L_46028B69; 2448 L_46028258: 2449 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2450 L_46028B69: 2451 eax = 0x4602EDB8u; /* 0x46028B69: mov eax, 0x4602edb8 */ 2452 L_46028B6E: 2453 RECOMP_BACKEDGE(); 2454 goto L_46028258; /* 0x46028B6E: jmp 0x46028258 */ 2455 { RECOMP_REGS_OUT(); return; } /* end of function */ 2456 _ljump: 2457 switch (_itail_tgt) { 2458 case 0x46028258u: goto L_46028258; 2459 case 0x46028B69u: goto L_46028B69; 2460 case 0x46028B6Eu: goto L_46028B6E; 2461 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2462 } 2463 RECOMP_REGS_OUT(); 2464 } 2465 2466 void sub_46028B73(void) { 2467 int _fpu_cmp = 0; 2468 uint32_t _cf = 0; 2469 int _df = 1; 2470 uint32_t _flag_k = FK_NONE; 2471 uint32_t _flag_a = 0, _flag_b = 0; 2472 uint32_t _itail_tgt = 0; 2473 RECOMP_REGS_LOCALS 2474 RECOMP_ENTER(0x46028B73u); 2475 2476 goto L_46028B73; 2477 L_46002DC1: 2478 MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */ 2479 eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */ 2480 RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */ 2481 RECOMP_FLAGS_IN(); 2482 PUSH32(esp, ecx); /* 0x46002DD1: push ecx */ 2483 PUSH32(esp, esi); /* 0x46002DD2: push esi */ 2484 esi = ecx; /* 0x46002DD3: mov esi, ecx */ 2485 MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */ 2486 MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */ 2487 eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */ 2488 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 2489 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */ 2490 _cf = 0; 2491 _flag_k = FK_TEST; 2492 /* test eax, eax */ /* 0x46002DE5: test eax, eax */ 2493 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2494 _cf = 0; 2495 _flag_k = FK_TEST; 2496 if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */ 2497 L_46002DE9: 2498 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24; 2499 MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */ 2500 _flag_k = FK_NARROW(FK_DEC, 24); 2501 eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */ 2502 /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */ 2503 _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24; 2504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2505 _flag_k = FK_NARROW(FK_CMP, 24); 2506 if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */ 2507 L_46002DFB: 2508 ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */ 2509 RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */ 2510 RECOMP_FLAGS_IN(); 2511 ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */ 2512 esi = POP32_VAL(esp); /* 0x46002E06: pop esi */ 2513 MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */ 2514 esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave */ 2515 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret */ 2516 L_46002E10: 2517 ecx = esi; /* 0x46002E10: mov ecx, esi */ 2518 RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */ 2519 RECOMP_FLAGS_IN(); 2520 RECOMP_BACKEDGE(); 2521 goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */ 2522 L_46028B73: 2523 eax = MEM32(ebp + (-0x10)); /* 0x46028B73: mov eax, dword ptr [ebp - 0x10] */ 2524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2525 eax = eax & 1; /* 0x46028B76: and eax, 1 */ 2526 _cf = 0; 2527 _flag_k = FK_TEST; 2528 /* test eax, eax */ /* 0x46028B79: test eax, eax */ 2529 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2530 _cf = 0; 2531 _flag_k = FK_TEST; 2532 if (TEST_Z(_flag_a, _flag_b)) goto L_46028B88; /* 0x46028B7B: je 0x46028b88 */ 2533 L_46028B7D: 2534 ecx = MEM32(ebp + (-0x14)); /* 0x46028B7D: mov ecx, dword ptr [ebp - 0x14] */ 2535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2537 ecx = ecx + 4; /* 0x46028B80: add ecx, 4 */ 2538 _flag_k = FK_ADD; 2539 RECOMP_BACKEDGE(); 2540 goto L_46002DC1; /* 0x46028B83: jmp 0x46002dc1 */ 2541 L_46028B88: 2542 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028B88: ret */ 2543 RECOMP_REGS_OUT(); 2544 } 2545 2546 void sub_46028B89(void) { 2547 int _fpu_cmp = 0; 2548 uint32_t _cf = 0; 2549 int _df = 1; 2550 uint32_t _flag_k = FK_NONE; 2551 uint32_t _flag_a = 0, _flag_b = 0; 2552 uint32_t _itail_tgt = 0; 2553 RECOMP_REGS_LOCALS 2554 RECOMP_ENTER(0x46028B89u); 2555 2556 goto L_46028B89; 2557 L_46028258: 2558 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2559 L_46028B89: 2560 eax = 0x4602EDE0u; /* 0x46028B89: mov eax, 0x4602ede0 */ 2561 L_46028B8E: 2562 RECOMP_BACKEDGE(); 2563 goto L_46028258; /* 0x46028B8E: jmp 0x46028258 */ 2564 { RECOMP_REGS_OUT(); return; } /* end of function */ 2565 _ljump: 2566 switch (_itail_tgt) { 2567 case 0x46028258u: goto L_46028258; 2568 case 0x46028B89u: goto L_46028B89; 2569 case 0x46028B8Eu: goto L_46028B8E; 2570 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2571 } 2572 RECOMP_REGS_OUT(); 2573 } 2574 2575 void sub_46028B93(void) { 2576 int _fpu_cmp = 0; 2577 uint32_t _cf = 0; 2578 int _df = 1; 2579 uint32_t _flag_k = FK_NONE; 2580 uint32_t _flag_a = 0, _flag_b = 0; 2581 uint32_t _itail_tgt = 0; 2582 RECOMP_REGS_LOCALS 2583 RECOMP_ENTER(0x46028B93u); 2584 2585 goto L_46028B93; 2586 L_46002886: 2587 PUSH32(esp, esi); /* 0x46002886: push esi */ 2588 esi = ecx; /* 0x46002887: mov esi, ecx */ 2589 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 2590 RECOMP_FLAGS_IN(); 2591 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 2592 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2593 _cf = 0; 2594 _flag_k = FK_NARROW(FK_TEST, 24); 2595 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 2596 L_46002892: 2597 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 2598 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 2599 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 2600 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 2601 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 2602 _cf = 0; 2603 _flag_k = FK_NARROW(FK_TEST, 24); 2604 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 2605 L_460028A5: 2606 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 2607 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 2608 L_4601C3FE: 2609 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 2610 RECOMP_FLAGS_IN(); 2611 RECOMP_BACKEDGE(); 2612 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 2613 L_46028B93: 2614 ecx = ebp + (-0x2C); /* 0x46028B93: lea ecx, [ebp - 0x2c] */ 2615 RECOMP_BACKEDGE(); 2616 goto L_46002886; /* 0x46028B96: jmp 0x46002886 */ 2617 { RECOMP_REGS_OUT(); return; } /* end of function */ 2618 RECOMP_REGS_OUT(); 2619 } 2620 2621 void sub_46028B9B(void) { 2622 int _fpu_cmp = 0; 2623 uint32_t _cf = 0; 2624 int _df = 1; 2625 uint32_t _flag_k = FK_NONE; 2626 uint32_t _flag_a = 0, _flag_b = 0; 2627 uint32_t _itail_tgt = 0; 2628 RECOMP_REGS_LOCALS 2629 RECOMP_ENTER(0x46028B9Bu); 2630 2631 goto L_46028B9B; 2632 L_46001C9F: 2633 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2634 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2635 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2636 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2637 RECOMP_FLAGS_IN(); 2638 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2639 L_46001CAE: 2640 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2641 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2643 _cf = 0; 2644 _flag_k = FK_TEST; 2645 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 2646 L_46001CB4: 2647 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 2648 RECOMP_FLAGS_IN(); 2649 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 2650 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2651 _cf = 0; 2652 _flag_k = FK_TEST; 2653 RECOMP_BACKEDGE(); 2654 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 2655 L_46001CBD: 2656 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 2657 L_46028B9B: 2658 ecx = ebp + (-0x1C); /* 0x46028B9B: lea ecx, [ebp - 0x1c] */ 2659 RECOMP_BACKEDGE(); 2660 goto L_46001CAE; /* 0x46028B9E: jmp 0x46001cae */ 2661 { RECOMP_REGS_OUT(); return; } /* end of function */ 2662 RECOMP_REGS_OUT(); 2663 } 2664 2665 void sub_46028BA3(void) { 2666 int _fpu_cmp = 0; 2667 uint32_t _cf = 0; 2668 int _df = 1; 2669 uint32_t _flag_k = FK_NONE; 2670 uint32_t _flag_a = 0, _flag_b = 0; 2671 uint32_t _itail_tgt = 0; 2672 RECOMP_REGS_LOCALS 2673 RECOMP_ENTER(0x46028BA3u); 2674 2675 goto L_46028BA3; 2676 L_46028258: 2677 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2678 L_46028BA3: 2679 eax = 0x4602EE08u; /* 0x46028BA3: mov eax, 0x4602ee08 */ 2680 L_46028BA8: 2681 RECOMP_BACKEDGE(); 2682 goto L_46028258; /* 0x46028BA8: jmp 0x46028258 */ 2683 { RECOMP_REGS_OUT(); return; } /* end of function */ 2684 _ljump: 2685 switch (_itail_tgt) { 2686 case 0x46028258u: goto L_46028258; 2687 case 0x46028BA3u: goto L_46028BA3; 2688 case 0x46028BA8u: goto L_46028BA8; 2689 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2690 } 2691 RECOMP_REGS_OUT(); 2692 } 2693 2694 void sub_46028BAD(void) { 2695 int _fpu_cmp = 0; 2696 uint32_t _cf = 0; 2697 int _df = 1; 2698 uint32_t _flag_k = FK_NONE; 2699 uint32_t _flag_a = 0, _flag_b = 0; 2700 uint32_t _itail_tgt = 0; 2701 RECOMP_REGS_LOCALS 2702 RECOMP_ENTER(0x46028BADu); 2703 2704 goto L_46028BAD; 2705 L_46002886: 2706 PUSH32(esp, esi); /* 0x46002886: push esi */ 2707 esi = ecx; /* 0x46002887: mov esi, ecx */ 2708 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 2709 RECOMP_FLAGS_IN(); 2710 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 2711 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2712 _cf = 0; 2713 _flag_k = FK_NARROW(FK_TEST, 24); 2714 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 2715 L_46002892: 2716 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 2717 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 2718 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 2719 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 2720 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 2721 _cf = 0; 2722 _flag_k = FK_NARROW(FK_TEST, 24); 2723 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 2724 L_460028A5: 2725 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 2726 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 2727 L_4601C3FE: 2728 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 2729 RECOMP_FLAGS_IN(); 2730 RECOMP_BACKEDGE(); 2731 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 2732 L_46028BAD: 2733 ecx = ebp + (-0x28); /* 0x46028BAD: lea ecx, [ebp - 0x28] */ 2734 RECOMP_BACKEDGE(); 2735 goto L_46002886; /* 0x46028BB0: jmp 0x46002886 */ 2736 { RECOMP_REGS_OUT(); return; } /* end of function */ 2737 RECOMP_REGS_OUT(); 2738 } 2739 2740 void sub_46028BB5(void) { 2741 int _fpu_cmp = 0; 2742 uint32_t _cf = 0; 2743 int _df = 1; 2744 uint32_t _flag_k = FK_NONE; 2745 uint32_t _flag_a = 0, _flag_b = 0; 2746 uint32_t _itail_tgt = 0; 2747 RECOMP_REGS_LOCALS 2748 RECOMP_ENTER(0x46028BB5u); 2749 2750 goto L_46028BB5; 2751 L_46001C9F: 2752 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2753 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2754 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2755 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2756 RECOMP_FLAGS_IN(); 2757 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2758 L_46001CAE: 2759 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2760 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2762 _cf = 0; 2763 _flag_k = FK_TEST; 2764 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 2765 L_46001CB4: 2766 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 2767 RECOMP_FLAGS_IN(); 2768 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 2769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2770 _cf = 0; 2771 _flag_k = FK_TEST; 2772 RECOMP_BACKEDGE(); 2773 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 2774 L_46001CBD: 2775 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 2776 L_46028BB5: 2777 ecx = ebp + (-0x1C); /* 0x46028BB5: lea ecx, [ebp - 0x1c] */ 2778 RECOMP_BACKEDGE(); 2779 goto L_46001CAE; /* 0x46028BB8: jmp 0x46001cae */ 2780 { RECOMP_REGS_OUT(); return; } /* end of function */ 2781 RECOMP_REGS_OUT(); 2782 } 2783 2784 void sub_46028BBD(void) { 2785 int _fpu_cmp = 0; 2786 uint32_t _cf = 0; 2787 int _df = 1; 2788 uint32_t _flag_k = FK_NONE; 2789 uint32_t _flag_a = 0, _flag_b = 0; 2790 uint32_t _itail_tgt = 0; 2791 RECOMP_REGS_LOCALS 2792 RECOMP_ENTER(0x46028BBDu); 2793 2794 goto L_46028BBD; 2795 L_46028258: 2796 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2797 L_46028BBD: 2798 eax = 0x4602EE70u; /* 0x46028BBD: mov eax, 0x4602ee70 */ 2799 L_46028BC2: 2800 RECOMP_BACKEDGE(); 2801 goto L_46028258; /* 0x46028BC2: jmp 0x46028258 */ 2802 { RECOMP_REGS_OUT(); return; } /* end of function */ 2803 _ljump: 2804 switch (_itail_tgt) { 2805 case 0x46028258u: goto L_46028258; 2806 case 0x46028BBDu: goto L_46028BBD; 2807 case 0x46028BC2u: goto L_46028BC2; 2808 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2809 } 2810 RECOMP_REGS_OUT(); 2811 } 2812 2813 void sub_46028BC7(void) { 2814 int _fpu_cmp = 0; 2815 uint32_t _cf = 0; 2816 int _df = 1; 2817 uint32_t _flag_k = FK_NONE; 2818 uint32_t _flag_a = 0, _flag_b = 0; 2819 uint32_t _itail_tgt = 0; 2820 RECOMP_REGS_LOCALS 2821 RECOMP_ENTER(0x46028BC7u); 2822 2823 goto L_46028BC7; 2824 L_46002886: 2825 PUSH32(esp, esi); /* 0x46002886: push esi */ 2826 esi = ecx; /* 0x46002887: mov esi, ecx */ 2827 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 2828 RECOMP_FLAGS_IN(); 2829 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 2830 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2831 _cf = 0; 2832 _flag_k = FK_NARROW(FK_TEST, 24); 2833 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 2834 L_46002892: 2835 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 2836 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 2837 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 2838 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 2839 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 2840 _cf = 0; 2841 _flag_k = FK_NARROW(FK_TEST, 24); 2842 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 2843 L_460028A5: 2844 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 2845 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 2846 L_4601C3FE: 2847 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 2848 RECOMP_FLAGS_IN(); 2849 RECOMP_BACKEDGE(); 2850 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 2851 L_46028BC7: 2852 ecx = ebp + (-0x2C); /* 0x46028BC7: lea ecx, [ebp - 0x2c] */ 2853 RECOMP_BACKEDGE(); 2854 goto L_46002886; /* 0x46028BCA: jmp 0x46002886 */ 2855 { RECOMP_REGS_OUT(); return; } /* end of function */ 2856 RECOMP_REGS_OUT(); 2857 } 2858 2859 void sub_46028BCF(void) { 2860 int _fpu_cmp = 0; 2861 uint32_t _cf = 0; 2862 int _df = 1; 2863 uint32_t _flag_k = FK_NONE; 2864 uint32_t _flag_a = 0, _flag_b = 0; 2865 uint32_t _itail_tgt = 0; 2866 RECOMP_REGS_LOCALS 2867 RECOMP_ENTER(0x46028BCFu); 2868 2869 goto L_46028BCF; 2870 L_46001C9F: 2871 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2872 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2873 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2874 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2875 RECOMP_FLAGS_IN(); 2876 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2877 L_46001CAE: 2878 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2879 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2881 _cf = 0; 2882 _flag_k = FK_TEST; 2883 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 2884 L_46001CB4: 2885 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 2886 RECOMP_FLAGS_IN(); 2887 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 2888 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2889 _cf = 0; 2890 _flag_k = FK_TEST; 2891 RECOMP_BACKEDGE(); 2892 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 2893 L_46001CBD: 2894 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 2895 L_46028BCF: 2896 ecx = ebp + (-0x1C); /* 0x46028BCF: lea ecx, [ebp - 0x1c] */ 2897 RECOMP_BACKEDGE(); 2898 goto L_46001CAE; /* 0x46028BD2: jmp 0x46001cae */ 2899 { RECOMP_REGS_OUT(); return; } /* end of function */ 2900 RECOMP_REGS_OUT(); 2901 } 2902 2903 void sub_46028BD7(void) { 2904 int _fpu_cmp = 0; 2905 uint32_t _cf = 0; 2906 int _df = 1; 2907 uint32_t _flag_k = FK_NONE; 2908 uint32_t _flag_a = 0, _flag_b = 0; 2909 uint32_t _itail_tgt = 0; 2910 RECOMP_REGS_LOCALS 2911 RECOMP_ENTER(0x46028BD7u); 2912 2913 goto L_46028BD7; 2914 L_46028258: 2915 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 2916 L_46028BD7: 2917 eax = 0x4602EED8u; /* 0x46028BD7: mov eax, 0x4602eed8 */ 2918 L_46028BDC: 2919 RECOMP_BACKEDGE(); 2920 goto L_46028258; /* 0x46028BDC: jmp 0x46028258 */ 2921 { RECOMP_REGS_OUT(); return; } /* end of function */ 2922 _ljump: 2923 switch (_itail_tgt) { 2924 case 0x46028258u: goto L_46028258; 2925 case 0x46028BD7u: goto L_46028BD7; 2926 case 0x46028BDCu: goto L_46028BDC; 2927 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2928 } 2929 RECOMP_REGS_OUT(); 2930 } 2931 2932 void sub_46028BE1(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(0x46028BE1u); 2941 2942 goto L_46028BE1; 2943 L_46002886: 2944 PUSH32(esp, esi); /* 0x46002886: push esi */ 2945 esi = ecx; /* 0x46002887: mov esi, ecx */ 2946 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 2947 RECOMP_FLAGS_IN(); 2948 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 2949 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2950 _cf = 0; 2951 _flag_k = FK_NARROW(FK_TEST, 24); 2952 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 2953 L_46002892: 2954 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 2955 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 2956 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 2957 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 2958 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 2959 _cf = 0; 2960 _flag_k = FK_NARROW(FK_TEST, 24); 2961 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 2962 L_460028A5: 2963 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 2964 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 2965 L_4601C3FE: 2966 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 2967 RECOMP_FLAGS_IN(); 2968 RECOMP_BACKEDGE(); 2969 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 2970 L_46028BE1: 2971 ecx = ebp + (-0x2C); /* 0x46028BE1: lea ecx, [ebp - 0x2c] */ 2972 RECOMP_BACKEDGE(); 2973 goto L_46002886; /* 0x46028BE4: jmp 0x46002886 */ 2974 { RECOMP_REGS_OUT(); return; } /* end of function */ 2975 RECOMP_REGS_OUT(); 2976 } 2977 2978 void sub_46028BE9(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(0x46028BE9u); 2987 2988 goto L_46028BE9; 2989 L_46001C9F: 2990 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 2991 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 2992 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 2993 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 2994 RECOMP_FLAGS_IN(); 2995 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 2996 L_46001CAE: 2997 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 2998 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 2999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3000 _cf = 0; 3001 _flag_k = FK_TEST; 3002 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3003 L_46001CB4: 3004 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3005 RECOMP_FLAGS_IN(); 3006 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3008 _cf = 0; 3009 _flag_k = FK_TEST; 3010 RECOMP_BACKEDGE(); 3011 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3012 L_46001CBD: 3013 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3014 L_46028BE9: 3015 ecx = ebp + (-0x1C); /* 0x46028BE9: lea ecx, [ebp - 0x1c] */ 3016 RECOMP_BACKEDGE(); 3017 goto L_46001CAE; /* 0x46028BEC: jmp 0x46001cae */ 3018 { RECOMP_REGS_OUT(); return; } /* end of function */ 3019 RECOMP_REGS_OUT(); 3020 } 3021 3022 void sub_46028BF1(void) { 3023 int _fpu_cmp = 0; 3024 uint32_t _cf = 0; 3025 int _df = 1; 3026 uint32_t _flag_k = FK_NONE; 3027 uint32_t _flag_a = 0, _flag_b = 0; 3028 uint32_t _itail_tgt = 0; 3029 RECOMP_REGS_LOCALS 3030 RECOMP_ENTER(0x46028BF1u); 3031 3032 goto L_46028BF1; 3033 L_46028258: 3034 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3035 L_46028BF1: 3036 eax = 0x4602EF40u; /* 0x46028BF1: mov eax, 0x4602ef40 */ 3037 L_46028BF6: 3038 RECOMP_BACKEDGE(); 3039 goto L_46028258; /* 0x46028BF6: jmp 0x46028258 */ 3040 { RECOMP_REGS_OUT(); return; } /* end of function */ 3041 _ljump: 3042 switch (_itail_tgt) { 3043 case 0x46028258u: goto L_46028258; 3044 case 0x46028BF1u: goto L_46028BF1; 3045 case 0x46028BF6u: goto L_46028BF6; 3046 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3047 } 3048 RECOMP_REGS_OUT(); 3049 } 3050 3051 void sub_46028BFB(void) { 3052 int _fpu_cmp = 0; 3053 uint32_t _cf = 0; 3054 int _df = 1; 3055 uint32_t _flag_k = FK_NONE; 3056 uint32_t _flag_a = 0, _flag_b = 0; 3057 uint32_t _itail_tgt = 0; 3058 RECOMP_REGS_LOCALS 3059 RECOMP_ENTER(0x46028BFBu); 3060 3061 goto L_46028BFB; 3062 L_46002886: 3063 PUSH32(esp, esi); /* 0x46002886: push esi */ 3064 esi = ecx; /* 0x46002887: mov esi, ecx */ 3065 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3066 RECOMP_FLAGS_IN(); 3067 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3068 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3069 _cf = 0; 3070 _flag_k = FK_NARROW(FK_TEST, 24); 3071 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3072 L_46002892: 3073 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3074 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3075 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3076 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3077 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3078 _cf = 0; 3079 _flag_k = FK_NARROW(FK_TEST, 24); 3080 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3081 L_460028A5: 3082 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3083 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3084 L_4601C3FE: 3085 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3086 RECOMP_FLAGS_IN(); 3087 RECOMP_BACKEDGE(); 3088 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3089 L_46028BFB: 3090 ecx = ebp + (-0x2C); /* 0x46028BFB: lea ecx, [ebp - 0x2c] */ 3091 RECOMP_BACKEDGE(); 3092 goto L_46002886; /* 0x46028BFE: jmp 0x46002886 */ 3093 { RECOMP_REGS_OUT(); return; } /* end of function */ 3094 RECOMP_REGS_OUT(); 3095 } 3096 3097 void sub_46028C03(void) { 3098 int _fpu_cmp = 0; 3099 uint32_t _cf = 0; 3100 int _df = 1; 3101 uint32_t _flag_k = FK_NONE; 3102 uint32_t _flag_a = 0, _flag_b = 0; 3103 uint32_t _itail_tgt = 0; 3104 RECOMP_REGS_LOCALS 3105 RECOMP_ENTER(0x46028C03u); 3106 3107 goto L_46028C03; 3108 L_46001C9F: 3109 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3110 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3111 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3112 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3113 RECOMP_FLAGS_IN(); 3114 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3115 L_46001CAE: 3116 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3117 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3118 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3119 _cf = 0; 3120 _flag_k = FK_TEST; 3121 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3122 L_46001CB4: 3123 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3124 RECOMP_FLAGS_IN(); 3125 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3127 _cf = 0; 3128 _flag_k = FK_TEST; 3129 RECOMP_BACKEDGE(); 3130 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3131 L_46001CBD: 3132 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3133 L_46028C03: 3134 ecx = ebp + (-0x1C); /* 0x46028C03: lea ecx, [ebp - 0x1c] */ 3135 RECOMP_BACKEDGE(); 3136 goto L_46001CAE; /* 0x46028C06: jmp 0x46001cae */ 3137 { RECOMP_REGS_OUT(); return; } /* end of function */ 3138 RECOMP_REGS_OUT(); 3139 } 3140 3141 void sub_46028C0B(void) { 3142 int _fpu_cmp = 0; 3143 uint32_t _cf = 0; 3144 int _df = 1; 3145 uint32_t _flag_k = FK_NONE; 3146 uint32_t _flag_a = 0, _flag_b = 0; 3147 uint32_t _itail_tgt = 0; 3148 RECOMP_REGS_LOCALS 3149 RECOMP_ENTER(0x46028C0Bu); 3150 3151 goto L_46028C0B; 3152 L_46028258: 3153 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3154 L_46028C0B: 3155 eax = 0x4602EFA8u; /* 0x46028C0B: mov eax, 0x4602efa8 */ 3156 L_46028C10: 3157 RECOMP_BACKEDGE(); 3158 goto L_46028258; /* 0x46028C10: jmp 0x46028258 */ 3159 { RECOMP_REGS_OUT(); return; } /* end of function */ 3160 _ljump: 3161 switch (_itail_tgt) { 3162 case 0x46028258u: goto L_46028258; 3163 case 0x46028C0Bu: goto L_46028C0B; 3164 case 0x46028C10u: goto L_46028C10; 3165 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3166 } 3167 RECOMP_REGS_OUT(); 3168 } 3169 3170 void sub_46028C15(void) { 3171 int _fpu_cmp = 0; 3172 uint32_t _cf = 0; 3173 int _df = 1; 3174 uint32_t _flag_k = FK_NONE; 3175 uint32_t _flag_a = 0, _flag_b = 0; 3176 uint32_t _itail_tgt = 0; 3177 RECOMP_REGS_LOCALS 3178 RECOMP_ENTER(0x46028C15u); 3179 3180 goto L_46028C15; 3181 L_46002886: 3182 PUSH32(esp, esi); /* 0x46002886: push esi */ 3183 esi = ecx; /* 0x46002887: mov esi, ecx */ 3184 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3185 RECOMP_FLAGS_IN(); 3186 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3187 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3188 _cf = 0; 3189 _flag_k = FK_NARROW(FK_TEST, 24); 3190 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3191 L_46002892: 3192 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3193 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3194 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3195 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3196 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3197 _cf = 0; 3198 _flag_k = FK_NARROW(FK_TEST, 24); 3199 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3200 L_460028A5: 3201 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3202 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3203 L_4601C3FE: 3204 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3205 RECOMP_FLAGS_IN(); 3206 RECOMP_BACKEDGE(); 3207 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3208 L_46028C15: 3209 ecx = ebp + (-0x2C); /* 0x46028C15: lea ecx, [ebp - 0x2c] */ 3210 RECOMP_BACKEDGE(); 3211 goto L_46002886; /* 0x46028C18: jmp 0x46002886 */ 3212 { RECOMP_REGS_OUT(); return; } /* end of function */ 3213 RECOMP_REGS_OUT(); 3214 } 3215 3216 void sub_46028C1D(void) { 3217 int _fpu_cmp = 0; 3218 uint32_t _cf = 0; 3219 int _df = 1; 3220 uint32_t _flag_k = FK_NONE; 3221 uint32_t _flag_a = 0, _flag_b = 0; 3222 uint32_t _itail_tgt = 0; 3223 RECOMP_REGS_LOCALS 3224 RECOMP_ENTER(0x46028C1Du); 3225 3226 goto L_46028C1D; 3227 L_46001C9F: 3228 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3229 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3230 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3231 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3232 RECOMP_FLAGS_IN(); 3233 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3234 L_46001CAE: 3235 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3236 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3238 _cf = 0; 3239 _flag_k = FK_TEST; 3240 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3241 L_46001CB4: 3242 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3243 RECOMP_FLAGS_IN(); 3244 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3246 _cf = 0; 3247 _flag_k = FK_TEST; 3248 RECOMP_BACKEDGE(); 3249 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3250 L_46001CBD: 3251 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3252 L_46028C1D: 3253 ecx = ebp + (-0x1C); /* 0x46028C1D: lea ecx, [ebp - 0x1c] */ 3254 RECOMP_BACKEDGE(); 3255 goto L_46001CAE; /* 0x46028C20: jmp 0x46001cae */ 3256 { RECOMP_REGS_OUT(); return; } /* end of function */ 3257 RECOMP_REGS_OUT(); 3258 } 3259 3260 void sub_46028C25(void) { 3261 int _fpu_cmp = 0; 3262 uint32_t _cf = 0; 3263 int _df = 1; 3264 uint32_t _flag_k = FK_NONE; 3265 uint32_t _flag_a = 0, _flag_b = 0; 3266 uint32_t _itail_tgt = 0; 3267 RECOMP_REGS_LOCALS 3268 RECOMP_ENTER(0x46028C25u); 3269 3270 goto L_46028C25; 3271 L_46028258: 3272 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3273 L_46028C25: 3274 eax = 0x4602F010u; /* 0x46028C25: mov eax, 0x4602f010 */ 3275 L_46028C2A: 3276 RECOMP_BACKEDGE(); 3277 goto L_46028258; /* 0x46028C2A: jmp 0x46028258 */ 3278 { RECOMP_REGS_OUT(); return; } /* end of function */ 3279 _ljump: 3280 switch (_itail_tgt) { 3281 case 0x46028258u: goto L_46028258; 3282 case 0x46028C25u: goto L_46028C25; 3283 case 0x46028C2Au: goto L_46028C2A; 3284 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3285 } 3286 RECOMP_REGS_OUT(); 3287 } 3288 3289 void sub_46028C2F(void) { 3290 int _fpu_cmp = 0; 3291 uint32_t _cf = 0; 3292 int _df = 1; 3293 uint32_t _flag_k = FK_NONE; 3294 uint32_t _flag_a = 0, _flag_b = 0; 3295 uint32_t _itail_tgt = 0; 3296 RECOMP_REGS_LOCALS 3297 RECOMP_ENTER(0x46028C2Fu); 3298 3299 goto L_46028C2F; 3300 L_46002886: 3301 PUSH32(esp, esi); /* 0x46002886: push esi */ 3302 esi = ecx; /* 0x46002887: mov esi, ecx */ 3303 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3304 RECOMP_FLAGS_IN(); 3305 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3306 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3307 _cf = 0; 3308 _flag_k = FK_NARROW(FK_TEST, 24); 3309 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3310 L_46002892: 3311 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3312 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3313 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3314 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3315 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3316 _cf = 0; 3317 _flag_k = FK_NARROW(FK_TEST, 24); 3318 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3319 L_460028A5: 3320 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3321 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3322 L_4601C3FE: 3323 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3324 RECOMP_FLAGS_IN(); 3325 RECOMP_BACKEDGE(); 3326 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3327 L_46028C2F: 3328 ecx = ebp + (-0x2C); /* 0x46028C2F: lea ecx, [ebp - 0x2c] */ 3329 RECOMP_BACKEDGE(); 3330 goto L_46002886; /* 0x46028C32: jmp 0x46002886 */ 3331 { RECOMP_REGS_OUT(); return; } /* end of function */ 3332 RECOMP_REGS_OUT(); 3333 } 3334 3335 void sub_46028C37(void) { 3336 int _fpu_cmp = 0; 3337 uint32_t _cf = 0; 3338 int _df = 1; 3339 uint32_t _flag_k = FK_NONE; 3340 uint32_t _flag_a = 0, _flag_b = 0; 3341 uint32_t _itail_tgt = 0; 3342 RECOMP_REGS_LOCALS 3343 RECOMP_ENTER(0x46028C37u); 3344 3345 goto L_46028C37; 3346 L_46001C9F: 3347 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3348 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3349 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3350 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3351 RECOMP_FLAGS_IN(); 3352 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3353 L_46001CAE: 3354 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3355 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3357 _cf = 0; 3358 _flag_k = FK_TEST; 3359 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3360 L_46001CB4: 3361 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3362 RECOMP_FLAGS_IN(); 3363 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3365 _cf = 0; 3366 _flag_k = FK_TEST; 3367 RECOMP_BACKEDGE(); 3368 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3369 L_46001CBD: 3370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3371 L_46028C37: 3372 ecx = ebp + (-0x1C); /* 0x46028C37: lea ecx, [ebp - 0x1c] */ 3373 RECOMP_BACKEDGE(); 3374 goto L_46001CAE; /* 0x46028C3A: jmp 0x46001cae */ 3375 { RECOMP_REGS_OUT(); return; } /* end of function */ 3376 RECOMP_REGS_OUT(); 3377 } 3378 3379 void sub_46028C3F(void) { 3380 int _fpu_cmp = 0; 3381 uint32_t _cf = 0; 3382 int _df = 1; 3383 uint32_t _flag_k = FK_NONE; 3384 uint32_t _flag_a = 0, _flag_b = 0; 3385 uint32_t _itail_tgt = 0; 3386 RECOMP_REGS_LOCALS 3387 RECOMP_ENTER(0x46028C3Fu); 3388 3389 goto L_46028C3F; 3390 L_46028258: 3391 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3392 L_46028C3F: 3393 eax = 0x4602F078u; /* 0x46028C3F: mov eax, 0x4602f078 */ 3394 L_46028C44: 3395 RECOMP_BACKEDGE(); 3396 goto L_46028258; /* 0x46028C44: jmp 0x46028258 */ 3397 { RECOMP_REGS_OUT(); return; } /* end of function */ 3398 _ljump: 3399 switch (_itail_tgt) { 3400 case 0x46028258u: goto L_46028258; 3401 case 0x46028C3Fu: goto L_46028C3F; 3402 case 0x46028C44u: goto L_46028C44; 3403 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3404 } 3405 RECOMP_REGS_OUT(); 3406 } 3407 3408 void sub_46028C49(void) { 3409 int _fpu_cmp = 0; 3410 uint32_t _cf = 0; 3411 int _df = 1; 3412 uint32_t _flag_k = FK_NONE; 3413 uint32_t _flag_a = 0, _flag_b = 0; 3414 uint32_t _itail_tgt = 0; 3415 RECOMP_REGS_LOCALS 3416 RECOMP_ENTER(0x46028C49u); 3417 3418 goto L_46028C49; 3419 L_46002886: 3420 PUSH32(esp, esi); /* 0x46002886: push esi */ 3421 esi = ecx; /* 0x46002887: mov esi, ecx */ 3422 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3423 RECOMP_FLAGS_IN(); 3424 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3425 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3426 _cf = 0; 3427 _flag_k = FK_NARROW(FK_TEST, 24); 3428 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3429 L_46002892: 3430 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3431 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3432 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3433 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3434 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3435 _cf = 0; 3436 _flag_k = FK_NARROW(FK_TEST, 24); 3437 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3438 L_460028A5: 3439 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3440 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3441 L_4601C3FE: 3442 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3443 RECOMP_FLAGS_IN(); 3444 RECOMP_BACKEDGE(); 3445 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3446 L_46028C49: 3447 ecx = ebp + (-0x2C); /* 0x46028C49: lea ecx, [ebp - 0x2c] */ 3448 RECOMP_BACKEDGE(); 3449 goto L_46002886; /* 0x46028C4C: jmp 0x46002886 */ 3450 { RECOMP_REGS_OUT(); return; } /* end of function */ 3451 RECOMP_REGS_OUT(); 3452 } 3453 3454 void sub_46028C51(void) { 3455 int _fpu_cmp = 0; 3456 uint32_t _cf = 0; 3457 int _df = 1; 3458 uint32_t _flag_k = FK_NONE; 3459 uint32_t _flag_a = 0, _flag_b = 0; 3460 uint32_t _itail_tgt = 0; 3461 RECOMP_REGS_LOCALS 3462 RECOMP_ENTER(0x46028C51u); 3463 3464 goto L_46028C51; 3465 L_46001C9F: 3466 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3467 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3468 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3469 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3470 RECOMP_FLAGS_IN(); 3471 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3472 L_46001CAE: 3473 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3474 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3476 _cf = 0; 3477 _flag_k = FK_TEST; 3478 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3479 L_46001CB4: 3480 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3481 RECOMP_FLAGS_IN(); 3482 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3483 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3484 _cf = 0; 3485 _flag_k = FK_TEST; 3486 RECOMP_BACKEDGE(); 3487 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3488 L_46001CBD: 3489 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3490 L_46028C51: 3491 ecx = ebp + (-0x1C); /* 0x46028C51: lea ecx, [ebp - 0x1c] */ 3492 RECOMP_BACKEDGE(); 3493 goto L_46001CAE; /* 0x46028C54: jmp 0x46001cae */ 3494 { RECOMP_REGS_OUT(); return; } /* end of function */ 3495 RECOMP_REGS_OUT(); 3496 } 3497 3498 void sub_46028C59(void) { 3499 int _fpu_cmp = 0; 3500 uint32_t _cf = 0; 3501 int _df = 1; 3502 uint32_t _flag_k = FK_NONE; 3503 uint32_t _flag_a = 0, _flag_b = 0; 3504 uint32_t _itail_tgt = 0; 3505 RECOMP_REGS_LOCALS 3506 RECOMP_ENTER(0x46028C59u); 3507 3508 goto L_46028C59; 3509 L_46028258: 3510 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3511 L_46028C59: 3512 eax = 0x4602F0E0u; /* 0x46028C59: mov eax, 0x4602f0e0 */ 3513 L_46028C5E: 3514 RECOMP_BACKEDGE(); 3515 goto L_46028258; /* 0x46028C5E: jmp 0x46028258 */ 3516 { RECOMP_REGS_OUT(); return; } /* end of function */ 3517 _ljump: 3518 switch (_itail_tgt) { 3519 case 0x46028258u: goto L_46028258; 3520 case 0x46028C59u: goto L_46028C59; 3521 case 0x46028C5Eu: goto L_46028C5E; 3522 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3523 } 3524 RECOMP_REGS_OUT(); 3525 } 3526 3527 void sub_46028C63(void) { 3528 int _fpu_cmp = 0; 3529 uint32_t _cf = 0; 3530 int _df = 1; 3531 uint32_t _flag_k = FK_NONE; 3532 uint32_t _flag_a = 0, _flag_b = 0; 3533 uint32_t _itail_tgt = 0; 3534 RECOMP_REGS_LOCALS 3535 RECOMP_ENTER(0x46028C63u); 3536 3537 goto L_46028C63; 3538 L_46002886: 3539 PUSH32(esp, esi); /* 0x46002886: push esi */ 3540 esi = ecx; /* 0x46002887: mov esi, ecx */ 3541 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3542 RECOMP_FLAGS_IN(); 3543 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3545 _cf = 0; 3546 _flag_k = FK_NARROW(FK_TEST, 24); 3547 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3548 L_46002892: 3549 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3550 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3551 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3552 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3553 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3554 _cf = 0; 3555 _flag_k = FK_NARROW(FK_TEST, 24); 3556 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3557 L_460028A5: 3558 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3559 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3560 L_4601C3FE: 3561 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3562 RECOMP_FLAGS_IN(); 3563 RECOMP_BACKEDGE(); 3564 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3565 L_46028C63: 3566 ecx = ebp + (-0x28); /* 0x46028C63: lea ecx, [ebp - 0x28] */ 3567 RECOMP_BACKEDGE(); 3568 goto L_46002886; /* 0x46028C66: jmp 0x46002886 */ 3569 { RECOMP_REGS_OUT(); return; } /* end of function */ 3570 RECOMP_REGS_OUT(); 3571 } 3572 3573 void sub_46028C6B(void) { 3574 int _fpu_cmp = 0; 3575 uint32_t _cf = 0; 3576 int _df = 1; 3577 uint32_t _flag_k = FK_NONE; 3578 uint32_t _flag_a = 0, _flag_b = 0; 3579 uint32_t _itail_tgt = 0; 3580 RECOMP_REGS_LOCALS 3581 RECOMP_ENTER(0x46028C6Bu); 3582 3583 goto L_46028C6B; 3584 L_46001C9F: 3585 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3586 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3587 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3588 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3589 RECOMP_FLAGS_IN(); 3590 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3591 L_46001CAE: 3592 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3593 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3595 _cf = 0; 3596 _flag_k = FK_TEST; 3597 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3598 L_46001CB4: 3599 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3600 RECOMP_FLAGS_IN(); 3601 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3603 _cf = 0; 3604 _flag_k = FK_TEST; 3605 RECOMP_BACKEDGE(); 3606 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3607 L_46001CBD: 3608 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3609 L_46028C6B: 3610 ecx = ebp + (-0x1C); /* 0x46028C6B: lea ecx, [ebp - 0x1c] */ 3611 RECOMP_BACKEDGE(); 3612 goto L_46001CAE; /* 0x46028C6E: jmp 0x46001cae */ 3613 { RECOMP_REGS_OUT(); return; } /* end of function */ 3614 RECOMP_REGS_OUT(); 3615 } 3616 3617 void sub_46028C73(void) { 3618 int _fpu_cmp = 0; 3619 uint32_t _cf = 0; 3620 int _df = 1; 3621 uint32_t _flag_k = FK_NONE; 3622 uint32_t _flag_a = 0, _flag_b = 0; 3623 uint32_t _itail_tgt = 0; 3624 RECOMP_REGS_LOCALS 3625 RECOMP_ENTER(0x46028C73u); 3626 3627 goto L_46028C73; 3628 L_46028258: 3629 { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; } 3630 L_46028C73: 3631 eax = 0x4602F148u; /* 0x46028C73: mov eax, 0x4602f148 */ 3632 L_46028C78: 3633 RECOMP_BACKEDGE(); 3634 goto L_46028258; /* 0x46028C78: jmp 0x46028258 */ 3635 { RECOMP_REGS_OUT(); return; } /* end of function */ 3636 _ljump: 3637 switch (_itail_tgt) { 3638 case 0x46028258u: goto L_46028258; 3639 case 0x46028C73u: goto L_46028C73; 3640 case 0x46028C78u: goto L_46028C78; 3641 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3642 } 3643 RECOMP_REGS_OUT(); 3644 } 3645 3646 void sub_46028C7D(void) { 3647 int _fpu_cmp = 0; 3648 uint32_t _cf = 0; 3649 int _df = 1; 3650 uint32_t _flag_k = FK_NONE; 3651 uint32_t _flag_a = 0, _flag_b = 0; 3652 uint32_t _itail_tgt = 0; 3653 RECOMP_REGS_LOCALS 3654 RECOMP_ENTER(0x46028C7Du); 3655 3656 goto L_46028C7D; 3657 L_46002886: 3658 PUSH32(esp, esi); /* 0x46002886: push esi */ 3659 esi = ecx; /* 0x46002887: mov esi, ecx */ 3660 RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */ 3661 RECOMP_FLAGS_IN(); 3662 /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */ 3663 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3664 _cf = 0; 3665 _flag_k = FK_NARROW(FK_TEST, 24); 3666 if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */ 3667 L_46002892: 3668 ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */ 3669 eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */ 3670 eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */ 3671 /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */ 3672 _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 3673 _cf = 0; 3674 _flag_k = FK_NARROW(FK_TEST, 24); 3675 if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */ 3676 L_460028A5: 3677 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 3678 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 3679 L_4601C3FE: 3680 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 3681 RECOMP_FLAGS_IN(); 3682 RECOMP_BACKEDGE(); 3683 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 3684 L_46028C7D: 3685 ecx = ebp + (-0x28); /* 0x46028C7D: lea ecx, [ebp - 0x28] */ 3686 RECOMP_BACKEDGE(); 3687 goto L_46002886; /* 0x46028C80: jmp 0x46002886 */ 3688 { RECOMP_REGS_OUT(); return; } /* end of function */ 3689 RECOMP_REGS_OUT(); 3690 } 3691 3692 void sub_46028C85(void) { 3693 int _fpu_cmp = 0; 3694 uint32_t _cf = 0; 3695 int _df = 1; 3696 uint32_t _flag_k = FK_NONE; 3697 uint32_t _flag_a = 0, _flag_b = 0; 3698 uint32_t _itail_tgt = 0; 3699 RECOMP_REGS_LOCALS 3700 RECOMP_ENTER(0x46028C85u); 3701 3702 goto L_46028C85; 3703 L_46001C9F: 3704 edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */ 3705 PUSH32(esp, 1); /* 0x46001CA1: push 1 */ 3706 ecx = eax; /* 0x46001CA3: mov ecx, eax */ 3707 RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */ 3708 RECOMP_FLAGS_IN(); 3709 goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */ 3710 L_46001CAE: 3711 ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */ 3712 /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */ 3713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3714 _cf = 0; 3715 _flag_k = FK_TEST; 3716 if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */ 3717 L_46001CB4: 3718 RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */ 3719 RECOMP_FLAGS_IN(); 3720 /* test eax, eax */ /* 0x46001CB9: test eax, eax */ 3721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3722 _cf = 0; 3723 _flag_k = FK_TEST; 3724 RECOMP_BACKEDGE(); 3725 if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */ 3726 L_46001CBD: 3727 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret */ 3728 L_46028C85: 3729 ecx = ebp + (-0x1C); /* 0x46028C85: lea ecx, [ebp - 0x1c] */ 3730 RECOMP_BACKEDGE(); 3731 goto L_46001CAE; /* 0x46028C88: jmp 0x46001cae */ 3732 { RECOMP_REGS_OUT(); return; } /* end of function */ 3733 RECOMP_REGS_OUT(); 3734 }