//
// KeybindingsLayer::onAddBinding from 0x10002505c to 0x1000250b8 (92 bytes)
//
// 1 xrefs:
// > KeybindingsLayer::buildContentForTab @ 0x100024780
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:24 +0000
//
__int64 __fastcall KeybindingsLayer::onAddBinding(_QWORD *a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = a1[139];
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1536LL))(a1, v3, 0);
}