// // GJEffectManager::getPersistentState from 0x5cfbcc to 0x5cfc3e (114 bytes) // // 1 xrefs: // > PlayLayer::writePersistentSave @ 0x40783a // // 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:03 +0000 // _DWORD *__fastcall GJEffectManager::getPersistentState(int a1, _DWORD *a2, _DWORD *a3, int a4) { int v8; // r3 int v9; // r2 int v10; // r1 _DWORD *v11; // r5 _DWORD *result; // r0 _DWORD *i; // r7 _DWORD *v14; // r6 int *v15; // r0 if ( *(_DWORD *)(a4 + 12) ) { sub_5C4430(*(char ***)(a4 + 8)); v8 = *(_DWORD *)(a4 + 4); v9 = 0; *(_DWORD *)(a4 + 8) = 0; while ( v9 != v8 ) *(_DWORD *)(*(_DWORD *)a4 + 4 * v9++) = 0; *(_DWORD *)(a4 + 12) = 0; } std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::operator=( a2, a1 + 480); v10 = a1 + 500; v11 = (_DWORD *)(a1 + 564); result = std::__hash_table,std::equal_to,std::allocator>::operator=(a3, v10); for ( i = (_DWORD *)*(v11 - 14); i; i = (_DWORD *)*i ) { result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v11, i + 2); if ( result ) { v14 = result + 2; v15 = std::unordered_map::operator[](a4, result + 2); result = (_DWORD *)TimerItem::operator=((int)v15, (int)(v14 + 2)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source