client/game/jjr.dll/lifted-0001.c (16805B)
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_35002434(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(0x35002434u); 17 18 L_35002434: 19 { _itail_tgt = (uint32_t)(MEM32(0x35003070)); goto _ljump; } 20 { RECOMP_REGS_OUT(); return; } /* end of function */ 21 _ljump: 22 switch (_itail_tgt) { 23 case 0x35002434u: goto L_35002434; 24 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 25 } 26 RECOMP_REGS_OUT(); 27 } 28 29 void sub_3500243A(void) { 30 int _fpu_cmp = 0; 31 uint32_t _cf = 0; 32 int _df = 1; 33 uint32_t _flag_k = FK_NONE; 34 uint32_t _flag_a = 0, _flag_b = 0; 35 uint32_t _itail_tgt = 0; 36 RECOMP_REGS_LOCALS 37 RECOMP_ENTER(0x3500243Au); 38 39 L_3500243A: 40 { _itail_tgt = (uint32_t)(MEM32(0x35003054)); goto _ljump; } 41 { RECOMP_REGS_OUT(); return; } /* end of function */ 42 _ljump: 43 switch (_itail_tgt) { 44 case 0x3500243Au: goto L_3500243A; 45 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 46 } 47 RECOMP_REGS_OUT(); 48 } 49 50 void sub_35002440(void) { 51 int _fpu_cmp = 0; 52 uint32_t _cf = 0; 53 int _df = 1; 54 uint32_t _flag_k = FK_NONE; 55 uint32_t _flag_a = 0, _flag_b = 0; 56 uint32_t _itail_tgt = 0; 57 RECOMP_REGS_LOCALS 58 RECOMP_ENTER(0x35002440u); 59 60 L_35002440: 61 { _itail_tgt = (uint32_t)(MEM32(0x35003074)); goto _ljump; } 62 { RECOMP_REGS_OUT(); return; } /* end of function */ 63 _ljump: 64 switch (_itail_tgt) { 65 case 0x35002440u: goto L_35002440; 66 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 67 } 68 RECOMP_REGS_OUT(); 69 } 70 71 void sub_35002446(void) { 72 int _fpu_cmp = 0; 73 uint32_t _cf = 0; 74 int _df = 1; 75 uint32_t _flag_k = FK_NONE; 76 uint32_t _flag_a = 0, _flag_b = 0; 77 uint32_t _itail_tgt = 0; 78 RECOMP_REGS_LOCALS 79 RECOMP_ENTER(0x35002446u); 80 81 L_35002446: 82 { _itail_tgt = (uint32_t)(MEM32(0x35003080)); goto _ljump; } 83 { RECOMP_REGS_OUT(); return; } /* end of function */ 84 _ljump: 85 switch (_itail_tgt) { 86 case 0x35002446u: goto L_35002446; 87 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 88 } 89 RECOMP_REGS_OUT(); 90 } 91 92 void sub_3500244C(void) { 93 int _fpu_cmp = 0; 94 uint32_t _cf = 0; 95 int _df = 1; 96 uint32_t _flag_k = FK_NONE; 97 uint32_t _flag_a = 0, _flag_b = 0; 98 uint32_t _itail_tgt = 0; 99 RECOMP_REGS_LOCALS 100 RECOMP_ENTER(0x3500244Cu); 101 102 L_3500244C: 103 /* cmp MEM32(esp + 0x8), 1 */ /* 0x3500244C: cmp dword ptr [esp + 8], 1 */ 104 _flag_a = (uint32_t)(MEM32(esp + 0x8)); _flag_b = (uint32_t)(1); 105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 106 _flag_k = FK_CMP; 107 if (CMP_NE(_flag_a, _flag_b)) goto L_35002466; /* 0x35002451: jne 0x35002466 */ 108 L_35002453: 109 /* cmp MEM32(0x35005194), 0 */ /* 0x35002453: cmp dword ptr [0x35005194], 0 */ 110 _flag_a = (uint32_t)(MEM32(0x35005194)); _flag_b = (uint32_t)(0); 111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 112 _flag_k = FK_CMP; 113 if (CMP_NE(_flag_a, _flag_b)) goto L_35002466; /* 0x3500245A: jne 0x35002466 */ 114 L_3500245C: 115 PUSH32(esp, MEM32(esp + 0x4)); /* 0x3500245C: push dword ptr [esp + 4] */ 116 RECOMP_ICALL(MEM32(0x35003000)); /* 0x35002460: call dword ptr [0x35003000] */ 117 RECOMP_FLAGS_IN(); 118 L_35002466: 119 PUSH32(esp, 1); /* 0x35002466: push 1 */ 120 eax = POP32_VAL(esp); /* 0x35002468: pop eax */ 121 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x35002469: ret 0xc */ 122 RECOMP_REGS_OUT(); 123 } 124 125 void sub_35002470(void) { 126 int _fpu_cmp = 0; 127 uint32_t _cf = 0; 128 int _df = 1; 129 uint32_t _flag_k = FK_NONE; 130 uint32_t _flag_a = 0, _flag_b = 0; 131 uint32_t _itail_tgt = 0; 132 RECOMP_REGS_LOCALS 133 RECOMP_ENTER(0x35002470u); 134 135 goto L_35002470; 136 L_350018F0: 137 MEM32(ecx) = 0x3500311Cu; /* 0x350018F0: mov dword ptr [ecx], 0x3500311c */ 138 L_350018F6: 139 { _itail_tgt = (uint32_t)(MEM32(0x350030B8)); goto _ljump; } 140 L_35002470: 141 ecx = MEM32(ebp + (-0x10)); /* 0x35002470: mov ecx, dword ptr [ebp - 0x10] */ 142 L_35002473: 143 RECOMP_BACKEDGE(); 144 goto L_350018F0; /* 0x35002473: jmp 0x350018f0 */ 145 { RECOMP_REGS_OUT(); return; } /* end of function */ 146 _ljump: 147 switch (_itail_tgt) { 148 case 0x350018F0u: goto L_350018F0; 149 case 0x350018F6u: goto L_350018F6; 150 case 0x35002470u: goto L_35002470; 151 case 0x35002473u: goto L_35002473; 152 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 153 } 154 RECOMP_REGS_OUT(); 155 } 156 157 void sub_35002478(void) { 158 int _fpu_cmp = 0; 159 uint32_t _cf = 0; 160 int _df = 1; 161 uint32_t _flag_k = FK_NONE; 162 uint32_t _flag_a = 0, _flag_b = 0; 163 uint32_t _itail_tgt = 0; 164 RECOMP_REGS_LOCALS 165 RECOMP_ENTER(0x35002478u); 166 167 goto L_35002478; 168 L_350022CC: 169 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 170 L_35002478: 171 eax = 0x35003348u; /* 0x35002478: mov eax, 0x35003348 */ 172 L_3500247D: 173 RECOMP_BACKEDGE(); 174 goto L_350022CC; /* 0x3500247D: jmp 0x350022cc */ 175 { RECOMP_REGS_OUT(); return; } /* end of function */ 176 _ljump: 177 switch (_itail_tgt) { 178 case 0x350022CCu: goto L_350022CC; 179 case 0x35002478u: goto L_35002478; 180 case 0x3500247Du: goto L_3500247D; 181 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 182 } 183 RECOMP_REGS_OUT(); 184 } 185 186 void sub_35002490(void) { 187 int _fpu_cmp = 0; 188 uint32_t _cf = 0; 189 int _df = 1; 190 uint32_t _flag_k = FK_NONE; 191 uint32_t _flag_a = 0, _flag_b = 0; 192 uint32_t _itail_tgt = 0; 193 RECOMP_REGS_LOCALS 194 RECOMP_ENTER(0x35002490u); 195 196 L_35002490: 197 eax = MEM32(ebp + (-0x14)); /* 0x35002490: mov eax, dword ptr [ebp - 0x14] */ 198 PUSH32(esp, eax); /* 0x35002493: push eax */ 199 RECOMP_ICALL(0x35002194u); /* 0x35002494: call 0x35002194 */ /* not lifted */ 200 RECOMP_FLAGS_IN(); 201 ecx = POP32_VAL(esp); /* 0x35002499: pop ecx */ 202 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3500249A: ret */ 203 RECOMP_REGS_OUT(); 204 } 205 206 void sub_3500249B(void) { 207 int _fpu_cmp = 0; 208 uint32_t _cf = 0; 209 int _df = 1; 210 uint32_t _flag_k = FK_NONE; 211 uint32_t _flag_a = 0, _flag_b = 0; 212 uint32_t _itail_tgt = 0; 213 RECOMP_REGS_LOCALS 214 RECOMP_ENTER(0x3500249Bu); 215 216 L_3500249B: 217 eax = MEM32(ebp + (-0x10)); /* 0x3500249B: mov eax, dword ptr [ebp - 0x10] */ 218 L_3500249E: 219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 220 eax = eax & 1; /* 0x3500249E: and eax, 1 */ 221 _cf = 0; 222 _flag_k = FK_TEST; 223 L_350024A1: 224 /* test eax, eax */ /* 0x350024A1: test eax, eax */ 225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 226 _cf = 0; 227 _flag_k = FK_TEST; 228 L_350024A3: 229 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_350024B2; /* 0x350024A3: je 0x350024b2 */ 230 L_350024A9: 231 ecx = ebp + (-0x34); /* 0x350024A9: lea ecx, [ebp - 0x34] */ 232 L_350024AC: 233 { _itail_tgt = (uint32_t)(MEM32(0x35003020)); goto _ljump; } 234 L_350024B2: 235 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x350024B2: ret */ 236 _ljump: 237 switch (_itail_tgt) { 238 case 0x3500249Bu: goto L_3500249B; 239 case 0x3500249Eu: goto L_3500249E; 240 case 0x350024A1u: goto L_350024A1; 241 case 0x350024A3u: goto L_350024A3; 242 case 0x350024A9u: goto L_350024A9; 243 case 0x350024ACu: goto L_350024AC; 244 case 0x350024B2u: goto L_350024B2; 245 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 246 } 247 RECOMP_REGS_OUT(); 248 } 249 250 void sub_350024B3(void) { 251 int _fpu_cmp = 0; 252 uint32_t _cf = 0; 253 int _df = 1; 254 uint32_t _flag_k = FK_NONE; 255 uint32_t _flag_a = 0, _flag_b = 0; 256 uint32_t _itail_tgt = 0; 257 RECOMP_REGS_LOCALS 258 RECOMP_ENTER(0x350024B3u); 259 260 goto L_350024B3; 261 L_350022CC: 262 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 263 L_350024B3: 264 eax = 0x35003370u; /* 0x350024B3: mov eax, 0x35003370 */ 265 L_350024B8: 266 RECOMP_BACKEDGE(); 267 goto L_350022CC; /* 0x350024B8: jmp 0x350022cc */ 268 { RECOMP_REGS_OUT(); return; } /* end of function */ 269 _ljump: 270 switch (_itail_tgt) { 271 case 0x350022CCu: goto L_350022CC; 272 case 0x350024B3u: goto L_350024B3; 273 case 0x350024B8u: goto L_350024B8; 274 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 275 } 276 RECOMP_REGS_OUT(); 277 } 278 279 void sub_350024C0(void) { 280 int _fpu_cmp = 0; 281 uint32_t _cf = 0; 282 int _df = 1; 283 uint32_t _flag_k = FK_NONE; 284 uint32_t _flag_a = 0, _flag_b = 0; 285 uint32_t _itail_tgt = 0; 286 RECOMP_REGS_LOCALS 287 RECOMP_ENTER(0x350024C0u); 288 289 L_350024C0: 290 ecx = ebp + (-0x20); /* 0x350024C0: lea ecx, [ebp - 0x20] */ 291 L_350024C3: 292 { _itail_tgt = (uint32_t)(MEM32(0x35003020)); goto _ljump; } 293 { RECOMP_REGS_OUT(); return; } /* end of function */ 294 _ljump: 295 switch (_itail_tgt) { 296 case 0x350024C0u: goto L_350024C0; 297 case 0x350024C3u: goto L_350024C3; 298 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 299 } 300 RECOMP_REGS_OUT(); 301 } 302 303 void sub_350024C9(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(0x350024C9u); 312 313 goto L_350024C9; 314 L_350018F0: 315 MEM32(ecx) = 0x3500311Cu; /* 0x350018F0: mov dword ptr [ecx], 0x3500311c */ 316 L_350018F6: 317 { _itail_tgt = (uint32_t)(MEM32(0x350030B8)); goto _ljump; } 318 L_350024C9: 319 ecx = MEM32(ebp + (-0x10)); /* 0x350024C9: mov ecx, dword ptr [ebp - 0x10] */ 320 L_350024CC: 321 RECOMP_BACKEDGE(); 322 goto L_350018F0; /* 0x350024CC: jmp 0x350018f0 */ 323 { RECOMP_REGS_OUT(); return; } /* end of function */ 324 _ljump: 325 switch (_itail_tgt) { 326 case 0x350018F0u: goto L_350018F0; 327 case 0x350018F6u: goto L_350018F6; 328 case 0x350024C9u: goto L_350024C9; 329 case 0x350024CCu: goto L_350024CC; 330 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 331 } 332 RECOMP_REGS_OUT(); 333 } 334 335 void sub_350024D1(void) { 336 int _fpu_cmp = 0; 337 uint32_t _cf = 0; 338 int _df = 1; 339 uint32_t _flag_k = FK_NONE; 340 uint32_t _flag_a = 0, _flag_b = 0; 341 uint32_t _itail_tgt = 0; 342 RECOMP_REGS_LOCALS 343 RECOMP_ENTER(0x350024D1u); 344 345 goto L_350024D1; 346 L_350022CC: 347 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 348 L_350024D1: 349 eax = 0x350033A8u; /* 0x350024D1: mov eax, 0x350033a8 */ 350 L_350024D6: 351 RECOMP_BACKEDGE(); 352 goto L_350022CC; /* 0x350024D6: jmp 0x350022cc */ 353 { RECOMP_REGS_OUT(); return; } /* end of function */ 354 _ljump: 355 switch (_itail_tgt) { 356 case 0x350022CCu: goto L_350022CC; 357 case 0x350024D1u: goto L_350024D1; 358 case 0x350024D6u: goto L_350024D6; 359 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 360 } 361 RECOMP_REGS_OUT(); 362 } 363 364 void sub_350024E0(void) { 365 int _fpu_cmp = 0; 366 uint32_t _cf = 0; 367 int _df = 1; 368 uint32_t _flag_k = FK_NONE; 369 uint32_t _flag_a = 0, _flag_b = 0; 370 uint32_t _itail_tgt = 0; 371 RECOMP_REGS_LOCALS 372 RECOMP_ENTER(0x350024E0u); 373 374 L_350024E0: 375 eax = MEM32(ebp + (-0x10)); /* 0x350024E0: mov eax, dword ptr [ebp - 0x10] */ 376 PUSH32(esp, eax); /* 0x350024E3: push eax */ 377 RECOMP_ICALL(0x35002194u); /* 0x350024E4: call 0x35002194 */ /* not lifted */ 378 RECOMP_FLAGS_IN(); 379 ecx = POP32_VAL(esp); /* 0x350024E9: pop ecx */ 380 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x350024EA: ret */ 381 RECOMP_REGS_OUT(); 382 } 383 384 void sub_350024EB(void) { 385 int _fpu_cmp = 0; 386 uint32_t _cf = 0; 387 int _df = 1; 388 uint32_t _flag_k = FK_NONE; 389 uint32_t _flag_a = 0, _flag_b = 0; 390 uint32_t _itail_tgt = 0; 391 RECOMP_REGS_LOCALS 392 RECOMP_ENTER(0x350024EBu); 393 394 goto L_350024EB; 395 L_350022CC: 396 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 397 L_350024EB: 398 eax = 0x350033E0u; /* 0x350024EB: mov eax, 0x350033e0 */ 399 L_350024F0: 400 RECOMP_BACKEDGE(); 401 goto L_350022CC; /* 0x350024F0: jmp 0x350022cc */ 402 { RECOMP_REGS_OUT(); return; } /* end of function */ 403 _ljump: 404 switch (_itail_tgt) { 405 case 0x350022CCu: goto L_350022CC; 406 case 0x350024EBu: goto L_350024EB; 407 case 0x350024F0u: goto L_350024F0; 408 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 409 } 410 RECOMP_REGS_OUT(); 411 } 412 413 void sub_35002500(void) { 414 int _fpu_cmp = 0; 415 uint32_t _cf = 0; 416 int _df = 1; 417 uint32_t _flag_k = FK_NONE; 418 uint32_t _flag_a = 0, _flag_b = 0; 419 uint32_t _itail_tgt = 0; 420 RECOMP_REGS_LOCALS 421 RECOMP_ENTER(0x35002500u); 422 423 L_35002500: 424 ecx = ebp + (-0x24); /* 0x35002500: lea ecx, [ebp - 0x24] */ 425 L_35002503: 426 { _itail_tgt = (uint32_t)(MEM32(0x35003020)); goto _ljump; } 427 { RECOMP_REGS_OUT(); return; } /* end of function */ 428 _ljump: 429 switch (_itail_tgt) { 430 case 0x35002500u: goto L_35002500; 431 case 0x35002503u: goto L_35002503; 432 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 433 } 434 RECOMP_REGS_OUT(); 435 } 436 437 void sub_35002509(void) { 438 int _fpu_cmp = 0; 439 uint32_t _cf = 0; 440 int _df = 1; 441 uint32_t _flag_k = FK_NONE; 442 uint32_t _flag_a = 0, _flag_b = 0; 443 uint32_t _itail_tgt = 0; 444 RECOMP_REGS_LOCALS 445 RECOMP_ENTER(0x35002509u); 446 447 goto L_35002509; 448 L_350022CC: 449 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 450 L_35002509: 451 eax = 0x35003408u; /* 0x35002509: mov eax, 0x35003408 */ 452 L_3500250E: 453 RECOMP_BACKEDGE(); 454 goto L_350022CC; /* 0x3500250E: jmp 0x350022cc */ 455 { RECOMP_REGS_OUT(); return; } /* end of function */ 456 _ljump: 457 switch (_itail_tgt) { 458 case 0x350022CCu: goto L_350022CC; 459 case 0x35002509u: goto L_35002509; 460 case 0x3500250Eu: goto L_3500250E; 461 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 462 } 463 RECOMP_REGS_OUT(); 464 } 465 466 void sub_35002520(void) { 467 int _fpu_cmp = 0; 468 uint32_t _cf = 0; 469 int _df = 1; 470 uint32_t _flag_k = FK_NONE; 471 uint32_t _flag_a = 0, _flag_b = 0; 472 uint32_t _itail_tgt = 0; 473 RECOMP_REGS_LOCALS 474 RECOMP_ENTER(0x35002520u); 475 476 L_35002520: 477 eax = MEM32(ebp + (-0x10)); /* 0x35002520: mov eax, dword ptr [ebp - 0x10] */ 478 PUSH32(esp, eax); /* 0x35002523: push eax */ 479 RECOMP_ICALL(0x35002194u); /* 0x35002524: call 0x35002194 */ /* not lifted */ 480 RECOMP_FLAGS_IN(); 481 ecx = POP32_VAL(esp); /* 0x35002529: pop ecx */ 482 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3500252A: ret */ 483 RECOMP_REGS_OUT(); 484 } 485 486 void sub_3500252B(void) { 487 int _fpu_cmp = 0; 488 uint32_t _cf = 0; 489 int _df = 1; 490 uint32_t _flag_k = FK_NONE; 491 uint32_t _flag_a = 0, _flag_b = 0; 492 uint32_t _itail_tgt = 0; 493 RECOMP_REGS_LOCALS 494 RECOMP_ENTER(0x3500252Bu); 495 496 goto L_3500252B; 497 L_350022CC: 498 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 499 L_3500252B: 500 eax = 0x35003430u; /* 0x3500252B: mov eax, 0x35003430 */ 501 L_35002530: 502 RECOMP_BACKEDGE(); 503 goto L_350022CC; /* 0x35002530: jmp 0x350022cc */ 504 { RECOMP_REGS_OUT(); return; } /* end of function */ 505 _ljump: 506 switch (_itail_tgt) { 507 case 0x350022CCu: goto L_350022CC; 508 case 0x3500252Bu: goto L_3500252B; 509 case 0x35002530u: goto L_35002530; 510 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 511 } 512 RECOMP_REGS_OUT(); 513 } 514 515 void sub_35002540(void) { 516 int _fpu_cmp = 0; 517 uint32_t _cf = 0; 518 int _df = 1; 519 uint32_t _flag_k = FK_NONE; 520 uint32_t _flag_a = 0, _flag_b = 0; 521 uint32_t _itail_tgt = 0; 522 RECOMP_REGS_LOCALS 523 RECOMP_ENTER(0x35002540u); 524 525 L_35002540: 526 ecx = ebp + (-0x24); /* 0x35002540: lea ecx, [ebp - 0x24] */ 527 L_35002543: 528 { _itail_tgt = (uint32_t)(MEM32(0x35003020)); goto _ljump; } 529 { RECOMP_REGS_OUT(); return; } /* end of function */ 530 _ljump: 531 switch (_itail_tgt) { 532 case 0x35002540u: goto L_35002540; 533 case 0x35002543u: goto L_35002543; 534 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 535 } 536 RECOMP_REGS_OUT(); 537 } 538 539 void sub_35002549(void) { 540 int _fpu_cmp = 0; 541 uint32_t _cf = 0; 542 int _df = 1; 543 uint32_t _flag_k = FK_NONE; 544 uint32_t _flag_a = 0, _flag_b = 0; 545 uint32_t _itail_tgt = 0; 546 RECOMP_REGS_LOCALS 547 RECOMP_ENTER(0x35002549u); 548 549 goto L_35002549; 550 L_350022CC: 551 { _itail_tgt = (uint32_t)(MEM32(0x35003060)); goto _ljump; } 552 L_35002549: 553 eax = 0x35003458u; /* 0x35002549: mov eax, 0x35003458 */ 554 L_3500254E: 555 RECOMP_BACKEDGE(); 556 goto L_350022CC; /* 0x3500254E: jmp 0x350022cc */ 557 { RECOMP_REGS_OUT(); return; } /* end of function */ 558 _ljump: 559 switch (_itail_tgt) { 560 case 0x350022CCu: goto L_350022CC; 561 case 0x35002549u: goto L_35002549; 562 case 0x3500254Eu: goto L_3500254E; 563 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 564 } 565 RECOMP_REGS_OUT(); 566 }