{"type": "func", "start": 8832176, "end": 8832268, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x86c4b0 to 0x86c50c (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xfb620\n// > CustomSongWidget::init @ 0x86b348\n// > <???> @ 0x1547a58\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:43 +0000\n// \n\n__int64 __fastcall CustomSongWidget::onSelect(__int64 this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x1\n  unsigned __int8 *v3; // x19\n  void (__fastcall ***v4)(_QWORD, __int64); // x0\n  __int64 v5; // x1\n  MusicDownloadManager *v6; // x0\n\n  v2 = *(_QWORD *)(this + 336);\n  if ( v2 )\n  {\n    v3 = (unsigned __int8 *)this;\n    v4 = *(void (__fastcall ****)(_QWORD, __int64))(this + 488);\n    v5 = *(unsigned int *)(v2 + 316);\n    if ( v4 )\n      (**v4)(v4, v5);\n    CustomSongWidget::updateSongInfo((CustomSongWidget *)v3);\n    this = v3[512];\n    if ( v3[512] )\n    {\n      v6 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)this);\n      return MusicDownloadManager::songStateChanged(v6);\n    }\n  }\n  return this;\n}", "assembly": "; \n; CustomSongWidget::onSelect from 0x86c4b0 to 0x86c50c (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xfb620\n; > CustomSongWidget::init @ 0x86b348\n; > <???> @ 0x1547a58\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:43 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x86c4b0\nMOV             X29, SP                                                ; +0x4, 0x86c4b4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x86c4b8\nLDR             X1, [X0,#0x150]                                        ; +0xc, 0x86c4bc\nCBZ             X1, loc_86C4F0                                         ; +0x10, 0x86c4c0\nMOV             X19, X0                                                ; +0x14, 0x86c4c4\nLDR             X0, [X0,#0x1E8]                                        ; +0x18, 0x86c4c8\nLDR             W1, [X1,#0x13C]                                        ; +0x1c, 0x86c4cc\nCBZ             X0, loc_86C4E0                                         ; +0x20, 0x86c4d0\nLDR             X2, [X0]                                               ; +0x24, 0x86c4d4\nLDR             X2, [X2]                                               ; +0x28, 0x86c4d8\nBLR             X2                                                     ; +0x2c, 0x86c4dc\nMOV             X0, X19; this                                          ; +0x30, 0x86c4e0\nBL              _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x34, 0x86c4e4\nLDRB            W0, [X19,#0x200]; this                                 ; +0x38, 0x86c4e8\nCBNZ            W0, loc_86C4FC                                         ; +0x3c, 0x86c4ec\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x86c4f0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x86c4f4\nRET                                                                    ; +0x48, 0x86c4f8\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4c, 0x86c4fc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x86c500\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x86c504\nB               _ZN20MusicDownloadManager16songStateChangedEv; MusicDownloadManager::songStateChanged(void) ; +0x58, 0x86c508", "xrefs": ["<???> @ 0xfb620", "CustomSongWidget::init @ 0x86b348", "<???> @ 0x1547a58"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}