//
// KeybindingsLayer::onAddBinding from 0x1006e3a30 to 0x1006e3a75 (69 bytes)
//
// 1 xrefs:
// > KeybindingsLayer::buildContentForTab @ 0x1006e2b48
//
// This function is hookable on this platform (idp: pc, 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 12:35:46 +0000
//
__int64 __fastcall KeybindingsLayer::onAddBinding(_QWORD *a1, __int64 a2)
{
unsigned int v3; // r14d
__int64 v4; // rdi
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 *, _QWORD, _QWORD))(*a1 + 1536LL))(a1, v3, 0);
}