client/game/kkr.dll/lifted-0121.c (94199B)
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_3616504B(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(0x3616504Bu); 17 18 goto L_3616504B; 19 L_3615FD76: 20 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 21 L_3616504B: 22 eax = 0x36189CB8u; /* 0x3616504B: mov eax, 0x36189cb8 */ 23 L_36165050: 24 RECOMP_BACKEDGE(); 25 goto L_3615FD76; /* 0x36165050: jmp 0x3615fd76 */ 26 { RECOMP_REGS_OUT(); return; } /* end of function */ 27 _ljump: 28 switch (_itail_tgt) { 29 case 0x3615FD76u: goto L_3615FD76; 30 case 0x3616504Bu: goto L_3616504B; 31 case 0x36165050u: goto L_36165050; 32 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 33 } 34 RECOMP_REGS_OUT(); 35 } 36 37 void sub_36165060(void) { 38 int _fpu_cmp = 0; 39 uint32_t _cf = 0; 40 int _df = 1; 41 uint32_t _flag_k = FK_NONE; 42 uint32_t _flag_a = 0, _flag_b = 0; 43 uint32_t _itail_tgt = 0; 44 RECOMP_REGS_LOCALS 45 RECOMP_ENTER(0x36165060u); 46 47 L_36165060: 48 ecx = ebp + (-0x1C); /* 0x36165060: lea ecx, [ebp - 0x1c] */ 49 L_36165063: 50 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 51 { RECOMP_REGS_OUT(); return; } /* end of function */ 52 _ljump: 53 switch (_itail_tgt) { 54 case 0x36165060u: goto L_36165060; 55 case 0x36165063u: goto L_36165063; 56 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 57 } 58 RECOMP_REGS_OUT(); 59 } 60 61 void sub_36165069(void) { 62 int _fpu_cmp = 0; 63 uint32_t _cf = 0; 64 int _df = 1; 65 uint32_t _flag_k = FK_NONE; 66 uint32_t _flag_a = 0, _flag_b = 0; 67 uint32_t _itail_tgt = 0; 68 RECOMP_REGS_LOCALS 69 RECOMP_ENTER(0x36165069u); 70 71 goto L_36165069; 72 L_3615FD76: 73 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 74 L_36165069: 75 eax = 0x36189CE0u; /* 0x36165069: mov eax, 0x36189ce0 */ 76 L_3616506E: 77 RECOMP_BACKEDGE(); 78 goto L_3615FD76; /* 0x3616506E: jmp 0x3615fd76 */ 79 { RECOMP_REGS_OUT(); return; } /* end of function */ 80 _ljump: 81 switch (_itail_tgt) { 82 case 0x3615FD76u: goto L_3615FD76; 83 case 0x36165069u: goto L_36165069; 84 case 0x3616506Eu: goto L_3616506E; 85 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 86 } 87 RECOMP_REGS_OUT(); 88 } 89 90 void sub_36165080(void) { 91 int _fpu_cmp = 0; 92 uint32_t _cf = 0; 93 int _df = 1; 94 uint32_t _flag_k = FK_NONE; 95 uint32_t _flag_a = 0, _flag_b = 0; 96 uint32_t _itail_tgt = 0; 97 RECOMP_REGS_LOCALS 98 RECOMP_ENTER(0x36165080u); 99 100 goto L_36165080; 101 L_3606C6E0: 102 PUSH32(esp, ebp); /* 0x3606C6E0: push ebp */ 103 ebp = esp; /* 0x3606C6E1: mov ebp, esp */ 104 PUSH32(esp, ecx); /* 0x3606C6E3: push ecx */ 105 PUSH32(esp, esi); /* 0x3606C6E4: push esi */ 106 esi = ecx; /* 0x3606C6E5: mov esi, ecx */ 107 eax = MEM32(esi + 0x4); /* 0x3606C6E7: mov eax, dword ptr [esi + 4] */ 108 PUSH32(esp, eax); /* 0x3606C6EA: push eax */ 109 MEM32(ebp + (-0x4)) = eax; /* 0x3606C6EB: mov dword ptr [ebp - 4], eax */ 110 RECOMP_ICALL(0x3615FCC4u); /* 0x3606C6EE: call 0x3615fcc4 */ /* not lifted */ 111 RECOMP_FLAGS_IN(); 112 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 114 esp = esp + 4; /* 0x3606C6F3: add esp, 4 */ 115 _flag_k = FK_ADD; 116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 117 eax = 0; /* 0x3606C6F6: xor eax, eax */ 118 _cf = 0; 119 _flag_k = FK_TEST; 120 MEM32(esi + 0x4) = eax; /* 0x3606C6F8: mov dword ptr [esi + 4], eax */ 121 MEM32(esi + 0x8) = eax; /* 0x3606C6FB: mov dword ptr [esi + 8], eax */ 122 MEM32(esi + 0xC) = eax; /* 0x3606C6FE: mov dword ptr [esi + 0xc], eax */ 123 esi = POP32_VAL(esp); /* 0x3606C701: pop esi */ 124 esp = ebp; /* 0x3606C702: mov esp, ebp */ 125 ebp = POP32_VAL(esp); /* 0x3606C704: pop ebp */ 126 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3606C705: ret */ 127 L_36165080: 128 ecx = ebp + (-0x4C); /* 0x36165080: lea ecx, [ebp - 0x4c] */ 129 RECOMP_BACKEDGE(); 130 goto L_3606C6E0; /* 0x36165083: jmp 0x3606c6e0 */ 131 { RECOMP_REGS_OUT(); return; } /* end of function */ 132 RECOMP_REGS_OUT(); 133 } 134 135 void sub_36165088(void) { 136 int _fpu_cmp = 0; 137 uint32_t _cf = 0; 138 int _df = 1; 139 uint32_t _flag_k = FK_NONE; 140 uint32_t _flag_a = 0, _flag_b = 0; 141 uint32_t _itail_tgt = 0; 142 RECOMP_REGS_LOCALS 143 RECOMP_ENTER(0x36165088u); 144 145 goto L_36165088; 146 L_3615FD76: 147 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 148 L_36165088: 149 eax = 0x36189D08u; /* 0x36165088: mov eax, 0x36189d08 */ 150 L_3616508D: 151 RECOMP_BACKEDGE(); 152 goto L_3615FD76; /* 0x3616508D: jmp 0x3615fd76 */ 153 { RECOMP_REGS_OUT(); return; } /* end of function */ 154 _ljump: 155 switch (_itail_tgt) { 156 case 0x3615FD76u: goto L_3615FD76; 157 case 0x36165088u: goto L_36165088; 158 case 0x3616508Du: goto L_3616508D; 159 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 160 } 161 RECOMP_REGS_OUT(); 162 } 163 164 void sub_361650A0(void) { 165 int _fpu_cmp = 0; 166 uint32_t _cf = 0; 167 int _df = 1; 168 uint32_t _flag_k = FK_NONE; 169 uint32_t _flag_a = 0, _flag_b = 0; 170 uint32_t _itail_tgt = 0; 171 RECOMP_REGS_LOCALS 172 RECOMP_ENTER(0x361650A0u); 173 174 goto L_361650A0; 175 L_3606C6E0: 176 PUSH32(esp, ebp); /* 0x3606C6E0: push ebp */ 177 ebp = esp; /* 0x3606C6E1: mov ebp, esp */ 178 PUSH32(esp, ecx); /* 0x3606C6E3: push ecx */ 179 PUSH32(esp, esi); /* 0x3606C6E4: push esi */ 180 esi = ecx; /* 0x3606C6E5: mov esi, ecx */ 181 eax = MEM32(esi + 0x4); /* 0x3606C6E7: mov eax, dword ptr [esi + 4] */ 182 PUSH32(esp, eax); /* 0x3606C6EA: push eax */ 183 MEM32(ebp + (-0x4)) = eax; /* 0x3606C6EB: mov dword ptr [ebp - 4], eax */ 184 RECOMP_ICALL(0x3615FCC4u); /* 0x3606C6EE: call 0x3615fcc4 */ /* not lifted */ 185 RECOMP_FLAGS_IN(); 186 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 188 esp = esp + 4; /* 0x3606C6F3: add esp, 4 */ 189 _flag_k = FK_ADD; 190 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 191 eax = 0; /* 0x3606C6F6: xor eax, eax */ 192 _cf = 0; 193 _flag_k = FK_TEST; 194 MEM32(esi + 0x4) = eax; /* 0x3606C6F8: mov dword ptr [esi + 4], eax */ 195 MEM32(esi + 0x8) = eax; /* 0x3606C6FB: mov dword ptr [esi + 8], eax */ 196 MEM32(esi + 0xC) = eax; /* 0x3606C6FE: mov dword ptr [esi + 0xc], eax */ 197 esi = POP32_VAL(esp); /* 0x3606C701: pop esi */ 198 esp = ebp; /* 0x3606C702: mov esp, ebp */ 199 ebp = POP32_VAL(esp); /* 0x3606C704: pop ebp */ 200 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3606C705: ret */ 201 L_361650A0: 202 ecx = ebp + (-0x2C); /* 0x361650A0: lea ecx, [ebp - 0x2c] */ 203 RECOMP_BACKEDGE(); 204 goto L_3606C6E0; /* 0x361650A3: jmp 0x3606c6e0 */ 205 { RECOMP_REGS_OUT(); return; } /* end of function */ 206 RECOMP_REGS_OUT(); 207 } 208 209 void sub_361650A8(void) { 210 int _fpu_cmp = 0; 211 uint32_t _cf = 0; 212 int _df = 1; 213 uint32_t _flag_k = FK_NONE; 214 uint32_t _flag_a = 0, _flag_b = 0; 215 uint32_t _itail_tgt = 0; 216 RECOMP_REGS_LOCALS 217 RECOMP_ENTER(0x361650A8u); 218 219 L_361650A8: 220 eax = MEM32(ebp + (-0x10)); /* 0x361650A8: mov eax, dword ptr [ebp - 0x10] */ 221 PUSH32(esp, eax); /* 0x361650AB: push eax */ 222 RECOMP_ICALL(0x3615FCC4u); /* 0x361650AC: call 0x3615fcc4 */ /* not lifted */ 223 RECOMP_FLAGS_IN(); 224 ecx = POP32_VAL(esp); /* 0x361650B1: pop ecx */ 225 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361650B2: ret */ 226 RECOMP_REGS_OUT(); 227 } 228 229 void sub_361650B3(void) { 230 int _fpu_cmp = 0; 231 uint32_t _cf = 0; 232 int _df = 1; 233 uint32_t _flag_k = FK_NONE; 234 uint32_t _flag_a = 0, _flag_b = 0; 235 uint32_t _itail_tgt = 0; 236 RECOMP_REGS_LOCALS 237 RECOMP_ENTER(0x361650B3u); 238 239 L_361650B3: 240 eax = MEM32(ebp + (-0x18)); /* 0x361650B3: mov eax, dword ptr [ebp - 0x18] */ 241 PUSH32(esp, eax); /* 0x361650B6: push eax */ 242 ecx = MEM32(ebp + (-0x1C)); /* 0x361650B7: mov ecx, dword ptr [ebp - 0x1c] */ 243 PUSH32(esp, ecx); /* 0x361650BA: push ecx */ 244 RECOMP_ICALL(0x3610BA00u); /* 0x361650BB: call 0x3610ba00 */ /* not lifted */ 245 RECOMP_FLAGS_IN(); 246 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 248 esp = esp + 8; /* 0x361650C0: add esp, 8 */ 249 _flag_k = FK_ADD; 250 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361650C3: ret */ 251 RECOMP_REGS_OUT(); 252 } 253 254 void sub_361650C4(void) { 255 int _fpu_cmp = 0; 256 uint32_t _cf = 0; 257 int _df = 1; 258 uint32_t _flag_k = FK_NONE; 259 uint32_t _flag_a = 0, _flag_b = 0; 260 uint32_t _itail_tgt = 0; 261 RECOMP_REGS_LOCALS 262 RECOMP_ENTER(0x361650C4u); 263 264 goto L_361650C4; 265 L_3615FD76: 266 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 267 L_361650C4: 268 eax = 0x36189D30u; /* 0x361650C4: mov eax, 0x36189d30 */ 269 L_361650C9: 270 RECOMP_BACKEDGE(); 271 goto L_3615FD76; /* 0x361650C9: jmp 0x3615fd76 */ 272 { RECOMP_REGS_OUT(); return; } /* end of function */ 273 _ljump: 274 switch (_itail_tgt) { 275 case 0x3615FD76u: goto L_3615FD76; 276 case 0x361650C4u: goto L_361650C4; 277 case 0x361650C9u: goto L_361650C9; 278 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 279 } 280 RECOMP_REGS_OUT(); 281 } 282 283 void sub_361650D0(void) { 284 int _fpu_cmp = 0; 285 uint32_t _cf = 0; 286 int _df = 1; 287 uint32_t _flag_k = FK_NONE; 288 uint32_t _flag_a = 0, _flag_b = 0; 289 uint32_t _itail_tgt = 0; 290 RECOMP_REGS_LOCALS 291 RECOMP_ENTER(0x361650D0u); 292 293 L_361650D0: 294 eax = MEM32(ebp + (-0x10)); /* 0x361650D0: mov eax, dword ptr [ebp - 0x10] */ 295 PUSH32(esp, eax); /* 0x361650D3: push eax */ 296 RECOMP_ICALL(0x3615FCC4u); /* 0x361650D4: call 0x3615fcc4 */ /* not lifted */ 297 RECOMP_FLAGS_IN(); 298 ecx = POP32_VAL(esp); /* 0x361650D9: pop ecx */ 299 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361650DA: ret */ 300 RECOMP_REGS_OUT(); 301 } 302 303 void sub_361650DB(void) { 304 int _fpu_cmp = 0; 305 uint32_t _cf = 0; 306 int _df = 1; 307 uint32_t _flag_k = FK_NONE; 308 uint32_t _flag_a = 0, _flag_b = 0; 309 uint32_t _itail_tgt = 0; 310 RECOMP_REGS_LOCALS 311 RECOMP_ENTER(0x361650DBu); 312 313 goto L_361650DB; 314 L_3615FD76: 315 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 316 L_361650DB: 317 eax = 0x36189D68u; /* 0x361650DB: mov eax, 0x36189d68 */ 318 L_361650E0: 319 RECOMP_BACKEDGE(); 320 goto L_3615FD76; /* 0x361650E0: jmp 0x3615fd76 */ 321 { RECOMP_REGS_OUT(); return; } /* end of function */ 322 _ljump: 323 switch (_itail_tgt) { 324 case 0x3615FD76u: goto L_3615FD76; 325 case 0x361650DBu: goto L_361650DB; 326 case 0x361650E0u: goto L_361650E0; 327 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 328 } 329 RECOMP_REGS_OUT(); 330 } 331 332 void sub_361650F0(void) { 333 int _fpu_cmp = 0; 334 uint32_t _cf = 0; 335 int _df = 1; 336 uint32_t _flag_k = FK_NONE; 337 uint32_t _flag_a = 0, _flag_b = 0; 338 uint32_t _itail_tgt = 0; 339 RECOMP_REGS_LOCALS 340 RECOMP_ENTER(0x361650F0u); 341 342 L_361650F0: 343 eax = MEM32(ebp + (-0x10)); /* 0x361650F0: mov eax, dword ptr [ebp - 0x10] */ 344 PUSH32(esp, eax); /* 0x361650F3: push eax */ 345 RECOMP_ICALL(0x3615FCC4u); /* 0x361650F4: call 0x3615fcc4 */ /* not lifted */ 346 RECOMP_FLAGS_IN(); 347 ecx = POP32_VAL(esp); /* 0x361650F9: pop ecx */ 348 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361650FA: ret */ 349 RECOMP_REGS_OUT(); 350 } 351 352 void sub_361650FB(void) { 353 int _fpu_cmp = 0; 354 uint32_t _cf = 0; 355 int _df = 1; 356 uint32_t _flag_k = FK_NONE; 357 uint32_t _flag_a = 0, _flag_b = 0; 358 uint32_t _itail_tgt = 0; 359 RECOMP_REGS_LOCALS 360 RECOMP_ENTER(0x361650FBu); 361 362 goto L_361650FB; 363 L_3615FD76: 364 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 365 L_361650FB: 366 eax = 0x36189D90u; /* 0x361650FB: mov eax, 0x36189d90 */ 367 L_36165100: 368 RECOMP_BACKEDGE(); 369 goto L_3615FD76; /* 0x36165100: jmp 0x3615fd76 */ 370 { RECOMP_REGS_OUT(); return; } /* end of function */ 371 _ljump: 372 switch (_itail_tgt) { 373 case 0x3615FD76u: goto L_3615FD76; 374 case 0x361650FBu: goto L_361650FB; 375 case 0x36165100u: goto L_36165100; 376 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 377 } 378 RECOMP_REGS_OUT(); 379 } 380 381 void sub_36165110(void) { 382 int _fpu_cmp = 0; 383 uint32_t _cf = 0; 384 int _df = 1; 385 uint32_t _flag_k = FK_NONE; 386 uint32_t _flag_a = 0, _flag_b = 0; 387 uint32_t _itail_tgt = 0; 388 RECOMP_REGS_LOCALS 389 RECOMP_ENTER(0x36165110u); 390 391 L_36165110: 392 eax = MEM32(ebp + (-0x10)); /* 0x36165110: mov eax, dword ptr [ebp - 0x10] */ 393 PUSH32(esp, eax); /* 0x36165113: push eax */ 394 RECOMP_ICALL(0x3615FCC4u); /* 0x36165114: call 0x3615fcc4 */ /* not lifted */ 395 RECOMP_FLAGS_IN(); 396 ecx = POP32_VAL(esp); /* 0x36165119: pop ecx */ 397 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616511A: ret */ 398 RECOMP_REGS_OUT(); 399 } 400 401 void sub_3616511B(void) { 402 int _fpu_cmp = 0; 403 uint32_t _cf = 0; 404 int _df = 1; 405 uint32_t _flag_k = FK_NONE; 406 uint32_t _flag_a = 0, _flag_b = 0; 407 uint32_t _itail_tgt = 0; 408 RECOMP_REGS_LOCALS 409 RECOMP_ENTER(0x3616511Bu); 410 411 goto L_3616511B; 412 L_3615FD76: 413 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 414 L_3616511B: 415 eax = 0x36189DB8u; /* 0x3616511B: mov eax, 0x36189db8 */ 416 L_36165120: 417 RECOMP_BACKEDGE(); 418 goto L_3615FD76; /* 0x36165120: jmp 0x3615fd76 */ 419 { RECOMP_REGS_OUT(); return; } /* end of function */ 420 _ljump: 421 switch (_itail_tgt) { 422 case 0x3615FD76u: goto L_3615FD76; 423 case 0x3616511Bu: goto L_3616511B; 424 case 0x36165120u: goto L_36165120; 425 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 426 } 427 RECOMP_REGS_OUT(); 428 } 429 430 void sub_36165130(void) { 431 int _fpu_cmp = 0; 432 uint32_t _cf = 0; 433 int _df = 1; 434 uint32_t _flag_k = FK_NONE; 435 uint32_t _flag_a = 0, _flag_b = 0; 436 uint32_t _itail_tgt = 0; 437 RECOMP_REGS_LOCALS 438 RECOMP_ENTER(0x36165130u); 439 440 L_36165130: 441 eax = MEM32(ebp + (-0x10)); /* 0x36165130: mov eax, dword ptr [ebp - 0x10] */ 442 PUSH32(esp, eax); /* 0x36165133: push eax */ 443 RECOMP_ICALL(0x3615FCC4u); /* 0x36165134: call 0x3615fcc4 */ /* not lifted */ 444 RECOMP_FLAGS_IN(); 445 ecx = POP32_VAL(esp); /* 0x36165139: pop ecx */ 446 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616513A: ret */ 447 RECOMP_REGS_OUT(); 448 } 449 450 void sub_3616513B(void) { 451 int _fpu_cmp = 0; 452 uint32_t _cf = 0; 453 int _df = 1; 454 uint32_t _flag_k = FK_NONE; 455 uint32_t _flag_a = 0, _flag_b = 0; 456 uint32_t _itail_tgt = 0; 457 RECOMP_REGS_LOCALS 458 RECOMP_ENTER(0x3616513Bu); 459 460 goto L_3616513B; 461 L_3615FD76: 462 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 463 L_3616513B: 464 eax = 0x36189DE0u; /* 0x3616513B: mov eax, 0x36189de0 */ 465 L_36165140: 466 RECOMP_BACKEDGE(); 467 goto L_3615FD76; /* 0x36165140: jmp 0x3615fd76 */ 468 { RECOMP_REGS_OUT(); return; } /* end of function */ 469 _ljump: 470 switch (_itail_tgt) { 471 case 0x3615FD76u: goto L_3615FD76; 472 case 0x3616513Bu: goto L_3616513B; 473 case 0x36165140u: goto L_36165140; 474 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 475 } 476 RECOMP_REGS_OUT(); 477 } 478 479 void sub_36165150(void) { 480 int _fpu_cmp = 0; 481 uint32_t _cf = 0; 482 int _df = 1; 483 uint32_t _flag_k = FK_NONE; 484 uint32_t _flag_a = 0, _flag_b = 0; 485 uint32_t _itail_tgt = 0; 486 RECOMP_REGS_LOCALS 487 RECOMP_ENTER(0x36165150u); 488 489 L_36165150: 490 eax = MEM32(ebp + (-0x10)); /* 0x36165150: mov eax, dword ptr [ebp - 0x10] */ 491 PUSH32(esp, eax); /* 0x36165153: push eax */ 492 RECOMP_ICALL(0x3615FCC4u); /* 0x36165154: call 0x3615fcc4 */ /* not lifted */ 493 RECOMP_FLAGS_IN(); 494 ecx = POP32_VAL(esp); /* 0x36165159: pop ecx */ 495 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616515A: ret */ 496 RECOMP_REGS_OUT(); 497 } 498 499 void sub_3616515B(void) { 500 int _fpu_cmp = 0; 501 uint32_t _cf = 0; 502 int _df = 1; 503 uint32_t _flag_k = FK_NONE; 504 uint32_t _flag_a = 0, _flag_b = 0; 505 uint32_t _itail_tgt = 0; 506 RECOMP_REGS_LOCALS 507 RECOMP_ENTER(0x3616515Bu); 508 509 goto L_3616515B; 510 L_3615FD76: 511 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 512 L_3616515B: 513 eax = 0x36189E08u; /* 0x3616515B: mov eax, 0x36189e08 */ 514 L_36165160: 515 RECOMP_BACKEDGE(); 516 goto L_3615FD76; /* 0x36165160: jmp 0x3615fd76 */ 517 { RECOMP_REGS_OUT(); return; } /* end of function */ 518 _ljump: 519 switch (_itail_tgt) { 520 case 0x3615FD76u: goto L_3615FD76; 521 case 0x3616515Bu: goto L_3616515B; 522 case 0x36165160u: goto L_36165160; 523 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 524 } 525 RECOMP_REGS_OUT(); 526 } 527 528 void sub_36165170(void) { 529 int _fpu_cmp = 0; 530 uint32_t _cf = 0; 531 int _df = 1; 532 uint32_t _flag_k = FK_NONE; 533 uint32_t _flag_a = 0, _flag_b = 0; 534 uint32_t _itail_tgt = 0; 535 RECOMP_REGS_LOCALS 536 RECOMP_ENTER(0x36165170u); 537 538 L_36165170: 539 eax = MEM32(ebp + (-0x10)); /* 0x36165170: mov eax, dword ptr [ebp - 0x10] */ 540 PUSH32(esp, eax); /* 0x36165173: push eax */ 541 RECOMP_ICALL(0x3615FCC4u); /* 0x36165174: call 0x3615fcc4 */ /* not lifted */ 542 RECOMP_FLAGS_IN(); 543 ecx = POP32_VAL(esp); /* 0x36165179: pop ecx */ 544 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616517A: ret */ 545 RECOMP_REGS_OUT(); 546 } 547 548 void sub_3616517B(void) { 549 int _fpu_cmp = 0; 550 uint32_t _cf = 0; 551 int _df = 1; 552 uint32_t _flag_k = FK_NONE; 553 uint32_t _flag_a = 0, _flag_b = 0; 554 uint32_t _itail_tgt = 0; 555 RECOMP_REGS_LOCALS 556 RECOMP_ENTER(0x3616517Bu); 557 558 goto L_3616517B; 559 L_3615FD76: 560 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 561 L_3616517B: 562 eax = 0x36189E30u; /* 0x3616517B: mov eax, 0x36189e30 */ 563 L_36165180: 564 RECOMP_BACKEDGE(); 565 goto L_3615FD76; /* 0x36165180: jmp 0x3615fd76 */ 566 { RECOMP_REGS_OUT(); return; } /* end of function */ 567 _ljump: 568 switch (_itail_tgt) { 569 case 0x3615FD76u: goto L_3615FD76; 570 case 0x3616517Bu: goto L_3616517B; 571 case 0x36165180u: goto L_36165180; 572 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 573 } 574 RECOMP_REGS_OUT(); 575 } 576 577 void sub_36165190(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(0x36165190u); 586 587 L_36165190: 588 eax = MEM32(ebp + (-0x10)); /* 0x36165190: mov eax, dword ptr [ebp - 0x10] */ 589 PUSH32(esp, eax); /* 0x36165193: push eax */ 590 RECOMP_ICALL(0x3615FCC4u); /* 0x36165194: call 0x3615fcc4 */ /* not lifted */ 591 RECOMP_FLAGS_IN(); 592 ecx = POP32_VAL(esp); /* 0x36165199: pop ecx */ 593 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616519A: ret */ 594 RECOMP_REGS_OUT(); 595 } 596 597 void sub_3616519B(void) { 598 int _fpu_cmp = 0; 599 uint32_t _cf = 0; 600 int _df = 1; 601 uint32_t _flag_k = FK_NONE; 602 uint32_t _flag_a = 0, _flag_b = 0; 603 uint32_t _itail_tgt = 0; 604 RECOMP_REGS_LOCALS 605 RECOMP_ENTER(0x3616519Bu); 606 607 goto L_3616519B; 608 L_3615FD76: 609 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 610 L_3616519B: 611 eax = 0x36189E58u; /* 0x3616519B: mov eax, 0x36189e58 */ 612 L_361651A0: 613 RECOMP_BACKEDGE(); 614 goto L_3615FD76; /* 0x361651A0: jmp 0x3615fd76 */ 615 { RECOMP_REGS_OUT(); return; } /* end of function */ 616 _ljump: 617 switch (_itail_tgt) { 618 case 0x3615FD76u: goto L_3615FD76; 619 case 0x3616519Bu: goto L_3616519B; 620 case 0x361651A0u: goto L_361651A0; 621 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 622 } 623 RECOMP_REGS_OUT(); 624 } 625 626 void sub_361651B0(void) { 627 int _fpu_cmp = 0; 628 uint32_t _cf = 0; 629 int _df = 1; 630 uint32_t _flag_k = FK_NONE; 631 uint32_t _flag_a = 0, _flag_b = 0; 632 uint32_t _itail_tgt = 0; 633 RECOMP_REGS_LOCALS 634 RECOMP_ENTER(0x361651B0u); 635 636 L_361651B0: 637 eax = MEM32(ebp + (-0x10)); /* 0x361651B0: mov eax, dword ptr [ebp - 0x10] */ 638 PUSH32(esp, eax); /* 0x361651B3: push eax */ 639 RECOMP_ICALL(0x3615FCC4u); /* 0x361651B4: call 0x3615fcc4 */ /* not lifted */ 640 RECOMP_FLAGS_IN(); 641 ecx = POP32_VAL(esp); /* 0x361651B9: pop ecx */ 642 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361651BA: ret */ 643 RECOMP_REGS_OUT(); 644 } 645 646 void sub_361651BB(void) { 647 int _fpu_cmp = 0; 648 uint32_t _cf = 0; 649 int _df = 1; 650 uint32_t _flag_k = FK_NONE; 651 uint32_t _flag_a = 0, _flag_b = 0; 652 uint32_t _itail_tgt = 0; 653 RECOMP_REGS_LOCALS 654 RECOMP_ENTER(0x361651BBu); 655 656 goto L_361651BB; 657 L_3615FD76: 658 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 659 L_361651BB: 660 eax = 0x36189E80u; /* 0x361651BB: mov eax, 0x36189e80 */ 661 L_361651C0: 662 RECOMP_BACKEDGE(); 663 goto L_3615FD76; /* 0x361651C0: jmp 0x3615fd76 */ 664 { RECOMP_REGS_OUT(); return; } /* end of function */ 665 _ljump: 666 switch (_itail_tgt) { 667 case 0x3615FD76u: goto L_3615FD76; 668 case 0x361651BBu: goto L_361651BB; 669 case 0x361651C0u: goto L_361651C0; 670 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 671 } 672 RECOMP_REGS_OUT(); 673 } 674 675 void sub_361651D0(void) { 676 int _fpu_cmp = 0; 677 uint32_t _cf = 0; 678 int _df = 1; 679 uint32_t _flag_k = FK_NONE; 680 uint32_t _flag_a = 0, _flag_b = 0; 681 uint32_t _itail_tgt = 0; 682 RECOMP_REGS_LOCALS 683 RECOMP_ENTER(0x361651D0u); 684 685 L_361651D0: 686 ecx = ebp + (-0x20); /* 0x361651D0: lea ecx, [ebp - 0x20] */ 687 L_361651D3: 688 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 689 { RECOMP_REGS_OUT(); return; } /* end of function */ 690 _ljump: 691 switch (_itail_tgt) { 692 case 0x361651D0u: goto L_361651D0; 693 case 0x361651D3u: goto L_361651D3; 694 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 695 } 696 RECOMP_REGS_OUT(); 697 } 698 699 void sub_361651D9(void) { 700 int _fpu_cmp = 0; 701 uint32_t _cf = 0; 702 int _df = 1; 703 uint32_t _flag_k = FK_NONE; 704 uint32_t _flag_a = 0, _flag_b = 0; 705 uint32_t _itail_tgt = 0; 706 RECOMP_REGS_LOCALS 707 RECOMP_ENTER(0x361651D9u); 708 709 goto L_361651D9; 710 L_3615FD76: 711 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 712 L_361651D9: 713 eax = 0x36189EA8u; /* 0x361651D9: mov eax, 0x36189ea8 */ 714 L_361651DE: 715 RECOMP_BACKEDGE(); 716 goto L_3615FD76; /* 0x361651DE: jmp 0x3615fd76 */ 717 { RECOMP_REGS_OUT(); return; } /* end of function */ 718 _ljump: 719 switch (_itail_tgt) { 720 case 0x3615FD76u: goto L_3615FD76; 721 case 0x361651D9u: goto L_361651D9; 722 case 0x361651DEu: goto L_361651DE; 723 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 724 } 725 RECOMP_REGS_OUT(); 726 } 727 728 void sub_361651F0(void) { 729 int _fpu_cmp = 0; 730 uint32_t _cf = 0; 731 int _df = 1; 732 uint32_t _flag_k = FK_NONE; 733 uint32_t _flag_a = 0, _flag_b = 0; 734 uint32_t _itail_tgt = 0; 735 RECOMP_REGS_LOCALS 736 RECOMP_ENTER(0x361651F0u); 737 738 L_361651F0: 739 eax = MEM32(ebp + (-0x10)); /* 0x361651F0: mov eax, dword ptr [ebp - 0x10] */ 740 PUSH32(esp, eax); /* 0x361651F3: push eax */ 741 RECOMP_ICALL(0x3615FCC4u); /* 0x361651F4: call 0x3615fcc4 */ /* not lifted */ 742 RECOMP_FLAGS_IN(); 743 ecx = POP32_VAL(esp); /* 0x361651F9: pop ecx */ 744 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361651FA: ret */ 745 RECOMP_REGS_OUT(); 746 } 747 748 void sub_361651FB(void) { 749 int _fpu_cmp = 0; 750 uint32_t _cf = 0; 751 int _df = 1; 752 uint32_t _flag_k = FK_NONE; 753 uint32_t _flag_a = 0, _flag_b = 0; 754 uint32_t _itail_tgt = 0; 755 RECOMP_REGS_LOCALS 756 RECOMP_ENTER(0x361651FBu); 757 758 L_361651FB: 759 eax = MEM32(ebp + 0x8); /* 0x361651FB: mov eax, dword ptr [ebp + 8] */ 760 PUSH32(esp, eax); /* 0x361651FE: push eax */ 761 RECOMP_ICALL(0x3615FCC4u); /* 0x361651FF: call 0x3615fcc4 */ /* not lifted */ 762 RECOMP_FLAGS_IN(); 763 ecx = POP32_VAL(esp); /* 0x36165204: pop ecx */ 764 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165205: ret */ 765 RECOMP_REGS_OUT(); 766 } 767 768 void sub_36165206(void) { 769 int _fpu_cmp = 0; 770 uint32_t _cf = 0; 771 int _df = 1; 772 uint32_t _flag_k = FK_NONE; 773 uint32_t _flag_a = 0, _flag_b = 0; 774 uint32_t _itail_tgt = 0; 775 RECOMP_REGS_LOCALS 776 RECOMP_ENTER(0x36165206u); 777 778 L_36165206: 779 eax = MEM32(ebp + 0x8); /* 0x36165206: mov eax, dword ptr [ebp + 8] */ 780 PUSH32(esp, eax); /* 0x36165209: push eax */ 781 RECOMP_ICALL(0x3615FCC4u); /* 0x3616520A: call 0x3615fcc4 */ /* not lifted */ 782 RECOMP_FLAGS_IN(); 783 ecx = POP32_VAL(esp); /* 0x3616520F: pop ecx */ 784 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165210: ret */ 785 RECOMP_REGS_OUT(); 786 } 787 788 void sub_36165211(void) { 789 int _fpu_cmp = 0; 790 uint32_t _cf = 0; 791 int _df = 1; 792 uint32_t _flag_k = FK_NONE; 793 uint32_t _flag_a = 0, _flag_b = 0; 794 uint32_t _itail_tgt = 0; 795 RECOMP_REGS_LOCALS 796 RECOMP_ENTER(0x36165211u); 797 798 L_36165211: 799 eax = MEM32(ebp + 0x8); /* 0x36165211: mov eax, dword ptr [ebp + 8] */ 800 PUSH32(esp, eax); /* 0x36165214: push eax */ 801 RECOMP_ICALL(0x3615FCC4u); /* 0x36165215: call 0x3615fcc4 */ /* not lifted */ 802 RECOMP_FLAGS_IN(); 803 ecx = POP32_VAL(esp); /* 0x3616521A: pop ecx */ 804 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616521B: ret */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_3616521C(void) { 809 int _fpu_cmp = 0; 810 uint32_t _cf = 0; 811 int _df = 1; 812 uint32_t _flag_k = FK_NONE; 813 uint32_t _flag_a = 0, _flag_b = 0; 814 uint32_t _itail_tgt = 0; 815 RECOMP_REGS_LOCALS 816 RECOMP_ENTER(0x3616521Cu); 817 818 L_3616521C: 819 eax = MEM32(ebp + 0x8); /* 0x3616521C: mov eax, dword ptr [ebp + 8] */ 820 PUSH32(esp, eax); /* 0x3616521F: push eax */ 821 RECOMP_ICALL(0x3615FCC4u); /* 0x36165220: call 0x3615fcc4 */ /* not lifted */ 822 RECOMP_FLAGS_IN(); 823 ecx = POP32_VAL(esp); /* 0x36165225: pop ecx */ 824 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165226: ret */ 825 RECOMP_REGS_OUT(); 826 } 827 828 void sub_36165227(void) { 829 int _fpu_cmp = 0; 830 uint32_t _cf = 0; 831 int _df = 1; 832 uint32_t _flag_k = FK_NONE; 833 uint32_t _flag_a = 0, _flag_b = 0; 834 uint32_t _itail_tgt = 0; 835 RECOMP_REGS_LOCALS 836 RECOMP_ENTER(0x36165227u); 837 838 goto L_36165227; 839 L_3615FD76: 840 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 841 L_36165227: 842 eax = 0x36189ED0u; /* 0x36165227: mov eax, 0x36189ed0 */ 843 L_3616522C: 844 RECOMP_BACKEDGE(); 845 goto L_3615FD76; /* 0x3616522C: jmp 0x3615fd76 */ 846 { RECOMP_REGS_OUT(); return; } /* end of function */ 847 _ljump: 848 switch (_itail_tgt) { 849 case 0x3615FD76u: goto L_3615FD76; 850 case 0x36165227u: goto L_36165227; 851 case 0x3616522Cu: goto L_3616522C; 852 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 853 } 854 RECOMP_REGS_OUT(); 855 } 856 857 void sub_36165240(void) { 858 int _fpu_cmp = 0; 859 uint32_t _cf = 0; 860 int _df = 1; 861 uint32_t _flag_k = FK_NONE; 862 uint32_t _flag_a = 0, _flag_b = 0; 863 uint32_t _itail_tgt = 0; 864 RECOMP_REGS_LOCALS 865 RECOMP_ENTER(0x36165240u); 866 867 goto L_36165240; 868 L_360E2940: 869 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360E2940: ret */ 870 L_36165240: 871 ecx = ebp + (-0x24); /* 0x36165240: lea ecx, [ebp - 0x24] */ 872 RECOMP_BACKEDGE(); 873 goto L_360E2940; /* 0x36165243: jmp 0x360e2940 */ 874 { RECOMP_REGS_OUT(); return; } /* end of function */ 875 RECOMP_REGS_OUT(); 876 } 877 878 void sub_36165248(void) { 879 int _fpu_cmp = 0; 880 uint32_t _cf = 0; 881 int _df = 1; 882 uint32_t _flag_k = FK_NONE; 883 uint32_t _flag_a = 0, _flag_b = 0; 884 uint32_t _itail_tgt = 0; 885 RECOMP_REGS_LOCALS 886 RECOMP_ENTER(0x36165248u); 887 888 goto L_36165248; 889 L_3615FD76: 890 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 891 L_36165248: 892 eax = 0x36189F18u; /* 0x36165248: mov eax, 0x36189f18 */ 893 L_3616524D: 894 RECOMP_BACKEDGE(); 895 goto L_3615FD76; /* 0x3616524D: jmp 0x3615fd76 */ 896 { RECOMP_REGS_OUT(); return; } /* end of function */ 897 _ljump: 898 switch (_itail_tgt) { 899 case 0x3615FD76u: goto L_3615FD76; 900 case 0x36165248u: goto L_36165248; 901 case 0x3616524Du: goto L_3616524D; 902 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 903 } 904 RECOMP_REGS_OUT(); 905 } 906 907 void sub_36165260(void) { 908 int _fpu_cmp = 0; 909 uint32_t _cf = 0; 910 int _df = 1; 911 uint32_t _flag_k = FK_NONE; 912 uint32_t _flag_a = 0, _flag_b = 0; 913 uint32_t _itail_tgt = 0; 914 RECOMP_REGS_LOCALS 915 RECOMP_ENTER(0x36165260u); 916 917 L_36165260: 918 eax = MEM32(ebp + (-0x1C)); /* 0x36165260: mov eax, dword ptr [ebp - 0x1c] */ 919 PUSH32(esp, eax); /* 0x36165263: push eax */ 920 RECOMP_ICALL(0x3615FCC4u); /* 0x36165264: call 0x3615fcc4 */ /* not lifted */ 921 RECOMP_FLAGS_IN(); 922 ecx = POP32_VAL(esp); /* 0x36165269: pop ecx */ 923 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616526A: ret */ 924 RECOMP_REGS_OUT(); 925 } 926 927 void sub_3616526B(void) { 928 int _fpu_cmp = 0; 929 uint32_t _cf = 0; 930 int _df = 1; 931 uint32_t _flag_k = FK_NONE; 932 uint32_t _flag_a = 0, _flag_b = 0; 933 uint32_t _itail_tgt = 0; 934 RECOMP_REGS_LOCALS 935 RECOMP_ENTER(0x3616526Bu); 936 937 goto L_3616526B; 938 L_3615FD76: 939 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 940 L_3616526B: 941 eax = 0x36189F40u; /* 0x3616526B: mov eax, 0x36189f40 */ 942 L_36165270: 943 RECOMP_BACKEDGE(); 944 goto L_3615FD76; /* 0x36165270: jmp 0x3615fd76 */ 945 { RECOMP_REGS_OUT(); return; } /* end of function */ 946 _ljump: 947 switch (_itail_tgt) { 948 case 0x3615FD76u: goto L_3615FD76; 949 case 0x3616526Bu: goto L_3616526B; 950 case 0x36165270u: goto L_36165270; 951 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 952 } 953 RECOMP_REGS_OUT(); 954 } 955 956 void sub_36165280(void) { 957 int _fpu_cmp = 0; 958 uint32_t _cf = 0; 959 int _df = 1; 960 uint32_t _flag_k = FK_NONE; 961 uint32_t _flag_a = 0, _flag_b = 0; 962 uint32_t _itail_tgt = 0; 963 RECOMP_REGS_LOCALS 964 RECOMP_ENTER(0x36165280u); 965 966 L_36165280: 967 eax = MEM32(ebp + (-0x14)); /* 0x36165280: mov eax, dword ptr [ebp - 0x14] */ 968 PUSH32(esp, eax); /* 0x36165283: push eax */ 969 RECOMP_ICALL(0x3615FCC4u); /* 0x36165284: call 0x3615fcc4 */ /* not lifted */ 970 RECOMP_FLAGS_IN(); 971 ecx = POP32_VAL(esp); /* 0x36165289: pop ecx */ 972 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616528A: ret */ 973 RECOMP_REGS_OUT(); 974 } 975 976 void sub_3616528B(void) { 977 int _fpu_cmp = 0; 978 uint32_t _cf = 0; 979 int _df = 1; 980 uint32_t _flag_k = FK_NONE; 981 uint32_t _flag_a = 0, _flag_b = 0; 982 uint32_t _itail_tgt = 0; 983 RECOMP_REGS_LOCALS 984 RECOMP_ENTER(0x3616528Bu); 985 986 goto L_3616528B; 987 L_3615FD76: 988 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 989 L_3616528B: 990 eax = 0x36189F68u; /* 0x3616528B: mov eax, 0x36189f68 */ 991 L_36165290: 992 RECOMP_BACKEDGE(); 993 goto L_3615FD76; /* 0x36165290: jmp 0x3615fd76 */ 994 { RECOMP_REGS_OUT(); return; } /* end of function */ 995 _ljump: 996 switch (_itail_tgt) { 997 case 0x3615FD76u: goto L_3615FD76; 998 case 0x3616528Bu: goto L_3616528B; 999 case 0x36165290u: goto L_36165290; 1000 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1001 } 1002 RECOMP_REGS_OUT(); 1003 } 1004 1005 void sub_361652A0(void) { 1006 int _fpu_cmp = 0; 1007 uint32_t _cf = 0; 1008 int _df = 1; 1009 uint32_t _flag_k = FK_NONE; 1010 uint32_t _flag_a = 0, _flag_b = 0; 1011 uint32_t _itail_tgt = 0; 1012 RECOMP_REGS_LOCALS 1013 RECOMP_ENTER(0x361652A0u); 1014 1015 L_361652A0: 1016 eax = MEM32(ebp + 0x8); /* 0x361652A0: mov eax, dword ptr [ebp + 8] */ 1017 PUSH32(esp, eax); /* 0x361652A3: push eax */ 1018 RECOMP_ICALL(0x3615FCC4u); /* 0x361652A4: call 0x3615fcc4 */ /* not lifted */ 1019 RECOMP_FLAGS_IN(); 1020 ecx = POP32_VAL(esp); /* 0x361652A9: pop ecx */ 1021 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361652AA: ret */ 1022 RECOMP_REGS_OUT(); 1023 } 1024 1025 void sub_361652AB(void) { 1026 int _fpu_cmp = 0; 1027 uint32_t _cf = 0; 1028 int _df = 1; 1029 uint32_t _flag_k = FK_NONE; 1030 uint32_t _flag_a = 0, _flag_b = 0; 1031 uint32_t _itail_tgt = 0; 1032 RECOMP_REGS_LOCALS 1033 RECOMP_ENTER(0x361652ABu); 1034 1035 L_361652AB: 1036 eax = MEM32(ebp + 0x8); /* 0x361652AB: mov eax, dword ptr [ebp + 8] */ 1037 PUSH32(esp, eax); /* 0x361652AE: push eax */ 1038 RECOMP_ICALL(0x3615FCC4u); /* 0x361652AF: call 0x3615fcc4 */ /* not lifted */ 1039 RECOMP_FLAGS_IN(); 1040 ecx = POP32_VAL(esp); /* 0x361652B4: pop ecx */ 1041 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361652B5: ret */ 1042 RECOMP_REGS_OUT(); 1043 } 1044 1045 void sub_361652B6(void) { 1046 int _fpu_cmp = 0; 1047 uint32_t _cf = 0; 1048 int _df = 1; 1049 uint32_t _flag_k = FK_NONE; 1050 uint32_t _flag_a = 0, _flag_b = 0; 1051 uint32_t _itail_tgt = 0; 1052 RECOMP_REGS_LOCALS 1053 RECOMP_ENTER(0x361652B6u); 1054 1055 goto L_361652B6; 1056 L_3615FD76: 1057 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1058 L_361652B6: 1059 eax = 0x36189F90u; /* 0x361652B6: mov eax, 0x36189f90 */ 1060 L_361652BB: 1061 RECOMP_BACKEDGE(); 1062 goto L_3615FD76; /* 0x361652BB: jmp 0x3615fd76 */ 1063 { RECOMP_REGS_OUT(); return; } /* end of function */ 1064 _ljump: 1065 switch (_itail_tgt) { 1066 case 0x3615FD76u: goto L_3615FD76; 1067 case 0x361652B6u: goto L_361652B6; 1068 case 0x361652BBu: goto L_361652BB; 1069 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1070 } 1071 RECOMP_REGS_OUT(); 1072 } 1073 1074 void sub_361652C0(void) { 1075 int _fpu_cmp = 0; 1076 uint32_t _cf = 0; 1077 int _df = 1; 1078 uint32_t _flag_k = FK_NONE; 1079 uint32_t _flag_a = 0, _flag_b = 0; 1080 uint32_t _itail_tgt = 0; 1081 RECOMP_REGS_LOCALS 1082 RECOMP_ENTER(0x361652C0u); 1083 1084 L_361652C0: 1085 eax = MEM32(ebp + (-0x14)); /* 0x361652C0: mov eax, dword ptr [ebp - 0x14] */ 1086 PUSH32(esp, eax); /* 0x361652C3: push eax */ 1087 RECOMP_ICALL(0x3615FCC4u); /* 0x361652C4: call 0x3615fcc4 */ /* not lifted */ 1088 RECOMP_FLAGS_IN(); 1089 ecx = POP32_VAL(esp); /* 0x361652C9: pop ecx */ 1090 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361652CA: ret */ 1091 RECOMP_REGS_OUT(); 1092 } 1093 1094 void sub_361652CB(void) { 1095 int _fpu_cmp = 0; 1096 uint32_t _cf = 0; 1097 int _df = 1; 1098 uint32_t _flag_k = FK_NONE; 1099 uint32_t _flag_a = 0, _flag_b = 0; 1100 uint32_t _itail_tgt = 0; 1101 RECOMP_REGS_LOCALS 1102 RECOMP_ENTER(0x361652CBu); 1103 1104 goto L_361652CB; 1105 L_3615FD76: 1106 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1107 L_361652CB: 1108 eax = 0x36189FC0u; /* 0x361652CB: mov eax, 0x36189fc0 */ 1109 L_361652D0: 1110 RECOMP_BACKEDGE(); 1111 goto L_3615FD76; /* 0x361652D0: jmp 0x3615fd76 */ 1112 { RECOMP_REGS_OUT(); return; } /* end of function */ 1113 _ljump: 1114 switch (_itail_tgt) { 1115 case 0x3615FD76u: goto L_3615FD76; 1116 case 0x361652CBu: goto L_361652CB; 1117 case 0x361652D0u: goto L_361652D0; 1118 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1119 } 1120 RECOMP_REGS_OUT(); 1121 } 1122 1123 void sub_361652E0(void) { 1124 int _fpu_cmp = 0; 1125 uint32_t _cf = 0; 1126 int _df = 1; 1127 uint32_t _flag_k = FK_NONE; 1128 uint32_t _flag_a = 0, _flag_b = 0; 1129 uint32_t _itail_tgt = 0; 1130 RECOMP_REGS_LOCALS 1131 RECOMP_ENTER(0x361652E0u); 1132 1133 L_361652E0: 1134 eax = MEM32(ebp + 0x8); /* 0x361652E0: mov eax, dword ptr [ebp + 8] */ 1135 PUSH32(esp, eax); /* 0x361652E3: push eax */ 1136 RECOMP_ICALL(0x3615FCC4u); /* 0x361652E4: call 0x3615fcc4 */ /* not lifted */ 1137 RECOMP_FLAGS_IN(); 1138 ecx = POP32_VAL(esp); /* 0x361652E9: pop ecx */ 1139 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361652EA: ret */ 1140 RECOMP_REGS_OUT(); 1141 } 1142 1143 void sub_361652EB(void) { 1144 int _fpu_cmp = 0; 1145 uint32_t _cf = 0; 1146 int _df = 1; 1147 uint32_t _flag_k = FK_NONE; 1148 uint32_t _flag_a = 0, _flag_b = 0; 1149 uint32_t _itail_tgt = 0; 1150 RECOMP_REGS_LOCALS 1151 RECOMP_ENTER(0x361652EBu); 1152 1153 L_361652EB: 1154 eax = MEM32(ebp + 0x8); /* 0x361652EB: mov eax, dword ptr [ebp + 8] */ 1155 PUSH32(esp, eax); /* 0x361652EE: push eax */ 1156 RECOMP_ICALL(0x3615FCC4u); /* 0x361652EF: call 0x3615fcc4 */ /* not lifted */ 1157 RECOMP_FLAGS_IN(); 1158 ecx = POP32_VAL(esp); /* 0x361652F4: pop ecx */ 1159 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361652F5: ret */ 1160 RECOMP_REGS_OUT(); 1161 } 1162 1163 void sub_361652F6(void) { 1164 int _fpu_cmp = 0; 1165 uint32_t _cf = 0; 1166 int _df = 1; 1167 uint32_t _flag_k = FK_NONE; 1168 uint32_t _flag_a = 0, _flag_b = 0; 1169 uint32_t _itail_tgt = 0; 1170 RECOMP_REGS_LOCALS 1171 RECOMP_ENTER(0x361652F6u); 1172 1173 goto L_361652F6; 1174 L_3615FD76: 1175 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1176 L_361652F6: 1177 eax = 0x36189FE8u; /* 0x361652F6: mov eax, 0x36189fe8 */ 1178 L_361652FB: 1179 RECOMP_BACKEDGE(); 1180 goto L_3615FD76; /* 0x361652FB: jmp 0x3615fd76 */ 1181 { RECOMP_REGS_OUT(); return; } /* end of function */ 1182 _ljump: 1183 switch (_itail_tgt) { 1184 case 0x3615FD76u: goto L_3615FD76; 1185 case 0x361652F6u: goto L_361652F6; 1186 case 0x361652FBu: goto L_361652FB; 1187 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1188 } 1189 RECOMP_REGS_OUT(); 1190 } 1191 1192 void sub_36165300(void) { 1193 int _fpu_cmp = 0; 1194 uint32_t _cf = 0; 1195 int _df = 1; 1196 uint32_t _flag_k = FK_NONE; 1197 uint32_t _flag_a = 0, _flag_b = 0; 1198 uint32_t _itail_tgt = 0; 1199 RECOMP_REGS_LOCALS 1200 RECOMP_ENTER(0x36165300u); 1201 1202 L_36165300: 1203 ecx = MEM32(ebp + (-0x10)); /* 0x36165300: mov ecx, dword ptr [ebp - 0x10] */ 1204 L_36165303: 1205 { _itail_tgt = (uint32_t)(MEM32(0x3616FAB4)); goto _ljump; } 1206 { RECOMP_REGS_OUT(); return; } /* end of function */ 1207 _ljump: 1208 switch (_itail_tgt) { 1209 case 0x36165300u: goto L_36165300; 1210 case 0x36165303u: goto L_36165303; 1211 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1212 } 1213 RECOMP_REGS_OUT(); 1214 } 1215 1216 void sub_36165309(void) { 1217 int _fpu_cmp = 0; 1218 uint32_t _cf = 0; 1219 int _df = 1; 1220 uint32_t _flag_k = FK_NONE; 1221 uint32_t _flag_a = 0, _flag_b = 0; 1222 uint32_t _itail_tgt = 0; 1223 RECOMP_REGS_LOCALS 1224 RECOMP_ENTER(0x36165309u); 1225 1226 goto L_36165309; 1227 L_3615FD76: 1228 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1229 L_36165309: 1230 eax = 0x3618A018u; /* 0x36165309: mov eax, 0x3618a018 */ 1231 L_3616530E: 1232 RECOMP_BACKEDGE(); 1233 goto L_3615FD76; /* 0x3616530E: jmp 0x3615fd76 */ 1234 { RECOMP_REGS_OUT(); return; } /* end of function */ 1235 _ljump: 1236 switch (_itail_tgt) { 1237 case 0x3615FD76u: goto L_3615FD76; 1238 case 0x36165309u: goto L_36165309; 1239 case 0x3616530Eu: goto L_3616530E; 1240 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1241 } 1242 RECOMP_REGS_OUT(); 1243 } 1244 1245 void sub_36165320(void) { 1246 int _fpu_cmp = 0; 1247 uint32_t _cf = 0; 1248 int _df = 1; 1249 uint32_t _flag_k = FK_NONE; 1250 uint32_t _flag_a = 0, _flag_b = 0; 1251 uint32_t _itail_tgt = 0; 1252 RECOMP_REGS_LOCALS 1253 RECOMP_ENTER(0x36165320u); 1254 1255 L_36165320: 1256 eax = MEM32(ebp + 0x8); /* 0x36165320: mov eax, dword ptr [ebp + 8] */ 1257 PUSH32(esp, eax); /* 0x36165323: push eax */ 1258 RECOMP_ICALL(0x3615FCC4u); /* 0x36165324: call 0x3615fcc4 */ /* not lifted */ 1259 RECOMP_FLAGS_IN(); 1260 ecx = POP32_VAL(esp); /* 0x36165329: pop ecx */ 1261 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616532A: ret */ 1262 RECOMP_REGS_OUT(); 1263 } 1264 1265 void sub_3616532B(void) { 1266 int _fpu_cmp = 0; 1267 uint32_t _cf = 0; 1268 int _df = 1; 1269 uint32_t _flag_k = FK_NONE; 1270 uint32_t _flag_a = 0, _flag_b = 0; 1271 uint32_t _itail_tgt = 0; 1272 RECOMP_REGS_LOCALS 1273 RECOMP_ENTER(0x3616532Bu); 1274 1275 L_3616532B: 1276 eax = MEM32(ebp + 0x8); /* 0x3616532B: mov eax, dword ptr [ebp + 8] */ 1277 PUSH32(esp, eax); /* 0x3616532E: push eax */ 1278 RECOMP_ICALL(0x3615FCC4u); /* 0x3616532F: call 0x3615fcc4 */ /* not lifted */ 1279 RECOMP_FLAGS_IN(); 1280 ecx = POP32_VAL(esp); /* 0x36165334: pop ecx */ 1281 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165335: ret */ 1282 RECOMP_REGS_OUT(); 1283 } 1284 1285 void sub_36165336(void) { 1286 int _fpu_cmp = 0; 1287 uint32_t _cf = 0; 1288 int _df = 1; 1289 uint32_t _flag_k = FK_NONE; 1290 uint32_t _flag_a = 0, _flag_b = 0; 1291 uint32_t _itail_tgt = 0; 1292 RECOMP_REGS_LOCALS 1293 RECOMP_ENTER(0x36165336u); 1294 1295 L_36165336: 1296 eax = MEM32(ebp + (-0x10)); /* 0x36165336: mov eax, dword ptr [ebp - 0x10] */ 1297 PUSH32(esp, eax); /* 0x36165339: push eax */ 1298 RECOMP_ICALL(0x3615FCC4u); /* 0x3616533A: call 0x3615fcc4 */ /* not lifted */ 1299 RECOMP_FLAGS_IN(); 1300 ecx = POP32_VAL(esp); /* 0x3616533F: pop ecx */ 1301 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165340: ret */ 1302 RECOMP_REGS_OUT(); 1303 } 1304 1305 void sub_36165341(void) { 1306 int _fpu_cmp = 0; 1307 uint32_t _cf = 0; 1308 int _df = 1; 1309 uint32_t _flag_k = FK_NONE; 1310 uint32_t _flag_a = 0, _flag_b = 0; 1311 uint32_t _itail_tgt = 0; 1312 RECOMP_REGS_LOCALS 1313 RECOMP_ENTER(0x36165341u); 1314 1315 L_36165341: 1316 eax = MEM32(ebp + (-0x10)); /* 0x36165341: mov eax, dword ptr [ebp - 0x10] */ 1317 PUSH32(esp, eax); /* 0x36165344: push eax */ 1318 RECOMP_ICALL(0x3615FCC4u); /* 0x36165345: call 0x3615fcc4 */ /* not lifted */ 1319 RECOMP_FLAGS_IN(); 1320 ecx = POP32_VAL(esp); /* 0x3616534A: pop ecx */ 1321 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616534B: ret */ 1322 RECOMP_REGS_OUT(); 1323 } 1324 1325 void sub_3616534C(void) { 1326 int _fpu_cmp = 0; 1327 uint32_t _cf = 0; 1328 int _df = 1; 1329 uint32_t _flag_k = FK_NONE; 1330 uint32_t _flag_a = 0, _flag_b = 0; 1331 uint32_t _itail_tgt = 0; 1332 RECOMP_REGS_LOCALS 1333 RECOMP_ENTER(0x3616534Cu); 1334 1335 goto L_3616534C; 1336 L_3615FD76: 1337 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1338 L_3616534C: 1339 eax = 0x3618A040u; /* 0x3616534C: mov eax, 0x3618a040 */ 1340 L_36165351: 1341 RECOMP_BACKEDGE(); 1342 goto L_3615FD76; /* 0x36165351: jmp 0x3615fd76 */ 1343 { RECOMP_REGS_OUT(); return; } /* end of function */ 1344 _ljump: 1345 switch (_itail_tgt) { 1346 case 0x3615FD76u: goto L_3615FD76; 1347 case 0x3616534Cu: goto L_3616534C; 1348 case 0x36165351u: goto L_36165351; 1349 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1350 } 1351 RECOMP_REGS_OUT(); 1352 } 1353 1354 void sub_36165360(void) { 1355 int _fpu_cmp = 0; 1356 uint32_t _cf = 0; 1357 int _df = 1; 1358 uint32_t _flag_k = FK_NONE; 1359 uint32_t _flag_a = 0, _flag_b = 0; 1360 uint32_t _itail_tgt = 0; 1361 RECOMP_REGS_LOCALS 1362 RECOMP_ENTER(0x36165360u); 1363 1364 L_36165360: 1365 eax = MEM32(ebp + (-0x10)); /* 0x36165360: mov eax, dword ptr [ebp - 0x10] */ 1366 PUSH32(esp, eax); /* 0x36165363: push eax */ 1367 RECOMP_ICALL(0x3615FCC4u); /* 0x36165364: call 0x3615fcc4 */ /* not lifted */ 1368 RECOMP_FLAGS_IN(); 1369 ecx = POP32_VAL(esp); /* 0x36165369: pop ecx */ 1370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616536A: ret */ 1371 RECOMP_REGS_OUT(); 1372 } 1373 1374 void sub_3616536B(void) { 1375 int _fpu_cmp = 0; 1376 uint32_t _cf = 0; 1377 int _df = 1; 1378 uint32_t _flag_k = FK_NONE; 1379 uint32_t _flag_a = 0, _flag_b = 0; 1380 uint32_t _itail_tgt = 0; 1381 RECOMP_REGS_LOCALS 1382 RECOMP_ENTER(0x3616536Bu); 1383 1384 goto L_3616536B; 1385 L_3615FD76: 1386 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1387 L_3616536B: 1388 eax = 0x3618A080u; /* 0x3616536B: mov eax, 0x3618a080 */ 1389 L_36165370: 1390 RECOMP_BACKEDGE(); 1391 goto L_3615FD76; /* 0x36165370: jmp 0x3615fd76 */ 1392 { RECOMP_REGS_OUT(); return; } /* end of function */ 1393 _ljump: 1394 switch (_itail_tgt) { 1395 case 0x3615FD76u: goto L_3615FD76; 1396 case 0x3616536Bu: goto L_3616536B; 1397 case 0x36165370u: goto L_36165370; 1398 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1399 } 1400 RECOMP_REGS_OUT(); 1401 } 1402 1403 void sub_36165380(void) { 1404 int _fpu_cmp = 0; 1405 uint32_t _cf = 0; 1406 int _df = 1; 1407 uint32_t _flag_k = FK_NONE; 1408 uint32_t _flag_a = 0, _flag_b = 0; 1409 uint32_t _itail_tgt = 0; 1410 RECOMP_REGS_LOCALS 1411 RECOMP_ENTER(0x36165380u); 1412 1413 goto L_36165380; 1414 L_360671F0: 1415 PUSH32(esp, ebp); /* 0x360671F0: push ebp */ 1416 ebp = esp; /* 0x360671F1: mov ebp, esp */ 1417 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1419 esp = esp - 8; /* 0x360671F3: sub esp, 8 */ 1420 _flag_k = FK_CMP; 1421 PUSH32(esp, ebx); /* 0x360671F6: push ebx */ 1422 PUSH32(esp, esi); /* 0x360671F7: push esi */ 1423 esi = ecx; /* 0x360671F8: mov esi, ecx */ 1424 ecx = MEM32(esi + 0x10); /* 0x360671FA: mov ecx, dword ptr [esi + 0x10] */ 1425 /* test ecx, ecx */ /* 0x360671FD: test ecx, ecx */ 1426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1427 _cf = 0; 1428 _flag_k = FK_TEST; 1429 PUSH32(esp, edi); /* 0x360671FF: push edi */ 1430 edi = MEM32(esi + 0x4); /* 0x36067200: mov edi, dword ptr [esi + 4] */ 1431 eax = MEM32(edi); /* 0x36067203: mov eax, dword ptr [edi] */ 1432 MEM32(ebp + (-0x4)) = eax; /* 0x36067205: mov dword ptr [ebp - 4], eax */ 1433 if (TEST_Z(_flag_a, _flag_b)) goto L_36067265; /* 0x36067208: je 0x36067265 */ 1434 L_3606720A: 1435 ecx = eax; /* 0x3606720A: mov ecx, eax */ 1436 /* cmp eax, ecx */ /* 0x3606720C: cmp eax, ecx */ 1437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1439 _flag_k = FK_CMP; 1440 if (CMP_NE(_flag_a, _flag_b)) goto L_36067265; /* 0x3606720E: jne 0x36067265 */ 1441 L_36067210: 1442 /* cmp edi, edi */ /* 0x36067210: cmp edi, edi */ 1443 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1445 _flag_k = FK_CMP; 1446 if (CMP_NE(_flag_a, _flag_b)) goto L_36067265; /* 0x36067212: jne 0x36067265 */ 1447 L_36067214: 1448 ebx = MEM32(edi + 0x4); /* 0x36067214: mov ebx, dword ptr [edi + 4] */ 1449 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36067217: cmp ebx, dword ptr [esi + 8] */ 1450 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1452 _flag_k = FK_CMP; 1453 edi = ebx; /* 0x3606721A: mov edi, ebx */ 1454 if (CMP_EQ(_flag_a, _flag_b)) goto L_3606723D; /* 0x3606721C: je 0x3606723d */ 1455 L_3606721E: 1456 eax = MEM32(edi + 0x8); /* 0x3606721E: mov eax, dword ptr [edi + 8] */ 1457 PUSH32(esp, eax); /* 0x36067221: push eax */ 1458 ecx = esi; /* 0x36067222: mov ecx, esi */ 1459 RECOMP_ICALL(0x360682E0u); /* 0x36067224: call 0x360682e0 */ /* not lifted */ 1460 RECOMP_FLAGS_IN(); 1461 edi = MEM32(edi); /* 0x36067229: mov edi, dword ptr [edi] */ 1462 PUSH32(esp, ebx); /* 0x3606722B: push ebx */ 1463 RECOMP_ICALL(0x3615FCC4u); /* 0x3606722C: call 0x3615fcc4 */ /* not lifted */ 1464 RECOMP_FLAGS_IN(); 1465 eax = MEM32(esi + 0x8); /* 0x36067231: mov eax, dword ptr [esi + 8] */ 1466 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1467 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1468 esp = esp + 4; /* 0x36067234: add esp, 4 */ 1469 _flag_k = FK_ADD; 1470 /* cmp edi, eax */ /* 0x36067237: cmp edi, eax */ 1471 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1473 _flag_k = FK_CMP; 1474 ebx = edi; /* 0x36067239: mov ebx, edi */ 1475 RECOMP_BACKEDGE(); 1476 if (CMP_NE(_flag_a, _flag_b)) goto L_3606721E; /* 0x3606723B: jne 0x3606721e */ 1477 L_3606723D: 1478 ecx = MEM32(esi + 0x4); /* 0x3606723D: mov ecx, dword ptr [esi + 4] */ 1479 edx = MEM32(esi + 0x8); /* 0x36067240: mov edx, dword ptr [esi + 8] */ 1480 MEM32(ecx + 0x4) = edx; /* 0x36067243: mov dword ptr [ecx + 4], edx */ 1481 eax = MEM32(esi + 0x4); /* 0x36067246: mov eax, dword ptr [esi + 4] */ 1482 MEM32(esi + 0x10) = 0; /* 0x36067249: mov dword ptr [esi + 0x10], 0 */ 1483 MEM32(eax) = eax; /* 0x36067250: mov dword ptr [eax], eax */ 1484 eax = MEM32(esi + 0x4); /* 0x36067252: mov eax, dword ptr [esi + 4] */ 1485 MEM32(eax + 0x8) = eax; /* 0x36067255: mov dword ptr [eax + 8], eax */ 1486 eax = ebp + (-0x8); /* 0x36067258: lea eax, [ebp - 8] */ 1487 PUSH32(esp, eax); /* 0x3606725B: push eax */ 1488 ecx = esi; /* 0x3606725C: mov ecx, esi */ 1489 RECOMP_ICALL(0x3614FC30u); /* 0x3606725E: call 0x3614fc30 */ /* not lifted */ 1490 RECOMP_FLAGS_IN(); 1491 goto L_36067286; /* 0x36067263: jmp 0x36067286 */ 1492 L_36067265: 1493 /* cmp eax, edi */ /* 0x36067265: cmp eax, edi */ 1494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1496 _flag_k = FK_CMP; 1497 if (CMP_EQ(_flag_a, _flag_b)) goto L_36067286; /* 0x36067267: je 0x36067286 */ 1498 L_36067269: 1499 ecx = ebp + (-0x4); /* 0x36067269: lea ecx, [ebp - 4] */ 1500 ebx = eax; /* 0x3606726C: mov ebx, eax */ 1501 RECOMP_ICALL(0x36064140u); /* 0x3606726E: call 0x36064140 */ /* not lifted */ 1502 RECOMP_FLAGS_IN(); 1503 PUSH32(esp, ebx); /* 0x36067273: push ebx */ 1504 ecx = ebp + (-0x8); /* 0x36067274: lea ecx, [ebp - 8] */ 1505 PUSH32(esp, ecx); /* 0x36067277: push ecx */ 1506 ecx = esi; /* 0x36067278: mov ecx, esi */ 1507 RECOMP_ICALL(0x360588E0u); /* 0x3606727A: call 0x360588e0 */ /* not lifted */ 1508 RECOMP_FLAGS_IN(); 1509 eax = MEM32(ebp + (-0x4)); /* 0x3606727F: mov eax, dword ptr [ebp - 4] */ 1510 /* cmp eax, edi */ /* 0x36067282: cmp eax, edi */ 1511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1513 _flag_k = FK_CMP; 1514 RECOMP_BACKEDGE(); 1515 if (CMP_NE(_flag_a, _flag_b)) goto L_36067269; /* 0x36067284: jne 0x36067269 */ 1516 L_36067286: 1517 edx = MEM32(esi + 0x4); /* 0x36067286: mov edx, dword ptr [esi + 4] */ 1518 PUSH32(esp, edx); /* 0x36067289: push edx */ 1519 RECOMP_ICALL(0x3615FCC4u); /* 0x3606728A: call 0x3615fcc4 */ /* not lifted */ 1520 RECOMP_FLAGS_IN(); 1521 eax = MEM32(esi + 0x8); /* 0x3606728F: mov eax, dword ptr [esi + 8] */ 1522 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1523 edi = 0; /* 0x36067292: xor edi, edi */ 1524 _cf = 0; 1525 _flag_k = FK_TEST; 1526 PUSH32(esp, eax); /* 0x36067294: push eax */ 1527 MEM32(esi + 0x4) = edi; /* 0x36067295: mov dword ptr [esi + 4], edi */ 1528 MEM32(esi + 0x10) = edi; /* 0x36067298: mov dword ptr [esi + 0x10], edi */ 1529 RECOMP_ICALL(0x3615FCC4u); /* 0x3606729B: call 0x3615fcc4 */ /* not lifted */ 1530 RECOMP_FLAGS_IN(); 1531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1533 esp = esp + 8; /* 0x360672A0: add esp, 8 */ 1534 _flag_k = FK_ADD; 1535 MEM32(esi + 0x8) = edi; /* 0x360672A3: mov dword ptr [esi + 8], edi */ 1536 edi = POP32_VAL(esp); /* 0x360672A6: pop edi */ 1537 esi = POP32_VAL(esp); /* 0x360672A7: pop esi */ 1538 ebx = POP32_VAL(esp); /* 0x360672A8: pop ebx */ 1539 esp = ebp; /* 0x360672A9: mov esp, ebp */ 1540 ebp = POP32_VAL(esp); /* 0x360672AB: pop ebp */ 1541 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360672AC: ret */ 1542 L_36165380: 1543 ecx = ebp + (-0x3C); /* 0x36165380: lea ecx, [ebp - 0x3c] */ 1544 RECOMP_BACKEDGE(); 1545 goto L_360671F0; /* 0x36165383: jmp 0x360671f0 */ 1546 { RECOMP_REGS_OUT(); return; } /* end of function */ 1547 RECOMP_REGS_OUT(); 1548 } 1549 1550 void sub_36165388(void) { 1551 int _fpu_cmp = 0; 1552 uint32_t _cf = 0; 1553 int _df = 1; 1554 uint32_t _flag_k = FK_NONE; 1555 uint32_t _flag_a = 0, _flag_b = 0; 1556 uint32_t _itail_tgt = 0; 1557 RECOMP_REGS_LOCALS 1558 RECOMP_ENTER(0x36165388u); 1559 1560 goto L_36165388; 1561 L_3615FD76: 1562 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1563 L_36165388: 1564 eax = 0x3618A0A8u; /* 0x36165388: mov eax, 0x3618a0a8 */ 1565 L_3616538D: 1566 RECOMP_BACKEDGE(); 1567 goto L_3615FD76; /* 0x3616538D: jmp 0x3615fd76 */ 1568 { RECOMP_REGS_OUT(); return; } /* end of function */ 1569 _ljump: 1570 switch (_itail_tgt) { 1571 case 0x3615FD76u: goto L_3615FD76; 1572 case 0x36165388u: goto L_36165388; 1573 case 0x3616538Du: goto L_3616538D; 1574 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1575 } 1576 RECOMP_REGS_OUT(); 1577 } 1578 1579 void sub_361653A0(void) { 1580 int _fpu_cmp = 0; 1581 uint32_t _cf = 0; 1582 int _df = 1; 1583 uint32_t _flag_k = FK_NONE; 1584 uint32_t _flag_a = 0, _flag_b = 0; 1585 uint32_t _itail_tgt = 0; 1586 RECOMP_REGS_LOCALS 1587 RECOMP_ENTER(0x361653A0u); 1588 1589 L_361653A0: 1590 ecx = ebp + (-0x78); /* 0x361653A0: lea ecx, [ebp - 0x78] */ 1591 L_361653A3: 1592 { _itail_tgt = (uint32_t)(MEM32(0x36170194)); goto _ljump; } 1593 { RECOMP_REGS_OUT(); return; } /* end of function */ 1594 _ljump: 1595 switch (_itail_tgt) { 1596 case 0x361653A0u: goto L_361653A0; 1597 case 0x361653A3u: goto L_361653A3; 1598 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1599 } 1600 RECOMP_REGS_OUT(); 1601 } 1602 1603 void sub_361653A9(void) { 1604 int _fpu_cmp = 0; 1605 uint32_t _cf = 0; 1606 int _df = 1; 1607 uint32_t _flag_k = FK_NONE; 1608 uint32_t _flag_a = 0, _flag_b = 0; 1609 uint32_t _itail_tgt = 0; 1610 RECOMP_REGS_LOCALS 1611 RECOMP_ENTER(0x361653A9u); 1612 1613 goto L_361653A9; 1614 L_3615FD76: 1615 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1616 L_361653A9: 1617 eax = 0x3618A0D0u; /* 0x361653A9: mov eax, 0x3618a0d0 */ 1618 L_361653AE: 1619 RECOMP_BACKEDGE(); 1620 goto L_3615FD76; /* 0x361653AE: jmp 0x3615fd76 */ 1621 { RECOMP_REGS_OUT(); return; } /* end of function */ 1622 _ljump: 1623 switch (_itail_tgt) { 1624 case 0x3615FD76u: goto L_3615FD76; 1625 case 0x361653A9u: goto L_361653A9; 1626 case 0x361653AEu: goto L_361653AE; 1627 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1628 } 1629 RECOMP_REGS_OUT(); 1630 } 1631 1632 void sub_361653C0(void) { 1633 int _fpu_cmp = 0; 1634 uint32_t _cf = 0; 1635 int _df = 1; 1636 uint32_t _flag_k = FK_NONE; 1637 uint32_t _flag_a = 0, _flag_b = 0; 1638 uint32_t _itail_tgt = 0; 1639 RECOMP_REGS_LOCALS 1640 RECOMP_ENTER(0x361653C0u); 1641 1642 L_361653C0: 1643 eax = MEM32(ebp + (-0x14)); /* 0x361653C0: mov eax, dword ptr [ebp - 0x14] */ 1644 PUSH32(esp, eax); /* 0x361653C3: push eax */ 1645 RECOMP_ICALL(0x3615FCC4u); /* 0x361653C4: call 0x3615fcc4 */ /* not lifted */ 1646 RECOMP_FLAGS_IN(); 1647 ecx = POP32_VAL(esp); /* 0x361653C9: pop ecx */ 1648 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361653CA: ret */ 1649 RECOMP_REGS_OUT(); 1650 } 1651 1652 void sub_361653CB(void) { 1653 int _fpu_cmp = 0; 1654 uint32_t _cf = 0; 1655 int _df = 1; 1656 uint32_t _flag_k = FK_NONE; 1657 uint32_t _flag_a = 0, _flag_b = 0; 1658 uint32_t _itail_tgt = 0; 1659 RECOMP_REGS_LOCALS 1660 RECOMP_ENTER(0x361653CBu); 1661 1662 goto L_361653CB; 1663 L_3615FD76: 1664 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1665 L_361653CB: 1666 eax = 0x3618A0F8u; /* 0x361653CB: mov eax, 0x3618a0f8 */ 1667 L_361653D0: 1668 RECOMP_BACKEDGE(); 1669 goto L_3615FD76; /* 0x361653D0: jmp 0x3615fd76 */ 1670 { RECOMP_REGS_OUT(); return; } /* end of function */ 1671 _ljump: 1672 switch (_itail_tgt) { 1673 case 0x3615FD76u: goto L_3615FD76; 1674 case 0x361653CBu: goto L_361653CB; 1675 case 0x361653D0u: goto L_361653D0; 1676 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1677 } 1678 RECOMP_REGS_OUT(); 1679 } 1680 1681 void sub_361653E0(void) { 1682 int _fpu_cmp = 0; 1683 uint32_t _cf = 0; 1684 int _df = 1; 1685 uint32_t _flag_k = FK_NONE; 1686 uint32_t _flag_a = 0, _flag_b = 0; 1687 uint32_t _itail_tgt = 0; 1688 RECOMP_REGS_LOCALS 1689 RECOMP_ENTER(0x361653E0u); 1690 1691 L_361653E0: 1692 ecx = MEM32(ebp + (-0x10)); /* 0x361653E0: mov ecx, dword ptr [ebp - 0x10] */ 1693 L_361653E3: 1694 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 1695 { RECOMP_REGS_OUT(); return; } /* end of function */ 1696 _ljump: 1697 switch (_itail_tgt) { 1698 case 0x361653E0u: goto L_361653E0; 1699 case 0x361653E3u: goto L_361653E3; 1700 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1701 } 1702 RECOMP_REGS_OUT(); 1703 } 1704 1705 void sub_361653E9(void) { 1706 int _fpu_cmp = 0; 1707 uint32_t _cf = 0; 1708 int _df = 1; 1709 uint32_t _flag_k = FK_NONE; 1710 uint32_t _flag_a = 0, _flag_b = 0; 1711 uint32_t _itail_tgt = 0; 1712 RECOMP_REGS_LOCALS 1713 RECOMP_ENTER(0x361653E9u); 1714 1715 L_361653E9: 1716 eax = MEM32(ebp + (-0x14)); /* 0x361653E9: mov eax, dword ptr [ebp - 0x14] */ 1717 PUSH32(esp, eax); /* 0x361653EC: push eax */ 1718 RECOMP_ICALL(0x3615FCC4u); /* 0x361653ED: call 0x3615fcc4 */ /* not lifted */ 1719 RECOMP_FLAGS_IN(); 1720 ecx = POP32_VAL(esp); /* 0x361653F2: pop ecx */ 1721 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361653F3: ret */ 1722 RECOMP_REGS_OUT(); 1723 } 1724 1725 void sub_361653F4(void) { 1726 int _fpu_cmp = 0; 1727 uint32_t _cf = 0; 1728 int _df = 1; 1729 uint32_t _flag_k = FK_NONE; 1730 uint32_t _flag_a = 0, _flag_b = 0; 1731 uint32_t _itail_tgt = 0; 1732 RECOMP_REGS_LOCALS 1733 RECOMP_ENTER(0x361653F4u); 1734 1735 goto L_361653F4; 1736 L_3615FD76: 1737 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1738 L_361653F4: 1739 eax = 0x3618A120u; /* 0x361653F4: mov eax, 0x3618a120 */ 1740 L_361653F9: 1741 RECOMP_BACKEDGE(); 1742 goto L_3615FD76; /* 0x361653F9: jmp 0x3615fd76 */ 1743 { RECOMP_REGS_OUT(); return; } /* end of function */ 1744 _ljump: 1745 switch (_itail_tgt) { 1746 case 0x3615FD76u: goto L_3615FD76; 1747 case 0x361653F4u: goto L_361653F4; 1748 case 0x361653F9u: goto L_361653F9; 1749 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1750 } 1751 RECOMP_REGS_OUT(); 1752 } 1753 1754 void sub_36165400(void) { 1755 int _fpu_cmp = 0; 1756 uint32_t _cf = 0; 1757 int _df = 1; 1758 uint32_t _flag_k = FK_NONE; 1759 uint32_t _flag_a = 0, _flag_b = 0; 1760 uint32_t _itail_tgt = 0; 1761 RECOMP_REGS_LOCALS 1762 RECOMP_ENTER(0x36165400u); 1763 1764 L_36165400: 1765 ecx = MEM32(ebp + (-0x10)); /* 0x36165400: mov ecx, dword ptr [ebp - 0x10] */ 1766 L_36165403: 1767 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 1768 { RECOMP_REGS_OUT(); return; } /* end of function */ 1769 _ljump: 1770 switch (_itail_tgt) { 1771 case 0x36165400u: goto L_36165400; 1772 case 0x36165403u: goto L_36165403; 1773 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1774 } 1775 RECOMP_REGS_OUT(); 1776 } 1777 1778 void sub_36165409(void) { 1779 int _fpu_cmp = 0; 1780 uint32_t _cf = 0; 1781 int _df = 1; 1782 uint32_t _flag_k = FK_NONE; 1783 uint32_t _flag_a = 0, _flag_b = 0; 1784 uint32_t _itail_tgt = 0; 1785 RECOMP_REGS_LOCALS 1786 RECOMP_ENTER(0x36165409u); 1787 1788 L_36165409: 1789 eax = MEM32(ebp + (-0x14)); /* 0x36165409: mov eax, dword ptr [ebp - 0x14] */ 1790 PUSH32(esp, eax); /* 0x3616540C: push eax */ 1791 RECOMP_ICALL(0x3615FCC4u); /* 0x3616540D: call 0x3615fcc4 */ /* not lifted */ 1792 RECOMP_FLAGS_IN(); 1793 ecx = POP32_VAL(esp); /* 0x36165412: pop ecx */ 1794 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165413: ret */ 1795 RECOMP_REGS_OUT(); 1796 } 1797 1798 void sub_36165414(void) { 1799 int _fpu_cmp = 0; 1800 uint32_t _cf = 0; 1801 int _df = 1; 1802 uint32_t _flag_k = FK_NONE; 1803 uint32_t _flag_a = 0, _flag_b = 0; 1804 uint32_t _itail_tgt = 0; 1805 RECOMP_REGS_LOCALS 1806 RECOMP_ENTER(0x36165414u); 1807 1808 goto L_36165414; 1809 L_3615FD76: 1810 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1811 L_36165414: 1812 eax = 0x3618A150u; /* 0x36165414: mov eax, 0x3618a150 */ 1813 L_36165419: 1814 RECOMP_BACKEDGE(); 1815 goto L_3615FD76; /* 0x36165419: jmp 0x3615fd76 */ 1816 { RECOMP_REGS_OUT(); return; } /* end of function */ 1817 _ljump: 1818 switch (_itail_tgt) { 1819 case 0x3615FD76u: goto L_3615FD76; 1820 case 0x36165414u: goto L_36165414; 1821 case 0x36165419u: goto L_36165419; 1822 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1823 } 1824 RECOMP_REGS_OUT(); 1825 } 1826 1827 void sub_36165420(void) { 1828 int _fpu_cmp = 0; 1829 uint32_t _cf = 0; 1830 int _df = 1; 1831 uint32_t _flag_k = FK_NONE; 1832 uint32_t _flag_a = 0, _flag_b = 0; 1833 uint32_t _itail_tgt = 0; 1834 RECOMP_REGS_LOCALS 1835 RECOMP_ENTER(0x36165420u); 1836 1837 L_36165420: 1838 ecx = ebp + (-0x24); /* 0x36165420: lea ecx, [ebp - 0x24] */ 1839 L_36165423: 1840 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 1841 { RECOMP_REGS_OUT(); return; } /* end of function */ 1842 _ljump: 1843 switch (_itail_tgt) { 1844 case 0x36165420u: goto L_36165420; 1845 case 0x36165423u: goto L_36165423; 1846 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1847 } 1848 RECOMP_REGS_OUT(); 1849 } 1850 1851 void sub_36165429(void) { 1852 int _fpu_cmp = 0; 1853 uint32_t _cf = 0; 1854 int _df = 1; 1855 uint32_t _flag_k = FK_NONE; 1856 uint32_t _flag_a = 0, _flag_b = 0; 1857 uint32_t _itail_tgt = 0; 1858 RECOMP_REGS_LOCALS 1859 RECOMP_ENTER(0x36165429u); 1860 1861 L_36165429: 1862 ecx = MEM32(ebp + (-0x14)); /* 0x36165429: mov ecx, dword ptr [ebp - 0x14] */ 1863 L_3616542C: 1864 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 1865 { RECOMP_REGS_OUT(); return; } /* end of function */ 1866 _ljump: 1867 switch (_itail_tgt) { 1868 case 0x36165429u: goto L_36165429; 1869 case 0x3616542Cu: goto L_3616542C; 1870 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1871 } 1872 RECOMP_REGS_OUT(); 1873 } 1874 1875 void sub_36165432(void) { 1876 int _fpu_cmp = 0; 1877 uint32_t _cf = 0; 1878 int _df = 1; 1879 uint32_t _flag_k = FK_NONE; 1880 uint32_t _flag_a = 0, _flag_b = 0; 1881 uint32_t _itail_tgt = 0; 1882 RECOMP_REGS_LOCALS 1883 RECOMP_ENTER(0x36165432u); 1884 1885 goto L_36165432; 1886 L_3615FD76: 1887 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1888 L_36165432: 1889 eax = 0x3618A180u; /* 0x36165432: mov eax, 0x3618a180 */ 1890 L_36165437: 1891 RECOMP_BACKEDGE(); 1892 goto L_3615FD76; /* 0x36165437: jmp 0x3615fd76 */ 1893 { RECOMP_REGS_OUT(); return; } /* end of function */ 1894 _ljump: 1895 switch (_itail_tgt) { 1896 case 0x3615FD76u: goto L_3615FD76; 1897 case 0x36165432u: goto L_36165432; 1898 case 0x36165437u: goto L_36165437; 1899 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1900 } 1901 RECOMP_REGS_OUT(); 1902 } 1903 1904 void sub_36165440(void) { 1905 int _fpu_cmp = 0; 1906 uint32_t _cf = 0; 1907 int _df = 1; 1908 uint32_t _flag_k = FK_NONE; 1909 uint32_t _flag_a = 0, _flag_b = 0; 1910 uint32_t _itail_tgt = 0; 1911 RECOMP_REGS_LOCALS 1912 RECOMP_ENTER(0x36165440u); 1913 1914 L_36165440: 1915 ecx = ebp + (-0x20); /* 0x36165440: lea ecx, [ebp - 0x20] */ 1916 L_36165443: 1917 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 1918 { RECOMP_REGS_OUT(); return; } /* end of function */ 1919 _ljump: 1920 switch (_itail_tgt) { 1921 case 0x36165440u: goto L_36165440; 1922 case 0x36165443u: goto L_36165443; 1923 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1924 } 1925 RECOMP_REGS_OUT(); 1926 } 1927 1928 void sub_36165449(void) { 1929 int _fpu_cmp = 0; 1930 uint32_t _cf = 0; 1931 int _df = 1; 1932 uint32_t _flag_k = FK_NONE; 1933 uint32_t _flag_a = 0, _flag_b = 0; 1934 uint32_t _itail_tgt = 0; 1935 RECOMP_REGS_LOCALS 1936 RECOMP_ENTER(0x36165449u); 1937 1938 goto L_36165449; 1939 L_3615FD76: 1940 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 1941 L_36165449: 1942 eax = 0x3618A1B8u; /* 0x36165449: mov eax, 0x3618a1b8 */ 1943 L_3616544E: 1944 RECOMP_BACKEDGE(); 1945 goto L_3615FD76; /* 0x3616544E: jmp 0x3615fd76 */ 1946 { RECOMP_REGS_OUT(); return; } /* end of function */ 1947 _ljump: 1948 switch (_itail_tgt) { 1949 case 0x3615FD76u: goto L_3615FD76; 1950 case 0x36165449u: goto L_36165449; 1951 case 0x3616544Eu: goto L_3616544E; 1952 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1953 } 1954 RECOMP_REGS_OUT(); 1955 } 1956 1957 void sub_36165460(void) { 1958 int _fpu_cmp = 0; 1959 uint32_t _cf = 0; 1960 int _df = 1; 1961 uint32_t _flag_k = FK_NONE; 1962 uint32_t _flag_a = 0, _flag_b = 0; 1963 uint32_t _itail_tgt = 0; 1964 RECOMP_REGS_LOCALS 1965 RECOMP_ENTER(0x36165460u); 1966 1967 L_36165460: 1968 ecx = ebp + (-0x20); /* 0x36165460: lea ecx, [ebp - 0x20] */ 1969 L_36165463: 1970 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 1971 { RECOMP_REGS_OUT(); return; } /* end of function */ 1972 _ljump: 1973 switch (_itail_tgt) { 1974 case 0x36165460u: goto L_36165460; 1975 case 0x36165463u: goto L_36165463; 1976 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1977 } 1978 RECOMP_REGS_OUT(); 1979 } 1980 1981 void sub_36165469(void) { 1982 int _fpu_cmp = 0; 1983 uint32_t _cf = 0; 1984 int _df = 1; 1985 uint32_t _flag_k = FK_NONE; 1986 uint32_t _flag_a = 0, _flag_b = 0; 1987 uint32_t _itail_tgt = 0; 1988 RECOMP_REGS_LOCALS 1989 RECOMP_ENTER(0x36165469u); 1990 1991 L_36165469: 1992 ecx = MEM32(ebp + (-0x10)); /* 0x36165469: mov ecx, dword ptr [ebp - 0x10] */ 1993 L_3616546C: 1994 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 1995 { RECOMP_REGS_OUT(); return; } /* end of function */ 1996 _ljump: 1997 switch (_itail_tgt) { 1998 case 0x36165469u: goto L_36165469; 1999 case 0x3616546Cu: goto L_3616546C; 2000 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2001 } 2002 RECOMP_REGS_OUT(); 2003 } 2004 2005 void sub_36165472(void) { 2006 int _fpu_cmp = 0; 2007 uint32_t _cf = 0; 2008 int _df = 1; 2009 uint32_t _flag_k = FK_NONE; 2010 uint32_t _flag_a = 0, _flag_b = 0; 2011 uint32_t _itail_tgt = 0; 2012 RECOMP_REGS_LOCALS 2013 RECOMP_ENTER(0x36165472u); 2014 2015 goto L_36165472; 2016 L_3615FD76: 2017 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2018 L_36165472: 2019 eax = 0x3618A1E0u; /* 0x36165472: mov eax, 0x3618a1e0 */ 2020 L_36165477: 2021 RECOMP_BACKEDGE(); 2022 goto L_3615FD76; /* 0x36165477: jmp 0x3615fd76 */ 2023 { RECOMP_REGS_OUT(); return; } /* end of function */ 2024 _ljump: 2025 switch (_itail_tgt) { 2026 case 0x3615FD76u: goto L_3615FD76; 2027 case 0x36165472u: goto L_36165472; 2028 case 0x36165477u: goto L_36165477; 2029 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2030 } 2031 RECOMP_REGS_OUT(); 2032 } 2033 2034 void sub_36165480(void) { 2035 int _fpu_cmp = 0; 2036 uint32_t _cf = 0; 2037 int _df = 1; 2038 uint32_t _flag_k = FK_NONE; 2039 uint32_t _flag_a = 0, _flag_b = 0; 2040 uint32_t _itail_tgt = 0; 2041 RECOMP_REGS_LOCALS 2042 RECOMP_ENTER(0x36165480u); 2043 2044 L_36165480: 2045 ecx = MEM32(ebp + (-0x14)); /* 0x36165480: mov ecx, dword ptr [ebp - 0x14] */ 2046 L_36165483: 2047 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 2048 { RECOMP_REGS_OUT(); return; } /* end of function */ 2049 _ljump: 2050 switch (_itail_tgt) { 2051 case 0x36165480u: goto L_36165480; 2052 case 0x36165483u: goto L_36165483; 2053 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2054 } 2055 RECOMP_REGS_OUT(); 2056 } 2057 2058 void sub_36165489(void) { 2059 int _fpu_cmp = 0; 2060 uint32_t _cf = 0; 2061 int _df = 1; 2062 uint32_t _flag_k = FK_NONE; 2063 uint32_t _flag_a = 0, _flag_b = 0; 2064 uint32_t _itail_tgt = 0; 2065 RECOMP_REGS_LOCALS 2066 RECOMP_ENTER(0x36165489u); 2067 2068 L_36165489: 2069 ecx = MEM32(ebp + (-0x14)); /* 0x36165489: mov ecx, dword ptr [ebp - 0x14] */ 2070 L_3616548C: 2071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2Cu); 2072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2073 ecx = ecx + 0x2Cu; /* 0x3616548C: add ecx, 0x2c */ 2074 _flag_k = FK_ADD; 2075 L_3616548F: 2076 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 2077 { RECOMP_REGS_OUT(); return; } /* end of function */ 2078 _ljump: 2079 switch (_itail_tgt) { 2080 case 0x36165489u: goto L_36165489; 2081 case 0x3616548Cu: goto L_3616548C; 2082 case 0x3616548Fu: goto L_3616548F; 2083 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2084 } 2085 RECOMP_REGS_OUT(); 2086 } 2087 2088 void sub_36165495(void) { 2089 int _fpu_cmp = 0; 2090 uint32_t _cf = 0; 2091 int _df = 1; 2092 uint32_t _flag_k = FK_NONE; 2093 uint32_t _flag_a = 0, _flag_b = 0; 2094 uint32_t _itail_tgt = 0; 2095 RECOMP_REGS_LOCALS 2096 RECOMP_ENTER(0x36165495u); 2097 2098 goto L_36165495; 2099 L_3615FD76: 2100 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2101 L_36165495: 2102 eax = 0x3618A218u; /* 0x36165495: mov eax, 0x3618a218 */ 2103 L_3616549A: 2104 RECOMP_BACKEDGE(); 2105 goto L_3615FD76; /* 0x3616549A: jmp 0x3615fd76 */ 2106 { RECOMP_REGS_OUT(); return; } /* end of function */ 2107 _ljump: 2108 switch (_itail_tgt) { 2109 case 0x3615FD76u: goto L_3615FD76; 2110 case 0x36165495u: goto L_36165495; 2111 case 0x3616549Au: goto L_3616549A; 2112 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2113 } 2114 RECOMP_REGS_OUT(); 2115 } 2116 2117 void sub_361654A0(void) { 2118 int _fpu_cmp = 0; 2119 uint32_t _cf = 0; 2120 int _df = 1; 2121 uint32_t _flag_k = FK_NONE; 2122 uint32_t _flag_a = 0, _flag_b = 0; 2123 uint32_t _itail_tgt = 0; 2124 RECOMP_REGS_LOCALS 2125 RECOMP_ENTER(0x361654A0u); 2126 2127 L_361654A0: 2128 ecx = ebp + (-0x24); /* 0x361654A0: lea ecx, [ebp - 0x24] */ 2129 L_361654A3: 2130 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 2131 { RECOMP_REGS_OUT(); return; } /* end of function */ 2132 _ljump: 2133 switch (_itail_tgt) { 2134 case 0x361654A0u: goto L_361654A0; 2135 case 0x361654A3u: goto L_361654A3; 2136 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2137 } 2138 RECOMP_REGS_OUT(); 2139 } 2140 2141 void sub_361654A9(void) { 2142 int _fpu_cmp = 0; 2143 uint32_t _cf = 0; 2144 int _df = 1; 2145 uint32_t _flag_k = FK_NONE; 2146 uint32_t _flag_a = 0, _flag_b = 0; 2147 uint32_t _itail_tgt = 0; 2148 RECOMP_REGS_LOCALS 2149 RECOMP_ENTER(0x361654A9u); 2150 2151 goto L_361654A9; 2152 L_3615FD76: 2153 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2154 L_361654A9: 2155 eax = 0x3618A248u; /* 0x361654A9: mov eax, 0x3618a248 */ 2156 L_361654AE: 2157 RECOMP_BACKEDGE(); 2158 goto L_3615FD76; /* 0x361654AE: jmp 0x3615fd76 */ 2159 { RECOMP_REGS_OUT(); return; } /* end of function */ 2160 _ljump: 2161 switch (_itail_tgt) { 2162 case 0x3615FD76u: goto L_3615FD76; 2163 case 0x361654A9u: goto L_361654A9; 2164 case 0x361654AEu: goto L_361654AE; 2165 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2166 } 2167 RECOMP_REGS_OUT(); 2168 } 2169 2170 void sub_361654C0(void) { 2171 int _fpu_cmp = 0; 2172 uint32_t _cf = 0; 2173 int _df = 1; 2174 uint32_t _flag_k = FK_NONE; 2175 uint32_t _flag_a = 0, _flag_b = 0; 2176 uint32_t _itail_tgt = 0; 2177 RECOMP_REGS_LOCALS 2178 RECOMP_ENTER(0x361654C0u); 2179 2180 L_361654C0: 2181 ecx = ebp + (-0x20); /* 0x361654C0: lea ecx, [ebp - 0x20] */ 2182 L_361654C3: 2183 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 2184 { RECOMP_REGS_OUT(); return; } /* end of function */ 2185 _ljump: 2186 switch (_itail_tgt) { 2187 case 0x361654C0u: goto L_361654C0; 2188 case 0x361654C3u: goto L_361654C3; 2189 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2190 } 2191 RECOMP_REGS_OUT(); 2192 } 2193 2194 void sub_361654C9(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(0x361654C9u); 2203 2204 goto L_361654C9; 2205 L_3615FD76: 2206 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2207 L_361654C9: 2208 eax = 0x3618A270u; /* 0x361654C9: mov eax, 0x3618a270 */ 2209 L_361654CE: 2210 RECOMP_BACKEDGE(); 2211 goto L_3615FD76; /* 0x361654CE: jmp 0x3615fd76 */ 2212 { RECOMP_REGS_OUT(); return; } /* end of function */ 2213 _ljump: 2214 switch (_itail_tgt) { 2215 case 0x3615FD76u: goto L_3615FD76; 2216 case 0x361654C9u: goto L_361654C9; 2217 case 0x361654CEu: goto L_361654CE; 2218 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2219 } 2220 RECOMP_REGS_OUT(); 2221 } 2222 2223 void sub_361654E0(void) { 2224 int _fpu_cmp = 0; 2225 uint32_t _cf = 0; 2226 int _df = 1; 2227 uint32_t _flag_k = FK_NONE; 2228 uint32_t _flag_a = 0, _flag_b = 0; 2229 uint32_t _itail_tgt = 0; 2230 RECOMP_REGS_LOCALS 2231 RECOMP_ENTER(0x361654E0u); 2232 2233 L_361654E0: 2234 ecx = MEM32(ebp + (-0x10)); /* 0x361654E0: mov ecx, dword ptr [ebp - 0x10] */ 2235 L_361654E3: 2236 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 2237 { RECOMP_REGS_OUT(); return; } /* end of function */ 2238 _ljump: 2239 switch (_itail_tgt) { 2240 case 0x361654E0u: goto L_361654E0; 2241 case 0x361654E3u: goto L_361654E3; 2242 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2243 } 2244 RECOMP_REGS_OUT(); 2245 } 2246 2247 void sub_361654E9(void) { 2248 int _fpu_cmp = 0; 2249 uint32_t _cf = 0; 2250 int _df = 1; 2251 uint32_t _flag_k = FK_NONE; 2252 uint32_t _flag_a = 0, _flag_b = 0; 2253 uint32_t _itail_tgt = 0; 2254 RECOMP_REGS_LOCALS 2255 RECOMP_ENTER(0x361654E9u); 2256 2257 goto L_361654E9; 2258 L_3615FD76: 2259 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2260 L_361654E9: 2261 eax = 0x3618A298u; /* 0x361654E9: mov eax, 0x3618a298 */ 2262 L_361654EE: 2263 RECOMP_BACKEDGE(); 2264 goto L_3615FD76; /* 0x361654EE: jmp 0x3615fd76 */ 2265 { RECOMP_REGS_OUT(); return; } /* end of function */ 2266 _ljump: 2267 switch (_itail_tgt) { 2268 case 0x3615FD76u: goto L_3615FD76; 2269 case 0x361654E9u: goto L_361654E9; 2270 case 0x361654EEu: goto L_361654EE; 2271 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2272 } 2273 RECOMP_REGS_OUT(); 2274 } 2275 2276 void sub_36165500(void) { 2277 int _fpu_cmp = 0; 2278 uint32_t _cf = 0; 2279 int _df = 1; 2280 uint32_t _flag_k = FK_NONE; 2281 uint32_t _flag_a = 0, _flag_b = 0; 2282 uint32_t _itail_tgt = 0; 2283 RECOMP_REGS_LOCALS 2284 RECOMP_ENTER(0x36165500u); 2285 2286 L_36165500: 2287 ecx = ebp + (-0x20); /* 0x36165500: lea ecx, [ebp - 0x20] */ 2288 L_36165503: 2289 { _itail_tgt = (uint32_t)(MEM32(0x3616F128)); goto _ljump; } 2290 { RECOMP_REGS_OUT(); return; } /* end of function */ 2291 _ljump: 2292 switch (_itail_tgt) { 2293 case 0x36165500u: goto L_36165500; 2294 case 0x36165503u: goto L_36165503; 2295 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2296 } 2297 RECOMP_REGS_OUT(); 2298 } 2299 2300 void sub_36165509(void) { 2301 int _fpu_cmp = 0; 2302 uint32_t _cf = 0; 2303 int _df = 1; 2304 uint32_t _flag_k = FK_NONE; 2305 uint32_t _flag_a = 0, _flag_b = 0; 2306 uint32_t _itail_tgt = 0; 2307 RECOMP_REGS_LOCALS 2308 RECOMP_ENTER(0x36165509u); 2309 2310 L_36165509: 2311 ecx = MEM32(ebp + (-0x10)); /* 0x36165509: mov ecx, dword ptr [ebp - 0x10] */ 2312 L_3616550C: 2313 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 2314 { RECOMP_REGS_OUT(); return; } /* end of function */ 2315 _ljump: 2316 switch (_itail_tgt) { 2317 case 0x36165509u: goto L_36165509; 2318 case 0x3616550Cu: goto L_3616550C; 2319 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2320 } 2321 RECOMP_REGS_OUT(); 2322 } 2323 2324 void sub_36165512(void) { 2325 int _fpu_cmp = 0; 2326 uint32_t _cf = 0; 2327 int _df = 1; 2328 uint32_t _flag_k = FK_NONE; 2329 uint32_t _flag_a = 0, _flag_b = 0; 2330 uint32_t _itail_tgt = 0; 2331 RECOMP_REGS_LOCALS 2332 RECOMP_ENTER(0x36165512u); 2333 2334 goto L_36165512; 2335 L_3615FD76: 2336 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2337 L_36165512: 2338 eax = 0x3618A2C0u; /* 0x36165512: mov eax, 0x3618a2c0 */ 2339 L_36165517: 2340 RECOMP_BACKEDGE(); 2341 goto L_3615FD76; /* 0x36165517: jmp 0x3615fd76 */ 2342 { RECOMP_REGS_OUT(); return; } /* end of function */ 2343 _ljump: 2344 switch (_itail_tgt) { 2345 case 0x3615FD76u: goto L_3615FD76; 2346 case 0x36165512u: goto L_36165512; 2347 case 0x36165517u: goto L_36165517; 2348 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2349 } 2350 RECOMP_REGS_OUT(); 2351 } 2352 2353 void sub_36165520(void) { 2354 int _fpu_cmp = 0; 2355 uint32_t _cf = 0; 2356 int _df = 1; 2357 uint32_t _flag_k = FK_NONE; 2358 uint32_t _flag_a = 0, _flag_b = 0; 2359 uint32_t _itail_tgt = 0; 2360 RECOMP_REGS_LOCALS 2361 RECOMP_ENTER(0x36165520u); 2362 2363 L_36165520: 2364 ecx = MEM32(ebp + (-0x10)); /* 0x36165520: mov ecx, dword ptr [ebp - 0x10] */ 2365 L_36165523: 2366 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 2367 { RECOMP_REGS_OUT(); return; } /* end of function */ 2368 _ljump: 2369 switch (_itail_tgt) { 2370 case 0x36165520u: goto L_36165520; 2371 case 0x36165523u: goto L_36165523; 2372 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2373 } 2374 RECOMP_REGS_OUT(); 2375 } 2376 2377 void sub_36165529(void) { 2378 int _fpu_cmp = 0; 2379 uint32_t _cf = 0; 2380 int _df = 1; 2381 uint32_t _flag_k = FK_NONE; 2382 uint32_t _flag_a = 0, _flag_b = 0; 2383 uint32_t _itail_tgt = 0; 2384 RECOMP_REGS_LOCALS 2385 RECOMP_ENTER(0x36165529u); 2386 2387 goto L_36165529; 2388 L_3615FD76: 2389 { _itail_tgt = (uint32_t)(MEM32(0x3616F26C)); goto _ljump; } 2390 L_36165529: 2391 eax = 0x3618A2F8u; /* 0x36165529: mov eax, 0x3618a2f8 */ 2392 L_3616552E: 2393 RECOMP_BACKEDGE(); 2394 goto L_3615FD76; /* 0x3616552E: jmp 0x3615fd76 */ 2395 { RECOMP_REGS_OUT(); return; } /* end of function */ 2396 _ljump: 2397 switch (_itail_tgt) { 2398 case 0x3615FD76u: goto L_3615FD76; 2399 case 0x36165529u: goto L_36165529; 2400 case 0x3616552Eu: goto L_3616552E; 2401 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2402 } 2403 RECOMP_REGS_OUT(); 2404 } 2405 2406 void sub_36165540(void) { 2407 int _fpu_cmp = 0; 2408 uint32_t _cf = 0; 2409 int _df = 1; 2410 uint32_t _flag_k = FK_NONE; 2411 uint32_t _flag_a = 0, _flag_b = 0; 2412 uint32_t _itail_tgt = 0; 2413 RECOMP_REGS_LOCALS 2414 RECOMP_ENTER(0x36165540u); 2415 2416 L_36165540: 2417 ecx = MEM32(ebp + (-0x14)); /* 0x36165540: mov ecx, dword ptr [ebp - 0x14] */ 2418 L_36165543: 2419 { _itail_tgt = (uint32_t)(MEM32(0x3616FFD4)); goto _ljump; } 2420 { RECOMP_REGS_OUT(); return; } /* end of function */ 2421 _ljump: 2422 switch (_itail_tgt) { 2423 case 0x36165540u: goto L_36165540; 2424 case 0x36165543u: goto L_36165543; 2425 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2426 } 2427 RECOMP_REGS_OUT(); 2428 } 2429 2430 void sub_36165549(void) { 2431 int _fpu_cmp = 0; 2432 uint32_t _cf = 0; 2433 int _df = 1; 2434 uint32_t _flag_k = FK_NONE; 2435 uint32_t _flag_a = 0, _flag_b = 0; 2436 uint32_t _itail_tgt = 0; 2437 RECOMP_REGS_LOCALS 2438 RECOMP_ENTER(0x36165549u); 2439 2440 goto L_36165549; 2441 L_360BFE90: 2442 PUSH32(esp, ebp); /* 0x360BFE90: push ebp */ 2443 ebp = esp; /* 0x360BFE91: mov ebp, esp */ 2444 PUSH32(esp, 0xFFFFFFFFu); /* 0x360BFE93: push -1 */ 2445 PUSH32(esp, 0x3616747Bu); /* 0x360BFE95: push 0x3616747b */ 2446 eax = MEM32(FS_BASE + (0)); /* 0x360BFE9A: mov eax, dword ptr fs:[0] */ 2447 PUSH32(esp, eax); /* 0x360BFEA0: push eax */ 2448 MEM32(FS_BASE + (0)) = esp; /* 0x360BFEA1: mov dword ptr fs:[0], esp */ 2449 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 2450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2451 esp = esp - 0x34u; /* 0x360BFEA8: sub esp, 0x34 */ 2452 _flag_k = FK_CMP; 2453 PUSH32(esp, ebx); /* 0x360BFEAB: push ebx */ 2454 PUSH32(esp, esi); /* 0x360BFEAC: push esi */ 2455 esi = ecx; /* 0x360BFEAD: mov esi, ecx */ 2456 PUSH32(esp, edi); /* 0x360BFEAF: push edi */ 2457 MEM32(ebp + (-0x10)) = esi; /* 0x360BFEB0: mov dword ptr [ebp - 0x10], esi */ 2458 MEM32(esi) = 0x36174EA4u; /* 0x360BFEB3: mov dword ptr [esi], 0x36174ea4 */ 2459 eax = ebp + (-0x20); /* 0x360BFEB9: lea eax, [ebp - 0x20] */ 2460 PUSH32(esp, eax); /* 0x360BFEBC: push eax */ 2461 MEM32(ebp + (-0x4)) = 0; /* 0x360BFEBD: mov dword ptr [ebp - 4], 0 */ 2462 RECOMP_ICALL(0x360C02D0u); /* 0x360BFEC4: call 0x360c02d0 */ /* not lifted */ 2463 RECOMP_FLAGS_IN(); 2464 ecx = MEM32(eax); /* 0x360BFEC9: mov ecx, dword ptr [eax] */ 2465 edx = MEM32(eax + 0x4); /* 0x360BFECB: mov edx, dword ptr [eax + 4] */ 2466 edi = MEM32(eax + 0x8); /* 0x360BFECE: mov edi, dword ptr [eax + 8] */ 2467 ebx = MEM32(eax + 0xC); /* 0x360BFED1: mov ebx, dword ptr [eax + 0xc] */ 2468 eax = ebp + (-0x40); /* 0x360BFED4: lea eax, [ebp - 0x40] */ 2469 MEM32(ebp + (-0x30)) = ecx; /* 0x360BFED7: mov dword ptr [ebp - 0x30], ecx */ 2470 PUSH32(esp, eax); /* 0x360BFEDA: push eax */ 2471 ecx = esi; /* 0x360BFEDB: mov ecx, esi */ 2472 MEM32(ebp + (-0x2C)) = edx; /* 0x360BFEDD: mov dword ptr [ebp - 0x2c], edx */ 2473 RECOMP_ICALL(0x360C0300u); /* 0x360BFEE0: call 0x360c0300 */ /* not lifted */ 2474 RECOMP_FLAGS_IN(); 2475 ecx = eax; /* 0x360BFEE5: mov ecx, eax */ 2476 edx = MEM32(ecx); /* 0x360BFEE7: mov edx, dword ptr [ecx] */ 2477 eax = MEM32(ecx + 0x4); /* 0x360BFEE9: mov eax, dword ptr [ecx + 4] */ 2478 MEM32(ebp + (-0x1C)) = eax; /* 0x360BFEEC: mov dword ptr [ebp - 0x1c], eax */ 2479 eax = MEM32(ecx + 0x8); /* 0x360BFEEF: mov eax, dword ptr [ecx + 8] */ 2480 /* cmp edi, eax */ /* 0x360BFEF2: cmp edi, eax */ 2481 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2483 _flag_k = FK_CMP; 2484 ecx = MEM32(ecx + 0xC); /* 0x360BFEF4: mov ecx, dword ptr [ecx + 0xc] */ 2485 MEM32(ebp + (-0x20)) = edx; /* 0x360BFEF7: mov dword ptr [ebp - 0x20], edx */ 2486 MEM32(ebp + (-0x18)) = eax; /* 0x360BFEFA: mov dword ptr [ebp - 0x18], eax */ 2487 MEM32(ebp + (-0x14)) = ecx; /* 0x360BFEFD: mov dword ptr [ebp - 0x14], ecx */ 2488 if (CMP_EQ(_flag_a, _flag_b)) goto L_360BFF32; /* 0x360BFF00: je 0x360bff32 */ 2489 L_360BFF02: 2490 ecx = MEM32(edi); /* 0x360BFF02: mov ecx, dword ptr [edi] */ 2491 RECOMP_ICALL(0x360B7D60u); /* 0x360BFF04: call 0x360b7d60 */ /* not lifted */ 2492 RECOMP_FLAGS_IN(); 2493 eax = MEM32(ebp + (-0x2C)); /* 0x360BFF09: mov eax, dword ptr [ebp - 0x2c] */ 2494 /* cmp edi, eax */ /* 0x360BFF0C: cmp edi, eax */ 2495 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2497 _flag_k = FK_CMP; 2498 if (CMP_EQ(_flag_a, _flag_b)) goto L_360BFF2D; /* 0x360BFF0E: je 0x360bff2d */ 2499 L_360BFF10: 2500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 2501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2502 edi = edi + 4; /* 0x360BFF10: add edi, 4 */ 2503 _flag_k = FK_ADD; 2504 /* cmp edi, eax */ /* 0x360BFF13: cmp edi, eax */ 2505 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2507 _flag_k = FK_CMP; 2508 if (CMP_NE(_flag_a, _flag_b)) goto L_360BFF2D; /* 0x360BFF15: jne 0x360bff2d */ 2509 L_360BFF17: 2510 eax = MEM32(ebx + 0x4); /* 0x360BFF17: mov eax, dword ptr [ebx + 4] */ 2511 /* test eax, eax */ /* 0x360BFF1A: test eax, eax */ 2512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2513 _cf = 0; 2514 _flag_k = FK_TEST; 2515 if (TEST_Z(_flag_a, _flag_b)) goto L_360BFF2D; /* 0x360BFF1C: je 0x360bff2d */ 2516 L_360BFF1E: 2517 edi = MEM32(ebx + 0x4); /* 0x360BFF1E: mov edi, dword ptr [ebx + 4] */ 2518 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 2519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2520 ebx = ebx + 4; /* 0x360BFF21: add ebx, 4 */ 2521 _flag_k = FK_ADD; 2522 edx = edi + 0x1000; /* 0x360BFF24: lea edx, [edi + 0x1000] */ 2523 MEM32(ebp + (-0x2C)) = edx; /* 0x360BFF2A: mov dword ptr [ebp - 0x2c], edx */ 2524 L_360BFF2D: 2525 /* cmp edi, MEM32(ebp + (-0x18)) */ /* 0x360BFF2D: cmp edi, dword ptr [ebp - 0x18] */ 2526 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 2527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2528 _flag_k = FK_CMP; 2529 RECOMP_BACKEDGE(); 2530 if (CMP_NE(_flag_a, _flag_b)) goto L_360BFF02; /* 0x360BFF30: jne 0x360bff02 */ 2531 L_360BFF32: 2532 ecx = esi; /* 0x360BFF32: mov ecx, esi */ 2533 RECOMP_ICALL(0x360C0330u); /* 0x360BFF34: call 0x360c0330 */ /* not lifted */ 2534 RECOMP_FLAGS_IN(); 2535 eax = MEM32(esi + 0x30); /* 0x360BFF39: mov eax, dword ptr [esi + 0x30] */ 2536 /* test eax, eax */ /* 0x360BFF3C: test eax, eax */ 2537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2538 _cf = 0; 2539 _flag_k = FK_TEST; 2540 if (TEST_Z(_flag_a, _flag_b)) goto L_360BFFF7; /* 0x360BFF3E: je 0x360bfff7 */ 2541 L_360BFF44: 2542 eax = MEM32(esi + 0x10); /* 0x360BFF44: mov eax, dword ptr [esi + 0x10] */ 2543 ecx = MEM32(esi + 0xC); /* 0x360BFF47: mov ecx, dword ptr [esi + 0xc] */ 2544 /* cmp eax, ecx */ /* 0x360BFF4A: cmp eax, ecx */ 2545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2547 _flag_k = FK_CMP; 2548 edi = MEM32(esi + 0x14); /* 0x360BFF4C: mov edi, dword ptr [esi + 0x14] */ 2549 if (CMP_EQ(_flag_a, _flag_b)) goto L_360BFF7E; /* 0x360BFF4F: je 0x360bff7e */ 2550 L_360BFF51: 2551 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2552 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2553 eax = eax + 4; /* 0x360BFF51: add eax, 4 */ 2554 _flag_k = FK_ADD; 2555 /* cmp eax, ecx */ /* 0x360BFF54: cmp eax, ecx */ 2556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2558 _flag_k = FK_CMP; 2559 MEM32(esi + 0x10) = eax; /* 0x360BFF56: mov dword ptr [esi + 0x10], eax */ 2560 if (CMP_NE(_flag_a, _flag_b)) goto L_360BFF7E; /* 0x360BFF59: jne 0x360bff7e */ 2561 L_360BFF5B: 2562 eax = MEM32(esi + 0x14); /* 0x360BFF5B: mov eax, dword ptr [esi + 0x14] */ 2563 ecx = MEM32(eax + 0x4); /* 0x360BFF5E: mov ecx, dword ptr [eax + 4] */ 2564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2565 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2566 eax = eax + 4; /* 0x360BFF61: add eax, 4 */ 2567 _flag_k = FK_ADD; 2568 /* test ecx, ecx */ /* 0x360BFF64: test ecx, ecx */ 2569 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2570 _cf = 0; 2571 _flag_k = FK_TEST; 2572 if (TEST_Z(_flag_a, _flag_b)) goto L_360BFF7E; /* 0x360BFF66: je 0x360bff7e */ 2573 L_360BFF68: 2574 MEM32(esi + 0x14) = eax; /* 0x360BFF68: mov dword ptr [esi + 0x14], eax */ 2575 eax = MEM32(eax); /* 0x360BFF6B: mov eax, dword ptr [eax] */ 2576 MEM32(esi + 0x8) = eax; /* 0x360BFF6D: mov dword ptr [esi + 8], eax */ 2577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1000u); 2578 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2579 eax = eax + 0x1000u; /* 0x360BFF70: add eax, 0x1000 */ 2580 _flag_k = FK_ADD; 2581 MEM32(esi + 0xC) = eax; /* 0x360BFF75: mov dword ptr [esi + 0xc], eax */ 2582 eax = MEM32(esi + 0x8); /* 0x360BFF78: mov eax, dword ptr [esi + 8] */ 2583 MEM32(esi + 0x10) = eax; /* 0x360BFF7B: mov dword ptr [esi + 0x10], eax */ 2584 L_360BFF7E: 2585 _flag_a = (uint32_t)(MEM32(esi + 0x30)); _flag_b = (uint32_t)(1); 2586 MEM32(esi + 0x30) = MEM32(esi + 0x30) - 1; /* 0x360BFF7E: dec dword ptr [esi + 0x30] */ 2587 _flag_k = FK_DEC; 2588 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360BFFD6; /* 0x360BFF81: jne 0x360bffd6 */ 2589 L_360BFF83: 2590 ecx = MEM32(esi + 0x14); /* 0x360BFF83: mov ecx, dword ptr [esi + 0x14] */ 2591 edx = MEM32(ecx + (-0x4)); /* 0x360BFF86: mov edx, dword ptr [ecx - 4] */ 2592 PUSH32(esp, edx); /* 0x360BFF89: push edx */ 2593 RECOMP_ICALL(0x3615FCC4u); /* 0x360BFF8A: call 0x3615fcc4 */ /* not lifted */ 2594 RECOMP_FLAGS_IN(); 2595 eax = MEM32(esi + 0x14); /* 0x360BFF8F: mov eax, dword ptr [esi + 0x14] */ 2596 ecx = MEM32(eax); /* 0x360BFF92: mov ecx, dword ptr [eax] */ 2597 PUSH32(esp, ecx); /* 0x360BFF94: push ecx */ 2598 RECOMP_ICALL(0x3615FCC4u); /* 0x360BFF95: call 0x3615fcc4 */ /* not lifted */ 2599 RECOMP_FLAGS_IN(); 2600 edx = MEM32(esi + 0x14); /* 0x360BFF9A: mov edx, dword ptr [esi + 0x14] */ 2601 eax = MEM32(edx + 0x4); /* 0x360BFF9D: mov eax, dword ptr [edx + 4] */ 2602 PUSH32(esp, eax); /* 0x360BFFA0: push eax */ 2603 RECOMP_ICALL(0x3615FCC4u); /* 0x360BFFA1: call 0x3615fcc4 */ /* not lifted */ 2604 RECOMP_FLAGS_IN(); 2605 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2606 eax = 0; /* 0x360BFFA6: xor eax, eax */ 2607 _cf = 0; 2608 _flag_k = FK_TEST; 2609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2610 ecx = 0; /* 0x360BFFA8: xor ecx, ecx */ 2611 _cf = 0; 2612 _flag_k = FK_TEST; 2613 ebx = esi + 0x18; /* 0x360BFFAA: lea ebx, [esi + 0x18] */ 2614 MEM32(ebx) = eax; /* 0x360BFFAD: mov dword ptr [ebx], eax */ 2615 MEM32(esi + 0x8) = eax; /* 0x360BFFAF: mov dword ptr [esi + 8], eax */ 2616 MEM32(esi + 0xC) = ecx; /* 0x360BFFB2: mov dword ptr [esi + 0xc], ecx */ 2617 MEM32(ebx + 0x4) = ecx; /* 0x360BFFB5: mov dword ptr [ebx + 4], ecx */ 2618 ecx = MEM32(esi + 0x28); /* 0x360BFFB8: mov ecx, dword ptr [esi + 0x28] */ 2619 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2620 edx = 0; /* 0x360BFFBB: xor edx, edx */ 2621 _cf = 0; 2622 _flag_k = FK_TEST; 2623 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2624 edi = 0; /* 0x360BFFBD: xor edi, edi */ 2625 _cf = 0; 2626 _flag_k = FK_TEST; 2627 MEM32(ebx + 0x8) = edx; /* 0x360BFFBF: mov dword ptr [ebx + 8], edx */ 2628 MEM32(esi + 0x10) = edx; /* 0x360BFFC2: mov dword ptr [esi + 0x10], edx */ 2629 PUSH32(esp, ecx); /* 0x360BFFC5: push ecx */ 2630 MEM32(esi + 0x14) = edi; /* 0x360BFFC6: mov dword ptr [esi + 0x14], edi */ 2631 MEM32(ebx + 0xC) = edi; /* 0x360BFFC9: mov dword ptr [ebx + 0xc], edi */ 2632 RECOMP_ICALL(0x3615FCC4u); /* 0x360BFFCC: call 0x3615fcc4 */ /* not lifted */ 2633 RECOMP_FLAGS_IN(); 2634 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2635 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2636 esp = esp + 0x10u; /* 0x360BFFD1: add esp, 0x10 */ 2637 _flag_k = FK_ADD; 2638 goto L_360BFFEC; /* 0x360BFFD4: jmp 0x360bffec */ 2639 L_360BFFD6: 2640 /* cmp edi, MEM32(esi + 0x14) */ /* 0x360BFFD6: cmp edi, dword ptr [esi + 0x14] */ 2641 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 2642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2643 _flag_k = FK_CMP; 2644 if (CMP_EQ(_flag_a, _flag_b)) goto L_360BFFEC; /* 0x360BFFD9: je 0x360bffec */ 2645 L_360BFFDB: 2646 edx = MEM32(edi); /* 0x360BFFDB: mov edx, dword ptr [edi] */ 2647 PUSH32(esp, edx); /* 0x360BFFDD: push edx */ 2648 RECOMP_ICALL(0x3615FCC4u); /* 0x360BFFDE: call 0x3615fcc4 */ /* not lifted */ 2649 RECOMP_FLAGS_IN(); 2650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2652 esp = esp + 4; /* 0x360BFFE3: add esp, 4 */ 2653 _flag_k = FK_ADD; 2654 MEM32(edi) = 0; /* 0x360BFFE6: mov dword ptr [edi], 0 */ 2655 L_360BFFEC: 2656 eax = MEM32(esi + 0x30); /* 0x360BFFEC: mov eax, dword ptr [esi + 0x30] */ 2657 /* test eax, eax */ /* 0x360BFFEF: test eax, eax */ 2658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2659 _cf = 0; 2660 _flag_k = FK_TEST; 2661 RECOMP_BACKEDGE(); 2662 if (TEST_NZ(_flag_a, _flag_b)) goto L_360BFF44; /* 0x360BFFF1: jne 0x360bff44 */ 2663 L_360BFFF7: 2664 ecx = MEM32(ebp + (-0xC)); /* 0x360BFFF7: mov ecx, dword ptr [ebp - 0xc] */ 2665 edi = POP32_VAL(esp); /* 0x360BFFFA: pop edi */ 2666 esi = POP32_VAL(esp); /* 0x360BFFFB: pop esi */ 2667 ebx = POP32_VAL(esp); /* 0x360BFFFC: pop ebx */ 2668 MEM32(FS_BASE + (0)) = ecx; /* 0x360BFFFD: mov dword ptr fs:[0], ecx */ 2669 esp = ebp; /* 0x360C0004: mov esp, ebp */ 2670 ebp = POP32_VAL(esp); /* 0x360C0006: pop ebp */ 2671 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360C0007: ret */ 2672 L_36165549: 2673 ecx = MEM32(ebp + (-0x14)); /* 0x36165549: mov ecx, dword ptr [ebp - 0x14] */ 2674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x68u); 2675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2676 ecx = ecx + 0x68u; /* 0x3616554C: add ecx, 0x68 */ 2677 _flag_k = FK_ADD; 2678 RECOMP_BACKEDGE(); 2679 goto L_360BFE90; /* 0x3616554F: jmp 0x360bfe90 */ 2680 { RECOMP_REGS_OUT(); return; } /* end of function */ 2681 RECOMP_REGS_OUT(); 2682 } 2683 2684 void sub_36165554(void) { 2685 int _fpu_cmp = 0; 2686 uint32_t _cf = 0; 2687 int _df = 1; 2688 uint32_t _flag_k = FK_NONE; 2689 uint32_t _flag_a = 0, _flag_b = 0; 2690 uint32_t _itail_tgt = 0; 2691 RECOMP_REGS_LOCALS 2692 RECOMP_ENTER(0x36165554u); 2693 2694 L_36165554: 2695 eax = MEM32(ebp + (-0x18)); /* 0x36165554: mov eax, dword ptr [ebp - 0x18] */ 2696 PUSH32(esp, eax); /* 0x36165557: push eax */ 2697 RECOMP_ICALL(0x3615FCC4u); /* 0x36165558: call 0x3615fcc4 */ /* not lifted */ 2698 RECOMP_FLAGS_IN(); 2699 ecx = POP32_VAL(esp); /* 0x3616555D: pop ecx */ 2700 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616555E: ret */ 2701 RECOMP_REGS_OUT(); 2702 } 2703 2704 void sub_3616555F(void) { 2705 int _fpu_cmp = 0; 2706 uint32_t _cf = 0; 2707 int _df = 1; 2708 uint32_t _flag_k = FK_NONE; 2709 uint32_t _flag_a = 0, _flag_b = 0; 2710 uint32_t _itail_tgt = 0; 2711 RECOMP_REGS_LOCALS 2712 RECOMP_ENTER(0x3616555Fu); 2713 2714 L_3616555F: 2715 eax = MEM32(ebp + (-0x18)); /* 0x3616555F: mov eax, dword ptr [ebp - 0x18] */ 2716 PUSH32(esp, eax); /* 0x36165562: push eax */ 2717 RECOMP_ICALL(0x3615FCC4u); /* 0x36165563: call 0x3615fcc4 */ /* not lifted */ 2718 RECOMP_FLAGS_IN(); 2719 ecx = POP32_VAL(esp); /* 0x36165568: pop ecx */ 2720 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165569: ret */ 2721 RECOMP_REGS_OUT(); 2722 } 2723 2724 void sub_3616556A(void) { 2725 int _fpu_cmp = 0; 2726 uint32_t _cf = 0; 2727 int _df = 1; 2728 uint32_t _flag_k = FK_NONE; 2729 uint32_t _flag_a = 0, _flag_b = 0; 2730 uint32_t _itail_tgt = 0; 2731 RECOMP_REGS_LOCALS 2732 RECOMP_ENTER(0x3616556Au); 2733 2734 L_3616556A: 2735 eax = MEM32(ebp + (-0x18)); /* 0x3616556A: mov eax, dword ptr [ebp - 0x18] */ 2736 PUSH32(esp, eax); /* 0x3616556D: push eax */ 2737 RECOMP_ICALL(0x3615FCC4u); /* 0x3616556E: call 0x3615fcc4 */ /* not lifted */ 2738 RECOMP_FLAGS_IN(); 2739 ecx = POP32_VAL(esp); /* 0x36165573: pop ecx */ 2740 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165574: ret */ 2741 RECOMP_REGS_OUT(); 2742 } 2743 2744 void sub_36165575(void) { 2745 int _fpu_cmp = 0; 2746 uint32_t _cf = 0; 2747 int _df = 1; 2748 uint32_t _flag_k = FK_NONE; 2749 uint32_t _flag_a = 0, _flag_b = 0; 2750 uint32_t _itail_tgt = 0; 2751 RECOMP_REGS_LOCALS 2752 RECOMP_ENTER(0x36165575u); 2753 2754 L_36165575: 2755 eax = MEM32(ebp + (-0x18)); /* 0x36165575: mov eax, dword ptr [ebp - 0x18] */ 2756 PUSH32(esp, eax); /* 0x36165578: push eax */ 2757 RECOMP_ICALL(0x3615FCC4u); /* 0x36165579: call 0x3615fcc4 */ /* not lifted */ 2758 RECOMP_FLAGS_IN(); 2759 ecx = POP32_VAL(esp); /* 0x3616557E: pop ecx */ 2760 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616557F: ret */ 2761 RECOMP_REGS_OUT(); 2762 } 2763 2764 void sub_36165580(void) { 2765 int _fpu_cmp = 0; 2766 uint32_t _cf = 0; 2767 int _df = 1; 2768 uint32_t _flag_k = FK_NONE; 2769 uint32_t _flag_a = 0, _flag_b = 0; 2770 uint32_t _itail_tgt = 0; 2771 RECOMP_REGS_LOCALS 2772 RECOMP_ENTER(0x36165580u); 2773 2774 L_36165580: 2775 eax = MEM32(ebp + (-0x18)); /* 0x36165580: mov eax, dword ptr [ebp - 0x18] */ 2776 PUSH32(esp, eax); /* 0x36165583: push eax */ 2777 RECOMP_ICALL(0x3615FCC4u); /* 0x36165584: call 0x3615fcc4 */ /* not lifted */ 2778 RECOMP_FLAGS_IN(); 2779 ecx = POP32_VAL(esp); /* 0x36165589: pop ecx */ 2780 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3616558A: ret */ 2781 RECOMP_REGS_OUT(); 2782 } 2783 2784 void sub_3616558B(void) { 2785 int _fpu_cmp = 0; 2786 uint32_t _cf = 0; 2787 int _df = 1; 2788 uint32_t _flag_k = FK_NONE; 2789 uint32_t _flag_a = 0, _flag_b = 0; 2790 uint32_t _itail_tgt = 0; 2791 RECOMP_REGS_LOCALS 2792 RECOMP_ENTER(0x3616558Bu); 2793 2794 L_3616558B: 2795 eax = MEM32(ebp + (-0x18)); /* 0x3616558B: mov eax, dword ptr [ebp - 0x18] */ 2796 PUSH32(esp, eax); /* 0x3616558E: push eax */ 2797 RECOMP_ICALL(0x3615FCC4u); /* 0x3616558F: call 0x3615fcc4 */ /* not lifted */ 2798 RECOMP_FLAGS_IN(); 2799 ecx = POP32_VAL(esp); /* 0x36165594: pop ecx */ 2800 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36165595: ret */ 2801 RECOMP_REGS_OUT(); 2802 } 2803 2804 void sub_36165596(void) { 2805 int _fpu_cmp = 0; 2806 uint32_t _cf = 0; 2807 int _df = 1; 2808 uint32_t _flag_k = FK_NONE; 2809 uint32_t _flag_a = 0, _flag_b = 0; 2810 uint32_t _itail_tgt = 0; 2811 RECOMP_REGS_LOCALS 2812 RECOMP_ENTER(0x36165596u); 2813 2814 L_36165596: 2815 eax = MEM32(ebp + (-0x18)); /* 0x36165596: mov eax, dword ptr [ebp - 0x18] */ 2816 PUSH32(esp, eax); /* 0x36165599: push eax */ 2817 RECOMP_ICALL(0x3615FCC4u); /* 0x3616559A: call 0x3615fcc4 */ /* not lifted */ 2818 RECOMP_FLAGS_IN(); 2819 ecx = POP32_VAL(esp); /* 0x3616559F: pop ecx */ 2820 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361655A0: ret */ 2821 RECOMP_REGS_OUT(); 2822 } 2823 2824 void sub_361655A1(void) { 2825 int _fpu_cmp = 0; 2826 uint32_t _cf = 0; 2827 int _df = 1; 2828 uint32_t _flag_k = FK_NONE; 2829 uint32_t _flag_a = 0, _flag_b = 0; 2830 uint32_t _itail_tgt = 0; 2831 RECOMP_REGS_LOCALS 2832 RECOMP_ENTER(0x361655A1u); 2833 2834 L_361655A1: 2835 eax = MEM32(ebp + (-0x18)); /* 0x361655A1: mov eax, dword ptr [ebp - 0x18] */ 2836 PUSH32(esp, eax); /* 0x361655A4: push eax */ 2837 RECOMP_ICALL(0x3615FCC4u); /* 0x361655A5: call 0x3615fcc4 */ /* not lifted */ 2838 RECOMP_FLAGS_IN(); 2839 ecx = POP32_VAL(esp); /* 0x361655AA: pop ecx */ 2840 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x361655AB: ret */ 2841 RECOMP_REGS_OUT(); 2842 }