// // PauseLayer::onResume from 0x1003c1280 to 0x1003c1381 (257 bytes) // // 9 xrefs: // > PauseLayer::onRestartFull @ 0x1003c1184 // > PauseLayer::onPracticeMode @ 0x1003c1224 // > PauseLayer::onNormalMode @ 0x1003c1278 // > PauseLayer::onRestart @ 0x1003c1534 // > PauseLayer::handleAction @ 0x1003c32e8 // > sub_1003C3300 @ 0x1003c3335 // > PauseLayer::keyDown @ 0x1003c33c5 // > PauseLayer::keyDown @ 0x1003c3452 // > PauseLayer::customSetup @ 0x1003bfc05 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:29:33 +0000 // __int64 __fastcall PauseLayer::onResume(__int64 a1, __int64 a2, double a3) { int v4; // r14d __int64 v5; // rdi __int64 v6; // r14 __int64 v7; // r15 __int64 v8; // rax __int64 result; // rax __int64 v10; // rax __int64 v11; // rax if ( *(_BYTE *)(a1 + 616) != 1 || (v4 = *(_DWORD *)(a1 + 600), v4 <= 0) || (v5 = *(_QWORD *)(a1 + 608)) == 0 || v4 > (unsigned int)sub_1007FEF90(v5) ) { v6 = 0; if ( *(_BYTE *)(a1 + 616) == 1 ) goto LABEL_6; LABEL_10: CCBlockLayer::decrementForcePrio(a1); v11 = GameManager::sharedState(); PlayLayer::resume(*(_QWORD *)(v11 + 544), a2, a3); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1); } a2 = (unsigned int)(*(_DWORD *)(a1 + 600) - 1); v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 608), a2); if ( *(_BYTE *)(a1 + 616) != 1 ) goto LABEL_10; LABEL_6: v7 = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 12432LL); CCBlockLayer::decrementForcePrio(a1); v8 = GameManager::sharedState(); PlayLayer::resume(*(_QWORD *)(v8 + 544), a2, a3); result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1); if ( v6 != v7 ) { v10 = GameManager::sharedState(); return PlayLayer::switchToStartPosObject(*(_QWORD **)(v10 + 544), v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source