//
// SetupMGTrigger::updateMoveCommandPosY from 0x10050a340 to 0x10050a427 (231 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::sliderYChanged @ 0x100509b4a
// > SetupMGTrigger::textChanged @ 0x10050a4dc
//
// 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 __fastcall SetupMGTrigger::updateMoveCommandPosY(SetupMGTrigger *a1)
{
EffectGameObject *m_gameObject; // rsi
cocos2d::CCPoint *p_m_moveOffset; // r14
unsigned int v3; // r14d
double *v4; // r13
double v5; // [rsp+8h] [rbp-38h] BYREF
_QWORD v6[6]; // [rsp+10h] [rbp-30h] BYREF
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
sub_10028CC60(v6, (double *)&m_gameObject->m_moveOffset);
p_m_moveOffset = &a1->m_gameObject->m_moveOffset;
sub_10028CBE0((float *)&v5, *(float *)v6, (float)a1->m_offsetY);
sub_10028CC90(p_m_moveOffset, &v5);
}
else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )
{
v3 = 0;
do
{
v4 = (double *)(sub_1007200C0(a1->m_gameObjects, v3) + 1488);
sub_10028CC60(v6, v4);
sub_10028CBE0((float *)&v5, *(float *)v6, (float)a1->m_offsetY);
sub_10028CC90(v4, &v5);
++v3;
}
while ( v3 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
}