//
// GJEffectManager::createMoveCommand from 0x1000105b4 to 0x100010700 (332 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee99c
//
// 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 GJEffectManager::createMoveCommand(
GJEffectManager *a1,
cocos2d::CCPoint a2,
int a3,
float a4,
int a5,
float a6,
bool a7,
bool a8,
bool a9,
bool a10,
float a11,
float a12,
int a13,
int a14)
{
float y; // s10
float x; // s11
std::__vector_base::pointer end; // x27
GroupCommandObject2 *v25; // x0
GroupCommandObject2 *v26; // x26
double v27; // d0
double v28; // d1
double v29; // d4
double v30; // d5
_BYTE v31[8]; // [xsp+8h] [xbp-78h] BYREF
int v32; // [xsp+94h] [xbp+14h]
cocos2d::CCPoint v33; // 0:kr00_8.8
y = a2.y;
x = a2.x;
if ( **(float **)&a3 != *(float *)&dword_10086A380
|| *(float *)(*(_QWORD *)&a3 + 4LL) != *(float *)&dword_10086A384
|| a8
|| a9
|| a10 )
{
if ( a5 < 1 )
return;
}
else if ( a5 < 1 || (a13 & 1) == 0 )
{
return;
}
end = a1->m_unkVector560.__end_;
if ( end >= a1->m_unkVector560.__end_cap_.__value_ )
{
v25 = (GroupCommandObject2 *)sub_1000193AC(&a1->m_unkVector560);
}
else
{
j_GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560.__end_);
v25 = end + 1;
a1->m_unkVector560.__end_ = end + 1;
}
a1->m_unkVector560.__end_ = v25;
v26 = v25 - 1;
v25[-1].m_targetGroupID = a5;
v25[-1].m_triggerUniqueID = a14;
v25[-1].m_controlID = v32;
sub_1000229B8(v31);
v27 = x;
v28 = y;
v33.x = *(float *)&v27;
v33.y = *(float *)&v28;
GroupCommandObject2::runMoveCommand(v26, v33, a4, (int)v31, a6, a7, a8, a9, a10, v29, v30);
}