//
// GJKeybindManager::unbindChord from 0x10018c5fc to 0x10018c68c (144 bytes)
//
// 4 xrefs:
// > GlobalKeybindSource::unbindChord @ 0x100026064
// > GJKeybindManager::applyMovementOverride @ 0x10018c0c0
// > GJKeybindManager::applyMovementOverride @ 0x10018c200
// > GJKeybindManager::clearMovementOverride @ 0x10018c448
//
// 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:59:53 +0000
//
__int64 __fastcall GJKeybindManager::unbindChord(__int64 a1, int a2, int a3)
{
__int64 *v4; // x0
__int64 *v5; // x20
__int64 result; // x0
__int64 v7; // x20
int v8; // [xsp+8h] [xbp-18h] BYREF
int v9; // [xsp+Ch] [xbp-14h] BYREF
v8 = a3;
v9 = a2;
v4 = sub_100019268((_QWORD *)(a1 + 56), &v9);
if ( v4 )
{
v5 = v4;
sub_10005484C(v4 + 3, &v8);
if ( !v5[5] )
sub_10018E920(a1 + 56, v5);
}
result = (__int64)sub_100019268((_QWORD *)(a1 + 96), &v8);
if ( result )
{
v7 = result;
result = sub_10005484C((_QWORD *)(result + 24), &v9);
if ( !*(_QWORD *)(v7 + 40) )
return sub_10018E920(a1 + 96, v7);
}
return result;
}