//
// CreateGuidelinesLayer::onStop from 0x10007d254 to 0x10007d2b4 (96 bytes)
//
// 1 xrefs:
// > CreateGuidelinesLayer::init @ 0x10007ccc8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CreateGuidelinesLayer::onStop(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)
{
FMODAudioEngine *v3; // x0
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllMusic(v3, 1);
CreateGuidelinesLayer::toggleItems(a1, 0);
((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_offsetInput->setTouchEnabled)(a1->m_offsetInput, 1);
((void (__fastcall *)(CreateGuidelinesLayer *))a1->recordingDidStop)(a1);
a1->m_recording = 0;
cocos2d::CCNode::unscheduleUpdate(a1);
}