{"type": "func", "start": 4295994232, "end": 4295994328, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x1000fab78 to 0x1000fabd8 (96 bytes)\n// \n// 1 xrefs:\n// > CustomSongWidget::init @ 0x1000f9d78\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::onSelect(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  SongInfoObject *m_songInfoObject; // x8\n  CustomSongDelegate *m_songDelegate; // x0\n  MusicDownloadManager *v5; // x0\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject )\n  {\n    m_songDelegate = a1->m_songDelegate;\n    if ( m_songDelegate )\n      ((void (__fastcall *)(CustomSongDelegate *, _QWORD))m_songDelegate->songIDChanged)(\n        m_songDelegate,\n        (unsigned int)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 0x1000fab78 to 0x1000fabd8 (96 bytes)\n; \n; 1 xrefs:\n; > CustomSongWidget::init @ 0x1000f9d78\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, 0x1000fab78\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000fab7c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000fab80\nLDR             X8, [X0,#0x150]                                        ; +0xc, 0x1000fab84\nCBZ             X8, loc_1000FABCC                                      ; +0x10, 0x1000fab88\nMOV             X19, X0                                                ; +0x14, 0x1000fab8c\nLDR             X0, [X0,#0x1E0]                                        ; +0x18, 0x1000fab90\nCBZ             X0, loc_1000FABA8                                      ; +0x1c, 0x1000fab94\nLDR             W1, [X8,#0x13C]                                        ; +0x20, 0x1000fab98\nLDR             X8, [X0]                                               ; +0x24, 0x1000fab9c\nLDR             X8, [X8]                                               ; +0x28, 0x1000faba0\nBLR             X8                                                     ; +0x2c, 0x1000faba4\nMOV             X0, X19                                                ; +0x30, 0x1000faba8\nBL              CustomSongWidget__updateSongInfo                       ; +0x34, 0x1000fabac\nLDRB            W8, [X19,#0x1F8]                                       ; +0x38, 0x1000fabb0\nCMP             W8, #1                                                 ; +0x3c, 0x1000fabb4\nB.NE            loc_1000FABCC                                          ; +0x40, 0x1000fabb8\nBL              MusicDownloadManager__sharedState                      ; +0x44, 0x1000fabbc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1000fabc0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1000fabc4\nB               MusicDownloadManager__songStateChanged                 ; +0x50, 0x1000fabc8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1000fabcc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1000fabd0\nRET                                                                    ; +0x5c, 0x1000fabd4", "xrefs": ["CustomSongWidget::init @ 0x1000f9d78"], "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"}