//
// PauseLayer::onRestart from 0x1001434ac to 0x1001434e8 (60 bytes)
//
// 1 xrefs:
// > PauseLayer::customSetup @ 0x100142238
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall PauseLayer::onRestart(PauseLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
CCBlockLayer::decrementForcePrio(a1);
v3 = GameManager::sharedState();
PlayLayer::resumeAndRestart(v3->m_playLayer, 0);
((void (__fastcall *)(PauseLayer *))a1->removeMeAndCleanup)(a1);
}