//
// PauseLayer::onQuit from 0x1003c3160 to 0x1003c31d7 (119 bytes)
//
// 3 xrefs:
// > PauseLayer::tryQuit @ 0x1003c14b5
// > PauseLayer::FLAlert_Clicked @ 0x1003c322b
// > sub_1003C3250 @ 0x1003c328b
//
// This function is hookable on this platform (idp: pc, 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:29:33 +0000
//
void __fastcall PauseLayer::onQuit(__int64 a1, __int64 a2, double a3)
{
__int64 v3; // rax
__int64 v4; // rax
void *v5[4]; // [rsp+0h] [rbp-20h] BYREF
CCBlockLayer::decrementForcePrio(a1);
cocos2d::CCNode::unscheduleAllSelectors(a1);
v3 = GameManager::sharedState();
PlayLayer::onQuit(*(_QWORD *)(v3 + 544), a2);
v4 = FMODAudioEngine::sharedEngine(a3);
strcpy((char *)v5, " quitSound_01.ogg");
FMODAudioEngine::playEffect(v4, v5, 1.0, 0.0, 0.69999999);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
}