//
// CreateGuidelinesLayer::onStop from 0x10050d9f0 to 0x10050da4b (91 bytes)
//
// 1 xrefs:
// > CreateGuidelinesLayer::init @ 0x10050d408
//
// 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:31:35 +0000
//
__int64 __fastcall CreateGuidelinesLayer::onStop(__int64 a1)
{
_QWORD *v2; // rax
v2 = (_QWORD *)FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllMusic(v2, 1);
CreateGuidelinesLayer::toggleItems(a1, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 680) + 1000LL))(*(_QWORD *)(a1 + 680), 1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1400LL))(a1);
*(_BYTE *)(a1 + 724) = 0;
return cocos2d::CCNode::unscheduleUpdate(a1);
}