client/game/kkr.dll/lifted-0144.c (121200B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 #include <math.h> 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <string.h> 7 8 void sub_3616C6B0(void) { 9 int _fpu_cmp = 0; 10 uint32_t _cf = 0; 11 int _df = 1; 12 uint32_t _flag_k = FK_NONE; 13 uint32_t _flag_a = 0, _flag_b = 0; 14 uint32_t _itail_tgt = 0; 15 RECOMP_REGS_LOCALS 16 RECOMP_ENTER(0x3616C6B0u); 17 18 L_3616C6B0: 19 eax = MEM32(ebp + (-0x10)); /* 0x3616C6B0: mov eax, dword ptr [ebp - 0x10] */ 20 PUSH32(esp, eax); /* 0x3616C6B3: push eax */ 21 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C6B4: call 0x3615fcc4 */ /* not lifted */ 22 RECOMP_FLAGS_IN(); 23 ecx = POP32_VAL(esp); /* 0x3616C6B9: pop ecx */ 24 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C6BA: ret */ 25 RECOMP_REGS_OUT(); 26 } 27 28 void sub_3616C6BB(void) { 29 int _fpu_cmp = 0; 30 uint32_t _cf = 0; 31 int _df = 1; 32 uint32_t _flag_k = FK_NONE; 33 uint32_t _flag_a = 0, _flag_b = 0; 34 uint32_t _itail_tgt = 0; 35 RECOMP_REGS_LOCALS 36 RECOMP_ENTER(0x3616C6BBu); 37 38 goto L_3616C6BB; 39 L_3615FD76: 40 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 41 L_3616C6BB: 42 eax = 0x36192C68u; /* 0x3616C6BB: mov eax, 0x36192c68 */ 43 L_3616C6C0: 44 RECOMP_BACKEDGE(); 45 goto L_3615FD76; /* 0x3616C6C0: jmp 0x3615fd76 */ 46 { RECOMP_REGS_OUT(); return; } /* end of function */ 47 _ljump: 48 switch (_itail_tgt) { 49 case 0x3615FD76u: goto L_3615FD76; 50 case 0x3616C6BBu: goto L_3616C6BB; 51 case 0x3616C6C0u: goto L_3616C6C0; 52 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 53 } 54 RECOMP_REGS_OUT(); 55 } 56 57 void sub_3616C6D0(void) { 58 int _fpu_cmp = 0; 59 uint32_t _cf = 0; 60 int _df = 1; 61 uint32_t _flag_k = FK_NONE; 62 uint32_t _flag_a = 0, _flag_b = 0; 63 uint32_t _itail_tgt = 0; 64 RECOMP_REGS_LOCALS 65 RECOMP_ENTER(0x3616C6D0u); 66 67 L_3616C6D0: 68 eax = MEM32(ebp + (-0x10)); /* 0x3616C6D0: mov eax, dword ptr [ebp - 0x10] */ 69 PUSH32(esp, eax); /* 0x3616C6D3: push eax */ 70 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C6D4: call 0x3615fcc4 */ /* not lifted */ 71 RECOMP_FLAGS_IN(); 72 ecx = POP32_VAL(esp); /* 0x3616C6D9: pop ecx */ 73 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C6DA: ret */ 74 RECOMP_REGS_OUT(); 75 } 76 77 void sub_3616C6DB(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(0x3616C6DBu); 86 87 goto L_3616C6DB; 88 L_3615FD76: 89 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 90 L_3616C6DB: 91 eax = 0x36192C90u; /* 0x3616C6DB: mov eax, 0x36192c90 */ 92 L_3616C6E0: 93 RECOMP_BACKEDGE(); 94 goto L_3615FD76; /* 0x3616C6E0: jmp 0x3615fd76 */ 95 { RECOMP_REGS_OUT(); return; } /* end of function */ 96 _ljump: 97 switch (_itail_tgt) { 98 case 0x3615FD76u: goto L_3615FD76; 99 case 0x3616C6DBu: goto L_3616C6DB; 100 case 0x3616C6E0u: goto L_3616C6E0; 101 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 102 } 103 RECOMP_REGS_OUT(); 104 } 105 106 void sub_3616C6F0(void) { 107 int _fpu_cmp = 0; 108 uint32_t _cf = 0; 109 int _df = 1; 110 uint32_t _flag_k = FK_NONE; 111 uint32_t _flag_a = 0, _flag_b = 0; 112 uint32_t _itail_tgt = 0; 113 RECOMP_REGS_LOCALS 114 RECOMP_ENTER(0x3616C6F0u); 115 116 L_3616C6F0: 117 eax = MEM32(ebp + (-0x10)); /* 0x3616C6F0: mov eax, dword ptr [ebp - 0x10] */ 118 PUSH32(esp, eax); /* 0x3616C6F3: push eax */ 119 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C6F4: call 0x3615fcc4 */ /* not lifted */ 120 RECOMP_FLAGS_IN(); 121 ecx = POP32_VAL(esp); /* 0x3616C6F9: pop ecx */ 122 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C6FA: ret */ 123 RECOMP_REGS_OUT(); 124 } 125 126 void sub_3616C6FB(void) { 127 int _fpu_cmp = 0; 128 uint32_t _cf = 0; 129 int _df = 1; 130 uint32_t _flag_k = FK_NONE; 131 uint32_t _flag_a = 0, _flag_b = 0; 132 uint32_t _itail_tgt = 0; 133 RECOMP_REGS_LOCALS 134 RECOMP_ENTER(0x3616C6FBu); 135 136 goto L_3616C6FB; 137 L_3615FD76: 138 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 139 L_3616C6FB: 140 eax = 0x36192CB8u; /* 0x3616C6FB: mov eax, 0x36192cb8 */ 141 L_3616C700: 142 RECOMP_BACKEDGE(); 143 goto L_3615FD76; /* 0x3616C700: jmp 0x3615fd76 */ 144 { RECOMP_REGS_OUT(); return; } /* end of function */ 145 _ljump: 146 switch (_itail_tgt) { 147 case 0x3615FD76u: goto L_3615FD76; 148 case 0x3616C6FBu: goto L_3616C6FB; 149 case 0x3616C700u: goto L_3616C700; 150 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 151 } 152 RECOMP_REGS_OUT(); 153 } 154 155 void sub_3616C710(void) { 156 int _fpu_cmp = 0; 157 uint32_t _cf = 0; 158 int _df = 1; 159 uint32_t _flag_k = FK_NONE; 160 uint32_t _flag_a = 0, _flag_b = 0; 161 uint32_t _itail_tgt = 0; 162 RECOMP_REGS_LOCALS 163 RECOMP_ENTER(0x3616C710u); 164 165 L_3616C710: 166 eax = MEM32(ebp + (-0x10)); /* 0x3616C710: mov eax, dword ptr [ebp - 0x10] */ 167 PUSH32(esp, eax); /* 0x3616C713: push eax */ 168 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C714: call 0x3615fcc4 */ /* not lifted */ 169 RECOMP_FLAGS_IN(); 170 ecx = POP32_VAL(esp); /* 0x3616C719: pop ecx */ 171 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C71A: ret */ 172 RECOMP_REGS_OUT(); 173 } 174 175 void sub_3616C71B(void) { 176 int _fpu_cmp = 0; 177 uint32_t _cf = 0; 178 int _df = 1; 179 uint32_t _flag_k = FK_NONE; 180 uint32_t _flag_a = 0, _flag_b = 0; 181 uint32_t _itail_tgt = 0; 182 RECOMP_REGS_LOCALS 183 RECOMP_ENTER(0x3616C71Bu); 184 185 goto L_3616C71B; 186 L_3615FD76: 187 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 188 L_3616C71B: 189 eax = 0x36192CE0u; /* 0x3616C71B: mov eax, 0x36192ce0 */ 190 L_3616C720: 191 RECOMP_BACKEDGE(); 192 goto L_3615FD76; /* 0x3616C720: jmp 0x3615fd76 */ 193 { RECOMP_REGS_OUT(); return; } /* end of function */ 194 _ljump: 195 switch (_itail_tgt) { 196 case 0x3615FD76u: goto L_3615FD76; 197 case 0x3616C71Bu: goto L_3616C71B; 198 case 0x3616C720u: goto L_3616C720; 199 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 200 } 201 RECOMP_REGS_OUT(); 202 } 203 204 void sub_3616C730(void) { 205 int _fpu_cmp = 0; 206 uint32_t _cf = 0; 207 int _df = 1; 208 uint32_t _flag_k = FK_NONE; 209 uint32_t _flag_a = 0, _flag_b = 0; 210 uint32_t _itail_tgt = 0; 211 RECOMP_REGS_LOCALS 212 RECOMP_ENTER(0x3616C730u); 213 214 L_3616C730: 215 eax = MEM32(ebp + (-0x10)); /* 0x3616C730: mov eax, dword ptr [ebp - 0x10] */ 216 PUSH32(esp, eax); /* 0x3616C733: push eax */ 217 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C734: call 0x3615fcc4 */ /* not lifted */ 218 RECOMP_FLAGS_IN(); 219 ecx = POP32_VAL(esp); /* 0x3616C739: pop ecx */ 220 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C73A: ret */ 221 RECOMP_REGS_OUT(); 222 } 223 224 void sub_3616C73B(void) { 225 int _fpu_cmp = 0; 226 uint32_t _cf = 0; 227 int _df = 1; 228 uint32_t _flag_k = FK_NONE; 229 uint32_t _flag_a = 0, _flag_b = 0; 230 uint32_t _itail_tgt = 0; 231 RECOMP_REGS_LOCALS 232 RECOMP_ENTER(0x3616C73Bu); 233 234 goto L_3616C73B; 235 L_3615FD76: 236 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 237 L_3616C73B: 238 eax = 0x36192D08u; /* 0x3616C73B: mov eax, 0x36192d08 */ 239 L_3616C740: 240 RECOMP_BACKEDGE(); 241 goto L_3615FD76; /* 0x3616C740: jmp 0x3615fd76 */ 242 { RECOMP_REGS_OUT(); return; } /* end of function */ 243 _ljump: 244 switch (_itail_tgt) { 245 case 0x3615FD76u: goto L_3615FD76; 246 case 0x3616C73Bu: goto L_3616C73B; 247 case 0x3616C740u: goto L_3616C740; 248 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 249 } 250 RECOMP_REGS_OUT(); 251 } 252 253 void sub_3616C750(void) { 254 int _fpu_cmp = 0; 255 uint32_t _cf = 0; 256 int _df = 1; 257 uint32_t _flag_k = FK_NONE; 258 uint32_t _flag_a = 0, _flag_b = 0; 259 uint32_t _itail_tgt = 0; 260 RECOMP_REGS_LOCALS 261 RECOMP_ENTER(0x3616C750u); 262 263 L_3616C750: 264 eax = MEM32(ebp + (-0x10)); /* 0x3616C750: mov eax, dword ptr [ebp - 0x10] */ 265 PUSH32(esp, eax); /* 0x3616C753: push eax */ 266 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C754: call 0x3615fcc4 */ /* not lifted */ 267 RECOMP_FLAGS_IN(); 268 ecx = POP32_VAL(esp); /* 0x3616C759: pop ecx */ 269 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C75A: ret */ 270 RECOMP_REGS_OUT(); 271 } 272 273 void sub_3616C75B(void) { 274 int _fpu_cmp = 0; 275 uint32_t _cf = 0; 276 int _df = 1; 277 uint32_t _flag_k = FK_NONE; 278 uint32_t _flag_a = 0, _flag_b = 0; 279 uint32_t _itail_tgt = 0; 280 RECOMP_REGS_LOCALS 281 RECOMP_ENTER(0x3616C75Bu); 282 283 goto L_3616C75B; 284 L_3615FD76: 285 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 286 L_3616C75B: 287 eax = 0x36192D30u; /* 0x3616C75B: mov eax, 0x36192d30 */ 288 L_3616C760: 289 RECOMP_BACKEDGE(); 290 goto L_3615FD76; /* 0x3616C760: jmp 0x3615fd76 */ 291 { RECOMP_REGS_OUT(); return; } /* end of function */ 292 _ljump: 293 switch (_itail_tgt) { 294 case 0x3615FD76u: goto L_3615FD76; 295 case 0x3616C75Bu: goto L_3616C75B; 296 case 0x3616C760u: goto L_3616C760; 297 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 298 } 299 RECOMP_REGS_OUT(); 300 } 301 302 void sub_3616C770(void) { 303 int _fpu_cmp = 0; 304 uint32_t _cf = 0; 305 int _df = 1; 306 uint32_t _flag_k = FK_NONE; 307 uint32_t _flag_a = 0, _flag_b = 0; 308 uint32_t _itail_tgt = 0; 309 RECOMP_REGS_LOCALS 310 RECOMP_ENTER(0x3616C770u); 311 312 L_3616C770: 313 eax = MEM32(ebp + (-0x10)); /* 0x3616C770: mov eax, dword ptr [ebp - 0x10] */ 314 PUSH32(esp, eax); /* 0x3616C773: push eax */ 315 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C774: call 0x3615fcc4 */ /* not lifted */ 316 RECOMP_FLAGS_IN(); 317 ecx = POP32_VAL(esp); /* 0x3616C779: pop ecx */ 318 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C77A: ret */ 319 RECOMP_REGS_OUT(); 320 } 321 322 void sub_3616C77B(void) { 323 int _fpu_cmp = 0; 324 uint32_t _cf = 0; 325 int _df = 1; 326 uint32_t _flag_k = FK_NONE; 327 uint32_t _flag_a = 0, _flag_b = 0; 328 uint32_t _itail_tgt = 0; 329 RECOMP_REGS_LOCALS 330 RECOMP_ENTER(0x3616C77Bu); 331 332 goto L_3616C77B; 333 L_3615FD76: 334 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 335 L_3616C77B: 336 eax = 0x36192D58u; /* 0x3616C77B: mov eax, 0x36192d58 */ 337 L_3616C780: 338 RECOMP_BACKEDGE(); 339 goto L_3615FD76; /* 0x3616C780: jmp 0x3615fd76 */ 340 { RECOMP_REGS_OUT(); return; } /* end of function */ 341 _ljump: 342 switch (_itail_tgt) { 343 case 0x3615FD76u: goto L_3615FD76; 344 case 0x3616C77Bu: goto L_3616C77B; 345 case 0x3616C780u: goto L_3616C780; 346 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 347 } 348 RECOMP_REGS_OUT(); 349 } 350 351 void sub_3616C790(void) { 352 int _fpu_cmp = 0; 353 uint32_t _cf = 0; 354 int _df = 1; 355 uint32_t _flag_k = FK_NONE; 356 uint32_t _flag_a = 0, _flag_b = 0; 357 uint32_t _itail_tgt = 0; 358 RECOMP_REGS_LOCALS 359 RECOMP_ENTER(0x3616C790u); 360 361 L_3616C790: 362 eax = MEM32(ebp + 0x8); /* 0x3616C790: mov eax, dword ptr [ebp + 8] */ 363 PUSH32(esp, eax); /* 0x3616C793: push eax */ 364 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C794: call 0x3615fcc4 */ /* not lifted */ 365 RECOMP_FLAGS_IN(); 366 ecx = POP32_VAL(esp); /* 0x3616C799: pop ecx */ 367 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C79A: ret */ 368 RECOMP_REGS_OUT(); 369 } 370 371 void sub_3616C79B(void) { 372 int _fpu_cmp = 0; 373 uint32_t _cf = 0; 374 int _df = 1; 375 uint32_t _flag_k = FK_NONE; 376 uint32_t _flag_a = 0, _flag_b = 0; 377 uint32_t _itail_tgt = 0; 378 RECOMP_REGS_LOCALS 379 RECOMP_ENTER(0x3616C79Bu); 380 381 goto L_3616C79B; 382 L_3615FD76: 383 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 384 L_3616C79B: 385 eax = 0x36192D80u; /* 0x3616C79B: mov eax, 0x36192d80 */ 386 L_3616C7A0: 387 RECOMP_BACKEDGE(); 388 goto L_3615FD76; /* 0x3616C7A0: jmp 0x3615fd76 */ 389 { RECOMP_REGS_OUT(); return; } /* end of function */ 390 _ljump: 391 switch (_itail_tgt) { 392 case 0x3615FD76u: goto L_3615FD76; 393 case 0x3616C79Bu: goto L_3616C79B; 394 case 0x3616C7A0u: goto L_3616C7A0; 395 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 396 } 397 RECOMP_REGS_OUT(); 398 } 399 400 void sub_3616C7B0(void) { 401 int _fpu_cmp = 0; 402 uint32_t _cf = 0; 403 int _df = 1; 404 uint32_t _flag_k = FK_NONE; 405 uint32_t _flag_a = 0, _flag_b = 0; 406 uint32_t _itail_tgt = 0; 407 RECOMP_REGS_LOCALS 408 RECOMP_ENTER(0x3616C7B0u); 409 410 L_3616C7B0: 411 eax = MEM32(ebp + 0x8); /* 0x3616C7B0: mov eax, dword ptr [ebp + 8] */ 412 PUSH32(esp, eax); /* 0x3616C7B3: push eax */ 413 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C7B4: call 0x3615fcc4 */ /* not lifted */ 414 RECOMP_FLAGS_IN(); 415 ecx = POP32_VAL(esp); /* 0x3616C7B9: pop ecx */ 416 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C7BA: ret */ 417 RECOMP_REGS_OUT(); 418 } 419 420 void sub_3616C7BB(void) { 421 int _fpu_cmp = 0; 422 uint32_t _cf = 0; 423 int _df = 1; 424 uint32_t _flag_k = FK_NONE; 425 uint32_t _flag_a = 0, _flag_b = 0; 426 uint32_t _itail_tgt = 0; 427 RECOMP_REGS_LOCALS 428 RECOMP_ENTER(0x3616C7BBu); 429 430 goto L_3616C7BB; 431 L_3615FD76: 432 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 433 L_3616C7BB: 434 eax = 0x36192DA8u; /* 0x3616C7BB: mov eax, 0x36192da8 */ 435 L_3616C7C0: 436 RECOMP_BACKEDGE(); 437 goto L_3615FD76; /* 0x3616C7C0: jmp 0x3615fd76 */ 438 { RECOMP_REGS_OUT(); return; } /* end of function */ 439 _ljump: 440 switch (_itail_tgt) { 441 case 0x3615FD76u: goto L_3615FD76; 442 case 0x3616C7BBu: goto L_3616C7BB; 443 case 0x3616C7C0u: goto L_3616C7C0; 444 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 445 } 446 RECOMP_REGS_OUT(); 447 } 448 449 void sub_3616C7D0(void) { 450 int _fpu_cmp = 0; 451 uint32_t _cf = 0; 452 int _df = 1; 453 uint32_t _flag_k = FK_NONE; 454 uint32_t _flag_a = 0, _flag_b = 0; 455 uint32_t _itail_tgt = 0; 456 RECOMP_REGS_LOCALS 457 RECOMP_ENTER(0x3616C7D0u); 458 459 L_3616C7D0: 460 eax = MEM32(ebp + 0x8); /* 0x3616C7D0: mov eax, dword ptr [ebp + 8] */ 461 PUSH32(esp, eax); /* 0x3616C7D3: push eax */ 462 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C7D4: call 0x3615fcc4 */ /* not lifted */ 463 RECOMP_FLAGS_IN(); 464 ecx = POP32_VAL(esp); /* 0x3616C7D9: pop ecx */ 465 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C7DA: ret */ 466 RECOMP_REGS_OUT(); 467 } 468 469 void sub_3616C7DB(void) { 470 int _fpu_cmp = 0; 471 uint32_t _cf = 0; 472 int _df = 1; 473 uint32_t _flag_k = FK_NONE; 474 uint32_t _flag_a = 0, _flag_b = 0; 475 uint32_t _itail_tgt = 0; 476 RECOMP_REGS_LOCALS 477 RECOMP_ENTER(0x3616C7DBu); 478 479 goto L_3616C7DB; 480 L_3615FD76: 481 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 482 L_3616C7DB: 483 eax = 0x36192DD0u; /* 0x3616C7DB: mov eax, 0x36192dd0 */ 484 L_3616C7E0: 485 RECOMP_BACKEDGE(); 486 goto L_3615FD76; /* 0x3616C7E0: jmp 0x3615fd76 */ 487 { RECOMP_REGS_OUT(); return; } /* end of function */ 488 _ljump: 489 switch (_itail_tgt) { 490 case 0x3615FD76u: goto L_3615FD76; 491 case 0x3616C7DBu: goto L_3616C7DB; 492 case 0x3616C7E0u: goto L_3616C7E0; 493 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 494 } 495 RECOMP_REGS_OUT(); 496 } 497 498 void sub_3616C7F0(void) { 499 int _fpu_cmp = 0; 500 uint32_t _cf = 0; 501 int _df = 1; 502 uint32_t _flag_k = FK_NONE; 503 uint32_t _flag_a = 0, _flag_b = 0; 504 uint32_t _itail_tgt = 0; 505 RECOMP_REGS_LOCALS 506 RECOMP_ENTER(0x3616C7F0u); 507 508 L_3616C7F0: 509 ecx = MEM32(ebp + (-0x14)); /* 0x3616C7F0: mov ecx, dword ptr [ebp - 0x14] */ 510 L_3616C7F3: 511 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 512 { RECOMP_REGS_OUT(); return; } /* end of function */ 513 _ljump: 514 switch (_itail_tgt) { 515 case 0x3616C7F0u: goto L_3616C7F0; 516 case 0x3616C7F3u: goto L_3616C7F3; 517 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 518 } 519 RECOMP_REGS_OUT(); 520 } 521 522 void sub_3616C7F9(void) { 523 int _fpu_cmp = 0; 524 uint32_t _cf = 0; 525 int _df = 1; 526 uint32_t _flag_k = FK_NONE; 527 uint32_t _flag_a = 0, _flag_b = 0; 528 uint32_t _itail_tgt = 0; 529 RECOMP_REGS_LOCALS 530 RECOMP_ENTER(0x3616C7F9u); 531 532 goto L_3616C7F9; 533 L_36139030: 534 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 535 L_36139036: 536 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 537 L_3613903D: 538 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 539 L_3616C7F9: 540 ecx = MEM32(ebp + (-0x14)); /* 0x3616C7F9: mov ecx, dword ptr [ebp - 0x14] */ 541 L_3616C7FC: 542 RECOMP_BACKEDGE(); 543 goto L_36139030; /* 0x3616C7FC: jmp 0x36139030 */ 544 { RECOMP_REGS_OUT(); return; } /* end of function */ 545 _ljump: 546 switch (_itail_tgt) { 547 case 0x36139030u: goto L_36139030; 548 case 0x36139036u: goto L_36139036; 549 case 0x3613903Du: goto L_3613903D; 550 case 0x3616C7F9u: goto L_3616C7F9; 551 case 0x3616C7FCu: goto L_3616C7FC; 552 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 553 } 554 RECOMP_REGS_OUT(); 555 } 556 557 void sub_3616C801(void) { 558 int _fpu_cmp = 0; 559 uint32_t _cf = 0; 560 int _df = 1; 561 uint32_t _flag_k = FK_NONE; 562 uint32_t _flag_a = 0, _flag_b = 0; 563 uint32_t _itail_tgt = 0; 564 RECOMP_REGS_LOCALS 565 RECOMP_ENTER(0x3616C801u); 566 567 L_3616C801: 568 eax = MEM32(ebp + (-0x10)); /* 0x3616C801: mov eax, dword ptr [ebp - 0x10] */ 569 PUSH32(esp, eax); /* 0x3616C804: push eax */ 570 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C805: call 0x3615fcc4 */ /* not lifted */ 571 RECOMP_FLAGS_IN(); 572 ecx = POP32_VAL(esp); /* 0x3616C80A: pop ecx */ 573 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C80B: ret */ 574 RECOMP_REGS_OUT(); 575 } 576 577 void sub_3616C80C(void) { 578 int _fpu_cmp = 0; 579 uint32_t _cf = 0; 580 int _df = 1; 581 uint32_t _flag_k = FK_NONE; 582 uint32_t _flag_a = 0, _flag_b = 0; 583 uint32_t _itail_tgt = 0; 584 RECOMP_REGS_LOCALS 585 RECOMP_ENTER(0x3616C80Cu); 586 587 goto L_3616C80C; 588 L_36139180: 589 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 590 ebp = esp; /* 0x36139181: mov ebp, esp */ 591 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 592 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 593 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 594 PUSH32(esp, eax); /* 0x36139190: push eax */ 595 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 596 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 597 PUSH32(esp, esi); /* 0x36139199: push esi */ 598 esi = ecx; /* 0x3613919A: mov esi, ecx */ 599 PUSH32(esp, edi); /* 0x3613919C: push edi */ 600 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 601 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 602 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 603 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 604 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 605 RECOMP_FLAGS_IN(); 606 edi = eax; /* 0x361391BA: mov edi, eax */ 607 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 608 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 609 _cf = 0; 610 _flag_k = FK_TEST; 611 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 612 L_361391C0: 613 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 614 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 616 _cf = 0; 617 _flag_k = FK_TEST; 618 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 619 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 620 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 621 L_361391D4: 622 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 623 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 624 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 625 RECOMP_FLAGS_IN(); 626 L_361391DA: 627 PUSH32(esp, edi); /* 0x361391DA: push edi */ 628 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 629 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 630 RECOMP_FLAGS_IN(); 631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 633 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 634 _flag_k = FK_ADD; 635 L_361391EA: 636 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 637 ecx = esi; /* 0x361391EC: mov ecx, esi */ 638 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 639 RECOMP_FLAGS_IN(); 640 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 641 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 643 _cf = 0; 644 _flag_k = FK_TEST; 645 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 646 L_361391FE: 647 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 648 PUSH32(esp, 1); /* 0x36139200: push 1 */ 649 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 650 RECOMP_FLAGS_IN(); 651 L_36139204: 652 ecx = esi; /* 0x36139204: mov ecx, esi */ 653 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 654 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 655 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 656 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 657 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 658 RECOMP_FLAGS_IN(); 659 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 660 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 661 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 662 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 663 esp = ebp; /* 0x36139236: mov esp, ebp */ 664 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 665 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 666 L_3616C80C: 667 ecx = MEM32(ebp + (-0x14)); /* 0x3616C80C: mov ecx, dword ptr [ebp - 0x14] */ 668 RECOMP_BACKEDGE(); 669 goto L_36139180; /* 0x3616C80F: jmp 0x36139180 */ 670 { RECOMP_REGS_OUT(); return; } /* end of function */ 671 RECOMP_REGS_OUT(); 672 } 673 674 void sub_3616C814(void) { 675 int _fpu_cmp = 0; 676 uint32_t _cf = 0; 677 int _df = 1; 678 uint32_t _flag_k = FK_NONE; 679 uint32_t _flag_a = 0, _flag_b = 0; 680 uint32_t _itail_tgt = 0; 681 RECOMP_REGS_LOCALS 682 RECOMP_ENTER(0x3616C814u); 683 684 L_3616C814: 685 eax = MEM32(ebp + (-0x10)); /* 0x3616C814: mov eax, dword ptr [ebp - 0x10] */ 686 PUSH32(esp, eax); /* 0x3616C817: push eax */ 687 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C818: call 0x3615fcc4 */ /* not lifted */ 688 RECOMP_FLAGS_IN(); 689 ecx = POP32_VAL(esp); /* 0x3616C81D: pop ecx */ 690 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C81E: ret */ 691 RECOMP_REGS_OUT(); 692 } 693 694 void sub_3616C81F(void) { 695 int _fpu_cmp = 0; 696 uint32_t _cf = 0; 697 int _df = 1; 698 uint32_t _flag_k = FK_NONE; 699 uint32_t _flag_a = 0, _flag_b = 0; 700 uint32_t _itail_tgt = 0; 701 RECOMP_REGS_LOCALS 702 RECOMP_ENTER(0x3616C81Fu); 703 704 goto L_3616C81F; 705 L_3615FD76: 706 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 707 L_3616C81F: 708 eax = 0x36192DF8u; /* 0x3616C81F: mov eax, 0x36192df8 */ 709 L_3616C824: 710 RECOMP_BACKEDGE(); 711 goto L_3615FD76; /* 0x3616C824: jmp 0x3615fd76 */ 712 { RECOMP_REGS_OUT(); return; } /* end of function */ 713 _ljump: 714 switch (_itail_tgt) { 715 case 0x3615FD76u: goto L_3615FD76; 716 case 0x3616C81Fu: goto L_3616C81F; 717 case 0x3616C824u: goto L_3616C824; 718 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 719 } 720 RECOMP_REGS_OUT(); 721 } 722 723 void sub_3616C830(void) { 724 int _fpu_cmp = 0; 725 uint32_t _cf = 0; 726 int _df = 1; 727 uint32_t _flag_k = FK_NONE; 728 uint32_t _flag_a = 0, _flag_b = 0; 729 uint32_t _itail_tgt = 0; 730 RECOMP_REGS_LOCALS 731 RECOMP_ENTER(0x3616C830u); 732 733 goto L_3616C830; 734 L_36139030: 735 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 736 L_36139036: 737 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 738 L_3613903D: 739 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 740 L_3616C830: 741 ecx = MEM32(ebp + (-0x10)); /* 0x3616C830: mov ecx, dword ptr [ebp - 0x10] */ 742 L_3616C833: 743 RECOMP_BACKEDGE(); 744 goto L_36139030; /* 0x3616C833: jmp 0x36139030 */ 745 { RECOMP_REGS_OUT(); return; } /* end of function */ 746 _ljump: 747 switch (_itail_tgt) { 748 case 0x36139030u: goto L_36139030; 749 case 0x36139036u: goto L_36139036; 750 case 0x3613903Du: goto L_3613903D; 751 case 0x3616C830u: goto L_3616C830; 752 case 0x3616C833u: goto L_3616C833; 753 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 754 } 755 RECOMP_REGS_OUT(); 756 } 757 758 void sub_3616C838(void) { 759 int _fpu_cmp = 0; 760 uint32_t _cf = 0; 761 int _df = 1; 762 uint32_t _flag_k = FK_NONE; 763 uint32_t _flag_a = 0, _flag_b = 0; 764 uint32_t _itail_tgt = 0; 765 RECOMP_REGS_LOCALS 766 RECOMP_ENTER(0x3616C838u); 767 768 goto L_3616C838; 769 L_3615FD76: 770 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 771 L_3616C838: 772 eax = 0x36192E40u; /* 0x3616C838: mov eax, 0x36192e40 */ 773 L_3616C83D: 774 RECOMP_BACKEDGE(); 775 goto L_3615FD76; /* 0x3616C83D: jmp 0x3615fd76 */ 776 { RECOMP_REGS_OUT(); return; } /* end of function */ 777 _ljump: 778 switch (_itail_tgt) { 779 case 0x3615FD76u: goto L_3615FD76; 780 case 0x3616C838u: goto L_3616C838; 781 case 0x3616C83Du: goto L_3616C83D; 782 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 783 } 784 RECOMP_REGS_OUT(); 785 } 786 787 void sub_3616C850(void) { 788 int _fpu_cmp = 0; 789 uint32_t _cf = 0; 790 int _df = 1; 791 uint32_t _flag_k = FK_NONE; 792 uint32_t _flag_a = 0, _flag_b = 0; 793 uint32_t _itail_tgt = 0; 794 RECOMP_REGS_LOCALS 795 RECOMP_ENTER(0x3616C850u); 796 797 goto L_3616C850; 798 L_36139030: 799 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 800 L_36139036: 801 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 802 L_3613903D: 803 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 804 L_3616C850: 805 ecx = MEM32(ebp + (-0x10)); /* 0x3616C850: mov ecx, dword ptr [ebp - 0x10] */ 806 L_3616C853: 807 RECOMP_BACKEDGE(); 808 goto L_36139030; /* 0x3616C853: jmp 0x36139030 */ 809 { RECOMP_REGS_OUT(); return; } /* end of function */ 810 _ljump: 811 switch (_itail_tgt) { 812 case 0x36139030u: goto L_36139030; 813 case 0x36139036u: goto L_36139036; 814 case 0x3613903Du: goto L_3613903D; 815 case 0x3616C850u: goto L_3616C850; 816 case 0x3616C853u: goto L_3616C853; 817 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 818 } 819 RECOMP_REGS_OUT(); 820 } 821 822 void sub_3616C858(void) { 823 int _fpu_cmp = 0; 824 uint32_t _cf = 0; 825 int _df = 1; 826 uint32_t _flag_k = FK_NONE; 827 uint32_t _flag_a = 0, _flag_b = 0; 828 uint32_t _itail_tgt = 0; 829 RECOMP_REGS_LOCALS 830 RECOMP_ENTER(0x3616C858u); 831 832 goto L_3616C858; 833 L_3615FD76: 834 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 835 L_3616C858: 836 eax = 0x36192E68u; /* 0x3616C858: mov eax, 0x36192e68 */ 837 L_3616C85D: 838 RECOMP_BACKEDGE(); 839 goto L_3615FD76; /* 0x3616C85D: jmp 0x3615fd76 */ 840 { RECOMP_REGS_OUT(); return; } /* end of function */ 841 _ljump: 842 switch (_itail_tgt) { 843 case 0x3615FD76u: goto L_3615FD76; 844 case 0x3616C858u: goto L_3616C858; 845 case 0x3616C85Du: goto L_3616C85D; 846 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 847 } 848 RECOMP_REGS_OUT(); 849 } 850 851 void sub_3616C870(void) { 852 int _fpu_cmp = 0; 853 uint32_t _cf = 0; 854 int _df = 1; 855 uint32_t _flag_k = FK_NONE; 856 uint32_t _flag_a = 0, _flag_b = 0; 857 uint32_t _itail_tgt = 0; 858 RECOMP_REGS_LOCALS 859 RECOMP_ENTER(0x3616C870u); 860 861 L_3616C870: 862 ecx = MEM32(ebp + (-0x14)); /* 0x3616C870: mov ecx, dword ptr [ebp - 0x14] */ 863 L_3616C873: 864 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 865 { RECOMP_REGS_OUT(); return; } /* end of function */ 866 _ljump: 867 switch (_itail_tgt) { 868 case 0x3616C870u: goto L_3616C870; 869 case 0x3616C873u: goto L_3616C873; 870 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 871 } 872 RECOMP_REGS_OUT(); 873 } 874 875 void sub_3616C879(void) { 876 int _fpu_cmp = 0; 877 uint32_t _cf = 0; 878 int _df = 1; 879 uint32_t _flag_k = FK_NONE; 880 uint32_t _flag_a = 0, _flag_b = 0; 881 uint32_t _itail_tgt = 0; 882 RECOMP_REGS_LOCALS 883 RECOMP_ENTER(0x3616C879u); 884 885 goto L_3616C879; 886 L_36139030: 887 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 888 L_36139036: 889 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 890 L_3613903D: 891 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 892 L_3616C879: 893 ecx = MEM32(ebp + (-0x14)); /* 0x3616C879: mov ecx, dword ptr [ebp - 0x14] */ 894 L_3616C87C: 895 RECOMP_BACKEDGE(); 896 goto L_36139030; /* 0x3616C87C: jmp 0x36139030 */ 897 { RECOMP_REGS_OUT(); return; } /* end of function */ 898 _ljump: 899 switch (_itail_tgt) { 900 case 0x36139030u: goto L_36139030; 901 case 0x36139036u: goto L_36139036; 902 case 0x3613903Du: goto L_3613903D; 903 case 0x3616C879u: goto L_3616C879; 904 case 0x3616C87Cu: goto L_3616C87C; 905 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 906 } 907 RECOMP_REGS_OUT(); 908 } 909 910 void sub_3616C881(void) { 911 int _fpu_cmp = 0; 912 uint32_t _cf = 0; 913 int _df = 1; 914 uint32_t _flag_k = FK_NONE; 915 uint32_t _flag_a = 0, _flag_b = 0; 916 uint32_t _itail_tgt = 0; 917 RECOMP_REGS_LOCALS 918 RECOMP_ENTER(0x3616C881u); 919 920 L_3616C881: 921 eax = MEM32(ebp + (-0x10)); /* 0x3616C881: mov eax, dword ptr [ebp - 0x10] */ 922 PUSH32(esp, eax); /* 0x3616C884: push eax */ 923 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C885: call 0x3615fcc4 */ /* not lifted */ 924 RECOMP_FLAGS_IN(); 925 ecx = POP32_VAL(esp); /* 0x3616C88A: pop ecx */ 926 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C88B: ret */ 927 RECOMP_REGS_OUT(); 928 } 929 930 void sub_3616C88C(void) { 931 int _fpu_cmp = 0; 932 uint32_t _cf = 0; 933 int _df = 1; 934 uint32_t _flag_k = FK_NONE; 935 uint32_t _flag_a = 0, _flag_b = 0; 936 uint32_t _itail_tgt = 0; 937 RECOMP_REGS_LOCALS 938 RECOMP_ENTER(0x3616C88Cu); 939 940 goto L_3616C88C; 941 L_36139180: 942 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 943 ebp = esp; /* 0x36139181: mov ebp, esp */ 944 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 945 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 946 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 947 PUSH32(esp, eax); /* 0x36139190: push eax */ 948 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 949 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 950 PUSH32(esp, esi); /* 0x36139199: push esi */ 951 esi = ecx; /* 0x3613919A: mov esi, ecx */ 952 PUSH32(esp, edi); /* 0x3613919C: push edi */ 953 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 954 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 955 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 956 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 957 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 958 RECOMP_FLAGS_IN(); 959 edi = eax; /* 0x361391BA: mov edi, eax */ 960 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 961 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 962 _cf = 0; 963 _flag_k = FK_TEST; 964 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 965 L_361391C0: 966 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 967 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 969 _cf = 0; 970 _flag_k = FK_TEST; 971 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 972 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 973 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 974 L_361391D4: 975 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 976 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 977 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 978 RECOMP_FLAGS_IN(); 979 L_361391DA: 980 PUSH32(esp, edi); /* 0x361391DA: push edi */ 981 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 982 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 983 RECOMP_FLAGS_IN(); 984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 986 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 987 _flag_k = FK_ADD; 988 L_361391EA: 989 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 990 ecx = esi; /* 0x361391EC: mov ecx, esi */ 991 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 992 RECOMP_FLAGS_IN(); 993 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 994 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 996 _cf = 0; 997 _flag_k = FK_TEST; 998 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 999 L_361391FE: 1000 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 1001 PUSH32(esp, 1); /* 0x36139200: push 1 */ 1002 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 1003 RECOMP_FLAGS_IN(); 1004 L_36139204: 1005 ecx = esi; /* 0x36139204: mov ecx, esi */ 1006 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 1007 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 1008 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 1009 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 1010 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 1011 RECOMP_FLAGS_IN(); 1012 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 1013 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 1014 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 1015 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 1016 esp = ebp; /* 0x36139236: mov esp, ebp */ 1017 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 1018 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 1019 L_3616C88C: 1020 ecx = MEM32(ebp + (-0x14)); /* 0x3616C88C: mov ecx, dword ptr [ebp - 0x14] */ 1021 RECOMP_BACKEDGE(); 1022 goto L_36139180; /* 0x3616C88F: jmp 0x36139180 */ 1023 { RECOMP_REGS_OUT(); return; } /* end of function */ 1024 RECOMP_REGS_OUT(); 1025 } 1026 1027 void sub_3616C894(void) { 1028 int _fpu_cmp = 0; 1029 uint32_t _cf = 0; 1030 int _df = 1; 1031 uint32_t _flag_k = FK_NONE; 1032 uint32_t _flag_a = 0, _flag_b = 0; 1033 uint32_t _itail_tgt = 0; 1034 RECOMP_REGS_LOCALS 1035 RECOMP_ENTER(0x3616C894u); 1036 1037 L_3616C894: 1038 eax = MEM32(ebp + (-0x10)); /* 0x3616C894: mov eax, dword ptr [ebp - 0x10] */ 1039 PUSH32(esp, eax); /* 0x3616C897: push eax */ 1040 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C898: call 0x3615fcc4 */ /* not lifted */ 1041 RECOMP_FLAGS_IN(); 1042 ecx = POP32_VAL(esp); /* 0x3616C89D: pop ecx */ 1043 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C89E: ret */ 1044 RECOMP_REGS_OUT(); 1045 } 1046 1047 void sub_3616C89F(void) { 1048 int _fpu_cmp = 0; 1049 uint32_t _cf = 0; 1050 int _df = 1; 1051 uint32_t _flag_k = FK_NONE; 1052 uint32_t _flag_a = 0, _flag_b = 0; 1053 uint32_t _itail_tgt = 0; 1054 RECOMP_REGS_LOCALS 1055 RECOMP_ENTER(0x3616C89Fu); 1056 1057 goto L_3616C89F; 1058 L_3615FD76: 1059 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1060 L_3616C89F: 1061 eax = 0x36192E90u; /* 0x3616C89F: mov eax, 0x36192e90 */ 1062 L_3616C8A4: 1063 RECOMP_BACKEDGE(); 1064 goto L_3615FD76; /* 0x3616C8A4: jmp 0x3615fd76 */ 1065 { RECOMP_REGS_OUT(); return; } /* end of function */ 1066 _ljump: 1067 switch (_itail_tgt) { 1068 case 0x3615FD76u: goto L_3615FD76; 1069 case 0x3616C89Fu: goto L_3616C89F; 1070 case 0x3616C8A4u: goto L_3616C8A4; 1071 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1072 } 1073 RECOMP_REGS_OUT(); 1074 } 1075 1076 void sub_3616C8B0(void) { 1077 int _fpu_cmp = 0; 1078 uint32_t _cf = 0; 1079 int _df = 1; 1080 uint32_t _flag_k = FK_NONE; 1081 uint32_t _flag_a = 0, _flag_b = 0; 1082 uint32_t _itail_tgt = 0; 1083 RECOMP_REGS_LOCALS 1084 RECOMP_ENTER(0x3616C8B0u); 1085 1086 goto L_3616C8B0; 1087 L_36139030: 1088 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1089 L_36139036: 1090 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1091 L_3613903D: 1092 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1093 L_3616C8B0: 1094 ecx = MEM32(ebp + (-0x10)); /* 0x3616C8B0: mov ecx, dword ptr [ebp - 0x10] */ 1095 L_3616C8B3: 1096 RECOMP_BACKEDGE(); 1097 goto L_36139030; /* 0x3616C8B3: jmp 0x36139030 */ 1098 { RECOMP_REGS_OUT(); return; } /* end of function */ 1099 _ljump: 1100 switch (_itail_tgt) { 1101 case 0x36139030u: goto L_36139030; 1102 case 0x36139036u: goto L_36139036; 1103 case 0x3613903Du: goto L_3613903D; 1104 case 0x3616C8B0u: goto L_3616C8B0; 1105 case 0x3616C8B3u: goto L_3616C8B3; 1106 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1107 } 1108 RECOMP_REGS_OUT(); 1109 } 1110 1111 void sub_3616C8B8(void) { 1112 int _fpu_cmp = 0; 1113 uint32_t _cf = 0; 1114 int _df = 1; 1115 uint32_t _flag_k = FK_NONE; 1116 uint32_t _flag_a = 0, _flag_b = 0; 1117 uint32_t _itail_tgt = 0; 1118 RECOMP_REGS_LOCALS 1119 RECOMP_ENTER(0x3616C8B8u); 1120 1121 goto L_3616C8B8; 1122 L_3615FD76: 1123 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1124 L_3616C8B8: 1125 eax = 0x36192ED8u; /* 0x3616C8B8: mov eax, 0x36192ed8 */ 1126 L_3616C8BD: 1127 RECOMP_BACKEDGE(); 1128 goto L_3615FD76; /* 0x3616C8BD: jmp 0x3615fd76 */ 1129 { RECOMP_REGS_OUT(); return; } /* end of function */ 1130 _ljump: 1131 switch (_itail_tgt) { 1132 case 0x3615FD76u: goto L_3615FD76; 1133 case 0x3616C8B8u: goto L_3616C8B8; 1134 case 0x3616C8BDu: goto L_3616C8BD; 1135 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1136 } 1137 RECOMP_REGS_OUT(); 1138 } 1139 1140 void sub_3616C8D0(void) { 1141 int _fpu_cmp = 0; 1142 uint32_t _cf = 0; 1143 int _df = 1; 1144 uint32_t _flag_k = FK_NONE; 1145 uint32_t _flag_a = 0, _flag_b = 0; 1146 uint32_t _itail_tgt = 0; 1147 RECOMP_REGS_LOCALS 1148 RECOMP_ENTER(0x3616C8D0u); 1149 1150 L_3616C8D0: 1151 ecx = MEM32(ebp + (-0x14)); /* 0x3616C8D0: mov ecx, dword ptr [ebp - 0x14] */ 1152 L_3616C8D3: 1153 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1154 { RECOMP_REGS_OUT(); return; } /* end of function */ 1155 _ljump: 1156 switch (_itail_tgt) { 1157 case 0x3616C8D0u: goto L_3616C8D0; 1158 case 0x3616C8D3u: goto L_3616C8D3; 1159 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1160 } 1161 RECOMP_REGS_OUT(); 1162 } 1163 1164 void sub_3616C8D9(void) { 1165 int _fpu_cmp = 0; 1166 uint32_t _cf = 0; 1167 int _df = 1; 1168 uint32_t _flag_k = FK_NONE; 1169 uint32_t _flag_a = 0, _flag_b = 0; 1170 uint32_t _itail_tgt = 0; 1171 RECOMP_REGS_LOCALS 1172 RECOMP_ENTER(0x3616C8D9u); 1173 1174 goto L_3616C8D9; 1175 L_36139030: 1176 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1177 L_36139036: 1178 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1179 L_3613903D: 1180 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1181 L_3616C8D9: 1182 ecx = MEM32(ebp + (-0x14)); /* 0x3616C8D9: mov ecx, dword ptr [ebp - 0x14] */ 1183 L_3616C8DC: 1184 RECOMP_BACKEDGE(); 1185 goto L_36139030; /* 0x3616C8DC: jmp 0x36139030 */ 1186 { RECOMP_REGS_OUT(); return; } /* end of function */ 1187 _ljump: 1188 switch (_itail_tgt) { 1189 case 0x36139030u: goto L_36139030; 1190 case 0x36139036u: goto L_36139036; 1191 case 0x3613903Du: goto L_3613903D; 1192 case 0x3616C8D9u: goto L_3616C8D9; 1193 case 0x3616C8DCu: goto L_3616C8DC; 1194 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1195 } 1196 RECOMP_REGS_OUT(); 1197 } 1198 1199 void sub_3616C8E1(void) { 1200 int _fpu_cmp = 0; 1201 uint32_t _cf = 0; 1202 int _df = 1; 1203 uint32_t _flag_k = FK_NONE; 1204 uint32_t _flag_a = 0, _flag_b = 0; 1205 uint32_t _itail_tgt = 0; 1206 RECOMP_REGS_LOCALS 1207 RECOMP_ENTER(0x3616C8E1u); 1208 1209 L_3616C8E1: 1210 eax = MEM32(ebp + (-0x10)); /* 0x3616C8E1: mov eax, dword ptr [ebp - 0x10] */ 1211 PUSH32(esp, eax); /* 0x3616C8E4: push eax */ 1212 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C8E5: call 0x3615fcc4 */ /* not lifted */ 1213 RECOMP_FLAGS_IN(); 1214 ecx = POP32_VAL(esp); /* 0x3616C8EA: pop ecx */ 1215 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C8EB: ret */ 1216 RECOMP_REGS_OUT(); 1217 } 1218 1219 void sub_3616C8EC(void) { 1220 int _fpu_cmp = 0; 1221 uint32_t _cf = 0; 1222 int _df = 1; 1223 uint32_t _flag_k = FK_NONE; 1224 uint32_t _flag_a = 0, _flag_b = 0; 1225 uint32_t _itail_tgt = 0; 1226 RECOMP_REGS_LOCALS 1227 RECOMP_ENTER(0x3616C8ECu); 1228 1229 goto L_3616C8EC; 1230 L_36139180: 1231 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 1232 ebp = esp; /* 0x36139181: mov ebp, esp */ 1233 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 1234 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 1235 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 1236 PUSH32(esp, eax); /* 0x36139190: push eax */ 1237 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 1238 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 1239 PUSH32(esp, esi); /* 0x36139199: push esi */ 1240 esi = ecx; /* 0x3613919A: mov esi, ecx */ 1241 PUSH32(esp, edi); /* 0x3613919C: push edi */ 1242 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 1243 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 1244 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 1245 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 1246 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 1247 RECOMP_FLAGS_IN(); 1248 edi = eax; /* 0x361391BA: mov edi, eax */ 1249 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 1250 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1251 _cf = 0; 1252 _flag_k = FK_TEST; 1253 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 1254 L_361391C0: 1255 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 1256 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 1257 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1258 _cf = 0; 1259 _flag_k = FK_TEST; 1260 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 1261 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 1262 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 1263 L_361391D4: 1264 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 1265 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 1266 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 1267 RECOMP_FLAGS_IN(); 1268 L_361391DA: 1269 PUSH32(esp, edi); /* 0x361391DA: push edi */ 1270 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 1271 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 1272 RECOMP_FLAGS_IN(); 1273 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1274 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1275 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 1276 _flag_k = FK_ADD; 1277 L_361391EA: 1278 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 1279 ecx = esi; /* 0x361391EC: mov ecx, esi */ 1280 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 1281 RECOMP_FLAGS_IN(); 1282 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 1283 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 1284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1285 _cf = 0; 1286 _flag_k = FK_TEST; 1287 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 1288 L_361391FE: 1289 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 1290 PUSH32(esp, 1); /* 0x36139200: push 1 */ 1291 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 1292 RECOMP_FLAGS_IN(); 1293 L_36139204: 1294 ecx = esi; /* 0x36139204: mov ecx, esi */ 1295 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 1296 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 1297 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 1298 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 1299 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 1300 RECOMP_FLAGS_IN(); 1301 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 1302 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 1303 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 1304 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 1305 esp = ebp; /* 0x36139236: mov esp, ebp */ 1306 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 1307 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 1308 L_3616C8EC: 1309 ecx = MEM32(ebp + (-0x14)); /* 0x3616C8EC: mov ecx, dword ptr [ebp - 0x14] */ 1310 RECOMP_BACKEDGE(); 1311 goto L_36139180; /* 0x3616C8EF: jmp 0x36139180 */ 1312 { RECOMP_REGS_OUT(); return; } /* end of function */ 1313 RECOMP_REGS_OUT(); 1314 } 1315 1316 void sub_3616C8F4(void) { 1317 int _fpu_cmp = 0; 1318 uint32_t _cf = 0; 1319 int _df = 1; 1320 uint32_t _flag_k = FK_NONE; 1321 uint32_t _flag_a = 0, _flag_b = 0; 1322 uint32_t _itail_tgt = 0; 1323 RECOMP_REGS_LOCALS 1324 RECOMP_ENTER(0x3616C8F4u); 1325 1326 L_3616C8F4: 1327 eax = MEM32(ebp + (-0x10)); /* 0x3616C8F4: mov eax, dword ptr [ebp - 0x10] */ 1328 PUSH32(esp, eax); /* 0x3616C8F7: push eax */ 1329 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C8F8: call 0x3615fcc4 */ /* not lifted */ 1330 RECOMP_FLAGS_IN(); 1331 ecx = POP32_VAL(esp); /* 0x3616C8FD: pop ecx */ 1332 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C8FE: ret */ 1333 RECOMP_REGS_OUT(); 1334 } 1335 1336 void sub_3616C8FF(void) { 1337 int _fpu_cmp = 0; 1338 uint32_t _cf = 0; 1339 int _df = 1; 1340 uint32_t _flag_k = FK_NONE; 1341 uint32_t _flag_a = 0, _flag_b = 0; 1342 uint32_t _itail_tgt = 0; 1343 RECOMP_REGS_LOCALS 1344 RECOMP_ENTER(0x3616C8FFu); 1345 1346 goto L_3616C8FF; 1347 L_3615FD76: 1348 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1349 L_3616C8FF: 1350 eax = 0x36192F00u; /* 0x3616C8FF: mov eax, 0x36192f00 */ 1351 L_3616C904: 1352 RECOMP_BACKEDGE(); 1353 goto L_3615FD76; /* 0x3616C904: jmp 0x3615fd76 */ 1354 { RECOMP_REGS_OUT(); return; } /* end of function */ 1355 _ljump: 1356 switch (_itail_tgt) { 1357 case 0x3615FD76u: goto L_3615FD76; 1358 case 0x3616C8FFu: goto L_3616C8FF; 1359 case 0x3616C904u: goto L_3616C904; 1360 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1361 } 1362 RECOMP_REGS_OUT(); 1363 } 1364 1365 void sub_3616C910(void) { 1366 int _fpu_cmp = 0; 1367 uint32_t _cf = 0; 1368 int _df = 1; 1369 uint32_t _flag_k = FK_NONE; 1370 uint32_t _flag_a = 0, _flag_b = 0; 1371 uint32_t _itail_tgt = 0; 1372 RECOMP_REGS_LOCALS 1373 RECOMP_ENTER(0x3616C910u); 1374 1375 goto L_3616C910; 1376 L_36139030: 1377 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1378 L_36139036: 1379 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1380 L_3613903D: 1381 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1382 L_3616C910: 1383 ecx = MEM32(ebp + (-0x10)); /* 0x3616C910: mov ecx, dword ptr [ebp - 0x10] */ 1384 L_3616C913: 1385 RECOMP_BACKEDGE(); 1386 goto L_36139030; /* 0x3616C913: jmp 0x36139030 */ 1387 { RECOMP_REGS_OUT(); return; } /* end of function */ 1388 _ljump: 1389 switch (_itail_tgt) { 1390 case 0x36139030u: goto L_36139030; 1391 case 0x36139036u: goto L_36139036; 1392 case 0x3613903Du: goto L_3613903D; 1393 case 0x3616C910u: goto L_3616C910; 1394 case 0x3616C913u: goto L_3616C913; 1395 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1396 } 1397 RECOMP_REGS_OUT(); 1398 } 1399 1400 void sub_3616C918(void) { 1401 int _fpu_cmp = 0; 1402 uint32_t _cf = 0; 1403 int _df = 1; 1404 uint32_t _flag_k = FK_NONE; 1405 uint32_t _flag_a = 0, _flag_b = 0; 1406 uint32_t _itail_tgt = 0; 1407 RECOMP_REGS_LOCALS 1408 RECOMP_ENTER(0x3616C918u); 1409 1410 goto L_3616C918; 1411 L_3615FD76: 1412 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1413 L_3616C918: 1414 eax = 0x36192F48u; /* 0x3616C918: mov eax, 0x36192f48 */ 1415 L_3616C91D: 1416 RECOMP_BACKEDGE(); 1417 goto L_3615FD76; /* 0x3616C91D: jmp 0x3615fd76 */ 1418 { RECOMP_REGS_OUT(); return; } /* end of function */ 1419 _ljump: 1420 switch (_itail_tgt) { 1421 case 0x3615FD76u: goto L_3615FD76; 1422 case 0x3616C918u: goto L_3616C918; 1423 case 0x3616C91Du: goto L_3616C91D; 1424 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1425 } 1426 RECOMP_REGS_OUT(); 1427 } 1428 1429 void sub_3616C930(void) { 1430 int _fpu_cmp = 0; 1431 uint32_t _cf = 0; 1432 int _df = 1; 1433 uint32_t _flag_k = FK_NONE; 1434 uint32_t _flag_a = 0, _flag_b = 0; 1435 uint32_t _itail_tgt = 0; 1436 RECOMP_REGS_LOCALS 1437 RECOMP_ENTER(0x3616C930u); 1438 1439 L_3616C930: 1440 ecx = MEM32(ebp + (-0x14)); /* 0x3616C930: mov ecx, dword ptr [ebp - 0x14] */ 1441 L_3616C933: 1442 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1443 { RECOMP_REGS_OUT(); return; } /* end of function */ 1444 _ljump: 1445 switch (_itail_tgt) { 1446 case 0x3616C930u: goto L_3616C930; 1447 case 0x3616C933u: goto L_3616C933; 1448 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1449 } 1450 RECOMP_REGS_OUT(); 1451 } 1452 1453 void sub_3616C939(void) { 1454 int _fpu_cmp = 0; 1455 uint32_t _cf = 0; 1456 int _df = 1; 1457 uint32_t _flag_k = FK_NONE; 1458 uint32_t _flag_a = 0, _flag_b = 0; 1459 uint32_t _itail_tgt = 0; 1460 RECOMP_REGS_LOCALS 1461 RECOMP_ENTER(0x3616C939u); 1462 1463 goto L_3616C939; 1464 L_36139030: 1465 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1466 L_36139036: 1467 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1468 L_3613903D: 1469 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1470 L_3616C939: 1471 ecx = MEM32(ebp + (-0x14)); /* 0x3616C939: mov ecx, dword ptr [ebp - 0x14] */ 1472 L_3616C93C: 1473 RECOMP_BACKEDGE(); 1474 goto L_36139030; /* 0x3616C93C: jmp 0x36139030 */ 1475 { RECOMP_REGS_OUT(); return; } /* end of function */ 1476 _ljump: 1477 switch (_itail_tgt) { 1478 case 0x36139030u: goto L_36139030; 1479 case 0x36139036u: goto L_36139036; 1480 case 0x3613903Du: goto L_3613903D; 1481 case 0x3616C939u: goto L_3616C939; 1482 case 0x3616C93Cu: goto L_3616C93C; 1483 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1484 } 1485 RECOMP_REGS_OUT(); 1486 } 1487 1488 void sub_3616C941(void) { 1489 int _fpu_cmp = 0; 1490 uint32_t _cf = 0; 1491 int _df = 1; 1492 uint32_t _flag_k = FK_NONE; 1493 uint32_t _flag_a = 0, _flag_b = 0; 1494 uint32_t _itail_tgt = 0; 1495 RECOMP_REGS_LOCALS 1496 RECOMP_ENTER(0x3616C941u); 1497 1498 L_3616C941: 1499 eax = MEM32(ebp + (-0x10)); /* 0x3616C941: mov eax, dword ptr [ebp - 0x10] */ 1500 PUSH32(esp, eax); /* 0x3616C944: push eax */ 1501 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C945: call 0x3615fcc4 */ /* not lifted */ 1502 RECOMP_FLAGS_IN(); 1503 ecx = POP32_VAL(esp); /* 0x3616C94A: pop ecx */ 1504 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C94B: ret */ 1505 RECOMP_REGS_OUT(); 1506 } 1507 1508 void sub_3616C94C(void) { 1509 int _fpu_cmp = 0; 1510 uint32_t _cf = 0; 1511 int _df = 1; 1512 uint32_t _flag_k = FK_NONE; 1513 uint32_t _flag_a = 0, _flag_b = 0; 1514 uint32_t _itail_tgt = 0; 1515 RECOMP_REGS_LOCALS 1516 RECOMP_ENTER(0x3616C94Cu); 1517 1518 goto L_3616C94C; 1519 L_36139180: 1520 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 1521 ebp = esp; /* 0x36139181: mov ebp, esp */ 1522 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 1523 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 1524 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 1525 PUSH32(esp, eax); /* 0x36139190: push eax */ 1526 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 1527 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 1528 PUSH32(esp, esi); /* 0x36139199: push esi */ 1529 esi = ecx; /* 0x3613919A: mov esi, ecx */ 1530 PUSH32(esp, edi); /* 0x3613919C: push edi */ 1531 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 1532 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 1533 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 1534 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 1535 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 1536 RECOMP_FLAGS_IN(); 1537 edi = eax; /* 0x361391BA: mov edi, eax */ 1538 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 1539 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1540 _cf = 0; 1541 _flag_k = FK_TEST; 1542 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 1543 L_361391C0: 1544 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 1545 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 1546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1547 _cf = 0; 1548 _flag_k = FK_TEST; 1549 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 1550 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 1551 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 1552 L_361391D4: 1553 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 1554 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 1555 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 1556 RECOMP_FLAGS_IN(); 1557 L_361391DA: 1558 PUSH32(esp, edi); /* 0x361391DA: push edi */ 1559 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 1560 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 1561 RECOMP_FLAGS_IN(); 1562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1564 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 1565 _flag_k = FK_ADD; 1566 L_361391EA: 1567 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 1568 ecx = esi; /* 0x361391EC: mov ecx, esi */ 1569 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 1570 RECOMP_FLAGS_IN(); 1571 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 1572 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 1573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1574 _cf = 0; 1575 _flag_k = FK_TEST; 1576 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 1577 L_361391FE: 1578 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 1579 PUSH32(esp, 1); /* 0x36139200: push 1 */ 1580 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 1581 RECOMP_FLAGS_IN(); 1582 L_36139204: 1583 ecx = esi; /* 0x36139204: mov ecx, esi */ 1584 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 1585 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 1586 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 1587 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 1588 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 1589 RECOMP_FLAGS_IN(); 1590 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 1591 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 1592 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 1593 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 1594 esp = ebp; /* 0x36139236: mov esp, ebp */ 1595 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 1596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 1597 L_3616C94C: 1598 ecx = MEM32(ebp + (-0x14)); /* 0x3616C94C: mov ecx, dword ptr [ebp - 0x14] */ 1599 RECOMP_BACKEDGE(); 1600 goto L_36139180; /* 0x3616C94F: jmp 0x36139180 */ 1601 { RECOMP_REGS_OUT(); return; } /* end of function */ 1602 RECOMP_REGS_OUT(); 1603 } 1604 1605 void sub_3616C954(void) { 1606 int _fpu_cmp = 0; 1607 uint32_t _cf = 0; 1608 int _df = 1; 1609 uint32_t _flag_k = FK_NONE; 1610 uint32_t _flag_a = 0, _flag_b = 0; 1611 uint32_t _itail_tgt = 0; 1612 RECOMP_REGS_LOCALS 1613 RECOMP_ENTER(0x3616C954u); 1614 1615 L_3616C954: 1616 eax = MEM32(ebp + (-0x10)); /* 0x3616C954: mov eax, dword ptr [ebp - 0x10] */ 1617 PUSH32(esp, eax); /* 0x3616C957: push eax */ 1618 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C958: call 0x3615fcc4 */ /* not lifted */ 1619 RECOMP_FLAGS_IN(); 1620 ecx = POP32_VAL(esp); /* 0x3616C95D: pop ecx */ 1621 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C95E: ret */ 1622 RECOMP_REGS_OUT(); 1623 } 1624 1625 void sub_3616C95F(void) { 1626 int _fpu_cmp = 0; 1627 uint32_t _cf = 0; 1628 int _df = 1; 1629 uint32_t _flag_k = FK_NONE; 1630 uint32_t _flag_a = 0, _flag_b = 0; 1631 uint32_t _itail_tgt = 0; 1632 RECOMP_REGS_LOCALS 1633 RECOMP_ENTER(0x3616C95Fu); 1634 1635 goto L_3616C95F; 1636 L_3615FD76: 1637 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1638 L_3616C95F: 1639 eax = 0x36192F70u; /* 0x3616C95F: mov eax, 0x36192f70 */ 1640 L_3616C964: 1641 RECOMP_BACKEDGE(); 1642 goto L_3615FD76; /* 0x3616C964: jmp 0x3615fd76 */ 1643 { RECOMP_REGS_OUT(); return; } /* end of function */ 1644 _ljump: 1645 switch (_itail_tgt) { 1646 case 0x3615FD76u: goto L_3615FD76; 1647 case 0x3616C95Fu: goto L_3616C95F; 1648 case 0x3616C964u: goto L_3616C964; 1649 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1650 } 1651 RECOMP_REGS_OUT(); 1652 } 1653 1654 void sub_3616C970(void) { 1655 int _fpu_cmp = 0; 1656 uint32_t _cf = 0; 1657 int _df = 1; 1658 uint32_t _flag_k = FK_NONE; 1659 uint32_t _flag_a = 0, _flag_b = 0; 1660 uint32_t _itail_tgt = 0; 1661 RECOMP_REGS_LOCALS 1662 RECOMP_ENTER(0x3616C970u); 1663 1664 goto L_3616C970; 1665 L_36139030: 1666 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1667 L_36139036: 1668 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1669 L_3613903D: 1670 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1671 L_3616C970: 1672 ecx = MEM32(ebp + (-0x10)); /* 0x3616C970: mov ecx, dword ptr [ebp - 0x10] */ 1673 L_3616C973: 1674 RECOMP_BACKEDGE(); 1675 goto L_36139030; /* 0x3616C973: jmp 0x36139030 */ 1676 { RECOMP_REGS_OUT(); return; } /* end of function */ 1677 _ljump: 1678 switch (_itail_tgt) { 1679 case 0x36139030u: goto L_36139030; 1680 case 0x36139036u: goto L_36139036; 1681 case 0x3613903Du: goto L_3613903D; 1682 case 0x3616C970u: goto L_3616C970; 1683 case 0x3616C973u: goto L_3616C973; 1684 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1685 } 1686 RECOMP_REGS_OUT(); 1687 } 1688 1689 void sub_3616C978(void) { 1690 int _fpu_cmp = 0; 1691 uint32_t _cf = 0; 1692 int _df = 1; 1693 uint32_t _flag_k = FK_NONE; 1694 uint32_t _flag_a = 0, _flag_b = 0; 1695 uint32_t _itail_tgt = 0; 1696 RECOMP_REGS_LOCALS 1697 RECOMP_ENTER(0x3616C978u); 1698 1699 goto L_3616C978; 1700 L_3615FD76: 1701 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1702 L_3616C978: 1703 eax = 0x36192FB8u; /* 0x3616C978: mov eax, 0x36192fb8 */ 1704 L_3616C97D: 1705 RECOMP_BACKEDGE(); 1706 goto L_3615FD76; /* 0x3616C97D: jmp 0x3615fd76 */ 1707 { RECOMP_REGS_OUT(); return; } /* end of function */ 1708 _ljump: 1709 switch (_itail_tgt) { 1710 case 0x3615FD76u: goto L_3615FD76; 1711 case 0x3616C978u: goto L_3616C978; 1712 case 0x3616C97Du: goto L_3616C97D; 1713 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1714 } 1715 RECOMP_REGS_OUT(); 1716 } 1717 1718 void sub_3616C990(void) { 1719 int _fpu_cmp = 0; 1720 uint32_t _cf = 0; 1721 int _df = 1; 1722 uint32_t _flag_k = FK_NONE; 1723 uint32_t _flag_a = 0, _flag_b = 0; 1724 uint32_t _itail_tgt = 0; 1725 RECOMP_REGS_LOCALS 1726 RECOMP_ENTER(0x3616C990u); 1727 1728 L_3616C990: 1729 ecx = MEM32(ebp + (-0x14)); /* 0x3616C990: mov ecx, dword ptr [ebp - 0x14] */ 1730 L_3616C993: 1731 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1732 { RECOMP_REGS_OUT(); return; } /* end of function */ 1733 _ljump: 1734 switch (_itail_tgt) { 1735 case 0x3616C990u: goto L_3616C990; 1736 case 0x3616C993u: goto L_3616C993; 1737 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1738 } 1739 RECOMP_REGS_OUT(); 1740 } 1741 1742 void sub_3616C999(void) { 1743 int _fpu_cmp = 0; 1744 uint32_t _cf = 0; 1745 int _df = 1; 1746 uint32_t _flag_k = FK_NONE; 1747 uint32_t _flag_a = 0, _flag_b = 0; 1748 uint32_t _itail_tgt = 0; 1749 RECOMP_REGS_LOCALS 1750 RECOMP_ENTER(0x3616C999u); 1751 1752 goto L_3616C999; 1753 L_36139030: 1754 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1755 L_36139036: 1756 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1757 L_3613903D: 1758 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1759 L_3616C999: 1760 ecx = MEM32(ebp + (-0x14)); /* 0x3616C999: mov ecx, dword ptr [ebp - 0x14] */ 1761 L_3616C99C: 1762 RECOMP_BACKEDGE(); 1763 goto L_36139030; /* 0x3616C99C: jmp 0x36139030 */ 1764 { RECOMP_REGS_OUT(); return; } /* end of function */ 1765 _ljump: 1766 switch (_itail_tgt) { 1767 case 0x36139030u: goto L_36139030; 1768 case 0x36139036u: goto L_36139036; 1769 case 0x3613903Du: goto L_3613903D; 1770 case 0x3616C999u: goto L_3616C999; 1771 case 0x3616C99Cu: goto L_3616C99C; 1772 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1773 } 1774 RECOMP_REGS_OUT(); 1775 } 1776 1777 void sub_3616C9A1(void) { 1778 int _fpu_cmp = 0; 1779 uint32_t _cf = 0; 1780 int _df = 1; 1781 uint32_t _flag_k = FK_NONE; 1782 uint32_t _flag_a = 0, _flag_b = 0; 1783 uint32_t _itail_tgt = 0; 1784 RECOMP_REGS_LOCALS 1785 RECOMP_ENTER(0x3616C9A1u); 1786 1787 L_3616C9A1: 1788 eax = MEM32(ebp + (-0x10)); /* 0x3616C9A1: mov eax, dword ptr [ebp - 0x10] */ 1789 PUSH32(esp, eax); /* 0x3616C9A4: push eax */ 1790 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C9A5: call 0x3615fcc4 */ /* not lifted */ 1791 RECOMP_FLAGS_IN(); 1792 ecx = POP32_VAL(esp); /* 0x3616C9AA: pop ecx */ 1793 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C9AB: ret */ 1794 RECOMP_REGS_OUT(); 1795 } 1796 1797 void sub_3616C9AC(void) { 1798 int _fpu_cmp = 0; 1799 uint32_t _cf = 0; 1800 int _df = 1; 1801 uint32_t _flag_k = FK_NONE; 1802 uint32_t _flag_a = 0, _flag_b = 0; 1803 uint32_t _itail_tgt = 0; 1804 RECOMP_REGS_LOCALS 1805 RECOMP_ENTER(0x3616C9ACu); 1806 1807 goto L_3616C9AC; 1808 L_36139180: 1809 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 1810 ebp = esp; /* 0x36139181: mov ebp, esp */ 1811 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 1812 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 1813 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 1814 PUSH32(esp, eax); /* 0x36139190: push eax */ 1815 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 1816 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 1817 PUSH32(esp, esi); /* 0x36139199: push esi */ 1818 esi = ecx; /* 0x3613919A: mov esi, ecx */ 1819 PUSH32(esp, edi); /* 0x3613919C: push edi */ 1820 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 1821 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 1822 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 1823 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 1824 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 1825 RECOMP_FLAGS_IN(); 1826 edi = eax; /* 0x361391BA: mov edi, eax */ 1827 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 1828 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1829 _cf = 0; 1830 _flag_k = FK_TEST; 1831 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 1832 L_361391C0: 1833 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 1834 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 1835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1836 _cf = 0; 1837 _flag_k = FK_TEST; 1838 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 1839 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 1840 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 1841 L_361391D4: 1842 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 1843 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 1844 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 1845 RECOMP_FLAGS_IN(); 1846 L_361391DA: 1847 PUSH32(esp, edi); /* 0x361391DA: push edi */ 1848 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 1849 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 1850 RECOMP_FLAGS_IN(); 1851 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1853 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 1854 _flag_k = FK_ADD; 1855 L_361391EA: 1856 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 1857 ecx = esi; /* 0x361391EC: mov ecx, esi */ 1858 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 1859 RECOMP_FLAGS_IN(); 1860 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 1861 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 1862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1863 _cf = 0; 1864 _flag_k = FK_TEST; 1865 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 1866 L_361391FE: 1867 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 1868 PUSH32(esp, 1); /* 0x36139200: push 1 */ 1869 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 1870 RECOMP_FLAGS_IN(); 1871 L_36139204: 1872 ecx = esi; /* 0x36139204: mov ecx, esi */ 1873 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 1874 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 1875 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 1876 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 1877 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 1878 RECOMP_FLAGS_IN(); 1879 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 1880 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 1881 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 1882 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 1883 esp = ebp; /* 0x36139236: mov esp, ebp */ 1884 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 1885 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 1886 L_3616C9AC: 1887 ecx = MEM32(ebp + (-0x14)); /* 0x3616C9AC: mov ecx, dword ptr [ebp - 0x14] */ 1888 RECOMP_BACKEDGE(); 1889 goto L_36139180; /* 0x3616C9AF: jmp 0x36139180 */ 1890 { RECOMP_REGS_OUT(); return; } /* end of function */ 1891 RECOMP_REGS_OUT(); 1892 } 1893 1894 void sub_3616C9B4(void) { 1895 int _fpu_cmp = 0; 1896 uint32_t _cf = 0; 1897 int _df = 1; 1898 uint32_t _flag_k = FK_NONE; 1899 uint32_t _flag_a = 0, _flag_b = 0; 1900 uint32_t _itail_tgt = 0; 1901 RECOMP_REGS_LOCALS 1902 RECOMP_ENTER(0x3616C9B4u); 1903 1904 L_3616C9B4: 1905 eax = MEM32(ebp + (-0x10)); /* 0x3616C9B4: mov eax, dword ptr [ebp - 0x10] */ 1906 PUSH32(esp, eax); /* 0x3616C9B7: push eax */ 1907 RECOMP_ICALL(0x3615FCC4u); /* 0x3616C9B8: call 0x3615fcc4 */ /* not lifted */ 1908 RECOMP_FLAGS_IN(); 1909 ecx = POP32_VAL(esp); /* 0x3616C9BD: pop ecx */ 1910 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616C9BE: ret */ 1911 RECOMP_REGS_OUT(); 1912 } 1913 1914 void sub_3616C9BF(void) { 1915 int _fpu_cmp = 0; 1916 uint32_t _cf = 0; 1917 int _df = 1; 1918 uint32_t _flag_k = FK_NONE; 1919 uint32_t _flag_a = 0, _flag_b = 0; 1920 uint32_t _itail_tgt = 0; 1921 RECOMP_REGS_LOCALS 1922 RECOMP_ENTER(0x3616C9BFu); 1923 1924 goto L_3616C9BF; 1925 L_3615FD76: 1926 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1927 L_3616C9BF: 1928 eax = 0x36192FE0u; /* 0x3616C9BF: mov eax, 0x36192fe0 */ 1929 L_3616C9C4: 1930 RECOMP_BACKEDGE(); 1931 goto L_3615FD76; /* 0x3616C9C4: jmp 0x3615fd76 */ 1932 { RECOMP_REGS_OUT(); return; } /* end of function */ 1933 _ljump: 1934 switch (_itail_tgt) { 1935 case 0x3615FD76u: goto L_3615FD76; 1936 case 0x3616C9BFu: goto L_3616C9BF; 1937 case 0x3616C9C4u: goto L_3616C9C4; 1938 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1939 } 1940 RECOMP_REGS_OUT(); 1941 } 1942 1943 void sub_3616C9D0(void) { 1944 int _fpu_cmp = 0; 1945 uint32_t _cf = 0; 1946 int _df = 1; 1947 uint32_t _flag_k = FK_NONE; 1948 uint32_t _flag_a = 0, _flag_b = 0; 1949 uint32_t _itail_tgt = 0; 1950 RECOMP_REGS_LOCALS 1951 RECOMP_ENTER(0x3616C9D0u); 1952 1953 goto L_3616C9D0; 1954 L_36139030: 1955 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 1956 L_36139036: 1957 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 1958 L_3613903D: 1959 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 1960 L_3616C9D0: 1961 ecx = MEM32(ebp + (-0x10)); /* 0x3616C9D0: mov ecx, dword ptr [ebp - 0x10] */ 1962 L_3616C9D3: 1963 RECOMP_BACKEDGE(); 1964 goto L_36139030; /* 0x3616C9D3: jmp 0x36139030 */ 1965 { RECOMP_REGS_OUT(); return; } /* end of function */ 1966 _ljump: 1967 switch (_itail_tgt) { 1968 case 0x36139030u: goto L_36139030; 1969 case 0x36139036u: goto L_36139036; 1970 case 0x3613903Du: goto L_3613903D; 1971 case 0x3616C9D0u: goto L_3616C9D0; 1972 case 0x3616C9D3u: goto L_3616C9D3; 1973 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1974 } 1975 RECOMP_REGS_OUT(); 1976 } 1977 1978 void sub_3616C9D8(void) { 1979 int _fpu_cmp = 0; 1980 uint32_t _cf = 0; 1981 int _df = 1; 1982 uint32_t _flag_k = FK_NONE; 1983 uint32_t _flag_a = 0, _flag_b = 0; 1984 uint32_t _itail_tgt = 0; 1985 RECOMP_REGS_LOCALS 1986 RECOMP_ENTER(0x3616C9D8u); 1987 1988 goto L_3616C9D8; 1989 L_3615FD76: 1990 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1991 L_3616C9D8: 1992 eax = 0x36193028u; /* 0x3616C9D8: mov eax, 0x36193028 */ 1993 L_3616C9DD: 1994 RECOMP_BACKEDGE(); 1995 goto L_3615FD76; /* 0x3616C9DD: jmp 0x3615fd76 */ 1996 { RECOMP_REGS_OUT(); return; } /* end of function */ 1997 _ljump: 1998 switch (_itail_tgt) { 1999 case 0x3615FD76u: goto L_3615FD76; 2000 case 0x3616C9D8u: goto L_3616C9D8; 2001 case 0x3616C9DDu: goto L_3616C9DD; 2002 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2003 } 2004 RECOMP_REGS_OUT(); 2005 } 2006 2007 void sub_3616C9F0(void) { 2008 int _fpu_cmp = 0; 2009 uint32_t _cf = 0; 2010 int _df = 1; 2011 uint32_t _flag_k = FK_NONE; 2012 uint32_t _flag_a = 0, _flag_b = 0; 2013 uint32_t _itail_tgt = 0; 2014 RECOMP_REGS_LOCALS 2015 RECOMP_ENTER(0x3616C9F0u); 2016 2017 goto L_3616C9F0; 2018 L_36139030: 2019 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 2020 L_36139036: 2021 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 2022 L_3613903D: 2023 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2024 L_3616C9F0: 2025 ecx = MEM32(ebp + (-0x10)); /* 0x3616C9F0: mov ecx, dword ptr [ebp - 0x10] */ 2026 L_3616C9F3: 2027 RECOMP_BACKEDGE(); 2028 goto L_36139030; /* 0x3616C9F3: jmp 0x36139030 */ 2029 { RECOMP_REGS_OUT(); return; } /* end of function */ 2030 _ljump: 2031 switch (_itail_tgt) { 2032 case 0x36139030u: goto L_36139030; 2033 case 0x36139036u: goto L_36139036; 2034 case 0x3613903Du: goto L_3613903D; 2035 case 0x3616C9F0u: goto L_3616C9F0; 2036 case 0x3616C9F3u: goto L_3616C9F3; 2037 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2038 } 2039 RECOMP_REGS_OUT(); 2040 } 2041 2042 void sub_3616C9F8(void) { 2043 int _fpu_cmp = 0; 2044 uint32_t _cf = 0; 2045 int _df = 1; 2046 uint32_t _flag_k = FK_NONE; 2047 uint32_t _flag_a = 0, _flag_b = 0; 2048 uint32_t _itail_tgt = 0; 2049 RECOMP_REGS_LOCALS 2050 RECOMP_ENTER(0x3616C9F8u); 2051 2052 L_3616C9F8: 2053 ecx = MEM32(ebp + (-0x10)); /* 0x3616C9F8: mov ecx, dword ptr [ebp - 0x10] */ 2054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x140u); 2055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2056 ecx = ecx + 0x140u; /* 0x3616C9FB: add ecx, 0x140 */ 2057 _flag_k = FK_ADD; 2058 goto L_3606C6E0; /* 0x3616CA01: jmp 0x3606c6e0 */ 2059 { RECOMP_REGS_OUT(); return; } /* end of function */ 2060 L_3606C6E0: RECOMP_ITAIL(0x3606C6E0u); { RECOMP_REGS_OUT(); return; } 2061 RECOMP_REGS_OUT(); 2062 } 2063 2064 void sub_3616CA06(void) { 2065 int _fpu_cmp = 0; 2066 uint32_t _cf = 0; 2067 int _df = 1; 2068 uint32_t _flag_k = FK_NONE; 2069 uint32_t _flag_a = 0, _flag_b = 0; 2070 uint32_t _itail_tgt = 0; 2071 RECOMP_REGS_LOCALS 2072 RECOMP_ENTER(0x3616CA06u); 2073 2074 L_3616CA06: 2075 ecx = MEM32(ebp + (-0x10)); /* 0x3616CA06: mov ecx, dword ptr [ebp - 0x10] */ 2076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x150u); 2077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2078 ecx = ecx + 0x150u; /* 0x3616CA09: add ecx, 0x150 */ 2079 _flag_k = FK_ADD; 2080 goto L_3606C6E0; /* 0x3616CA0F: jmp 0x3606c6e0 */ 2081 { RECOMP_REGS_OUT(); return; } /* end of function */ 2082 L_3606C6E0: RECOMP_ITAIL(0x3606C6E0u); { RECOMP_REGS_OUT(); return; } 2083 RECOMP_REGS_OUT(); 2084 } 2085 2086 void sub_3616CA14(void) { 2087 int _fpu_cmp = 0; 2088 uint32_t _cf = 0; 2089 int _df = 1; 2090 uint32_t _flag_k = FK_NONE; 2091 uint32_t _flag_a = 0, _flag_b = 0; 2092 uint32_t _itail_tgt = 0; 2093 RECOMP_REGS_LOCALS 2094 RECOMP_ENTER(0x3616CA14u); 2095 2096 goto L_3616CA14; 2097 L_3615FD76: 2098 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2099 L_3616CA14: 2100 eax = 0x36193050u; /* 0x3616CA14: mov eax, 0x36193050 */ 2101 L_3616CA19: 2102 RECOMP_BACKEDGE(); 2103 goto L_3615FD76; /* 0x3616CA19: jmp 0x3615fd76 */ 2104 { RECOMP_REGS_OUT(); return; } /* end of function */ 2105 _ljump: 2106 switch (_itail_tgt) { 2107 case 0x3615FD76u: goto L_3615FD76; 2108 case 0x3616CA14u: goto L_3616CA14; 2109 case 0x3616CA19u: goto L_3616CA19; 2110 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2111 } 2112 RECOMP_REGS_OUT(); 2113 } 2114 2115 void sub_3616CA20(void) { 2116 int _fpu_cmp = 0; 2117 uint32_t _cf = 0; 2118 int _df = 1; 2119 uint32_t _flag_k = FK_NONE; 2120 uint32_t _flag_a = 0, _flag_b = 0; 2121 uint32_t _itail_tgt = 0; 2122 RECOMP_REGS_LOCALS 2123 RECOMP_ENTER(0x3616CA20u); 2124 2125 L_3616CA20: 2126 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA20: mov ecx, dword ptr [ebp - 0x14] */ 2127 L_3616CA23: 2128 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2129 { RECOMP_REGS_OUT(); return; } /* end of function */ 2130 _ljump: 2131 switch (_itail_tgt) { 2132 case 0x3616CA20u: goto L_3616CA20; 2133 case 0x3616CA23u: goto L_3616CA23; 2134 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2135 } 2136 RECOMP_REGS_OUT(); 2137 } 2138 2139 void sub_3616CA29(void) { 2140 int _fpu_cmp = 0; 2141 uint32_t _cf = 0; 2142 int _df = 1; 2143 uint32_t _flag_k = FK_NONE; 2144 uint32_t _flag_a = 0, _flag_b = 0; 2145 uint32_t _itail_tgt = 0; 2146 RECOMP_REGS_LOCALS 2147 RECOMP_ENTER(0x3616CA29u); 2148 2149 goto L_3616CA29; 2150 L_36139030: 2151 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 2152 L_36139036: 2153 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 2154 L_3613903D: 2155 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2156 L_3616CA29: 2157 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA29: mov ecx, dword ptr [ebp - 0x14] */ 2158 L_3616CA2C: 2159 RECOMP_BACKEDGE(); 2160 goto L_36139030; /* 0x3616CA2C: jmp 0x36139030 */ 2161 { RECOMP_REGS_OUT(); return; } /* end of function */ 2162 _ljump: 2163 switch (_itail_tgt) { 2164 case 0x36139030u: goto L_36139030; 2165 case 0x36139036u: goto L_36139036; 2166 case 0x3613903Du: goto L_3613903D; 2167 case 0x3616CA29u: goto L_3616CA29; 2168 case 0x3616CA2Cu: goto L_3616CA2C; 2169 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2170 } 2171 RECOMP_REGS_OUT(); 2172 } 2173 2174 void sub_3616CA31(void) { 2175 int _fpu_cmp = 0; 2176 uint32_t _cf = 0; 2177 int _df = 1; 2178 uint32_t _flag_k = FK_NONE; 2179 uint32_t _flag_a = 0, _flag_b = 0; 2180 uint32_t _itail_tgt = 0; 2181 RECOMP_REGS_LOCALS 2182 RECOMP_ENTER(0x3616CA31u); 2183 2184 L_3616CA31: 2185 eax = MEM32(ebp + (-0x10)); /* 0x3616CA31: mov eax, dword ptr [ebp - 0x10] */ 2186 PUSH32(esp, eax); /* 0x3616CA34: push eax */ 2187 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CA35: call 0x3615fcc4 */ /* not lifted */ 2188 RECOMP_FLAGS_IN(); 2189 ecx = POP32_VAL(esp); /* 0x3616CA3A: pop ecx */ 2190 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CA3B: ret */ 2191 RECOMP_REGS_OUT(); 2192 } 2193 2194 void sub_3616CA3C(void) { 2195 int _fpu_cmp = 0; 2196 uint32_t _cf = 0; 2197 int _df = 1; 2198 uint32_t _flag_k = FK_NONE; 2199 uint32_t _flag_a = 0, _flag_b = 0; 2200 uint32_t _itail_tgt = 0; 2201 RECOMP_REGS_LOCALS 2202 RECOMP_ENTER(0x3616CA3Cu); 2203 2204 goto L_3616CA3C; 2205 L_36139180: 2206 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 2207 ebp = esp; /* 0x36139181: mov ebp, esp */ 2208 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 2209 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 2210 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 2211 PUSH32(esp, eax); /* 0x36139190: push eax */ 2212 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 2213 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 2214 PUSH32(esp, esi); /* 0x36139199: push esi */ 2215 esi = ecx; /* 0x3613919A: mov esi, ecx */ 2216 PUSH32(esp, edi); /* 0x3613919C: push edi */ 2217 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 2218 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 2219 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 2220 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 2221 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 2222 RECOMP_FLAGS_IN(); 2223 edi = eax; /* 0x361391BA: mov edi, eax */ 2224 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 2225 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2226 _cf = 0; 2227 _flag_k = FK_TEST; 2228 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 2229 L_361391C0: 2230 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 2231 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 2232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2233 _cf = 0; 2234 _flag_k = FK_TEST; 2235 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 2236 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 2237 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 2238 L_361391D4: 2239 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 2240 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 2241 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 2242 RECOMP_FLAGS_IN(); 2243 L_361391DA: 2244 PUSH32(esp, edi); /* 0x361391DA: push edi */ 2245 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 2246 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 2247 RECOMP_FLAGS_IN(); 2248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2250 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 2251 _flag_k = FK_ADD; 2252 L_361391EA: 2253 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 2254 ecx = esi; /* 0x361391EC: mov ecx, esi */ 2255 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 2256 RECOMP_FLAGS_IN(); 2257 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 2258 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 2259 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2260 _cf = 0; 2261 _flag_k = FK_TEST; 2262 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 2263 L_361391FE: 2264 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 2265 PUSH32(esp, 1); /* 0x36139200: push 1 */ 2266 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 2267 RECOMP_FLAGS_IN(); 2268 L_36139204: 2269 ecx = esi; /* 0x36139204: mov ecx, esi */ 2270 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 2271 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 2272 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 2273 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 2274 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 2275 RECOMP_FLAGS_IN(); 2276 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 2277 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 2278 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 2279 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 2280 esp = ebp; /* 0x36139236: mov esp, ebp */ 2281 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 2282 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 2283 L_3616CA3C: 2284 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA3C: mov ecx, dword ptr [ebp - 0x14] */ 2285 RECOMP_BACKEDGE(); 2286 goto L_36139180; /* 0x3616CA3F: jmp 0x36139180 */ 2287 { RECOMP_REGS_OUT(); return; } /* end of function */ 2288 RECOMP_REGS_OUT(); 2289 } 2290 2291 void sub_3616CA44(void) { 2292 int _fpu_cmp = 0; 2293 uint32_t _cf = 0; 2294 int _df = 1; 2295 uint32_t _flag_k = FK_NONE; 2296 uint32_t _flag_a = 0, _flag_b = 0; 2297 uint32_t _itail_tgt = 0; 2298 RECOMP_REGS_LOCALS 2299 RECOMP_ENTER(0x3616CA44u); 2300 2301 L_3616CA44: 2302 eax = MEM32(ebp + (-0x10)); /* 0x3616CA44: mov eax, dword ptr [ebp - 0x10] */ 2303 PUSH32(esp, eax); /* 0x3616CA47: push eax */ 2304 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CA48: call 0x3615fcc4 */ /* not lifted */ 2305 RECOMP_FLAGS_IN(); 2306 ecx = POP32_VAL(esp); /* 0x3616CA4D: pop ecx */ 2307 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CA4E: ret */ 2308 RECOMP_REGS_OUT(); 2309 } 2310 2311 void sub_3616CA4F(void) { 2312 int _fpu_cmp = 0; 2313 uint32_t _cf = 0; 2314 int _df = 1; 2315 uint32_t _flag_k = FK_NONE; 2316 uint32_t _flag_a = 0, _flag_b = 0; 2317 uint32_t _itail_tgt = 0; 2318 RECOMP_REGS_LOCALS 2319 RECOMP_ENTER(0x3616CA4Fu); 2320 2321 goto L_3616CA4F; 2322 L_3615FD76: 2323 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2324 L_3616CA4F: 2325 eax = 0x36193088u; /* 0x3616CA4F: mov eax, 0x36193088 */ 2326 L_3616CA54: 2327 RECOMP_BACKEDGE(); 2328 goto L_3615FD76; /* 0x3616CA54: jmp 0x3615fd76 */ 2329 { RECOMP_REGS_OUT(); return; } /* end of function */ 2330 _ljump: 2331 switch (_itail_tgt) { 2332 case 0x3615FD76u: goto L_3615FD76; 2333 case 0x3616CA4Fu: goto L_3616CA4F; 2334 case 0x3616CA54u: goto L_3616CA54; 2335 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2336 } 2337 RECOMP_REGS_OUT(); 2338 } 2339 2340 void sub_3616CA60(void) { 2341 int _fpu_cmp = 0; 2342 uint32_t _cf = 0; 2343 int _df = 1; 2344 uint32_t _flag_k = FK_NONE; 2345 uint32_t _flag_a = 0, _flag_b = 0; 2346 uint32_t _itail_tgt = 0; 2347 RECOMP_REGS_LOCALS 2348 RECOMP_ENTER(0x3616CA60u); 2349 2350 goto L_3616CA60; 2351 L_36139030: 2352 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 2353 L_36139036: 2354 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 2355 L_3613903D: 2356 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2357 L_3616CA60: 2358 ecx = MEM32(ebp + (-0x10)); /* 0x3616CA60: mov ecx, dword ptr [ebp - 0x10] */ 2359 L_3616CA63: 2360 RECOMP_BACKEDGE(); 2361 goto L_36139030; /* 0x3616CA63: jmp 0x36139030 */ 2362 { RECOMP_REGS_OUT(); return; } /* end of function */ 2363 _ljump: 2364 switch (_itail_tgt) { 2365 case 0x36139030u: goto L_36139030; 2366 case 0x36139036u: goto L_36139036; 2367 case 0x3613903Du: goto L_3613903D; 2368 case 0x3616CA60u: goto L_3616CA60; 2369 case 0x3616CA63u: goto L_3616CA63; 2370 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2371 } 2372 RECOMP_REGS_OUT(); 2373 } 2374 2375 void sub_3616CA68(void) { 2376 int _fpu_cmp = 0; 2377 uint32_t _cf = 0; 2378 int _df = 1; 2379 uint32_t _flag_k = FK_NONE; 2380 uint32_t _flag_a = 0, _flag_b = 0; 2381 uint32_t _itail_tgt = 0; 2382 RECOMP_REGS_LOCALS 2383 RECOMP_ENTER(0x3616CA68u); 2384 2385 goto L_3616CA68; 2386 L_3615FD76: 2387 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2388 L_3616CA68: 2389 eax = 0x361930D0u; /* 0x3616CA68: mov eax, 0x361930d0 */ 2390 L_3616CA6D: 2391 RECOMP_BACKEDGE(); 2392 goto L_3615FD76; /* 0x3616CA6D: jmp 0x3615fd76 */ 2393 { RECOMP_REGS_OUT(); return; } /* end of function */ 2394 _ljump: 2395 switch (_itail_tgt) { 2396 case 0x3615FD76u: goto L_3615FD76; 2397 case 0x3616CA68u: goto L_3616CA68; 2398 case 0x3616CA6Du: goto L_3616CA6D; 2399 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2400 } 2401 RECOMP_REGS_OUT(); 2402 } 2403 2404 void sub_3616CA80(void) { 2405 int _fpu_cmp = 0; 2406 uint32_t _cf = 0; 2407 int _df = 1; 2408 uint32_t _flag_k = FK_NONE; 2409 uint32_t _flag_a = 0, _flag_b = 0; 2410 uint32_t _itail_tgt = 0; 2411 RECOMP_REGS_LOCALS 2412 RECOMP_ENTER(0x3616CA80u); 2413 2414 L_3616CA80: 2415 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA80: mov ecx, dword ptr [ebp - 0x14] */ 2416 L_3616CA83: 2417 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2418 { RECOMP_REGS_OUT(); return; } /* end of function */ 2419 _ljump: 2420 switch (_itail_tgt) { 2421 case 0x3616CA80u: goto L_3616CA80; 2422 case 0x3616CA83u: goto L_3616CA83; 2423 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2424 } 2425 RECOMP_REGS_OUT(); 2426 } 2427 2428 void sub_3616CA89(void) { 2429 int _fpu_cmp = 0; 2430 uint32_t _cf = 0; 2431 int _df = 1; 2432 uint32_t _flag_k = FK_NONE; 2433 uint32_t _flag_a = 0, _flag_b = 0; 2434 uint32_t _itail_tgt = 0; 2435 RECOMP_REGS_LOCALS 2436 RECOMP_ENTER(0x3616CA89u); 2437 2438 goto L_3616CA89; 2439 L_36139030: 2440 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 2441 L_36139036: 2442 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 2443 L_3613903D: 2444 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2445 L_3616CA89: 2446 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA89: mov ecx, dword ptr [ebp - 0x14] */ 2447 L_3616CA8C: 2448 RECOMP_BACKEDGE(); 2449 goto L_36139030; /* 0x3616CA8C: jmp 0x36139030 */ 2450 { RECOMP_REGS_OUT(); return; } /* end of function */ 2451 _ljump: 2452 switch (_itail_tgt) { 2453 case 0x36139030u: goto L_36139030; 2454 case 0x36139036u: goto L_36139036; 2455 case 0x3613903Du: goto L_3613903D; 2456 case 0x3616CA89u: goto L_3616CA89; 2457 case 0x3616CA8Cu: goto L_3616CA8C; 2458 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2459 } 2460 RECOMP_REGS_OUT(); 2461 } 2462 2463 void sub_3616CA91(void) { 2464 int _fpu_cmp = 0; 2465 uint32_t _cf = 0; 2466 int _df = 1; 2467 uint32_t _flag_k = FK_NONE; 2468 uint32_t _flag_a = 0, _flag_b = 0; 2469 uint32_t _itail_tgt = 0; 2470 RECOMP_REGS_LOCALS 2471 RECOMP_ENTER(0x3616CA91u); 2472 2473 L_3616CA91: 2474 eax = MEM32(ebp + (-0x10)); /* 0x3616CA91: mov eax, dword ptr [ebp - 0x10] */ 2475 PUSH32(esp, eax); /* 0x3616CA94: push eax */ 2476 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CA95: call 0x3615fcc4 */ /* not lifted */ 2477 RECOMP_FLAGS_IN(); 2478 ecx = POP32_VAL(esp); /* 0x3616CA9A: pop ecx */ 2479 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CA9B: ret */ 2480 RECOMP_REGS_OUT(); 2481 } 2482 2483 void sub_3616CA9C(void) { 2484 int _fpu_cmp = 0; 2485 uint32_t _cf = 0; 2486 int _df = 1; 2487 uint32_t _flag_k = FK_NONE; 2488 uint32_t _flag_a = 0, _flag_b = 0; 2489 uint32_t _itail_tgt = 0; 2490 RECOMP_REGS_LOCALS 2491 RECOMP_ENTER(0x3616CA9Cu); 2492 2493 goto L_3616CA9C; 2494 L_36139180: 2495 PUSH32(esp, ebp); /* 0x36139180: push ebp */ 2496 ebp = esp; /* 0x36139181: mov ebp, esp */ 2497 PUSH32(esp, 0xFFFFFFFFu); /* 0x36139183: push -1 */ 2498 PUSH32(esp, 0x3616C838u); /* 0x36139185: push 0x3616c838 */ 2499 eax = MEM32(FS_BASE + (0)); /* 0x3613918A: mov eax, dword ptr fs:[0] */ 2500 PUSH32(esp, eax); /* 0x36139190: push eax */ 2501 MEM32(FS_BASE + (0)) = esp; /* 0x36139191: mov dword ptr fs:[0], esp */ 2502 PUSH32(esp, ecx); /* 0x36139198: push ecx */ 2503 PUSH32(esp, esi); /* 0x36139199: push esi */ 2504 esi = ecx; /* 0x3613919A: mov esi, ecx */ 2505 PUSH32(esp, edi); /* 0x3613919C: push edi */ 2506 MEM32(ebp + (-0x10)) = esi; /* 0x3613919D: mov dword ptr [ebp - 0x10], esi */ 2507 MEM32(esi) = 0x36177FDCu; /* 0x361391A0: mov dword ptr [esi], 0x36177fdc */ 2508 MEM32(esi + 0x20) = 0x36177FD4u; /* 0x361391A6: mov dword ptr [esi + 0x20], 0x36177fd4 */ 2509 MEM32(ebp + (-0x4)) = 0; /* 0x361391AD: mov dword ptr [ebp - 4], 0 */ 2510 RECOMP_ICALL(MEM32(0x36170368)); /* 0x361391B4: call dword ptr [0x36170368] */ 2511 RECOMP_FLAGS_IN(); 2512 edi = eax; /* 0x361391BA: mov edi, eax */ 2513 /* test edi, edi */ /* 0x361391BC: test edi, edi */ 2514 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2515 _cf = 0; 2516 _flag_k = FK_TEST; 2517 if (TEST_Z(_flag_a, _flag_b)) goto L_361391EA; /* 0x361391BE: je 0x361391ea */ 2518 L_361391C0: 2519 ecx = MEM32(edi + 0x18); /* 0x361391C0: mov ecx, dword ptr [edi + 0x18] */ 2520 /* test ecx, ecx */ /* 0x361391C3: test ecx, ecx */ 2521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2522 _cf = 0; 2523 _flag_k = FK_TEST; 2524 MEM32(edi) = 0x36178118u; /* 0x361391C5: mov dword ptr [edi], 0x36178118 */ 2525 MEM32(edi + 0x4) = 0x36178110u; /* 0x361391CB: mov dword ptr [edi + 4], 0x36178110 */ 2526 if (TEST_Z(_flag_a, _flag_b)) goto L_361391DA; /* 0x361391D2: je 0x361391da */ 2527 L_361391D4: 2528 eax = MEM32(ecx); /* 0x361391D4: mov eax, dword ptr [ecx] */ 2529 PUSH32(esp, 1); /* 0x361391D6: push 1 */ 2530 RECOMP_ICALL(MEM32(eax)); /* 0x361391D8: call dword ptr [eax] */ 2531 RECOMP_FLAGS_IN(); 2532 L_361391DA: 2533 PUSH32(esp, edi); /* 0x361391DA: push edi */ 2534 MEM32(edi + 0x18) = 0; /* 0x361391DB: mov dword ptr [edi + 0x18], 0 */ 2535 RECOMP_ICALL(0x3615FCC4u); /* 0x361391E2: call 0x3615fcc4 */ /* not lifted */ 2536 RECOMP_FLAGS_IN(); 2537 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2538 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2539 esp = esp + 4; /* 0x361391E7: add esp, 4 */ 2540 _flag_k = FK_ADD; 2541 L_361391EA: 2542 PUSH32(esp, 0); /* 0x361391EA: push 0 */ 2543 ecx = esi; /* 0x361391EC: mov ecx, esi */ 2544 RECOMP_ICALL(MEM32(0x36170328)); /* 0x361391EE: call dword ptr [0x36170328] */ 2545 RECOMP_FLAGS_IN(); 2546 ecx = MEM32(esi + 0x168); /* 0x361391F4: mov ecx, dword ptr [esi + 0x168] */ 2547 /* test ecx, ecx */ /* 0x361391FA: test ecx, ecx */ 2548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2549 _cf = 0; 2550 _flag_k = FK_TEST; 2551 if (TEST_Z(_flag_a, _flag_b)) goto L_36139204; /* 0x361391FC: je 0x36139204 */ 2552 L_361391FE: 2553 edx = MEM32(ecx); /* 0x361391FE: mov edx, dword ptr [ecx] */ 2554 PUSH32(esp, 1); /* 0x36139200: push 1 */ 2555 RECOMP_ICALL(MEM32(edx)); /* 0x36139202: call dword ptr [edx] */ 2556 RECOMP_FLAGS_IN(); 2557 L_36139204: 2558 ecx = esi; /* 0x36139204: mov ecx, esi */ 2559 MEM32(esi + 0x168) = 0; /* 0x36139206: mov dword ptr [esi + 0x168], 0 */ 2560 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x36139210: mov dword ptr [ebp - 4], 0xffffffff */ 2561 MEM32(esi) = 0x36178084u; /* 0x36139217: mov dword ptr [esi], 0x36178084 */ 2562 MEM32(esi + 0x20) = 0x3617807Cu; /* 0x3613921D: mov dword ptr [esi + 0x20], 0x3617807c */ 2563 RECOMP_ICALL(MEM32(0x36170318)); /* 0x36139224: call dword ptr [0x36170318] */ 2564 RECOMP_FLAGS_IN(); 2565 ecx = MEM32(ebp + (-0xC)); /* 0x3613922A: mov ecx, dword ptr [ebp - 0xc] */ 2566 edi = POP32_VAL(esp); /* 0x3613922D: pop edi */ 2567 esi = POP32_VAL(esp); /* 0x3613922E: pop esi */ 2568 MEM32(FS_BASE + (0)) = ecx; /* 0x3613922F: mov dword ptr fs:[0], ecx */ 2569 esp = ebp; /* 0x36139236: mov esp, ebp */ 2570 ebp = POP32_VAL(esp); /* 0x36139238: pop ebp */ 2571 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36139239: ret */ 2572 L_3616CA9C: 2573 ecx = MEM32(ebp + (-0x14)); /* 0x3616CA9C: mov ecx, dword ptr [ebp - 0x14] */ 2574 RECOMP_BACKEDGE(); 2575 goto L_36139180; /* 0x3616CA9F: jmp 0x36139180 */ 2576 { RECOMP_REGS_OUT(); return; } /* end of function */ 2577 RECOMP_REGS_OUT(); 2578 } 2579 2580 void sub_3616CAA4(void) { 2581 int _fpu_cmp = 0; 2582 uint32_t _cf = 0; 2583 int _df = 1; 2584 uint32_t _flag_k = FK_NONE; 2585 uint32_t _flag_a = 0, _flag_b = 0; 2586 uint32_t _itail_tgt = 0; 2587 RECOMP_REGS_LOCALS 2588 RECOMP_ENTER(0x3616CAA4u); 2589 2590 L_3616CAA4: 2591 eax = MEM32(ebp + (-0x10)); /* 0x3616CAA4: mov eax, dword ptr [ebp - 0x10] */ 2592 PUSH32(esp, eax); /* 0x3616CAA7: push eax */ 2593 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CAA8: call 0x3615fcc4 */ /* not lifted */ 2594 RECOMP_FLAGS_IN(); 2595 ecx = POP32_VAL(esp); /* 0x3616CAAD: pop ecx */ 2596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CAAE: ret */ 2597 RECOMP_REGS_OUT(); 2598 } 2599 2600 void sub_3616CAAF(void) { 2601 int _fpu_cmp = 0; 2602 uint32_t _cf = 0; 2603 int _df = 1; 2604 uint32_t _flag_k = FK_NONE; 2605 uint32_t _flag_a = 0, _flag_b = 0; 2606 uint32_t _itail_tgt = 0; 2607 RECOMP_REGS_LOCALS 2608 RECOMP_ENTER(0x3616CAAFu); 2609 2610 goto L_3616CAAF; 2611 L_3615FD76: 2612 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2613 L_3616CAAF: 2614 eax = 0x361930F8u; /* 0x3616CAAF: mov eax, 0x361930f8 */ 2615 L_3616CAB4: 2616 RECOMP_BACKEDGE(); 2617 goto L_3615FD76; /* 0x3616CAB4: jmp 0x3615fd76 */ 2618 { RECOMP_REGS_OUT(); return; } /* end of function */ 2619 _ljump: 2620 switch (_itail_tgt) { 2621 case 0x3615FD76u: goto L_3615FD76; 2622 case 0x3616CAAFu: goto L_3616CAAF; 2623 case 0x3616CAB4u: goto L_3616CAB4; 2624 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2625 } 2626 RECOMP_REGS_OUT(); 2627 } 2628 2629 void sub_3616CAC0(void) { 2630 int _fpu_cmp = 0; 2631 uint32_t _cf = 0; 2632 int _df = 1; 2633 uint32_t _flag_k = FK_NONE; 2634 uint32_t _flag_a = 0, _flag_b = 0; 2635 uint32_t _itail_tgt = 0; 2636 RECOMP_REGS_LOCALS 2637 RECOMP_ENTER(0x3616CAC0u); 2638 2639 goto L_3616CAC0; 2640 L_36139030: 2641 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 2642 L_36139036: 2643 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 2644 L_3613903D: 2645 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 2646 L_3616CAC0: 2647 ecx = MEM32(ebp + (-0x10)); /* 0x3616CAC0: mov ecx, dword ptr [ebp - 0x10] */ 2648 L_3616CAC3: 2649 RECOMP_BACKEDGE(); 2650 goto L_36139030; /* 0x3616CAC3: jmp 0x36139030 */ 2651 { RECOMP_REGS_OUT(); return; } /* end of function */ 2652 _ljump: 2653 switch (_itail_tgt) { 2654 case 0x36139030u: goto L_36139030; 2655 case 0x36139036u: goto L_36139036; 2656 case 0x3613903Du: goto L_3613903D; 2657 case 0x3616CAC0u: goto L_3616CAC0; 2658 case 0x3616CAC3u: goto L_3616CAC3; 2659 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2660 } 2661 RECOMP_REGS_OUT(); 2662 } 2663 2664 void sub_3616CAC8(void) { 2665 int _fpu_cmp = 0; 2666 uint32_t _cf = 0; 2667 int _df = 1; 2668 uint32_t _flag_k = FK_NONE; 2669 uint32_t _flag_a = 0, _flag_b = 0; 2670 uint32_t _itail_tgt = 0; 2671 RECOMP_REGS_LOCALS 2672 RECOMP_ENTER(0x3616CAC8u); 2673 2674 goto L_3616CAC8; 2675 L_3615FD76: 2676 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2677 L_3616CAC8: 2678 eax = 0x36193140u; /* 0x3616CAC8: mov eax, 0x36193140 */ 2679 L_3616CACD: 2680 RECOMP_BACKEDGE(); 2681 goto L_3615FD76; /* 0x3616CACD: jmp 0x3615fd76 */ 2682 { RECOMP_REGS_OUT(); return; } /* end of function */ 2683 _ljump: 2684 switch (_itail_tgt) { 2685 case 0x3615FD76u: goto L_3615FD76; 2686 case 0x3616CAC8u: goto L_3616CAC8; 2687 case 0x3616CACDu: goto L_3616CACD; 2688 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2689 } 2690 RECOMP_REGS_OUT(); 2691 } 2692 2693 void sub_3616CAE0(void) { 2694 int _fpu_cmp = 0; 2695 uint32_t _cf = 0; 2696 int _df = 1; 2697 uint32_t _flag_k = FK_NONE; 2698 uint32_t _flag_a = 0, _flag_b = 0; 2699 uint32_t _itail_tgt = 0; 2700 RECOMP_REGS_LOCALS 2701 RECOMP_ENTER(0x3616CAE0u); 2702 2703 L_3616CAE0: 2704 ecx = MEM32(ebp + (-0x14)); /* 0x3616CAE0: mov ecx, dword ptr [ebp - 0x14] */ 2705 L_3616CAE3: 2706 { _itail_tgt = (uint32_t)(MEM32(0x3616FFB8)); goto _ljump; } 2707 { RECOMP_REGS_OUT(); return; } /* end of function */ 2708 _ljump: 2709 switch (_itail_tgt) { 2710 case 0x3616CAE0u: goto L_3616CAE0; 2711 case 0x3616CAE3u: goto L_3616CAE3; 2712 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2713 } 2714 RECOMP_REGS_OUT(); 2715 } 2716 2717 void sub_3616CAE9(void) { 2718 int _fpu_cmp = 0; 2719 uint32_t _cf = 0; 2720 int _df = 1; 2721 uint32_t _flag_k = FK_NONE; 2722 uint32_t _flag_a = 0, _flag_b = 0; 2723 uint32_t _itail_tgt = 0; 2724 RECOMP_REGS_LOCALS 2725 RECOMP_ENTER(0x3616CAE9u); 2726 2727 L_3616CAE9: 2728 ecx = MEM32(ebp + (-0x14)); /* 0x3616CAE9: mov ecx, dword ptr [ebp - 0x14] */ 2729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 2730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2731 ecx = ecx + 0x1Cu; /* 0x3616CAEC: add ecx, 0x1c */ 2732 _flag_k = FK_ADD; 2733 goto L_3606C6E0; /* 0x3616CAEF: jmp 0x3606c6e0 */ 2734 { RECOMP_REGS_OUT(); return; } /* end of function */ 2735 L_3606C6E0: RECOMP_ITAIL(0x3606C6E0u); { RECOMP_REGS_OUT(); return; } 2736 RECOMP_REGS_OUT(); 2737 } 2738 2739 void sub_3616CAF4(void) { 2740 int _fpu_cmp = 0; 2741 uint32_t _cf = 0; 2742 int _df = 1; 2743 uint32_t _flag_k = FK_NONE; 2744 uint32_t _flag_a = 0, _flag_b = 0; 2745 uint32_t _itail_tgt = 0; 2746 RECOMP_REGS_LOCALS 2747 RECOMP_ENTER(0x3616CAF4u); 2748 2749 goto L_3616CAF4; 2750 L_3613DE70: 2751 PUSH32(esp, ebp); /* 0x3613DE70: push ebp */ 2752 ebp = esp; /* 0x3613DE71: mov ebp, esp */ 2753 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2755 esp = esp - 8; /* 0x3613DE73: sub esp, 8 */ 2756 _flag_k = FK_CMP; 2757 PUSH32(esp, ebx); /* 0x3613DE76: push ebx */ 2758 PUSH32(esp, esi); /* 0x3613DE77: push esi */ 2759 esi = ecx; /* 0x3613DE78: mov esi, ecx */ 2760 ecx = MEM32(esi + 0x10); /* 0x3613DE7A: mov ecx, dword ptr [esi + 0x10] */ 2761 /* test ecx, ecx */ /* 0x3613DE7D: test ecx, ecx */ 2762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2763 _cf = 0; 2764 _flag_k = FK_TEST; 2765 PUSH32(esp, edi); /* 0x3613DE7F: push edi */ 2766 edi = MEM32(esi + 0x4); /* 0x3613DE80: mov edi, dword ptr [esi + 4] */ 2767 eax = MEM32(edi); /* 0x3613DE83: mov eax, dword ptr [edi] */ 2768 MEM32(ebp + (-0x4)) = eax; /* 0x3613DE85: mov dword ptr [ebp - 4], eax */ 2769 if (TEST_Z(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE88: je 0x3613deef */ 2770 L_3613DE8A: 2771 ecx = eax; /* 0x3613DE8A: mov ecx, eax */ 2772 /* cmp eax, ecx */ /* 0x3613DE8C: cmp eax, ecx */ 2773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2775 _flag_k = FK_CMP; 2776 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE8E: jne 0x3613deef */ 2777 L_3613DE90: 2778 /* cmp edi, edi */ /* 0x3613DE90: cmp edi, edi */ 2779 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2781 _flag_k = FK_CMP; 2782 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE92: jne 0x3613deef */ 2783 L_3613DE94: 2784 ebx = MEM32(edi + 0x4); /* 0x3613DE94: mov ebx, dword ptr [edi + 4] */ 2785 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x3613DE97: cmp ebx, dword ptr [esi + 8] */ 2786 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2788 _flag_k = FK_CMP; 2789 edi = ebx; /* 0x3613DE9A: mov edi, ebx */ 2790 if (CMP_EQ(_flag_a, _flag_b)) goto L_3613DEC7; /* 0x3613DE9C: je 0x3613dec7 */ 2791 L_3613DE9E: 2792 eax = MEM32(edi + 0x8); /* 0x3613DE9E: mov eax, dword ptr [edi + 8] */ 2793 PUSH32(esp, eax); /* 0x3613DEA1: push eax */ 2794 ecx = esi; /* 0x3613DEA2: mov ecx, esi */ 2795 RECOMP_ICALL(0x36141040u); /* 0x3613DEA4: call 0x36141040 */ /* not lifted */ 2796 RECOMP_FLAGS_IN(); 2797 edi = MEM32(edi); /* 0x3613DEA9: mov edi, dword ptr [edi] */ 2798 PUSH32(esp, 0); /* 0x3613DEAB: push 0 */ 2799 ecx = ebx + 0xC; /* 0x3613DEAD: lea ecx, [ebx + 0xc] */ 2800 RECOMP_ICALL(0x361473B0u); /* 0x3613DEB0: call 0x361473b0 */ /* not lifted */ 2801 RECOMP_FLAGS_IN(); 2802 PUSH32(esp, ebx); /* 0x3613DEB5: push ebx */ 2803 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DEB6: call 0x3615fcc4 */ /* not lifted */ 2804 RECOMP_FLAGS_IN(); 2805 eax = MEM32(esi + 0x8); /* 0x3613DEBB: mov eax, dword ptr [esi + 8] */ 2806 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2807 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2808 esp = esp + 4; /* 0x3613DEBE: add esp, 4 */ 2809 _flag_k = FK_ADD; 2810 /* cmp edi, eax */ /* 0x3613DEC1: cmp edi, eax */ 2811 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2813 _flag_k = FK_CMP; 2814 ebx = edi; /* 0x3613DEC3: mov ebx, edi */ 2815 RECOMP_BACKEDGE(); 2816 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DE9E; /* 0x3613DEC5: jne 0x3613de9e */ 2817 L_3613DEC7: 2818 ecx = MEM32(esi + 0x4); /* 0x3613DEC7: mov ecx, dword ptr [esi + 4] */ 2819 edx = MEM32(esi + 0x8); /* 0x3613DECA: mov edx, dword ptr [esi + 8] */ 2820 MEM32(ecx + 0x4) = edx; /* 0x3613DECD: mov dword ptr [ecx + 4], edx */ 2821 eax = MEM32(esi + 0x4); /* 0x3613DED0: mov eax, dword ptr [esi + 4] */ 2822 MEM32(esi + 0x10) = 0; /* 0x3613DED3: mov dword ptr [esi + 0x10], 0 */ 2823 MEM32(eax) = eax; /* 0x3613DEDA: mov dword ptr [eax], eax */ 2824 eax = MEM32(esi + 0x4); /* 0x3613DEDC: mov eax, dword ptr [esi + 4] */ 2825 MEM32(eax + 0x8) = eax; /* 0x3613DEDF: mov dword ptr [eax + 8], eax */ 2826 eax = ebp + (-0x8); /* 0x3613DEE2: lea eax, [ebp - 8] */ 2827 PUSH32(esp, eax); /* 0x3613DEE5: push eax */ 2828 ecx = esi; /* 0x3613DEE6: mov ecx, esi */ 2829 RECOMP_ICALL(0x3614FC30u); /* 0x3613DEE8: call 0x3614fc30 */ /* not lifted */ 2830 RECOMP_FLAGS_IN(); 2831 goto L_3613DF10; /* 0x3613DEED: jmp 0x3613df10 */ 2832 L_3613DEEF: 2833 /* cmp eax, edi */ /* 0x3613DEEF: cmp eax, edi */ 2834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2836 _flag_k = FK_CMP; 2837 if (CMP_EQ(_flag_a, _flag_b)) goto L_3613DF10; /* 0x3613DEF1: je 0x3613df10 */ 2838 L_3613DEF3: 2839 ecx = ebp + (-0x4); /* 0x3613DEF3: lea ecx, [ebp - 4] */ 2840 ebx = eax; /* 0x3613DEF6: mov ebx, eax */ 2841 RECOMP_ICALL(0x361458D0u); /* 0x3613DEF8: call 0x361458d0 */ /* not lifted */ 2842 RECOMP_FLAGS_IN(); 2843 PUSH32(esp, ebx); /* 0x3613DEFD: push ebx */ 2844 ecx = ebp + (-0x8); /* 0x3613DEFE: lea ecx, [ebp - 8] */ 2845 PUSH32(esp, ecx); /* 0x3613DF01: push ecx */ 2846 ecx = esi; /* 0x3613DF02: mov ecx, esi */ 2847 RECOMP_ICALL(0x36140C70u); /* 0x3613DF04: call 0x36140c70 */ /* not lifted */ 2848 RECOMP_FLAGS_IN(); 2849 eax = MEM32(ebp + (-0x4)); /* 0x3613DF09: mov eax, dword ptr [ebp - 4] */ 2850 /* cmp eax, edi */ /* 0x3613DF0C: cmp eax, edi */ 2851 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2853 _flag_k = FK_CMP; 2854 RECOMP_BACKEDGE(); 2855 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEF3; /* 0x3613DF0E: jne 0x3613def3 */ 2856 L_3613DF10: 2857 edx = MEM32(esi + 0x4); /* 0x3613DF10: mov edx, dword ptr [esi + 4] */ 2858 PUSH32(esp, edx); /* 0x3613DF13: push edx */ 2859 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DF14: call 0x3615fcc4 */ /* not lifted */ 2860 RECOMP_FLAGS_IN(); 2861 eax = MEM32(esi + 0x8); /* 0x3613DF19: mov eax, dword ptr [esi + 8] */ 2862 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2863 edi = 0; /* 0x3613DF1C: xor edi, edi */ 2864 _cf = 0; 2865 _flag_k = FK_TEST; 2866 PUSH32(esp, eax); /* 0x3613DF1E: push eax */ 2867 MEM32(esi + 0x4) = edi; /* 0x3613DF1F: mov dword ptr [esi + 4], edi */ 2868 MEM32(esi + 0x10) = edi; /* 0x3613DF22: mov dword ptr [esi + 0x10], edi */ 2869 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DF25: call 0x3615fcc4 */ /* not lifted */ 2870 RECOMP_FLAGS_IN(); 2871 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2872 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2873 esp = esp + 8; /* 0x3613DF2A: add esp, 8 */ 2874 _flag_k = FK_ADD; 2875 MEM32(esi + 0x8) = edi; /* 0x3613DF2D: mov dword ptr [esi + 8], edi */ 2876 edi = POP32_VAL(esp); /* 0x3613DF30: pop edi */ 2877 esi = POP32_VAL(esp); /* 0x3613DF31: pop esi */ 2878 ebx = POP32_VAL(esp); /* 0x3613DF32: pop ebx */ 2879 esp = ebp; /* 0x3613DF33: mov esp, ebp */ 2880 ebp = POP32_VAL(esp); /* 0x3613DF35: pop ebp */ 2881 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3613DF36: ret */ 2882 L_3616CAF4: 2883 ecx = MEM32(ebp + (-0x14)); /* 0x3616CAF4: mov ecx, dword ptr [ebp - 0x14] */ 2884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xA0u); 2885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2886 ecx = ecx + 0xA0u; /* 0x3616CAF7: add ecx, 0xa0 */ 2887 _flag_k = FK_ADD; 2888 RECOMP_BACKEDGE(); 2889 goto L_3613DE70; /* 0x3616CAFD: jmp 0x3613de70 */ 2890 { RECOMP_REGS_OUT(); return; } /* end of function */ 2891 RECOMP_REGS_OUT(); 2892 } 2893 2894 void sub_3616CB02(void) { 2895 int _fpu_cmp = 0; 2896 uint32_t _cf = 0; 2897 int _df = 1; 2898 uint32_t _flag_k = FK_NONE; 2899 uint32_t _flag_a = 0, _flag_b = 0; 2900 uint32_t _itail_tgt = 0; 2901 RECOMP_REGS_LOCALS 2902 RECOMP_ENTER(0x3616CB02u); 2903 2904 goto L_3616CB02; 2905 L_3615FD76: 2906 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2907 L_3616CB02: 2908 eax = 0x36193168u; /* 0x3616CB02: mov eax, 0x36193168 */ 2909 L_3616CB07: 2910 RECOMP_BACKEDGE(); 2911 goto L_3615FD76; /* 0x3616CB07: jmp 0x3615fd76 */ 2912 { RECOMP_REGS_OUT(); return; } /* end of function */ 2913 _ljump: 2914 switch (_itail_tgt) { 2915 case 0x3615FD76u: goto L_3615FD76; 2916 case 0x3616CB02u: goto L_3616CB02; 2917 case 0x3616CB07u: goto L_3616CB07; 2918 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2919 } 2920 RECOMP_REGS_OUT(); 2921 } 2922 2923 void sub_3616CB10(void) { 2924 int _fpu_cmp = 0; 2925 uint32_t _cf = 0; 2926 int _df = 1; 2927 uint32_t _flag_k = FK_NONE; 2928 uint32_t _flag_a = 0, _flag_b = 0; 2929 uint32_t _itail_tgt = 0; 2930 RECOMP_REGS_LOCALS 2931 RECOMP_ENTER(0x3616CB10u); 2932 2933 L_3616CB10: 2934 ecx = MEM32(ebp + (-0x18)); /* 0x3616CB10: mov ecx, dword ptr [ebp - 0x18] */ 2935 L_3616CB13: 2936 { _itail_tgt = (uint32_t)(MEM32(0x3616FFB8)); goto _ljump; } 2937 { RECOMP_REGS_OUT(); return; } /* end of function */ 2938 _ljump: 2939 switch (_itail_tgt) { 2940 case 0x3616CB10u: goto L_3616CB10; 2941 case 0x3616CB13u: goto L_3616CB13; 2942 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2943 } 2944 RECOMP_REGS_OUT(); 2945 } 2946 2947 void sub_3616CB19(void) { 2948 int _fpu_cmp = 0; 2949 uint32_t _cf = 0; 2950 int _df = 1; 2951 uint32_t _flag_k = FK_NONE; 2952 uint32_t _flag_a = 0, _flag_b = 0; 2953 uint32_t _itail_tgt = 0; 2954 RECOMP_REGS_LOCALS 2955 RECOMP_ENTER(0x3616CB19u); 2956 2957 L_3616CB19: 2958 ecx = MEM32(ebp + (-0x18)); /* 0x3616CB19: mov ecx, dword ptr [ebp - 0x18] */ 2959 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 2960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2961 ecx = ecx + 0x1Cu; /* 0x3616CB1C: add ecx, 0x1c */ 2962 _flag_k = FK_ADD; 2963 goto L_3606C6E0; /* 0x3616CB1F: jmp 0x3606c6e0 */ 2964 { RECOMP_REGS_OUT(); return; } /* end of function */ 2965 L_3606C6E0: RECOMP_ITAIL(0x3606C6E0u); { RECOMP_REGS_OUT(); return; } 2966 RECOMP_REGS_OUT(); 2967 } 2968 2969 void sub_3616CB24(void) { 2970 int _fpu_cmp = 0; 2971 uint32_t _cf = 0; 2972 int _df = 1; 2973 uint32_t _flag_k = FK_NONE; 2974 uint32_t _flag_a = 0, _flag_b = 0; 2975 uint32_t _itail_tgt = 0; 2976 RECOMP_REGS_LOCALS 2977 RECOMP_ENTER(0x3616CB24u); 2978 2979 goto L_3616CB24; 2980 L_3613DE70: 2981 PUSH32(esp, ebp); /* 0x3613DE70: push ebp */ 2982 ebp = esp; /* 0x3613DE71: mov ebp, esp */ 2983 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2985 esp = esp - 8; /* 0x3613DE73: sub esp, 8 */ 2986 _flag_k = FK_CMP; 2987 PUSH32(esp, ebx); /* 0x3613DE76: push ebx */ 2988 PUSH32(esp, esi); /* 0x3613DE77: push esi */ 2989 esi = ecx; /* 0x3613DE78: mov esi, ecx */ 2990 ecx = MEM32(esi + 0x10); /* 0x3613DE7A: mov ecx, dword ptr [esi + 0x10] */ 2991 /* test ecx, ecx */ /* 0x3613DE7D: test ecx, ecx */ 2992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2993 _cf = 0; 2994 _flag_k = FK_TEST; 2995 PUSH32(esp, edi); /* 0x3613DE7F: push edi */ 2996 edi = MEM32(esi + 0x4); /* 0x3613DE80: mov edi, dword ptr [esi + 4] */ 2997 eax = MEM32(edi); /* 0x3613DE83: mov eax, dword ptr [edi] */ 2998 MEM32(ebp + (-0x4)) = eax; /* 0x3613DE85: mov dword ptr [ebp - 4], eax */ 2999 if (TEST_Z(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE88: je 0x3613deef */ 3000 L_3613DE8A: 3001 ecx = eax; /* 0x3613DE8A: mov ecx, eax */ 3002 /* cmp eax, ecx */ /* 0x3613DE8C: cmp eax, ecx */ 3003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3005 _flag_k = FK_CMP; 3006 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE8E: jne 0x3613deef */ 3007 L_3613DE90: 3008 /* cmp edi, edi */ /* 0x3613DE90: cmp edi, edi */ 3009 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3011 _flag_k = FK_CMP; 3012 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEEF; /* 0x3613DE92: jne 0x3613deef */ 3013 L_3613DE94: 3014 ebx = MEM32(edi + 0x4); /* 0x3613DE94: mov ebx, dword ptr [edi + 4] */ 3015 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x3613DE97: cmp ebx, dword ptr [esi + 8] */ 3016 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3018 _flag_k = FK_CMP; 3019 edi = ebx; /* 0x3613DE9A: mov edi, ebx */ 3020 if (CMP_EQ(_flag_a, _flag_b)) goto L_3613DEC7; /* 0x3613DE9C: je 0x3613dec7 */ 3021 L_3613DE9E: 3022 eax = MEM32(edi + 0x8); /* 0x3613DE9E: mov eax, dword ptr [edi + 8] */ 3023 PUSH32(esp, eax); /* 0x3613DEA1: push eax */ 3024 ecx = esi; /* 0x3613DEA2: mov ecx, esi */ 3025 RECOMP_ICALL(0x36141040u); /* 0x3613DEA4: call 0x36141040 */ /* not lifted */ 3026 RECOMP_FLAGS_IN(); 3027 edi = MEM32(edi); /* 0x3613DEA9: mov edi, dword ptr [edi] */ 3028 PUSH32(esp, 0); /* 0x3613DEAB: push 0 */ 3029 ecx = ebx + 0xC; /* 0x3613DEAD: lea ecx, [ebx + 0xc] */ 3030 RECOMP_ICALL(0x361473B0u); /* 0x3613DEB0: call 0x361473b0 */ /* not lifted */ 3031 RECOMP_FLAGS_IN(); 3032 PUSH32(esp, ebx); /* 0x3613DEB5: push ebx */ 3033 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DEB6: call 0x3615fcc4 */ /* not lifted */ 3034 RECOMP_FLAGS_IN(); 3035 eax = MEM32(esi + 0x8); /* 0x3613DEBB: mov eax, dword ptr [esi + 8] */ 3036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3038 esp = esp + 4; /* 0x3613DEBE: add esp, 4 */ 3039 _flag_k = FK_ADD; 3040 /* cmp edi, eax */ /* 0x3613DEC1: cmp edi, eax */ 3041 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3043 _flag_k = FK_CMP; 3044 ebx = edi; /* 0x3613DEC3: mov ebx, edi */ 3045 RECOMP_BACKEDGE(); 3046 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DE9E; /* 0x3613DEC5: jne 0x3613de9e */ 3047 L_3613DEC7: 3048 ecx = MEM32(esi + 0x4); /* 0x3613DEC7: mov ecx, dword ptr [esi + 4] */ 3049 edx = MEM32(esi + 0x8); /* 0x3613DECA: mov edx, dword ptr [esi + 8] */ 3050 MEM32(ecx + 0x4) = edx; /* 0x3613DECD: mov dword ptr [ecx + 4], edx */ 3051 eax = MEM32(esi + 0x4); /* 0x3613DED0: mov eax, dword ptr [esi + 4] */ 3052 MEM32(esi + 0x10) = 0; /* 0x3613DED3: mov dword ptr [esi + 0x10], 0 */ 3053 MEM32(eax) = eax; /* 0x3613DEDA: mov dword ptr [eax], eax */ 3054 eax = MEM32(esi + 0x4); /* 0x3613DEDC: mov eax, dword ptr [esi + 4] */ 3055 MEM32(eax + 0x8) = eax; /* 0x3613DEDF: mov dword ptr [eax + 8], eax */ 3056 eax = ebp + (-0x8); /* 0x3613DEE2: lea eax, [ebp - 8] */ 3057 PUSH32(esp, eax); /* 0x3613DEE5: push eax */ 3058 ecx = esi; /* 0x3613DEE6: mov ecx, esi */ 3059 RECOMP_ICALL(0x3614FC30u); /* 0x3613DEE8: call 0x3614fc30 */ /* not lifted */ 3060 RECOMP_FLAGS_IN(); 3061 goto L_3613DF10; /* 0x3613DEED: jmp 0x3613df10 */ 3062 L_3613DEEF: 3063 /* cmp eax, edi */ /* 0x3613DEEF: cmp eax, edi */ 3064 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3066 _flag_k = FK_CMP; 3067 if (CMP_EQ(_flag_a, _flag_b)) goto L_3613DF10; /* 0x3613DEF1: je 0x3613df10 */ 3068 L_3613DEF3: 3069 ecx = ebp + (-0x4); /* 0x3613DEF3: lea ecx, [ebp - 4] */ 3070 ebx = eax; /* 0x3613DEF6: mov ebx, eax */ 3071 RECOMP_ICALL(0x361458D0u); /* 0x3613DEF8: call 0x361458d0 */ /* not lifted */ 3072 RECOMP_FLAGS_IN(); 3073 PUSH32(esp, ebx); /* 0x3613DEFD: push ebx */ 3074 ecx = ebp + (-0x8); /* 0x3613DEFE: lea ecx, [ebp - 8] */ 3075 PUSH32(esp, ecx); /* 0x3613DF01: push ecx */ 3076 ecx = esi; /* 0x3613DF02: mov ecx, esi */ 3077 RECOMP_ICALL(0x36140C70u); /* 0x3613DF04: call 0x36140c70 */ /* not lifted */ 3078 RECOMP_FLAGS_IN(); 3079 eax = MEM32(ebp + (-0x4)); /* 0x3613DF09: mov eax, dword ptr [ebp - 4] */ 3080 /* cmp eax, edi */ /* 0x3613DF0C: cmp eax, edi */ 3081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3083 _flag_k = FK_CMP; 3084 RECOMP_BACKEDGE(); 3085 if (CMP_NE(_flag_a, _flag_b)) goto L_3613DEF3; /* 0x3613DF0E: jne 0x3613def3 */ 3086 L_3613DF10: 3087 edx = MEM32(esi + 0x4); /* 0x3613DF10: mov edx, dword ptr [esi + 4] */ 3088 PUSH32(esp, edx); /* 0x3613DF13: push edx */ 3089 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DF14: call 0x3615fcc4 */ /* not lifted */ 3090 RECOMP_FLAGS_IN(); 3091 eax = MEM32(esi + 0x8); /* 0x3613DF19: mov eax, dword ptr [esi + 8] */ 3092 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3093 edi = 0; /* 0x3613DF1C: xor edi, edi */ 3094 _cf = 0; 3095 _flag_k = FK_TEST; 3096 PUSH32(esp, eax); /* 0x3613DF1E: push eax */ 3097 MEM32(esi + 0x4) = edi; /* 0x3613DF1F: mov dword ptr [esi + 4], edi */ 3098 MEM32(esi + 0x10) = edi; /* 0x3613DF22: mov dword ptr [esi + 0x10], edi */ 3099 RECOMP_ICALL(0x3615FCC4u); /* 0x3613DF25: call 0x3615fcc4 */ /* not lifted */ 3100 RECOMP_FLAGS_IN(); 3101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3103 esp = esp + 8; /* 0x3613DF2A: add esp, 8 */ 3104 _flag_k = FK_ADD; 3105 MEM32(esi + 0x8) = edi; /* 0x3613DF2D: mov dword ptr [esi + 8], edi */ 3106 edi = POP32_VAL(esp); /* 0x3613DF30: pop edi */ 3107 esi = POP32_VAL(esp); /* 0x3613DF31: pop esi */ 3108 ebx = POP32_VAL(esp); /* 0x3613DF32: pop ebx */ 3109 esp = ebp; /* 0x3613DF33: mov esp, ebp */ 3110 ebp = POP32_VAL(esp); /* 0x3613DF35: pop ebp */ 3111 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3613DF36: ret */ 3112 L_3616CB24: 3113 ecx = MEM32(ebp + (-0x18)); /* 0x3616CB24: mov ecx, dword ptr [ebp - 0x18] */ 3114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xA0u); 3115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3116 ecx = ecx + 0xA0u; /* 0x3616CB27: add ecx, 0xa0 */ 3117 _flag_k = FK_ADD; 3118 RECOMP_BACKEDGE(); 3119 goto L_3613DE70; /* 0x3616CB2D: jmp 0x3613de70 */ 3120 { RECOMP_REGS_OUT(); return; } /* end of function */ 3121 RECOMP_REGS_OUT(); 3122 } 3123 3124 void sub_3616CB32(void) { 3125 int _fpu_cmp = 0; 3126 uint32_t _cf = 0; 3127 int _df = 1; 3128 uint32_t _flag_k = FK_NONE; 3129 uint32_t _flag_a = 0, _flag_b = 0; 3130 uint32_t _itail_tgt = 0; 3131 RECOMP_REGS_LOCALS 3132 RECOMP_ENTER(0x3616CB32u); 3133 3134 goto L_3616CB32; 3135 L_3615FD76: 3136 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 3137 L_3616CB32: 3138 eax = 0x361931A0u; /* 0x3616CB32: mov eax, 0x361931a0 */ 3139 L_3616CB37: 3140 RECOMP_BACKEDGE(); 3141 goto L_3615FD76; /* 0x3616CB37: jmp 0x3615fd76 */ 3142 { RECOMP_REGS_OUT(); return; } /* end of function */ 3143 _ljump: 3144 switch (_itail_tgt) { 3145 case 0x3615FD76u: goto L_3615FD76; 3146 case 0x3616CB32u: goto L_3616CB32; 3147 case 0x3616CB37u: goto L_3616CB37; 3148 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3149 } 3150 RECOMP_REGS_OUT(); 3151 } 3152 3153 void sub_3616CB40(void) { 3154 int _fpu_cmp = 0; 3155 uint32_t _cf = 0; 3156 int _df = 1; 3157 uint32_t _flag_k = FK_NONE; 3158 uint32_t _flag_a = 0, _flag_b = 0; 3159 uint32_t _itail_tgt = 0; 3160 RECOMP_REGS_LOCALS 3161 RECOMP_ENTER(0x3616CB40u); 3162 3163 L_3616CB40: 3164 eax = MEM32(ebp + 0x8); /* 0x3616CB40: mov eax, dword ptr [ebp + 8] */ 3165 PUSH32(esp, eax); /* 0x3616CB43: push eax */ 3166 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB44: call 0x3615fcc4 */ /* not lifted */ 3167 RECOMP_FLAGS_IN(); 3168 ecx = POP32_VAL(esp); /* 0x3616CB49: pop ecx */ 3169 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CB4A: ret */ 3170 RECOMP_REGS_OUT(); 3171 } 3172 3173 void sub_3616CB4B(void) { 3174 int _fpu_cmp = 0; 3175 uint32_t _cf = 0; 3176 int _df = 1; 3177 uint32_t _flag_k = FK_NONE; 3178 uint32_t _flag_a = 0, _flag_b = 0; 3179 uint32_t _itail_tgt = 0; 3180 RECOMP_REGS_LOCALS 3181 RECOMP_ENTER(0x3616CB4Bu); 3182 3183 L_3616CB4B: 3184 ecx = MEM32(ebp + 0x8); /* 0x3616CB4B: mov ecx, dword ptr [ebp + 8] */ 3185 L_3616CB4E: 3186 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 3187 { RECOMP_REGS_OUT(); return; } /* end of function */ 3188 _ljump: 3189 switch (_itail_tgt) { 3190 case 0x3616CB4Bu: goto L_3616CB4B; 3191 case 0x3616CB4Eu: goto L_3616CB4E; 3192 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3193 } 3194 RECOMP_REGS_OUT(); 3195 } 3196 3197 void sub_3616CB54(void) { 3198 int _fpu_cmp = 0; 3199 uint32_t _cf = 0; 3200 int _df = 1; 3201 uint32_t _flag_k = FK_NONE; 3202 uint32_t _flag_a = 0, _flag_b = 0; 3203 uint32_t _itail_tgt = 0; 3204 RECOMP_REGS_LOCALS 3205 RECOMP_ENTER(0x3616CB54u); 3206 3207 goto L_3616CB54; 3208 L_36139030: 3209 MEM32(ecx) = 0x36178084u; /* 0x36139030: mov dword ptr [ecx], 0x36178084 */ 3210 L_36139036: 3211 MEM32(ecx + 0x20) = 0x3617807Cu; /* 0x36139036: mov dword ptr [ecx + 0x20], 0x3617807c */ 3212 L_3613903D: 3213 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 3214 L_3616CB54: 3215 ecx = MEM32(ebp + 0x8); /* 0x3616CB54: mov ecx, dword ptr [ebp + 8] */ 3216 L_3616CB57: 3217 RECOMP_BACKEDGE(); 3218 goto L_36139030; /* 0x3616CB57: jmp 0x36139030 */ 3219 { RECOMP_REGS_OUT(); return; } /* end of function */ 3220 _ljump: 3221 switch (_itail_tgt) { 3222 case 0x36139030u: goto L_36139030; 3223 case 0x36139036u: goto L_36139036; 3224 case 0x3613903Du: goto L_3613903D; 3225 case 0x3616CB54u: goto L_3616CB54; 3226 case 0x3616CB57u: goto L_3616CB57; 3227 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3228 } 3229 RECOMP_REGS_OUT(); 3230 } 3231 3232 void sub_3616CB5C(void) { 3233 int _fpu_cmp = 0; 3234 uint32_t _cf = 0; 3235 int _df = 1; 3236 uint32_t _flag_k = FK_NONE; 3237 uint32_t _flag_a = 0, _flag_b = 0; 3238 uint32_t _itail_tgt = 0; 3239 RECOMP_REGS_LOCALS 3240 RECOMP_ENTER(0x3616CB5Cu); 3241 3242 L_3616CB5C: 3243 ecx = MEM32(ebp + 0x8); /* 0x3616CB5C: mov ecx, dword ptr [ebp + 8] */ 3244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x140u); 3245 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3246 ecx = ecx + 0x140u; /* 0x3616CB5F: add ecx, 0x140 */ 3247 _flag_k = FK_ADD; 3248 goto L_3606C6E0; /* 0x3616CB65: jmp 0x3606c6e0 */ 3249 { RECOMP_REGS_OUT(); return; } /* end of function */ 3250 L_3606C6E0: RECOMP_ITAIL(0x3606C6E0u); { RECOMP_REGS_OUT(); return; } 3251 RECOMP_REGS_OUT(); 3252 } 3253 3254 void sub_3616CB6A(void) { 3255 int _fpu_cmp = 0; 3256 uint32_t _cf = 0; 3257 int _df = 1; 3258 uint32_t _flag_k = FK_NONE; 3259 uint32_t _flag_a = 0, _flag_b = 0; 3260 uint32_t _itail_tgt = 0; 3261 RECOMP_REGS_LOCALS 3262 RECOMP_ENTER(0x3616CB6Au); 3263 3264 L_3616CB6A: 3265 eax = MEM32(ebp + 0x24); /* 0x3616CB6A: mov eax, dword ptr [ebp + 0x24] */ 3266 PUSH32(esp, eax); /* 0x3616CB6D: push eax */ 3267 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB6E: call 0x3615fcc4 */ /* not lifted */ 3268 RECOMP_FLAGS_IN(); 3269 ecx = POP32_VAL(esp); /* 0x3616CB73: pop ecx */ 3270 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CB74: ret */ 3271 RECOMP_REGS_OUT(); 3272 } 3273 3274 void sub_3616CB75(void) { 3275 int _fpu_cmp = 0; 3276 uint32_t _cf = 0; 3277 int _df = 1; 3278 uint32_t _flag_k = FK_NONE; 3279 uint32_t _flag_a = 0, _flag_b = 0; 3280 uint32_t _itail_tgt = 0; 3281 RECOMP_REGS_LOCALS 3282 RECOMP_ENTER(0x3616CB75u); 3283 3284 L_3616CB75: 3285 eax = MEM32(ebp + 0x24); /* 0x3616CB75: mov eax, dword ptr [ebp + 0x24] */ 3286 PUSH32(esp, eax); /* 0x3616CB78: push eax */ 3287 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB79: call 0x3615fcc4 */ /* not lifted */ 3288 RECOMP_FLAGS_IN(); 3289 ecx = POP32_VAL(esp); /* 0x3616CB7E: pop ecx */ 3290 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CB7F: ret */ 3291 RECOMP_REGS_OUT(); 3292 } 3293 3294 void sub_3616CB80(void) { 3295 int _fpu_cmp = 0; 3296 uint32_t _cf = 0; 3297 int _df = 1; 3298 uint32_t _flag_k = FK_NONE; 3299 uint32_t _flag_a = 0, _flag_b = 0; 3300 uint32_t _itail_tgt = 0; 3301 RECOMP_REGS_LOCALS 3302 RECOMP_ENTER(0x3616CB80u); 3303 3304 L_3616CB80: 3305 eax = MEM32(ebp + 0x24); /* 0x3616CB80: mov eax, dword ptr [ebp + 0x24] */ 3306 PUSH32(esp, eax); /* 0x3616CB83: push eax */ 3307 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB84: call 0x3615fcc4 */ /* not lifted */ 3308 RECOMP_FLAGS_IN(); 3309 ecx = POP32_VAL(esp); /* 0x3616CB89: pop ecx */ 3310 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CB8A: ret */ 3311 RECOMP_REGS_OUT(); 3312 } 3313 3314 void sub_3616CB8B(void) { 3315 int _fpu_cmp = 0; 3316 uint32_t _cf = 0; 3317 int _df = 1; 3318 uint32_t _flag_k = FK_NONE; 3319 uint32_t _flag_a = 0, _flag_b = 0; 3320 uint32_t _itail_tgt = 0; 3321 RECOMP_REGS_LOCALS 3322 RECOMP_ENTER(0x3616CB8Bu); 3323 3324 L_3616CB8B: 3325 eax = MEM32(ebp + 0x24); /* 0x3616CB8B: mov eax, dword ptr [ebp + 0x24] */ 3326 PUSH32(esp, eax); /* 0x3616CB8E: push eax */ 3327 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB8F: call 0x3615fcc4 */ /* not lifted */ 3328 RECOMP_FLAGS_IN(); 3329 ecx = POP32_VAL(esp); /* 0x3616CB94: pop ecx */ 3330 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CB95: ret */ 3331 RECOMP_REGS_OUT(); 3332 } 3333 3334 void sub_3616CB96(void) { 3335 int _fpu_cmp = 0; 3336 uint32_t _cf = 0; 3337 int _df = 1; 3338 uint32_t _flag_k = FK_NONE; 3339 uint32_t _flag_a = 0, _flag_b = 0; 3340 uint32_t _itail_tgt = 0; 3341 RECOMP_REGS_LOCALS 3342 RECOMP_ENTER(0x3616CB96u); 3343 3344 L_3616CB96: 3345 eax = MEM32(ebp + (-0x14)); /* 0x3616CB96: mov eax, dword ptr [ebp - 0x14] */ 3346 PUSH32(esp, eax); /* 0x3616CB99: push eax */ 3347 RECOMP_ICALL(0x3615FCC4u); /* 0x3616CB9A: call 0x3615fcc4 */ /* not lifted */ 3348 RECOMP_FLAGS_IN(); 3349 ecx = POP32_VAL(esp); /* 0x3616CB9F: pop ecx */ 3350 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616CBA0: ret */ 3351 RECOMP_REGS_OUT(); 3352 } 3353 3354 void sub_3616CBA1(void) { 3355 int _fpu_cmp = 0; 3356 uint32_t _cf = 0; 3357 int _df = 1; 3358 uint32_t _flag_k = FK_NONE; 3359 uint32_t _flag_a = 0, _flag_b = 0; 3360 uint32_t _itail_tgt = 0; 3361 RECOMP_REGS_LOCALS 3362 RECOMP_ENTER(0x3616CBA1u); 3363 3364 L_3616CBA1: 3365 ecx = MEM32(ebp + (-0x14)); /* 0x3616CBA1: mov ecx, dword ptr [ebp - 0x14] */ 3366 L_3616CBA4: 3367 { _itail_tgt = (uint32_t)(MEM32(0x36170318)); goto _ljump; } 3368 { RECOMP_REGS_OUT(); return; } /* end of function */ 3369 _ljump: 3370 switch (_itail_tgt) { 3371 case 0x3616CBA1u: goto L_3616CBA1; 3372 case 0x3616CBA4u: goto L_3616CBA4; 3373 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3374 } 3375 RECOMP_REGS_OUT(); 3376 }