{"type": "func", "start": 4061620, "end": 4061672, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x3df9b4 to 0x3df9e8 (52 bytes)\n// \n// 0 xrefs:\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; // r3\n  CustomSongDelegate *m_songDelegate; // r0\n  MusicDownloadManager *v5; // r0\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject )\n  {\n    m_songDelegate = a1->m_songDelegate;\n    if ( m_songDelegate )\n      m_songDelegate->songIDChanged(m_songDelegate, m_songInfoObject->m_songID);\n    CustomSongWidget::updateSongInfo(a1);\n    if ( a1->m_isInCell )\n    {\n      v5 = MusicDownloadManager::sharedState();\n      MusicDownloadManager::songStateChanged(v5);\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::onSelect from 0x3df9b4 to 0x3df9e8 (52 bytes)\n; \n; 0 xrefs:\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.W           R3, [R0,#0x110]                                        ; +0x0, 0x3df9b4\nPUSH            {R4,LR}                                                ; +0x4, 0x3df9b8\nMOV             R4, R0                                                 ; +0x6, 0x3df9ba\nCBZ             R3, locret_3DF9E6                                      ; +0x8, 0x3df9bc\nLDR.W           R0, [R0,#0x158]                                        ; +0xa, 0x3df9be\nLDR.W           R1, [R3,#0x108]                                        ; +0xe, 0x3df9c2\nCBZ             R0, loc_3DF9CE                                         ; +0x12, 0x3df9c6\nLDR             R3, [R0]                                               ; +0x14, 0x3df9c8\nLDR             R3, [R3]                                               ; +0x16, 0x3df9ca\nBLX             R3                                                     ; +0x18, 0x3df9cc\nMOV             R0, R4; this                                           ; +0x1a, 0x3df9ce\nBL              _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x1c, 0x3df9d0\nLDRB.W          R3, [R4,#0x16C]                                        ; +0x20, 0x3df9d4\nCBZ             R3, locret_3DF9E6                                      ; +0x24, 0x3df9d8\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x26, 0x3df9da\nPOP.W           {R4,LR}                                                ; +0x2a, 0x3df9de\nB.W             _ZN20MusicDownloadManager16songStateChangedEv; MusicDownloadManager::songStateChanged(void) ; +0x2e, 0x3df9e2\nPOP             {R4,PC}                                                ; +0x32, 0x3df9e6", "xrefs": [], "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"}