//
// GJKeybindManager::encodeDataTo from 0x10018d9bc to 0x10018da2c (112 bytes)
//
// 1 xrefs:
// > GameManager::encodeDataTo @ 0x1003ba79c
//
// This function is hookable on this platform (idp: arm, 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 10:59:53 +0000
//
void __fastcall GJKeybindManager::encodeDataTo(__int64 a1, __int64 a2)
{
std::string __p; // [xsp+8h] [xbp-28h] BYREF
if ( a2 )
{
DS_Dictionary::setIntegerForKey_1(a2, "GJKB_Version", 2);
GJKeybindManager::buildBindsBlob(a1, &__p);
sub_1001EB144(a2, "GJKB_Binds", &__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}
}