//
// PauseLayer::onQuit from 0x1001c110c to 0x1001c118c (128 bytes)
//
// 2 xrefs:
// > sub_1001BF94C @ 0x1001bfa64
// > PauseLayer::FLAlert_Clicked @ 0x1001c11e8
//
// 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:15 +0000
//
void __fastcall PauseLayer::onQuit(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
CCBlockLayer::decrementForcePrio(a1);
v2 = cocos2d::CCNode::unscheduleAllSelectors(a1);
v3 = GameManager::sharedState(v2);
PlayLayer::onQuit(*(_QWORD *)(v3 + 544));
v4 = FMODAudioEngine::sharedEngine();
sub_100009900(__p, "quitSound_01.ogg");
FMODAudioEngine::playEffect(v4, (__int64)__p, 1.0, 0.0, 0.7);
if ( v6 < 0 )
operator delete(__p[0]);
}