//
// LocalLevelManager::encodeDataTo from 0x91062c to 0x91069c (112 bytes)
//
// 2 xrefs:
// > ??> @ 0x7b5f8
// > ??> @ 0x1467428
//
// 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 12:57:16 +0000
//
__int64 __fastcall LocalLevelManager::encodeDataTo(cocos2d::CCArray **this, DS_Dictionary *a2)
{
GameManager *v4; // x0
__int64 v5; // x0
v4 = *(GameManager **)(GameManager::sharedState((GameManager *)this) + 544);
if ( v4 )
{
v5 = GameManager::sharedState(v4);
PlayLayer::writePersistentSave(*(PlayLayer **)(v5 + 544));
}
DS_Dictionary::setArrayForKey(a2, "LLM_01", *(this + 45));
DS_Dictionary::setIntegerForKey(a2, "LLM_02", 51);
return DS_Dictionary::setArrayForKey(a2, "LLM_03", *(this + 46));
}