// // PauseLayer::onRestart from 0x1003c14e0 to 0x1003c1590 (176 bytes) // // 1 xrefs: // > PauseLayer::customSetup @ 0x1003bfc6b // // 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::onRestart(__int64 a1, __int64 a2, double a3) { int v4; // r14d __int64 v5; // rdi __int64 v7; // r14 __int64 v8; // rax if ( *(_BYTE *)(a1 + 616) == 1 ) { v4 = *(_DWORD *)(a1 + 600); if ( v4 > 0 && (v5 = *(_QWORD *)(a1 + 608)) != 0 && v4 <= (unsigned int)sub_1007FEF90(v5) ) { a2 = (unsigned int)(*(_DWORD *)(a1 + 600) - 1); v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 608), a2); if ( v7 != *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 12432LL) ) return PauseLayer::onResume(a1, a2, a3); } else if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 12432LL) ) { return PauseLayer::onResume(a1, a2, a3); } } CCBlockLayer::decrementForcePrio(a1); v8 = GameManager::sharedState(); PlayLayer::resumeAndRestart(*(_BYTE **)(v8 + 544), 0, a3); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source