{"type": "func", "start": 4296297548, "end": 4296297644, "name": "CustomSongLayer::dropDownLayerWillClose", "pseudocode": "// \n// CustomSongLayer::dropDownLayerWillClose from 0x100144c4c to 0x100144cac (96 bytes)\n// \n// 2 xrefs:\n// > sub_100144CAC @ 0x100144cb0\n// > <???> @ 0x100794e38\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; // x20\n  int v4; // w0\n  SongInfoObject *v5; // x1\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    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::dropDownLayerWillClose from 0x100144c4c to 0x100144cac (96 bytes)\n; \n; 2 xrefs:\n; > sub_100144CAC @ 0x100144cb0\n; > <???> @ 0x100794e38\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,#0x278]                                        ; +0x0, 0x100144c4c\nCMP             W8, #1                                                 ; +0x4, 0x100144c50\nB.NE            locret_100144CA8                                       ; +0x8, 0x100144c54\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x100144c58\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x100144c5c\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x100144c60\nMOV             X19, X0                                                ; +0x18, 0x100144c64\nLDR             X0, [X0,#0x290]                                        ; +0x1c, 0x100144c68\nLDR             W1, [X1,#0x274]                                        ; +0x20, 0x100144c6c\nLDR             X8, [X0]                                               ; +0x24, 0x100144c70\nLDR             X8, [X8]                                               ; +0x28, 0x100144c74\nBLR             X8                                                     ; +0x2c, 0x100144c78\nLDR             X20, [X19,#0x2A0]                                      ; +0x30, 0x100144c7c\nLDR             X0, [X19,#0x290]                                       ; +0x34, 0x100144c80\nLDR             X8, [X0]                                               ; +0x38, 0x100144c84\nLDR             X8, [X8,#8]                                            ; +0x3c, 0x100144c88\nBLR             X8                                                     ; +0x40, 0x100144c8c\nBL              SongInfoObject__create_1                               ; +0x44, 0x100144c90\nMOV             X1, X0                                                 ; +0x48, 0x100144c94\nMOV             X0, X20                                                ; +0x4c, 0x100144c98\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x50, 0x100144c9c\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x54, 0x100144ca0\nB               CustomSongWidget__updateSongObject                     ; +0x58, 0x100144ca4\nRET                                                                    ; +0x5c, 0x100144ca8", "xrefs": ["sub_100144CAC @ 0x100144cb0", "<???> @ 0x100794e38"], "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"}