//
// GJKeybindManager::actionsForKey from 0x714780 to 0x71482a (170 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:46 +0000
//
_DWORD *__fastcall GJKeybindManager::actionsForKey(
_DWORD *a1,
int a2,
unsigned __int16 a3,
int a4,
unsigned __int8 a5,
unsigned __int8 a6)
{
_DWORD *v8; // r0
int v9; // r1
_DWORD *v10; // r7
_DWORD *v11; // r6
int v12; // r8
_DWORD *v13; // r3
int v15; // [sp+4h] [bp-10h] BYREF
unsigned int v16; // [sp+8h] [bp-Ch] BYREF
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v15 = GJKeybindManager::encodeChord(a3, a4, a5, a6);
v8 = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find(
(_DWORD *)(a2 + 52),
(unsigned int *)&v15);
if ( v8 )
{
v10 = (_DWORD *)v8[3];
v11 = v8 + 4;
v12 = 0;
while ( 1 )
{
if ( v10 == v11 )
return a1;
v16 = v10[4];
if ( GJKeybindManager::isExclusive(v16, v9) )
{
if ( v12 )
goto LABEL_12;
v12 = 1;
}
v13 = (_DWORD *)a1[1];
if ( v13 == (_DWORD *)a1[2] )
{
std::vector::__push_back_slow_path((int)a1, &v16);
}
else
{
if ( v13 )
*v13 = v16;
a1[1] += 4;
}
LABEL_12:
v10 = std::__tree_next *>(v10);
}
}
return a1;
}