//
// GJKeybindManager::globalChordsForAction from 0x10018c68c to 0x10018c6e8 (92 bytes)
//
// 1 xrefs:
// > LevelControlConfig::bindGlobalBinds @ 0x1004f1634
//
// 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
//
void __usercall GJKeybindManager::globalChordsForAction(__int64 a1@, int a2@, _QWORD *a3@)
{
__int64 v3; // x11
__int64 v4; // x9
if ( *(_BYTE *)(a1 + 184) != 1 )
goto LABEL_9;
v3 = *(_QWORD *)(a1 + 144);
if ( !v3 )
goto LABEL_9;
v4 = a1 + 144;
do
{
if ( *(_DWORD *)(v3 + 32) >= a2 )
v4 = v3;
v3 = *(_QWORD *)(v3 + 8LL * (*(_DWORD *)(v3 + 32) < a2));
}
while ( v3 );
if ( v4 != a1 + 144 && *(_DWORD *)(v4 + 32) <= a2 )
sub_10018E7F8(a3, *(_QWORD *)(v4 + 40), v4 + 48);
else
LABEL_9:
GJKeybindManager::chordsForAction(a1, a2, a3);
}