//
// GroupCommandObject2::runMoveCommand from 0x10000acfc to 0x10000ae4c (336 bytes)
//
// 1 xrefs:
// > GJEffectManager::createMoveCommand @ 0x1000106d4
//
// 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 __fastcall 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)
{
_BOOL4 v11; // w6
_BOOL4 v12; // w21
_BOOL4 v13; // w22
_BOOL4 v14; // w23
_BOOL4 v15; // w24
double v16; // d8
EasingType v17; // w25
float *v19; // x20
float64x2_t v21; // q1
int8x16_t v22; // q0
int8x16_t v23; // q2
int v29; // w9
char v30; // w8
float v31; // s0
int v32; // w10
float v33; // s0
v12 = v11;
v13 = a9;
v14 = a8;
v15 = a7;
v16 = *(double *)&a2.y;
v17 = a6;
v19 = *(float **)&a4;
a1->m_commandType = 0;
sub_1000229D0(&a1->m_moveOffset, *(__n128 *)&a2.x, *(__n128 *)&a2.y, a3, a5, a10, a11);
a1->m_easingType = v17;
a1->m_easingRate = v16;
*(cocos2d::CCPoint *)&a1->m_duration = a2;
a1->m_lockToPlayerX = v15;
a1->m_lockToPlayerY = v14;
a1->m_lockToCameraX = v13;
a1->m_lockToCameraY = v12;
v21.f64[0] = a3;
v21.f64[1] = a5;
v22 = (int8x16_t)vceqzq_f64(v21);
v23 = (int8x16_t)v21;
__asm { FMOV V1.2D, #1.0 }
*(int8x16_t *)&a1->m_moveModX = vbslq_s8(v22, _Q1, v23);
v29 = v15 || v13;
a1->m_lockedInX = v15 || v13;
v30 = v14 || v12;
a1->m_lockedInY = v14 || v12;
v31 = *v19;
if ( *v19 == *(float *)&dword_10086A320
&& (v19[1] != *(float *)&dword_10086A324 ? (v32 = 1) : (v32 = v14 || v12), ((v29 | v32) & 1) == 0) )
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
}
else
{
if ( v31 == 0.0 )
LOBYTE(v29) = 1;
if ( (v29 & 1) == 0 )
{
a1->m_actionType1 = 1;
a1->m_actionValue1 = v31;
}
v33 = v19[1];
if ( v33 == 0.0 )
v30 = 1;
if ( (v30 & 1) == 0 )
{
if ( a1->m_actionType1 )
{
a1->m_actionType2 = 2;
a1->m_actionValue2 = v33;
}
else
{
a1->m_actionType1 = 2;
a1->m_actionValue1 = v33;
}
}
}
}