{"type": "func", "start": 8815388, "end": 8815508, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x86831c to 0x868394 (120 bytes)\n// \n// 5 xrefs:\n// > LevelInfoLayer::init @ 0x7ec704\n// > CustomSongWidget::getSongInfoIfUnloaded @ 0x86c3c0\n// > <???> @ 0xd7038\n// > CustomSongWidget::init @ 0x86b394\n// > <???> @ 0x1546690\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 12:55:41 +0000\n// \n\n__int64 __fastcall CustomSongWidget::onGetSongInfo(__int64 this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x19\n  MusicDownloadManager *v3; // x0\n  MusicDownloadManager *v4; // x0\n\n  if ( *(_QWORD *)(this + 336) )\n  {\n    v2 = this;\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(this + 376) + 344LL))(*(_QWORD *)(this + 376), 0);\n    v3 = *(MusicDownloadManager **)(v2 + 480);\n    if ( v3 )\n      v3 = (MusicDownloadManager *)(*(__int64 (__fastcall **)(MusicDownloadManager *, _QWORD))(*(_QWORD *)v3 + 344LL))(\n                                     v3,\n                                     0);\n    v4 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v3);\n    MusicDownloadManager::getSongInfo(v4, *(_DWORD *)(v2 + 504), 0);\n    return CustomSongWidget::toggleUpdateButton((CustomSongWidget *)v2, 0);\n  }\n  return this;\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x86831c to 0x868394 (120 bytes)\n; \n; 5 xrefs:\n; > LevelInfoLayer::init @ 0x7ec704\n; > CustomSongWidget::getSongInfoIfUnloaded @ 0x86c3c0\n; > <???> @ 0xd7038\n; > CustomSongWidget::init @ 0x86b394\n; > <???> @ 0x1546690\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 12:55:41 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x86831c\nMOV             X29, SP                                                ; +0x4, 0x868320\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x868324\nLDR             X1, [X0,#0x150]                                        ; +0xc, 0x868328\nCBZ             X1, loc_868388                                         ; +0x10, 0x86832c\nLDR             X2, [X0,#0x178]                                        ; +0x14, 0x868330\nMOV             X19, X0                                                ; +0x18, 0x868334\nMOV             W1, #0                                                 ; +0x1c, 0x868338\nMOV             X0, X2                                                 ; +0x20, 0x86833c\nLDR             X2, [X2]                                               ; +0x24, 0x868340\nLDR             X2, [X2,#0x158]                                        ; +0x28, 0x868344\nBLR             X2                                                     ; +0x2c, 0x868348\nLDR             X0, [X19,#0x1E0]                                       ; +0x30, 0x86834c\nCBZ             X0, loc_868364                                         ; +0x34, 0x868350\nLDR             X2, [X0]                                               ; +0x38, 0x868354\nMOV             W1, #0                                                 ; +0x3c, 0x868358\nLDR             X2, [X2,#0x158]                                        ; +0x40, 0x86835c\nBLR             X2                                                     ; +0x44, 0x868360\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x48, 0x868364\nLDR             W1, [X19,#0x1F8]; int                                  ; +0x4c, 0x868368\nMOV             W2, #0; bool                                           ; +0x50, 0x86836c\nBL              _ZN20MusicDownloadManager11getSongInfoEib; MusicDownloadManager::getSongInfo(int,bool) ; +0x54, 0x868370\nMOV             X0, X19; this                                          ; +0x58, 0x868374\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x868378\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x86837c\nMOV             W1, #0; bool                                           ; +0x64, 0x868380\nB               _ZN16CustomSongWidget18toggleUpdateButtonEb; CustomSongWidget::toggleUpdateButton(bool) ; +0x68, 0x868384\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x6c, 0x868388\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x70, 0x86838c\nRET                                                                    ; +0x74, 0x868390", "xrefs": ["LevelInfoLayer::init @ 0x7ec704", "CustomSongWidget::getSongInfoIfUnloaded @ 0x86c3c0", "<???> @ 0xd7038", "CustomSongWidget::init @ 0x86b394", "<???> @ 0x1546690"], "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"}