//
// GroupCommandObject2::runMoveCommand from 0xa6b404 to 0xa6b568 (356 bytes)
//
// 2 xrefs:
// > GJEffectManager::createMoveCommand @ 0x8b2674
// > ??> @ 0x4d640
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void GroupCommandObject2::runMoveCommand(
GroupCommandObject2 *a1,
cocos2d::CCPoint a2,
double a3,
int a4,
double a5,
bool a6,
bool a7,
bool a8,
bool a9,
double a10,
double a11)
{
unsigned __int8 v11; // w6
_BOOL4 v13; // w24
_BOOL4 v14; // w23
_BOOL4 v15; // w21
int v16; // w20
float *v17; // x22
double v18; // d2
double v19; // d3
int v20; // w21
float v21; // s0
int v22; // w4
float v23; // s1
float v24; // s3
double v25; // d3
EasingType v26; // [xsp+48h] [xbp+48h]
double v29; // [xsp+70h] [xbp+70h]
a1->m_commandType = 0;
v13 = a7;
v26 = a6;
v14 = a8;
v15 = a9;
v16 = v11;
v29 = *(double *)&a2.y;
v17 = *(float **)&a4;
cocos2d::CCPoint::operator=(&a1->m_moveOffset, a2.x, a2.y);
v18 = a3;
a1->m_easingType = v26;
a1->m_lockToPlayerX = v13;
a1->m_lockToPlayerY = v14;
a1->m_lockToCameraX = v15;
a1->m_lockToCameraY = v16;
*(cocos2d::CCPoint *)&a1->m_duration = a2;
a1->m_easingRate = v29;
v19 = a5;
if ( a3 == 0.0 )
v18 = 1.0;
a1->m_moveModX = v18;
if ( a5 == 0.0 )
v19 = 1.0;
v20 = v13 || v15;
v21 = *v17;
v22 = v14 | v16;
v23 = *(float *)&dword_12444D8;
a1->m_lockedInX = v20;
a1->m_lockedInY = v14 | v16;
a1->m_moveModY = v19;
v24 = v17[1];
if ( v21 != v23 || v22 | (v24 != *(float *)&dword_12444DC) )
{
if ( !v20 && v21 != 0.0 )
{
a1->m_actionType1 = 1;
a1->m_actionValue1 = v21;
}
}
else if ( !v20 )
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
return;
}
if ( v24 != 0.0 && !v22 )
{
v25 = v24;
if ( a1->m_actionType1 )
{
a1->m_actionType2 = 2;
a1->m_actionValue2 = v25;
}
else
{
a1->m_actionType1 = 2;
a1->m_actionValue1 = v25;
}
}
}