{"type": "func", "start": 4295479892, "end": 4295479988, "name": "CreateGuidelinesLayer::onStop", "pseudocode": "// \n// CreateGuidelinesLayer::onStop from 0x10007d254 to 0x10007d2b4 (96 bytes)\n// \n// 1 xrefs:\n// > CreateGuidelinesLayer::init @ 0x10007ccc8\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 __fastcall CreateGuidelinesLayer::onStop(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  FMODAudioEngine *v3; // x0\n\n  v3 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stopAllMusic(v3, 1);\n  CreateGuidelinesLayer::toggleItems(a1, 0);\n  ((void (__fastcall *)(CCTextInputNode *, __int64))a1->m_offsetInput->setTouchEnabled)(a1->m_offsetInput, 1);\n  ((void (__fastcall *)(CreateGuidelinesLayer *))a1->recordingDidStop)(a1);\n  a1->m_recording = 0;\n  cocos2d::CCNode::unscheduleUpdate(a1);\n}", "assembly": "; \n; CreateGuidelinesLayer::onStop from 0x10007d254 to 0x10007d2b4 (96 bytes)\n; \n; 1 xrefs:\n; > CreateGuidelinesLayer::init @ 0x10007ccc8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10007d254\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10007d258\nADD             X29, SP, #0x10                                         ; +0x8, 0x10007d25c\nMOV             X19, X0                                                ; +0xc, 0x10007d260\nBL              FMODAudioEngine__sharedEngine                          ; +0x10, 0x10007d264\nMOV             W1, #1                                                 ; +0x14, 0x10007d268\nBL              FMODAudioEngine__stopAllMusic                          ; +0x18, 0x10007d26c\nMOV             X0, X19                                                ; +0x1c, 0x10007d270\nMOV             W1, #0                                                 ; +0x20, 0x10007d274\nBL              CreateGuidelinesLayer__toggleItems                     ; +0x24, 0x10007d278\nLDR             X0, [X19,#0x288]                                       ; +0x28, 0x10007d27c\nLDR             X8, [X0]                                               ; +0x2c, 0x10007d280\nLDR             X8, [X8,#0x3D8]                                        ; +0x30, 0x10007d284\nMOV             W1, #1                                                 ; +0x34, 0x10007d288\nBLR             X8                                                     ; +0x38, 0x10007d28c\nLDR             X8, [X19]                                              ; +0x3c, 0x10007d290\nLDR             X8, [X8,#0x548]                                        ; +0x40, 0x10007d294\nMOV             X0, X19                                                ; +0x44, 0x10007d298\nBLR             X8                                                     ; +0x48, 0x10007d29c\nSTRB            WZR, [X19,#0x2B4]                                      ; +0x4c, 0x10007d2a0\nMOV             X0, X19                                                ; +0x50, 0x10007d2a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x10007d2a8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10007d2ac\nB               cocos2d__CCNode__unscheduleUpdate                      ; +0x5c, 0x10007d2b0", "xrefs": ["CreateGuidelinesLayer::init @ 0x10007ccc8"], "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"}