{"type": "func", "start": 4296816376, "end": 4296816472, "name": "CustomSongLayer::dropDownLayerWillClose", "pseudocode": "// \n// CustomSongLayer::dropDownLayerWillClose from 0x1001c36f8 to 0x1001c3758 (96 bytes)\n// \n// 2 xrefs:\n// > sub_1001C3758 @ 0x1001c375c\n// > <???> @ 0x1008e9fa0\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 11:00:16 +0000\n// \n\n__int64 __fastcall CustomSongLayer::dropDownLayerWillClose(__int64 result, __int64 a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x20\n  __int64 v4; // x0\n  __int64 v5; // x0\n\n  if ( *(_BYTE *)(a2 + 632) == 1 )\n  {\n    v2 = result;\n    (***(void (__fastcall ****)(_QWORD, _QWORD))(result + 680))(*(_QWORD *)(result + 680), *(unsigned int *)(a2 + 628));\n    v3 = *(_QWORD *)(v2 + 696);\n    v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 680) + 8LL))(*(_QWORD *)(v2 + 680));\n    v5 = SongInfoObject::create_1(v4);\n    return CustomSongWidget::updateSongObject(v3, v5);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongLayer::dropDownLayerWillClose from 0x1001c36f8 to 0x1001c3758 (96 bytes)\n; \n; 2 xrefs:\n; > sub_1001C3758 @ 0x1001c375c\n; > <???> @ 0x1008e9fa0\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 11:00:16 +0000\n; \nLDRB            W8, [X1,#0x278]                                        ; +0x0, 0x1001c36f8\nCMP             W8, #1                                                 ; +0x4, 0x1001c36fc\nB.NE            locret_1001C3754                                       ; +0x8, 0x1001c3700\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x1001c3704\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x1001c3708\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x1001c370c\nMOV             X19, X0                                                ; +0x18, 0x1001c3710\nLDR             X0, [X0,#0x2A8]                                        ; +0x1c, 0x1001c3714\nLDR             W1, [X1,#0x274]                                        ; +0x20, 0x1001c3718\nLDR             X8, [X0]                                               ; +0x24, 0x1001c371c\nLDR             X8, [X8]                                               ; +0x28, 0x1001c3720\nBLR             X8                                                     ; +0x2c, 0x1001c3724\nLDR             X20, [X19,#0x2B8]                                      ; +0x30, 0x1001c3728\nLDR             X0, [X19,#0x2A8]                                       ; +0x34, 0x1001c372c\nLDR             X8, [X0]                                               ; +0x38, 0x1001c3730\nLDR             X8, [X8,#8]                                            ; +0x3c, 0x1001c3734\nBLR             X8                                                     ; +0x40, 0x1001c3738\nBL              SongInfoObject__create_1                               ; +0x44, 0x1001c373c\nMOV             X1, X0                                                 ; +0x48, 0x1001c3740\nMOV             X0, X20                                                ; +0x4c, 0x1001c3744\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x50, 0x1001c3748\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x54, 0x1001c374c\nB               CustomSongWidget__updateSongObject                     ; +0x58, 0x1001c3750\nRET                                                                    ; +0x5c, 0x1001c3754", "xrefs": ["sub_1001C3758 @ 0x1001c375c", "<???> @ 0x1008e9fa0"], "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"}