{"type": "func", "start": 7629692, "end": 7629784, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x746b7c to 0x746bd8 (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xc0f30\n// > CustomSongWidget::init @ 0x745b8c\n// > <???> @ 0x122eb18\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 CustomSongWidget::onSelect(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  SongInfoObject *m_songInfoObject; // x1\n  CustomSongDelegate *m_songDelegate; // x0\n  __int64 m_songID; // x1\n  MusicDownloadManager *v6; // x0\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject )\n  {\n    m_songDelegate = a1->m_songDelegate;\n    m_songID = (unsigned int)m_songInfoObject->m_songID;\n    if ( m_songDelegate )\n      m_songDelegate->songIDChanged(m_songDelegate, m_songID);\n    CustomSongWidget::updateSongInfo(a1);\n    if ( a1->m_isInCell )\n    {\n      v6 = MusicDownloadManager::sharedState();\n      MusicDownloadManager::songStateChanged(v6);\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::onSelect from 0x746b7c to 0x746bd8 (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xc0f30\n; > CustomSongWidget::init @ 0x745b8c\n; > <???> @ 0x122eb18\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, 0x746b7c\nMOV             X29, SP                                                ; +0x4, 0x746b80\nLDR             X1, [X0,#0x150]                                        ; +0x8, 0x746b84\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x746b88\nCBZ             X1, loc_746BBC                                         ; +0x10, 0x746b8c\nMOV             X19, X0                                                ; +0x14, 0x746b90\nLDR             X0, [X0,#0x1E0]                                        ; +0x18, 0x746b94\nLDR             W1, [X1,#0x13C]                                        ; +0x1c, 0x746b98\nCBZ             X0, loc_746BAC                                         ; +0x20, 0x746b9c\nLDR             X2, [X0]                                               ; +0x24, 0x746ba0\nLDR             X2, [X2]                                               ; +0x28, 0x746ba4\nBLR             X2                                                     ; +0x2c, 0x746ba8\nMOV             X0, X19; this                                          ; +0x30, 0x746bac\nBL              _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x34, 0x746bb0\nLDRB            W0, [X19,#0x1F8]; this                                 ; +0x38, 0x746bb4\nCBNZ            W0, loc_746BC8                                         ; +0x3c, 0x746bb8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x746bbc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x746bc0\nRET                                                                    ; +0x48, 0x746bc4\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4c, 0x746bc8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x746bcc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x746bd0\nB               _ZN20MusicDownloadManager16songStateChangedEv; MusicDownloadManager::songStateChanged(void) ; +0x58, 0x746bd4", "xrefs": ["<???> @ 0xc0f30", "CustomSongWidget::init @ 0x745b8c", "<???> @ 0x122eb18"], "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"}