{"type": "func", "start": 4296297652, "end": 4296297748, "name": "CustomSongLayer::musicBrowserClosed", "pseudocode": "// \n// CustomSongLayer::musicBrowserClosed from 0x100144cb4 to 0x100144d14 (96 bytes)\n// \n// 2 xrefs:\n// > sub_100144D14 @ 0x100144d18\n// > <???> @ 0x100794e40\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 __fastcall CustomSongLayer::musicBrowserClosed(CustomSongLayer *a1, MusicBrowser *a2)\n{\n  CustomSongWidget *m_songWidget; // x20\n  int v4; // w0\n  SongInfoObject *v5; // x1\n\n  if ( a2->m_selectedCell )\n  {\n    ((void (__fastcall *)(CustomSongDelegate *, _QWORD))a1->m_songDelegate->songIDChanged)(\n      a1->m_songDelegate,\n      (unsigned int)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_1(v4);\n    CustomSongWidget::updateSongObject(m_songWidget, v5);\n  }\n}", "assembly": "; \n; CustomSongLayer::musicBrowserClosed from 0x100144cb4 to 0x100144d14 (96 bytes)\n; \n; 2 xrefs:\n; > sub_100144D14 @ 0x100144d18\n; > <???> @ 0x100794e40\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\nLDRB            W8, [X1,#0x309]                                        ; +0x0, 0x100144cb4\nCMP             W8, #1                                                 ; +0x4, 0x100144cb8\nB.NE            locret_100144D10                                       ; +0x8, 0x100144cbc\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x100144cc0\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x100144cc4\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x100144cc8\nMOV             X19, X0                                                ; +0x18, 0x100144ccc\nLDR             X0, [X0,#0x290]                                        ; +0x1c, 0x100144cd0\nLDR             W1, [X1,#0x300]                                        ; +0x20, 0x100144cd4\nLDR             X8, [X0]                                               ; +0x24, 0x100144cd8\nLDR             X8, [X8]                                               ; +0x28, 0x100144cdc\nBLR             X8                                                     ; +0x2c, 0x100144ce0\nLDR             X20, [X19,#0x2A0]                                      ; +0x30, 0x100144ce4\nLDR             X0, [X19,#0x290]                                       ; +0x34, 0x100144ce8\nLDR             X8, [X0]                                               ; +0x38, 0x100144cec\nLDR             X8, [X8,#8]                                            ; +0x3c, 0x100144cf0\nBLR             X8                                                     ; +0x40, 0x100144cf4\nBL              SongInfoObject__create_1                               ; +0x44, 0x100144cf8\nMOV             X1, X0                                                 ; +0x48, 0x100144cfc\nMOV             X0, X20                                                ; +0x4c, 0x100144d00\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x50, 0x100144d04\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x54, 0x100144d08\nB               CustomSongWidget__updateSongObject                     ; +0x58, 0x100144d0c\nRET                                                                    ; +0x5c, 0x100144d10", "xrefs": ["sub_100144D14 @ 0x100144d18", "<???> @ 0x100794e40"], "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"}