{"type": "func", "start": 3181960, "end": 3182022, "name": "CreateGuidelinesLayer::onStop", "pseudocode": "// \n// CreateGuidelinesLayer::onStop from 0x308d88 to 0x308dc6 (62 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateGuidelinesLayer::onStop(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  FMODAudioEngine *v3; // r0\n\n  v3 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stopAllMusic(v3, (bool)&dword_0 + 1);\n  CreateGuidelinesLayer::toggleItems(a1, 0);\n  a1->m_offsetInput->setTouchEnabled(a1->m_offsetInput, 1);\n  a1->recordingDidStop(a1);\n  a1->m_recording = 0;\n  cocos2d::CCNode::unscheduleUpdate(a1);\n}", "assembly": "; \n; CreateGuidelinesLayer::onStop from 0x308d88 to 0x308dc6 (62 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4,LR}                                                ; +0x0, 0x308d88\nMOV             R4, R0                                                 ; +0x2, 0x308d8a\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x4, 0x308d8c\nMOVS            R1, #(dword_0+1); p                                    ; +0x8, 0x308d90\nBL              _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0xa, 0x308d92\nMOV             R0, R4; this                                           ; +0xe, 0x308d96\nMOVS            R1, #0; bool                                           ; +0x10, 0x308d98\nBL              _ZN21CreateGuidelinesLayer11toggleItemsEb; CreateGuidelinesLayer::toggleItems(bool) ; +0x12, 0x308d9a\nLDR.W           R0, [R4,#0x1F8]                                        ; +0x16, 0x308d9e\nMOVS            R1, #1                                                 ; +0x1a, 0x308da2\nLDR             R3, [R0]                                               ; +0x1c, 0x308da4\nLDR.W           R3, [R3,#0x1EC]                                        ; +0x1e, 0x308da6\nBLX             R3                                                     ; +0x22, 0x308daa\nLDR             R3, [R4]                                               ; +0x24, 0x308dac\nMOV             R0, R4                                                 ; +0x26, 0x308dae\nLDR.W           R3, [R3,#0x2A4]                                        ; +0x28, 0x308db0\nBLX             R3                                                     ; +0x2c, 0x308db4\nMOVS            R3, #0                                                 ; +0x2e, 0x308db6\nMOV             R0, R4; this                                           ; +0x30, 0x308db8\nSTRB.W          R3, [R4,#0x210]                                        ; +0x32, 0x308dba\nPOP.W           {R4,LR}                                                ; +0x36, 0x308dbe\nB.W             _ZN7cocos2d6CCNode16unscheduleUpdateEv; cocos2d::CCNode::unscheduleUpdate(void) ; +0x3a, 0x308dc2", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}