//
// GameStatsManager::encodeDataTo from 0x100053a00 to 0x100053cde (734 bytes)
//
// 1 xrefs:
// > GameManager::encodeDataTo @ 0x100375714
//
// 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:19:35 +0000
//
__int64 __fastcall GameStatsManager::encodeDataTo(__int64 a1, __int64 a2)
{
GameStatsManager::preSaveGameStats();
DS_Dictionary::setDictForKey(a2, "GS_value", *(_QWORD *)(a1 + 520));
DS_Dictionary::setDictForKey(a2, "GS_completed", *(_QWORD *)(a1 + 608));
DS_Dictionary::setDictForKey(a2, "GS_3", *(_QWORD *)(a1 + 616));
DS_Dictionary::setDictForKey(a2, "GS_4", *(_QWORD *)(a1 + 624));
DS_Dictionary::setDictForKey(a2, "GS_5", *(_QWORD *)(a1 + 720));
DS_Dictionary::setDictForKey(a2, "GS_6", *(_QWORD *)(a1 + 632));
DS_Dictionary::setDictForKey(a2, "GS_7", *(_QWORD *)(a1 + 640));
DS_Dictionary::setDictForKey(a2, "GS_23", *(_QWORD *)(a1 + 656));
DS_Dictionary::setDictForKey(a2, "GS_8", *(_QWORD *)(a1 + 704));
DS_Dictionary::setDictForKey(a2, "GS_9", *(_QWORD *)(a1 + 672));
DS_Dictionary::setDictForKey(a2, "GS_10", *(_QWORD *)(a1 + 648));
DS_Dictionary::setDictForKey(a2, "GS_16", *(_QWORD *)(a1 + 664));
DS_Dictionary::setDictForKey(a2, "GS_17", *(_QWORD *)(a1 + 680));
DS_Dictionary::setDictForKey(a2, "GS_18", *(_QWORD *)(a1 + 688));
DS_Dictionary::setDictForKey(a2, "GS_24", *(_QWORD *)(a1 + 696));
DS_Dictionary::setDictForKey(a2, "GS_11", *(_QWORD *)(a1 + 480));
DS_Dictionary::setDictForKey(a2, "GS_22", *(_QWORD *)(a1 + 488));
DS_Dictionary::setDictForKey(a2, "GS_25", *(_QWORD *)(a1 + 736));
DS_Dictionary::setDictForKey(a2, "GS_31", *(_QWORD *)(a1 + 744));
DS_Dictionary::setDictForKey(a2, "GS_33", *(_QWORD *)(a1 + 752));
DS_Dictionary::setDictForKey(a2, "GS_12", *(_QWORD *)(a1 + 496));
DS_Dictionary::setDictForKey(a2, "GS_15", *(_QWORD *)(a1 + 504));
DS_Dictionary::setDictForKey(a2, "GS_14", *(_QWORD *)(a1 + 712));
DS_Dictionary::setDictForKey(a2, "GS_27", *(_QWORD *)(a1 + 728));
DS_Dictionary::setDictForKey(a2, "GS_19", *(_QWORD *)(a1 + 760));
DS_Dictionary::setDictForKey(a2, "GS_30", *(_QWORD *)(a1 + 800));
DS_Dictionary::setIntegerForKey_1(a2, "GS_20", (unsigned int)(*(_DWORD *)(a1 + 768) - *(_DWORD *)(a1 + 772)));
DS_Dictionary::setDictForKey(a2, "GS_21", *(_QWORD *)(a1 + 784));
DS_Dictionary::setDictForKey(a2, "GS_28", *(_QWORD *)(a1 + 792));
DS_Dictionary::setDictForKey(a2, "GS_32", *(_QWORD *)(a1 + 816));
DS_Dictionary::setIntegerForKey_1(a2, "GS_26", *(unsigned int *)(a1 + 916));
return DS_Dictionary::setBoolForKey_1(a2, "GS_29", *(unsigned __int8 *)(a1 + 912));
}