{"type": "func", "start": 4297155232, "end": 4297155316, "name": "CustomSongLayer::dropDownLayerWillClose", "pseudocode": "// \n// CustomSongLayer::dropDownLayerWillClose from 0x1002162a0 to 0x1002162f4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008de058\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::dropDownLayerWillClose(CustomSongLayer *a1, GJDropDownLayer *a2)\n{\n  CustomSongWidget *m_songWidget; // rbx\n  int v3; // eax\n  SongInfoObject *v4; // rax\n\n  if ( LOBYTE(a2[1].m_uAutoReleaseCount) == 1 )\n  {\n    ((void (__fastcall *)(CustomSongDelegate *, _QWORD))a1->m_songDelegate->songIDChanged)(\n      a1->m_songDelegate,\n      a2[1].m_uReference);\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::dropDownLayerWillClose from 0x1002162a0 to 0x1002162f4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008de058\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+278h], 1                                         ; +0x0, 0x1002162a0\njnz     short locret_1002162F3                                         ; +0x7, 0x1002162a7\npush    rbp                                                            ; +0x9, 0x1002162a9\nmov     rbp, rsp                                                       ; +0xa, 0x1002162aa\npush    rbx                                                            ; +0xd, 0x1002162ad\npush    rax                                                            ; +0xe, 0x1002162ae\nmov     rax, [rdi+290h]                                                ; +0xf, 0x1002162af\nmov     esi, [rsi+274h]                                                ; +0x16, 0x1002162b6\nmov     rcx, [rax]                                                     ; +0x1c, 0x1002162bc\nmov     rbx, rdi                                                       ; +0x1f, 0x1002162bf\nmov     rdi, rax                                                       ; +0x22, 0x1002162c2\ncall    qword ptr [rcx]                                                ; +0x25, 0x1002162c5\nmov     rdi, [rbx+290h]                                                ; +0x27, 0x1002162c7\nmov     rbx, [rbx+2A0h]                                                ; +0x2e, 0x1002162ce\nmov     rax, [rdi]                                                     ; +0x35, 0x1002162d5\ncall    qword ptr [rax+8]                                              ; +0x38, 0x1002162d8\nmov     edi, eax                                                       ; +0x3b, 0x1002162db\ncall    SongInfoObject__create_1                                       ; +0x3d, 0x1002162dd\nmov     rdi, rbx                                                       ; +0x42, 0x1002162e2\nmov     rsi, rax                                                       ; +0x45, 0x1002162e5\nadd     rsp, 8                                                         ; +0x48, 0x1002162e8\npop     rbx                                                            ; +0x4c, 0x1002162ec\npop     rbp                                                            ; +0x4d, 0x1002162ed\njmp     CustomSongWidget__updateSongObject                             ; +0x4e, 0x1002162ee\nretn                                                                   ; +0x53, 0x1002162f3", "xrefs": ["<???> @ 0x1008de058"], "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"}