//
// GJKeybindManager::encodeDataTo from 0xc0e204 to 0xc0e2c4 (192 bytes)
//
// 2 xrefs:
// > GameManager::encodeDataTo @ 0x72a3a0
// > ??> @ 0x96c10
//
// 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 13:03:56 +0000
//
__int64 __fastcall GJKeybindManager::encodeDataTo(GJKeybindManager *this, DS_Dictionary *a2)
{
__int64 v5[3]; // [xsp+40h] [xbp+40h] BYREF
if ( a2 )
{
DS_Dictionary::setIntegerForKey(a2, "GJKB_Version", 2);
GJKeybindManager::buildBindsBlob(this, v5);
DS_Dictionary::setStringForKey(a2, "GJKB_Binds", v5);
if ( (v5[0] & 1) != 0 )
operator delete((void *)v5[2]);
}
return _stack_chk_guard;
}