//
// GJEffectManager::getLoadedMoveOffset from 0x5c9874 to 0x5c990c (152 bytes)
//
// 2 xrefs:
// > PlayLayer::processLoadedMoveActions @ 0x402f0c
// > LevelEditorLayer::processLoadedMoveActions @ 0x46a774
//
// 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:53:55 +0000
//
double *__fastcall GJEffectManager::getLoadedMoveOffset(int a1, _DWORD *a2)
{
double *result; // r0
int v5; // r8
int v6; // r4
double v7; // d9
double v8; // d8
double *v9; // r0
unsigned int v10; // r3
unsigned int v11; // [sp+0h] [bp+0h] BYREF
result = (double *)std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::operator=(
a2,
a1 + 732);
v5 = *(_DWORD *)(a1 + 724);
v6 = *(_DWORD *)(a1 + 720);
while ( v6 != v5 )
{
v7 = *(double *)(v6 + 48);
v8 = *(double *)(v6 + 56);
if ( *(_BYTE *)(v6 + 119) )
v7 = *(double *)(v6 + 96);
if ( *(_BYTE *)(v6 + 120) )
v8 = *(double *)(v6 + 104);
v11 = *(_DWORD *)(v6 + 40);
v9 = (double *)std::unordered_map>::operator[]((int)a2, &v11);
*v9 = *v9 + v7;
v10 = *(_DWORD *)(v6 + 40);
v6 += 488;
v11 = v10;
result = (double *)std::unordered_map>::operator[]((int)a2, &v11);
result[1] = result[1] + v8;
}
return result;
}