//
// GJEffectManager::saveCompletedMove from 0xa05c5c to 0xa05cc4 (104 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::moveObjectsSilent @ 0x9a6778
// > ??> @ 0xb24c8
//
// 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
//
double __fastcall GJEffectManager::saveCompletedMove(GJEffectManager *this, int a2, double a3, double a4)
{
char *v4; // x20
double *v5; // x0
__int64 v6; // x0
double result; // d0
int v10; // [xsp+4Ch] [xbp+4Ch] BYREF
v4 = (char *)this + 1256;
v10 = a2;
v5 = (double *)std::unordered_map>::operator[]((unsigned __int64)this + 1256, &v10);
*v5 = *v5 + a3;
v6 = std::unordered_map>::operator[]((unsigned __int64)v4, &v10);
result = *(double *)(v6 + 8) + a4;
*(double *)(v6 + 8) = result;
return result;
}