// // GJEffectManager::getPersistentState from 0xa134b0 to 0xa135f0 (320 bytes) // // 2 xrefs: // > PlayLayer::writePersistentSave @ 0x703320 // > @ 0x6a3c0 // // 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:59:32 +0000 // __int64 __fastcall GJEffectManager::getPersistentState(__int64 a1, __int64 a2, __int64 a3, unsigned __int64 a4) { _QWORD *v8; // x24 __int64 result; // x0 int *i; // x22 __int64 *v11; // x21 __int64 v12; // x19 __int64 v13; // x3 __int64 v14; // x0 if ( *(_QWORD *)(a4 + 24) ) { sub_9F8374(*(_QWORD **)(a4 + 16)); *(_QWORD *)(a4 + 16) = 0; v13 = *(_QWORD *)(a4 + 8); v14 = 0; if ( v13 ) { do *(_QWORD *)(*(_QWORD *)a4 + 8 * v14++) = 0; while ( v14 != v13 ); } *(_QWORD *)(a4 + 24) = 0; } v8 = (_QWORD *)(a1 + 920); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::operator=( a2, a1 + 752); result = std::__hash_table,std::equal_to,std::allocator>::operator=(a3, a1 + 792); for ( i = *(int **)(a1 + 808); i; i = *(int **)i ) { v11 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( v8, i + 4); result = a4; if ( v11 ) { v12 = std::unordered_map::operator[](a4, (int *)v11 + 4); *(_DWORD *)v12 = *((_DWORD *)v11 + 6); *(_QWORD *)(v12 + 8) = v11[4]; *(_BYTE *)(v12 + 16) = *((_BYTE *)v11 + 40); *(_DWORD *)(v12 + 20) = *((_DWORD *)v11 + 11); *(_BYTE *)(v12 + 24) = *((_BYTE *)v11 + 48); *(_QWORD *)(v12 + 32) = v11[7]; *(_BYTE *)(v12 + 40) = *((_BYTE *)v11 + 64); *(_DWORD *)(v12 + 44) = *((_DWORD *)v11 + 17); *(_DWORD *)(v12 + 48) = *((_DWORD *)v11 + 18); *(_DWORD *)(v12 + 52) = *((_DWORD *)v11 + 19); if ( (__int64 *)(v12 + 56) != v11 + 10 ) std::vector::assign((__int64 *)(v12 + 56), (char *)v11[10], v11[11]); result = *((unsigned __int8 *)v11 + 104); *(_BYTE *)(v12 + 80) = result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source