{"type": "func", "start": 9955140, "end": 9955248, "name": "CustomSongLayer::dropDownLayerWillClose", "pseudocode": "// \n// CustomSongLayer::dropDownLayerWillClose from 0x97e744 to 0x97e7b0 (108 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x97e7b4\n// > <???> @ 0xabe08\n// > <???> @ 0x146f7a8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:50 +0000\n// \n\n__int64 __fastcall CustomSongLayer::dropDownLayerWillClose(__int64 this, GJDropDownLayer *a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x1\n  CustomSongWidget *v4; // x19\n  SongInfoObject *v5; // x0\n  SongInfoObject *v6; // x0\n\n  if ( *((_BYTE *)a2 + 632) )\n  {\n    v2 = this;\n    (***(void (__fastcall ****)(_QWORD, _QWORD))(this + 680))(*(_QWORD *)(this + 680), *((unsigned int *)a2 + 157));\n    v3 = *(_QWORD *)(v2 + 680);\n    v4 = *(CustomSongWidget **)(v2 + 696);\n    v5 = (SongInfoObject *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 8LL))(v3);\n    v6 = (SongInfoObject *)SongInfoObject::create(v5);\n    return CustomSongWidget::updateSongObject(v4, v6);\n  }\n  return this;\n}", "assembly": "; \n; CustomSongLayer::dropDownLayerWillClose from 0x97e744 to 0x97e7b0 (108 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x97e7b4\n; > <???> @ 0xabe08\n; > <???> @ 0x146f7a8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:50 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x97e744\nMOV             X29, SP                                                ; +0x4, 0x97e748\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x97e74c\nLDRB            W2, [X1,#0x278]                                        ; +0xc, 0x97e750\nCBNZ            W2, loc_97E764                                         ; +0x10, 0x97e754\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x14, 0x97e758\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x18, 0x97e75c\nRET                                                                    ; +0x1c, 0x97e760\nLDR             X2, [X0,#0x2A8]                                        ; +0x20, 0x97e764\nMOV             X19, X0                                                ; +0x24, 0x97e768\nLDR             W1, [X1,#0x274]                                        ; +0x28, 0x97e76c\nMOV             X0, X2                                                 ; +0x2c, 0x97e770\nLDR             X2, [X2]                                               ; +0x30, 0x97e774\nLDR             X2, [X2]                                               ; +0x34, 0x97e778\nBLR             X2                                                     ; +0x38, 0x97e77c\nLDR             X1, [X19,#0x2A8]                                       ; +0x3c, 0x97e780\nLDR             X19, [X19,#0x2B8]                                      ; +0x40, 0x97e784\nMOV             X0, X1                                                 ; +0x44, 0x97e788\nLDR             X1, [X1]                                               ; +0x48, 0x97e78c\nLDR             X1, [X1,#8]                                            ; +0x4c, 0x97e790\nBLR             X1                                                     ; +0x50, 0x97e794\nBL              _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x54, 0x97e798\nMOV             X1, X0; SongInfoObject *                               ; +0x58, 0x97e79c\nMOV             X0, X19; this                                          ; +0x5c, 0x97e7a0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0x97e7a4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0x97e7a8\nB               _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x68, 0x97e7ac", "xrefs": ["`non-virtual thunk to'CustomSongLayer::dropDownLayerWillClose @ 0x97e7b4", "<???> @ 0xabe08", "<???> @ 0x146f7a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}