{"type": "func", "start": 4295989164, "end": 4295989296, "name": "CustomSongWidget::dCustomSongWidget", "pseudocode": "// \n// CustomSongWidget::dCustomSongWidget from 0x1000f97ac to 0x1000f9830 (132 bytes)\n// \n// 2 xrefs:\n// > j_CustomSongWidget::dCustomSongWidget @ 0x1000f9834\n// > sub_1000F9838 @ 0x1000f9840\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\n__int64 __fastcall CustomSongWidget::dCustomSongWidget(MusicDownloadDelegate *a1)\n{\n  MusicDownloadManager *v2; // x0\n  cocos2d::CCObject *v3; // x0\n  MusicDownloadDelegate_vtbl *v4; // x0\n\n  a1->__vftable = (MusicDownloadDelegate_vtbl *)off_100786E90;\n  a1[40].__vftable = (MusicDownloadDelegate_vtbl *)off_100787268;\n  a1[41].__vftable = (MusicDownloadDelegate_vtbl *)&off_1007872C8;\n  v2 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::removeMusicDownloadDelegate(v2, a1 + 40);\n  v3 = (cocos2d::CCObject *)a1[42].__vftable;\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  sub_100017D70((__int64)&a1[76], &a1[77].loadSongInfoFinished);\n  v4 = a1[72].__vftable;\n  if ( v4 )\n  {\n    a1[73].__vftable = v4;\n    operator delete(v4);\n  }\n  sub_100017D70((__int64)&a1[69], &a1[70].loadSongInfoFinished);\n  sub_100017D70((__int64)&a1[66], &a1[67].loadSongInfoFinished);\n  return cocos2d::CCNode::dCCNode(a1);\n}", "assembly": "; \n; CustomSongWidget::dCustomSongWidget from 0x1000f97ac to 0x1000f9830 (132 bytes)\n; \n; 2 xrefs:\n; > j_CustomSongWidget::dCustomSongWidget @ 0x1000f9834\n; > sub_1000F9838 @ 0x1000f9840\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, 0x1000f97ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000f97b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000f97b4\nMOV             X19, X0                                                ; +0xc, 0x1000f97b8\nADRL            X8, off_100786E90                                      ; +0x10, 0x1000f97bc\nSTR             X8, [X0]                                               ; +0x18, 0x1000f97c4\nADD             X9, X8, #(off_100787268 - 0x100786E90)                 ; +0x1c, 0x1000f97c8\nADD             X8, X8, #(off_1007872C8 - 0x100786E90)                 ; +0x20, 0x1000f97cc\nSTP             X9, X8, [X0,#0x140]                                    ; +0x24, 0x1000f97d0\nBL              MusicDownloadManager__sharedState                      ; +0x28, 0x1000f97d4\nADD             X1, X19, #0x140                                        ; +0x2c, 0x1000f97d8\nBL              MusicDownloadManager__removeMusicDownloadDelegate      ; +0x30, 0x1000f97dc\nLDR             X0, [X19,#0x150]                                       ; +0x34, 0x1000f97e0\nCBZ             X0, loc_1000F97EC                                      ; +0x38, 0x1000f97e4\nBL              cocos2d__CCObject__release                             ; +0x3c, 0x1000f97e8\nLDR             X1, [X19,#0x268]                                       ; +0x40, 0x1000f97ec\nADD             X0, X19, #0x260                                        ; +0x44, 0x1000f97f0\nBL              sub_100017D70                                          ; +0x48, 0x1000f97f4\nLDR             X0, [X19,#0x240]; __p                                  ; +0x4c, 0x1000f97f8\nCBZ             X0, loc_1000F9808                                      ; +0x50, 0x1000f97fc\nSTR             X0, [X19,#0x248]                                       ; +0x54, 0x1000f9800\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1000f9804\nLDR             X1, [X19,#0x230]                                       ; +0x5c, 0x1000f9808\nADD             X0, X19, #0x228                                        ; +0x60, 0x1000f980c\nBL              sub_100017D70                                          ; +0x64, 0x1000f9810\nLDR             X1, [X19,#0x218]                                       ; +0x68, 0x1000f9814\nADD             X0, X19, #0x210                                        ; +0x6c, 0x1000f9818\nBL              sub_100017D70                                          ; +0x70, 0x1000f981c\nMOV             X0, X19                                                ; +0x74, 0x1000f9820\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x78, 0x1000f9824\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x7c, 0x1000f9828\nB               cocos2d__CCNode__dCCNode                               ; +0x80, 0x1000f982c", "xrefs": ["j_CustomSongWidget::dCustomSongWidget @ 0x1000f9834", "sub_1000F9838 @ 0x1000f9840"], "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"}