//
// GJKeybindManager::dataLoaded from 0x100619160 to 0x10061921f (191 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x100373519
//
// This function is hookable on this platform (idp: pc, 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 12:34:38 +0000
//
void __fastcall GJKeybindManager::dataLoaded(_QWORD *a1, __int64 a2, double a3)
{
int IntegerForKey; // eax
int v4; // r14d
std::string v5; // [rsp+8h] [rbp-38h] BYREF
_DWORD v6[7]; // [rsp+24h] [rbp-1Ch] BYREF
if ( a2 )
{
IntegerForKey = DS_Dictionary::getIntegerForKey(a2, "GJKB_Version");
if ( IntegerForKey > 0 )
{
v4 = IntegerForKey;
DS_Dictionary::getStringForKey(&v5, a2, "GJKB_Binds", a3);
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
{
if ( !v5.__r_.__value_.__l.__size_ )
goto LABEL_8;
}
else if ( !(*(_BYTE *)&v5.__r_.__value_.__l.0 >> 1) )
{
goto LABEL_8;
}
v6[0] = 0;
GJKeybindManager::parseBindsBlob(a1, &v5, 1, v6, nullptr);
if ( v6[0] )
{
GJKeybindManager::applyNewDefaults(a1, v4);
goto LABEL_9;
}
LABEL_8:
GJKeybindManager::loadDefaults((__int64)a1);
LABEL_9:
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v5.__r_.__value_.__l.__data_);
}
}
}