//
// PauseLayer::onNormalMode from 0x7d563c to 0x7d568c (80 bytes)
//
// 4 xrefs:
// > PauseLayer::keyDown @ 0x7d69a0
// > ??> @ 0xd3810
// > PauseLayer::customSetup @ 0x7d9214
// > ??> @ 0x1546458
//
// This function is hookable on this platform (idp: arm, 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:54:20 +0000
//
__int64 __fastcall PauseLayer::onNormalMode(PauseLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
PlayLayer *v4; // x0
v3 = GameManager::sharedState(this);
v4 = PlayLayer::togglePracticeMode(*(PlayLayer **)(v3 + 544), 0);
if ( *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(GameManager::sharedState(v4) + 544) + 1936LL) + 1140LL) != 2 )
*((_BYTE *)this + 616) = 0;
return PauseLayer::onResume((cocos2d::CCArray **)this, nullptr);
}