//
// PauseLayer::onNormalMode from 0x48edf0 to 0x48ee28 (56 bytes)
//
// 1 xrefs:
// > PauseLayer::keyDown @ 0x48fd1e
//
// 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::onNormalMode(PauseLayer *this, cocos2d::CCObject *a2)
{
int v3; // r0
unsigned __int8 *v4; // r0
v3 = GameManager::sharedState(this);
v4 = PlayLayer::togglePracticeMode(*(unsigned __int8 **)(v3 + 404), 0);
if ( *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(GameManager::sharedState((GameManager *)v4) + 404) + 1408) + 952) != 2 )
*((_BYTE *)this + 476) = 0;
PauseLayer::onResume((cocos2d::CCArray **)this, nullptr);
}