//
// GJEffectManager::saveCompletedMove from 0x1002d2580 to 0x1002d260c (140 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::moveObjectsSilent @ 0x1001157a5
//
// This function is hookable on this platform (idp: pc, 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:28:13 +0000
//
__int64 __fastcall GJEffectManager::saveCompletedMove(__int64 a1, int a2, double a3, double a4)
{
__int64 v4; // rax
__int64 result; // rax
int v6; // [rsp+14h] [rbp-2Ch] BYREF
int *v7; // [rsp+18h] [rbp-28h] BYREF
_BYTE v8[25]; // [rsp+27h] [rbp-19h] BYREF
v6 = a2;
v7 = &v6;
v4 = sub_1002DD020(a1 + 1256, &v6, &unk_100A07A2E, &v7, v8);
*(double *)(v4 + 24) = a3 + *(double *)(v4 + 24);
v7 = &v6;
result = sub_1002DD020(a1 + 1256, &v6, &unk_100A07A2E, &v7, v8);
*(double *)(result + 32) = a4 + *(double *)(result + 32);
return result;
}