{"type": "func", "start": 13164672, "end": 13164752, "name": "AudioAssetsPopup::onClose", "pseudocode": "// \n// AudioAssetsPopup::onClose from 0xc8e080 to 0xc8e0d0 (80 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xf04d8\n// > <???> @ 0x14f3ef8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:05:46 +0000\n// \n\n__int64 __fastcall AudioAssetsPopup::onClose(AudioAssetsPopup *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray **v3; // x0\n\n  v3 = (cocos2d::CCArray **)MusicDownloadManager::sharedState(this);\n  MusicDownloadManager::removeMusicDownloadDelegate(v3, (AudioAssetsPopup *)((char *)this + 1016));\n  (*(void (__fastcall **)(AudioAssetsPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);\n  return (*(__int64 (__fastcall **)(AudioAssetsPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1);\n}", "assembly": "; \n; AudioAssetsPopup::onClose from 0xc8e080 to 0xc8e0d0 (80 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xf04d8\n; > <???> @ 0x14f3ef8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:05:46 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xc8e080\nMOV             X29, SP                                                ; +0x4, 0xc8e084\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xc8e088\nMOV             X19, X0                                                ; +0xc, 0xc8e08c\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x10, 0xc8e090\nADD             X1, X19, #0x3F8; MusicDownloadDelegate *               ; +0x14, 0xc8e094\nBL              _ZN20MusicDownloadManager27removeMusicDownloadDelegateEP21MusicDownloadDelegate; MusicDownloadManager::removeMusicDownloadDelegate(MusicDownloadDelegate *) ; +0x18, 0xc8e098\nLDR             X2, [X19]                                              ; +0x1c, 0xc8e09c\nMOV             X0, X19                                                ; +0x20, 0xc8e0a0\nMOV             W1, #0                                                 ; +0x24, 0xc8e0a4\nLDR             X2, [X2,#0x430]                                        ; +0x28, 0xc8e0a8\nBLR             X2                                                     ; +0x2c, 0xc8e0ac\nLDR             X2, [X19]                                              ; +0x30, 0xc8e0b0\nMOV             X0, X19                                                ; +0x34, 0xc8e0b4\nMOV             W1, #1                                                 ; +0x38, 0xc8e0b8\nLDR             X2, [X2,#0x210]                                        ; +0x3c, 0xc8e0bc\nBLR             X2                                                     ; +0x40, 0xc8e0c0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0xc8e0c4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xc8e0c8\nRET                                                                    ; +0x4c, 0xc8e0cc", "xrefs": ["<???> @ 0xf04d8", "<???> @ 0x14f3ef8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}