{"type": "func", "start": 8628872, "end": 8628996, "name": "CustomSongLayer::onClose", "pseudocode": "// \n// CustomSongLayer::onClose from 0x83aa88 to 0x83ab04 (124 bytes)\n// \n// 4 xrefs:\n// > CustomSongLayer::keyBackClicked @ 0x83ab08\n// > <???> @ 0x74670\n// > CustomSongLayer::init @ 0x83c398\n// > <???> @ 0x122be00\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 CustomSongLayer::onClose(CustomSongLayer *a1, cocos2d::CCObject *a2)\n{\n  CustomSongLayerDelegate *m_delegate; // x0\n  FMODAudioEngine *v4; // x0\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->customSongLayerClosed(m_delegate);\n  a1->m_songIDInput->onClickTrackNode(a1->m_songIDInput, 0);\n  v4 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stopAllMusic(v4, 1);\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::onClose from 0x83aa88 to 0x83ab04 (124 bytes)\n; \n; 4 xrefs:\n; > CustomSongLayer::keyBackClicked @ 0x83ab08\n; > <???> @ 0x74670\n; > CustomSongLayer::init @ 0x83c398\n; > <???> @ 0x122be00\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x83aa88\nMOV             X29, SP                                                ; +0x4, 0x83aa8c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x83aa90\nMOV             X19, X0                                                ; +0xc, 0x83aa94\nLDR             X0, [X0,#0x2A8]                                        ; +0x10, 0x83aa98\nCBZ             X0, loc_83AAAC                                         ; +0x14, 0x83aa9c\nLDR             X1, [X0]                                               ; +0x18, 0x83aaa0\nLDR             X1, [X1]                                               ; +0x1c, 0x83aaa4\nBLR             X1                                                     ; +0x20, 0x83aaa8\nLDR             X2, [X19,#0x298]                                       ; +0x24, 0x83aaac\nMOV             W1, #0                                                 ; +0x28, 0x83aab0\nMOV             X0, X2                                                 ; +0x2c, 0x83aab4\nLDR             X2, [X2]                                               ; +0x30, 0x83aab8\nLDR             X2, [X2,#0x478]                                        ; +0x34, 0x83aabc\nBLR             X2                                                     ; +0x38, 0x83aac0\nBL              _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x3c, 0x83aac4\nMOV             W1, #1; bool                                           ; +0x40, 0x83aac8\nBL              _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x44, 0x83aacc\nLDR             X2, [X19]                                              ; +0x48, 0x83aad0\nMOV             X0, X19                                                ; +0x4c, 0x83aad4\nMOV             W1, #0                                                 ; +0x50, 0x83aad8\nLDR             X2, [X2,#0x420]                                        ; +0x54, 0x83aadc\nBLR             X2                                                     ; +0x58, 0x83aae0\nLDR             X2, [X19]                                              ; +0x5c, 0x83aae4\nMOV             X0, X19                                                ; +0x60, 0x83aae8\nMOV             W1, #1                                                 ; +0x64, 0x83aaec\nLDR             X2, [X2,#0x200]                                        ; +0x68, 0x83aaf0\nBLR             X2                                                     ; +0x6c, 0x83aaf4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0x83aaf8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x74, 0x83aafc\nRET                                                                    ; +0x78, 0x83ab00", "xrefs": ["CustomSongLayer::keyBackClicked @ 0x83ab08", "<???> @ 0x74670", "CustomSongLayer::init @ 0x83c398", "<???> @ 0x122be00"], "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"}