//
// PauseLayer::onResume from 0x48ed72 to 0x48edc8 (86 bytes)
//
// 6 xrefs:
// > PauseLayer::onPracticeMode @ 0x48edec
// > PauseLayer::onNormalMode @ 0x48ee24
// > PauseLayer::handleAction @ 0x48ee44
// > PauseLayer::onRestart @ 0x48eeaa
// > PauseLayer::onRestartFull @ 0x48eefc
// > PauseLayer::keyDown @ 0x48fcee
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:36 +0000
//
void __fastcall PauseLayer::onResume(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
GameManager *QueuedStartPos; // r0
int v4; // r4
StartPosObject *v5; // r6
cocos2d::CCObject *v6; // r0
int v7; // r0
GameManager *v8; // r0
int v9; // r0
QueuedStartPos = (GameManager *)PauseLayer::getQueuedStartPos(this);
v4 = *((unsigned __int8 *)this + 476);
v5 = QueuedStartPos;
if ( *((_BYTE *)this + 476) )
v4 = QueuedStartPos != *(GameManager **)(*(_DWORD *)(GameManager::sharedState(QueuedStartPos) + 404) + 10720);
v6 = CCBlockLayer::decrementForcePrio((cocos2d::CCObject *)this);
v7 = GameManager::sharedState(v6);
PlayLayer::resume(*(PlayLayer **)(v7 + 404));
v8 = (GameManager *)(*((int (__fastcall **)(cocos2d::CCArray **))*this + 67))(this);
if ( v4 )
{
v9 = GameManager::sharedState(v8);
PlayLayer::switchToStartPosObject(*(PlayLayer **)(v9 + 404), v5);
}
}