//
// GJEffectManager::addMoveCalculation from 0x49bb0c to 0x49bb82 (118 bytes)
//
// 1 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x4a0c5c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJEffectManager::addMoveCalculation(GJEffectManager *a1, CCMoveCNode *a2, cocos2d::CCPoint a3, GameObject *a4)
{
float y; // r4
DynamicMoveCalculation *m_finish; // r4
CCMoveCNode *v7; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v8; // [sp+8h] [bp-10h] BYREF
float v9; // [sp+10h] [bp-8h]
y = a3.y;
v7 = a2;
a2->m_unk0d1 = 1;
cocos2d::CCPoint::CCPoint(&v8, (const cocos2d::CCPoint *)LODWORD(a3.x));
v9 = y;
m_finish = a1->m_unkVector708.m_finish;
if ( m_finish == a1->m_unkVector708.m_reserveEnd )
{
std::vector::_M_emplace_back_aux((int)&a1->m_unkVector708, (int)&v7);
}
else
{
if ( m_finish )
{
m_finish->m_moveNode = v7;
cocos2d::CCPoint::CCPoint(&m_finish->m_offset, &v8);
*(float *)&m_finish->m_gameObject = v9;
}
++a1->m_unkVector708.m_finish;
}
}