//
// PauseLayer::onNormalMode from 0x1001bf844 to 0x1001bf890 (76 bytes)
//
// 2 xrefs:
// > PauseLayer::keyDown @ 0x1001c1350
// > PauseLayer::customSetup @ 0x1001be468
//
// 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 11:00:14 +0000
//
__int64 __fastcall PauseLayer::onNormalMode(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
v2 = GameManager::sharedState(a1);
v3 = PlayLayer::togglePracticeMode(*(_QWORD *)(v2 + 544), 0);
if ( *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(GameManager::sharedState(v3) + 544) + 1936LL) + 1140LL) != 2 )
*(_BYTE *)(a1 + 616) = 0;
return PauseLayer::onResume(a1);
}