{"type": "func", "start": 4295994328, "end": 4295994468, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x1000fabd8 to 0x1000fac64 (140 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::init @ 0x100025d6c\n// > CustomSongWidget::getSongInfoIfUnloaded @ 0x1000fd140\n// > CustomSongWidget::init @ 0x1000f9dc4\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 CustomSongWidget::onGetSongInfo(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::extension::CCScale9Sprite *m_bgSpr; // x0\n  MusicDownloadManager *v4; // x0\n\n  if ( a1->m_songInfoObject )\n  {\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);\n    m_bgSpr = a1->m_bgSpr;\n    if ( m_bgSpr )\n      ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD))m_bgSpr->setVisible)(m_bgSpr, 0);\n    v4 = MusicDownloadManager::sharedState();\n    MusicDownloadManager::getSongInfo(v4, a1->m_customSongID, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))a1->m_getSongInfoBtn->setColor)(\n      a1->m_getSongInfoBtn,\n      &unk_100636BC6);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, 0);\n  }\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x1000fabd8 to 0x1000fac64 (140 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::init @ 0x100025d6c\n; > CustomSongWidget::getSongInfoIfUnloaded @ 0x1000fd140\n; > CustomSongWidget::init @ 0x1000f9dc4\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\nLDR             X8, [X0,#0x150]                                        ; +0x0, 0x1000fabd8\nCBZ             X8, locret_1000FAC60                                   ; +0x4, 0x1000fabdc\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x1000fabe0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x1000fabe4\nADD             X29, SP, #0x10                                         ; +0x10, 0x1000fabe8\nMOV             X19, X0                                                ; +0x14, 0x1000fabec\nLDR             X0, [X0,#0x178]                                        ; +0x18, 0x1000fabf0\nLDR             X8, [X0]                                               ; +0x1c, 0x1000fabf4\nLDR             X8, [X8,#0x148]                                        ; +0x20, 0x1000fabf8\nMOV             W1, #0                                                 ; +0x24, 0x1000fabfc\nBLR             X8                                                     ; +0x28, 0x1000fac00\nLDR             X0, [X19,#0x1D8]                                       ; +0x2c, 0x1000fac04\nCBZ             X0, loc_1000FAC1C                                      ; +0x30, 0x1000fac08\nLDR             X8, [X0]                                               ; +0x34, 0x1000fac0c\nLDR             X8, [X8,#0x148]                                        ; +0x38, 0x1000fac10\nMOV             W1, #0                                                 ; +0x3c, 0x1000fac14\nBLR             X8                                                     ; +0x40, 0x1000fac18\nBL              MusicDownloadManager__sharedState                      ; +0x44, 0x1000fac1c\nLDR             W1, [X19,#0x1F0]                                       ; +0x48, 0x1000fac20\nMOV             W2, #0                                                 ; +0x4c, 0x1000fac24\nBL              MusicDownloadManager__getSongInfo                      ; +0x50, 0x1000fac28\nLDR             X0, [X19,#0x198]                                       ; +0x54, 0x1000fac2c\nLDR             X8, [X0]                                               ; +0x58, 0x1000fac30\nLDR             X8, [X8,#0x3B0]                                        ; +0x5c, 0x1000fac34\nADRL            X1, unk_100636BC6                                      ; +0x60, 0x1000fac38\nBLR             X8                                                     ; +0x68, 0x1000fac40\nLDR             X0, [X19,#0x198]                                       ; +0x6c, 0x1000fac44\nLDR             X8, [X0]                                               ; +0x70, 0x1000fac48\nLDR             X2, [X8,#0x410]                                        ; +0x74, 0x1000fac4c\nMOV             W1, #0                                                 ; +0x78, 0x1000fac50\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x7c, 0x1000fac54\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x80, 0x1000fac58\nBR              X2                                                     ; +0x84, 0x1000fac5c\nRET                                                                    ; +0x88, 0x1000fac60", "xrefs": ["LevelInfoLayer::init @ 0x100025d6c", "CustomSongWidget::getSongInfoIfUnloaded @ 0x1000fd140", "CustomSongWidget::init @ 0x1000f9dc4"], "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"}