{"type": "func", "start": 4295122272, "end": 4295122364, "name": "KeybindingsLayer::onClose", "pseudocode": "// \n// KeybindingsLayer::onClose from 0x100025d60 to 0x100025dbc (92 bytes)\n// \n// 2 xrefs:\n// > LevelBindingsLayer::onClose @ 0x1004efc40\n// > <???> @ 0x1008af8a0\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 10:57:25 +0000\n// \n\n__int64 __fastcall KeybindingsLayer::onClose(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x0\n  __int64 result; // x0\n\n  v4 = *(_QWORD *)(a1 + 1112);\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);\n  SetupTriggerPopup::onClose(a1, a2);\n  result = *(_QWORD *)(a1 + 1088);\n  if ( result )\n    return sub_100166FBC(result, 1);\n  return result;\n}", "assembly": "; \n; KeybindingsLayer::onClose from 0x100025d60 to 0x100025dbc (92 bytes)\n; \n; 2 xrefs:\n; > LevelBindingsLayer::onClose @ 0x1004efc40\n; > <???> @ 0x1008af8a0\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 10:57:25 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100025d60\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100025d64\nADD             X29, SP, #0x10                                         ; +0x8, 0x100025d68\nMOV             X20, X1                                                ; +0xc, 0x100025d6c\nMOV             X19, X0                                                ; +0x10, 0x100025d70\nLDR             X0, [X0,#0x458]                                        ; +0x14, 0x100025d74\nCBZ             X0, loc_100025D8C                                      ; +0x18, 0x100025d78\nLDR             X8, [X0]                                               ; +0x1c, 0x100025d7c\nLDR             X8, [X8,#0x488]                                        ; +0x20, 0x100025d80\nMOV             W1, #0                                                 ; +0x24, 0x100025d84\nBLR             X8                                                     ; +0x28, 0x100025d88\nMOV             X0, X19                                                ; +0x2c, 0x100025d8c\nMOV             X1, X20                                                ; +0x30, 0x100025d90\nBL              SetupTriggerPopup__onClose                             ; +0x34, 0x100025d94\nLDR             X0, [X19,#0x440]                                       ; +0x38, 0x100025d98\nCBZ             X0, loc_100025DB0                                      ; +0x3c, 0x100025d9c\nMOV             W1, #1                                                 ; +0x40, 0x100025da0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x100025da4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x100025da8\nB               sub_100166FBC                                          ; +0x4c, 0x100025dac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x100025db0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x100025db4\nRET                                                                    ; +0x58, 0x100025db8", "xrefs": ["LevelBindingsLayer::onClose @ 0x1004efc40", "<???> @ 0x1008af8a0"], "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"}