{"type": "func", "start": 5132138, "end": 5132190, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x4e4f6a to 0x4e4f9e (52 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:04 +0000\n// \n\nCustomSongWidget *__fastcall CustomSongWidget::onSelect(CustomSongWidget *this, cocos2d::CCObject *a2)\n{\n  CustomSongWidget *v2; // r4\n  int v3; // r3\n  void (__fastcall ***v4)(_DWORD, _DWORD); // r0\n  MusicDownloadManager *v5; // r0\n\n  v2 = this;\n  v3 = *((_DWORD *)this + 68);\n  if ( v3 )\n  {\n    v4 = *((void (__fastcall ****)(_DWORD, _DWORD))this + 87);\n    if ( v4 )\n      (**v4)(v4, *(_DWORD *)(v3 + 264));\n    this = (CustomSongWidget *)CustomSongWidget::updateSongInfo(v2);\n    if ( *((_BYTE *)v2 + 368) )\n    {\n      v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);\n      return (CustomSongWidget *)MusicDownloadManager::songStateChanged(v5);\n    }\n  }\n  return this;\n}", "assembly": "; \n; CustomSongWidget::onSelect from 0x4e4f6a to 0x4e4f9e (52 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:04 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4e4f6a\nMOV             R4, R0                                                 ; +0x2, 0x4e4f6c\nLDR.W           R3, [R0,#0x110]                                        ; +0x4, 0x4e4f6e\nCBZ             R3, locret_4E4F9C                                      ; +0x8, 0x4e4f72\nLDR.W           R0, [R0,#0x15C]                                        ; +0xa, 0x4e4f74\nLDR.W           R1, [R3,#0x108]                                        ; +0xe, 0x4e4f78\nCBZ             R0, loc_4E4F84                                         ; +0x12, 0x4e4f7c\nLDR             R3, [R0]                                               ; +0x14, 0x4e4f7e\nLDR             R3, [R3]                                               ; +0x16, 0x4e4f80\nBLX             R3                                                     ; +0x18, 0x4e4f82\nMOV             R0, R4; this                                           ; +0x1a, 0x4e4f84\nBL              _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x1c, 0x4e4f86\nLDRB.W          R3, [R4,#0x170]                                        ; +0x20, 0x4e4f8a\nCBZ             R3, locret_4E4F9C                                      ; +0x24, 0x4e4f8e\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x26, 0x4e4f90\nPOP.W           {R4,LR}                                                ; +0x2a, 0x4e4f94\nB.W             _ZN20MusicDownloadManager16songStateChangedEv; MusicDownloadManager::songStateChanged(void) ; +0x2e, 0x4e4f98\nPOP             {R4,PC}                                                ; +0x32, 0x4e4f9c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}