//
// GJEffectManager::addMoveCalculation from 0x5c5e24 to 0x5c5e9a (118 bytes)
//
// 1 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x5ce206
//
// 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:53 +0000
//
void __fastcall GJEffectManager::addMoveCalculation(int a1, int a2, const cocos2d::CCPoint *a3, int a4)
{
_DWORD *v6; // r4
int v7; // [sp+4h] [bp-14h] BYREF
_BYTE v8[8]; // [sp+8h] [bp-10h] BYREF
int v9; // [sp+10h] [bp-8h]
v7 = a2;
*(_BYTE *)(a2 + 205) = 1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, a3);
v9 = a4;
v6 = *(_DWORD **)(a1 + 896);
if ( (unsigned int)v6 >= *(_DWORD *)(a1 + 900) )
{
std::vector::__emplace_back_slow_path((void **)(a1 + 892), &v7);
}
else
{
if ( v6 )
{
*v6 = v7;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 1), (const cocos2d::CCPoint *)v8);
v6[3] = v9;
}
*(_DWORD *)(a1 + 896) += 16;
}
}