//
// GJEffectManager::getLoadedMoveOffset from 0xa0620c to 0xa062fc (240 bytes)
//
// 3 xrefs:
// > PlayLayer::processLoadedMoveActions @ 0x6f4f34
// > LevelEditorLayer::processLoadedMoveActions @ 0x79a424
// > ??> @ 0xc2470
//
// 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:21 +0000
//
__int64 __fastcall GJEffectManager::getLoadedMoveOffset(__int64 a1, unsigned __int64 a2)
{
__int64 v4; // x19
__int64 i; // x21
double v6; // d9
double v7; // d8
double *v8; // x0
__int64 v9; // x0
int v11; // [xsp+54h] [xbp+54h] BYREF
std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::operator=(
a2,
a1 + 1256);
v4 = *(_QWORD *)(a1 + 1232);
for ( i = *(_QWORD *)(a1 + 1240); i != v4; *(double *)(v9 + 8) = *(double *)(v9 + 8) + v7 )
{
v6 = *(double *)(v4 + 48);
v7 = *(double *)(v4 + 56);
if ( *(_BYTE *)(v4 + 119) )
v6 = *(double *)(v4 + 96);
if ( *(_BYTE *)(v4 + 120) )
v7 = *(double *)(v4 + 104);
v11 = *(_DWORD *)(v4 + 40);
v8 = (double *)std::unordered_map>::operator[](a2, &v11);
*v8 = *v8 + v6;
v11 = *(_DWORD *)(v4 + 40);
v4 += 520;
v9 = std::unordered_map>::operator[](a2, &v11);
}
return _stack_chk_guard;
}