{"type": "func", "start": 4580472, "end": 4580528, "name": "CustomSongLayer::musicBrowserClosed", "pseudocode": "// \n// CustomSongLayer::musicBrowserClosed from 0x45e478 to 0x45e4b0 (56 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x45e4b4\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 CustomSongLayer::musicBrowserClosed(CustomSongLayer *a1, MusicBrowser *a2)\n{\n  CustomSongWidget *m_songWidget; // r5\n  __int64 v4; // r0\n  SongInfoObject *v5; // r1\n\n  if ( a2->m_selectedCell )\n  {\n    a1->m_songDelegate->songIDChanged(a1->m_songDelegate, a2->m_songID);\n    m_songWidget = a1->m_songWidget;\n    v4 = ((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_songDelegate->getActiveSongID)(a1->m_songDelegate);\n    v5 = SongInfoObject::create((SongInfoObject *)v4, SHIDWORD(v4));\n    CustomSongWidget::updateSongObject(m_songWidget, v5);\n  }\n}", "assembly": "; \n; CustomSongLayer::musicBrowserClosed from 0x45e478 to 0x45e4b0 (56 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x45e4b4\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            {R3-R5,LR}                                             ; +0x0, 0x45e478\nMOV             R4, R0                                                 ; +0x2, 0x45e47a\nLDRB.W          R3, [R1,#0x23D]                                        ; +0x4, 0x45e47c\nCBZ             R3, locret_45E4AE                                      ; +0x8, 0x45e480\nLDR.W           R0, [R0,#0x1FC]                                        ; +0xa, 0x45e482\nLDR.W           R1, [R1,#0x234]                                        ; +0xe, 0x45e486\nLDR             R3, [R0]                                               ; +0x12, 0x45e48a\nLDR             R3, [R3]                                               ; +0x14, 0x45e48c\nBLX             R3                                                     ; +0x16, 0x45e48e\nLDR.W           R0, [R4,#0x1FC]                                        ; +0x18, 0x45e490\nLDR.W           R5, [R4,#0x204]                                        ; +0x1c, 0x45e494\nLDR             R3, [R0]                                               ; +0x20, 0x45e498\nLDR             R3, [R3,#4]                                            ; +0x22, 0x45e49a\nBLX             R3                                                     ; +0x24, 0x45e49c\nBL              _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x26, 0x45e49e\nMOV             R1, R0; SongInfoObject *                               ; +0x2a, 0x45e4a2\nMOV             R0, R5; this                                           ; +0x2c, 0x45e4a4\nPOP.W           {R3-R5,LR}                                             ; +0x2e, 0x45e4a6\nB.W             _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x32, 0x45e4aa\nPOP             {R3-R5,PC}                                             ; +0x36, 0x45e4ae", "xrefs": ["`non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x45e4b4"], "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"}