//
// GJEffectManager::loadPersistentState from 0x5cfc3e to 0x5cfc80 (66 bytes)
//
// 1 xrefs:
// > PlayLayer::loadPersistentCheckpoint @ 0x402be4
//
// 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:54:04 +0000
//
_DWORD *__fastcall GJEffectManager::loadPersistentState(_DWORD *a1, int a2, int a3, int a4)
{
unsigned int v7; // r1
_DWORD *result; // r0
_DWORD *v9; // r5
int v10; // r4
int *v11; // r0
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::operator=(
a1 + 120,
a2);
std::__hash_table,std::equal_to,std::allocator>::operator=(a1 + 125, a3);
result = GJEffectManager::transferPersistentItems(a1, v7);
v9 = *(_DWORD **)(a4 + 8);
v10 = (int)(a1 + 141);
while ( v9 )
{
v11 = std::unordered_map::operator[](v10, v9 + 2);
result = (_DWORD *)TimerItem::operator=((int)v11, (int)(v9 + 4));
v9 = (_DWORD *)*v9;
}
return result;
}