//
// GJKeybindManager::encodeDataTo from 0x1006190d0 to 0x100619137 (103 bytes)
//
// 1 xrefs:
// > GameManager::encodeDataTo @ 0x100375754
//
// 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::encodeDataTo(__int64 a1, __int64 a2)
{
std::string v2[2]; // [rsp+0h] [rbp-30h] BYREF
if ( a2 )
{
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"GJKB_Version", 2);
GJKeybindManager::buildBindsBlob(v2, a1);
DS_Dictionary::setStringForKey_1(a2, (__int64)"GJKB_Binds", (__int64)v2);
if ( (*(_BYTE *)&v2[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(v2[0].__r_.__value_.__l.__data_);
}
}