{"type": "func", "start": 4297155408, "end": 4297155492, "name": "CustomSongLayer::musicBrowserClosed", "pseudocode": "// \n// CustomSongLayer::musicBrowserClosed from 0x100216350 to 0x1002163a4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008de060\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; // rbx\n  int v3; // eax\n  SongInfoObject *v4; // rax\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    v3 = ((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_songDelegate->getActiveSongID)(a1->m_songDelegate);\n    v4 = SongInfoObject::create_1(v3);\n    CustomSongWidget::updateSongObject(m_songWidget, v4);\n  }\n}", "assembly": "; \n; CustomSongLayer::musicBrowserClosed from 0x100216350 to 0x1002163a4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008de060\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\ncmp     byte ptr [rsi+309h], 1                                         ; +0x0, 0x100216350\njnz     short locret_1002163A3                                         ; +0x7, 0x100216357\npush    rbp                                                            ; +0x9, 0x100216359\nmov     rbp, rsp                                                       ; +0xa, 0x10021635a\npush    rbx                                                            ; +0xd, 0x10021635d\npush    rax                                                            ; +0xe, 0x10021635e\nmov     rax, [rdi+290h]                                                ; +0xf, 0x10021635f\nmov     esi, [rsi+300h]                                                ; +0x16, 0x100216366\nmov     rcx, [rax]                                                     ; +0x1c, 0x10021636c\nmov     rbx, rdi                                                       ; +0x1f, 0x10021636f\nmov     rdi, rax                                                       ; +0x22, 0x100216372\ncall    qword ptr [rcx]                                                ; +0x25, 0x100216375\nmov     rdi, [rbx+290h]                                                ; +0x27, 0x100216377\nmov     rbx, [rbx+2A0h]                                                ; +0x2e, 0x10021637e\nmov     rax, [rdi]                                                     ; +0x35, 0x100216385\ncall    qword ptr [rax+8]                                              ; +0x38, 0x100216388\nmov     edi, eax                                                       ; +0x3b, 0x10021638b\ncall    SongInfoObject__create_1                                       ; +0x3d, 0x10021638d\nmov     rdi, rbx                                                       ; +0x42, 0x100216392\nmov     rsi, rax                                                       ; +0x45, 0x100216395\nadd     rsp, 8                                                         ; +0x48, 0x100216398\npop     rbx                                                            ; +0x4c, 0x10021639c\npop     rbp                                                            ; +0x4d, 0x10021639d\njmp     CustomSongWidget__updateSongObject                             ; +0x4e, 0x10021639e\nretn                                                                   ; +0x53, 0x1002163a3", "xrefs": ["<???> @ 0x1008de060"], "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"}