//
// GJKeybindManager::chordsForAction from 0x714830 to 0x7148ac (124 bytes)
//
// 4 xrefs:
// > GlobalKeybindSource::chordsForAction @ 0x588eee
// > GJKeybindManager::globalChordsForAction @ 0x7149b6
// > GJKeybindManager::clearMovementOverride @ 0x7157bc
// > GJKeybindManager::applyMovementOverride @ 0x716266
//
// 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
//
GJKeybindManager *__fastcall GJKeybindManager::chordsForAction(GJKeybindManager *this, int a2, unsigned int a3, int a4)
{
_DWORD *v5; // r0
_DWORD *v6; // r7
_DWORD *v7; // r6
_DWORD *v8; // r3
_DWORD *v9; // r1
int v10; // r2
unsigned int v12; // [sp+4h] [bp-Ch] BYREF
_DWORD v13[2]; // [sp+8h] [bp-8h] BYREF
v13[0] = a3;
v13[1] = a4;
v12 = a3;
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v5 = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find(
(_DWORD *)(a2 + 72),
&v12);
if ( v5 )
{
v6 = (_DWORD *)v5[3];
v7 = v5 + 4;
while ( v6 != v7 )
{
v8 = *((_DWORD **)this + 1);
v9 = *((_DWORD **)this + 2);
v10 = v6[4];
v13[0] = v10;
if ( v8 == v9 )
{
std::vector::__push_back_slow_path((int)this, v13);
}
else
{
if ( v8 )
*v8 = v10;
*((_DWORD *)this + 1) += 4;
}
v6 = std::__tree_next *>(v6);
}
}
return this;
}