{"type": "func", "start": 5369540192, "end": 5369540277, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x1400cae60 to 0x1400caeb5 (85 bytes)\n// \n// 2 xrefs:\n// > CustomSongWidget::init @ 0x1400c8933\n// > <???> @ 0x1406c8310\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; // rdx\n  CustomSongDelegate *m_songDelegate; // rcx\n  MusicDownloadManager *v5; // rax\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 0x1400cae60 to 0x1400caeb5 (85 bytes)\n; \n; 2 xrefs:\n; > CustomSongWidget::init @ 0x1400c8933\n; > <???> @ 0x1406c8310\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\npush    rbx                                                            ; +0x0, 0x1400cae60\nsub     rsp, 20h                                                       ; +0x2, 0x1400cae62\nmov     rdx, [rcx+150h]                                                ; +0x6, 0x1400cae66\nmov     rbx, rcx                                                       ; +0xd, 0x1400cae6d\ntest    rdx, rdx                                                       ; +0x10, 0x1400cae70\njz      short loc_1400CAEAF                                            ; +0x13, 0x1400cae73\nmov     rcx, [rcx+1E0h]                                                ; +0x15, 0x1400cae75\ntest    rcx, rcx                                                       ; +0x1c, 0x1400cae7c\njz      short loc_1400CAE8C                                            ; +0x1f, 0x1400cae7f\nmov     rax, [rcx]                                                     ; +0x21, 0x1400cae81\nmov     edx, [rdx+140h]                                                ; +0x24, 0x1400cae84\ncall    qword ptr [rax]                                                ; +0x2a, 0x1400cae8a\nmov     rcx, rbx                                                       ; +0x2c, 0x1400cae8c\ncall    CustomSongWidget__updateSongInfo                               ; +0x2f, 0x1400cae8f\ncmp     byte ptr [rbx+1F8h], 0                                         ; +0x34, 0x1400cae94\njz      short loc_1400CAEAF                                            ; +0x3b, 0x1400cae9b\ncall    MusicDownloadManager__sharedState                              ; +0x3d, 0x1400cae9d\nmov     rcx, rax                                                       ; +0x42, 0x1400caea2\nadd     rsp, 20h                                                       ; +0x45, 0x1400caea5\npop     rbx                                                            ; +0x49, 0x1400caea9\njmp     MusicDownloadManager__songStateChanged                         ; +0x4a, 0x1400caeaa\nadd     rsp, 20h                                                       ; +0x4f, 0x1400caeaf\npop     rbx                                                            ; +0x53, 0x1400caeb3\nretn                                                                   ; +0x54, 0x1400caeb4", "xrefs": ["CustomSongWidget::init @ 0x1400c8933", "<???> @ 0x1406c8310"], "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"}