//
// LocalLevelManager::encodeDataTo from 0x54242c to 0x542474 (72 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:20 +0000
//
int __fastcall LocalLevelManager::encodeDataTo(cocos2d::CCArray **this, DS_Dictionary *a2)
{
GameManager *v4; // r0
int v5; // r0
v4 = (GameManager *)GameManager::sharedState((GameManager *)this);
if ( *((_DWORD *)v4 + 101) )
{
v5 = GameManager::sharedState(v4);
PlayLayer::writePersistentSave(*(GameManager **)(v5 + 404));
}
DS_Dictionary::setArrayForKey(a2, "LLM_01", *(this + 71));
DS_Dictionary::setIntegerForKey(a2, "LLM_02", 51);
return DS_Dictionary::setArrayForKey(a2, "LLM_03", *(this + 72));
}