//
// LevelControlConfig::bindGlobalBinds from 0x79899c to 0x798a32 (150 bytes)
//
// 4 xrefs:
// > LevelBindingsLayer::init @ 0x797908
// > LevelBindingsLayer::onApplyGlobal @ 0x797fee
// > LevelControlConfig::createFromGlobal @ 0x7995ac
// > LevelControlConfig::createFromGlobal @ 0x7995b6
//
// 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:59:47 +0000
//
char **__fastcall LevelControlConfig::bindGlobalBinds(char **this, KeybindSource *a2, bool a3)
{
char *v3; // r4
char **v4; // r7
unsigned int v6; // r8
int v7; // r0
int v8; // r1
GJKeybindManager **v9; // r6
GJKeybindManager *v10; // r9
GJKeybindManager *v11; // t1
char *v12; // r3
char *v13; // [sp+4h] [bp-20h]
char *v14[3]; // [sp+10h] [bp-14h] BYREF
v3 = "";
v4 = this;
do
{
v6 = *((_DWORD *)v3 + 1);
v7 = GJKeybindManager::sharedState((GJKeybindManager *)this);
GJKeybindManager::globalChordsForAction((GJKeybindManager *)v14, v7, v6);
v9 = (GJKeybindManager **)v14[0];
v13 = v14[1];
while ( v9 != (GJKeybindManager **)v13 )
{
v11 = *v9++;
v10 = v11;
if ( (KeybindSource *)GJKeybindManager::isControllerChord(v11, v8) == a2 )
(*((void (__fastcall **)(char **, GJKeybindManager *, unsigned int))*v4 + 4))(v4, v10, v6);
}
this = std::__vector_base::~__vector_base(v14);
v12 = v3 + 8;
v3 += 4;
}
while ( v12 != "20InputCaptureDelegate" );
return this;
}