{"type": "func", "start": 5121460, "end": 5121528, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x4e25b4 to 0x4e25f8 (68 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x49e59a\n// > CustomSongWidget::getSongInfoIfUnloaded @ 0x4e4ec0\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:02 +0000\n// \n\nint __fastcall CustomSongWidget::onGetSongInfo(int this, cocos2d::CCObject *a2)\n{\n  CustomSongWidget *v2; // r4\n  MusicDownloadManager *v3; // r0\n  MusicDownloadManager *v4; // r0\n\n  v2 = (CustomSongWidget *)this;\n  if ( *(_DWORD *)(this + 272) )\n  {\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(this + 292) + 172))(*(_DWORD *)(this + 292), 0);\n    v3 = *((MusicDownloadManager **)v2 + 86);\n    if ( v3 )\n      v3 = (MusicDownloadManager *)(*(int (__fastcall **)(MusicDownloadManager *, _DWORD))(*(_DWORD *)v3 + 172))(v3, 0);\n    v4 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v3);\n    MusicDownloadManager::getSongInfo(v4, *((_DWORD *)v2 + 90), 0);\n    return CustomSongWidget::toggleUpdateButton(v2, 0);\n  }\n  return this;\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x4e25b4 to 0x4e25f8 (68 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x49e59a\n; > CustomSongWidget::getSongInfoIfUnloaded @ 0x4e4ec0\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:02 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4e25b4\nMOV             R4, R0                                                 ; +0x2, 0x4e25b6\nLDR.W           R3, [R0,#0x110]                                        ; +0x4, 0x4e25b8\nCBZ             R3, locret_4E25F6                                      ; +0x8, 0x4e25bc\nLDR.W           R0, [R0,#0x124]                                        ; +0xa, 0x4e25be\nMOVS            R1, #0                                                 ; +0xe, 0x4e25c2\nLDR             R3, [R0]                                               ; +0x10, 0x4e25c4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x12, 0x4e25c6\nBLX             R3                                                     ; +0x16, 0x4e25ca\nLDR.W           R0, [R4,#0x158]                                        ; +0x18, 0x4e25cc\nCBZ             R0, loc_4E25DC                                         ; +0x1c, 0x4e25d0\nLDR             R3, [R0]                                               ; +0x1e, 0x4e25d2\nMOVS            R1, #0                                                 ; +0x20, 0x4e25d4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x22, 0x4e25d6\nBLX             R3                                                     ; +0x26, 0x4e25da\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x28, 0x4e25dc\nLDR.W           R1, [R4,#0x168]; int                                   ; +0x2c, 0x4e25e0\nMOVS            R2, #0; bool                                           ; +0x30, 0x4e25e4\nBL              _ZN20MusicDownloadManager11getSongInfoEib; MusicDownloadManager::getSongInfo(int,bool) ; +0x32, 0x4e25e6\nMOV             R0, R4; this                                           ; +0x36, 0x4e25ea\nMOVS            R1, #0; bool                                           ; +0x38, 0x4e25ec\nPOP.W           {R4,LR}                                                ; +0x3a, 0x4e25ee\nB.W             _ZN16CustomSongWidget18toggleUpdateButtonEb; CustomSongWidget::toggleUpdateButton(bool) ; +0x3e, 0x4e25f2\nPOP             {R4,PC}                                                ; +0x42, 0x4e25f6", "xrefs": ["LevelInfoLayer::init @ 0x49e59a", "CustomSongWidget::getSongInfoIfUnloaded @ 0x4e4ec0"], "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"}