//
// LocalLevelManager::encodeDataTo from 0x1006cadb0 to 0x1006cae21 (113 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b8f700
//
// 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:35:36 +0000
//
void __fastcall LocalLevelManager::encodeDataTo(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rdx
if ( *(_QWORD *)(GameManager::sharedState() + 544) )
{
v2 = GameManager::sharedState();
PlayLayer::writePersistentSave(*(_QWORD *)(v2 + 544), a2, v3);
}
DS_Dictionary::setArrayForKey(a2, "LLM_01", *(_QWORD *)(a1 + 360));
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"LLM_02", 51);
DS_Dictionary::setArrayForKey(a2, "LLM_03", *(_QWORD *)(a1 + 368));
}