{"type": "func", "start": 4580408, "end": 4580464, "name": "CustomSongLayer::dropDownLayerWillClose", "pseudocode": "// \n// CustomSongLayer::dropDownLayerWillClose from 0x45e438 to 0x45e470 (56 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x45e474\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::dropDownLayerWillClose(CustomSongLayer *a1, GJDropDownLayer *a2)\n{\n  CustomSongWidget *m_songWidget; // r5\n  __int64 v4; // r0\n  SongInfoObject *v5; // r1\n\n  if ( LOBYTE(a2[1].m_uReference) )\n  {\n    a1->m_songDelegate->songIDChanged(a1->m_songDelegate, a2[1].m_nTag);\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::dropDownLayerWillClose from 0x45e438 to 0x45e470 (56 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x45e474\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, 0x45e438\nMOV             R4, R0                                                 ; +0x2, 0x45e43a\nLDRB.W          R3, [R1,#0x1F0]                                        ; +0x4, 0x45e43c\nCBZ             R3, locret_45E46E                                      ; +0x8, 0x45e440\nLDR.W           R0, [R0,#0x1FC]                                        ; +0xa, 0x45e442\nLDR.W           R1, [R1,#0x1EC]                                        ; +0xe, 0x45e446\nLDR             R3, [R0]                                               ; +0x12, 0x45e44a\nLDR             R3, [R3]                                               ; +0x14, 0x45e44c\nBLX             R3                                                     ; +0x16, 0x45e44e\nLDR.W           R0, [R4,#0x1FC]                                        ; +0x18, 0x45e450\nLDR.W           R5, [R4,#0x204]                                        ; +0x1c, 0x45e454\nLDR             R3, [R0]                                               ; +0x20, 0x45e458\nLDR             R3, [R3,#4]                                            ; +0x22, 0x45e45a\nBLX             R3                                                     ; +0x24, 0x45e45c\nBL              _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x26, 0x45e45e\nMOV             R1, R0; SongInfoObject *                               ; +0x2a, 0x45e462\nMOV             R0, R5; this                                           ; +0x2c, 0x45e464\nPOP.W           {R3-R5,LR}                                             ; +0x2e, 0x45e466\nB.W             _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x32, 0x45e46a\nPOP             {R3-R5,PC}                                             ; +0x36, 0x45e46e", "xrefs": ["`non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x45e474"], "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"}