//
// LocalLevelManager::encodeDataTo from 0x10025f00c to 0x10025f07c (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100910e78
//
// 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 11:01:37 +0000
//
__int64 __fastcall LocalLevelManager::encodeDataTo(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 v5; // x0
v4 = GameManager::sharedState(a1);
if ( *(_QWORD *)(v4 + 544) )
{
v5 = GameManager::sharedState(v4);
PlayLayer::writePersistentSave(*(_QWORD *)(v5 + 544));
}
DS_Dictionary::setArrayForKey(a2, "LLM_01", *(_QWORD *)(a1 + 360));
DS_Dictionary::setIntegerForKey_1(a2, (__int64)"LLM_02", 51);
return DS_Dictionary::setArrayForKey(a2, "LLM_03", *(_QWORD *)(a1 + 368));
}