//
// GJKeybindManager::dataLoaded from 0x716c20 to 0x716cb2 (146 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x41c5ae
//
// 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:48 +0000
//
int __fastcall GJKeybindManager::dataLoaded(int this, DS_Dictionary *a2)
{
GJKeybindManager *v2; // r6
int v4; // r8
int v5; // r3
GJKeybindManager *v6; // r0
int v7; // [sp+Ch] [bp-14h] BYREF
unsigned __int8 v8[4]; // [sp+10h] [bp-10h] BYREF
int v9; // [sp+14h] [bp-Ch]
v2 = (GJKeybindManager *)this;
if ( a2 )
{
this = DS_Dictionary::getIntegerForKey(a2, "GJKB_Version");
v4 = this;
if ( this > 0 )
{
DS_Dictionary::getStringForKey((DS_Dictionary *)v8, (const char *)a2);
if ( (v8[0] & 1) != 0 )
v5 = v9;
else
v5 = (int)v8[0] >> 1;
if ( v5 )
{
v7 = 0;
GJKeybindManager::parseBindsBlob(v2, v8, 1, &v7, nullptr);
v6 = v2;
if ( v7 )
{
GJKeybindManager::applyNewDefaults((int)v2, v4);
return std::string::~string((int)v8);
}
}
else
{
v6 = v2;
}
GJKeybindManager::loadDefaults(v6);
return std::string::~string((int)v8);
}
}
return this;
}