//
// GJFollowCommandLayer::sliderYModChanged from 0x1002d6620 to 0x1002d66c8 (168 bytes)
//
// 1 xrefs:
// > GJFollowCommandLayer::init @ 0x1002d5928
//
// 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 GJFollowCommandLayer::sliderYModChanged(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)
{
float Value; // xmm0_4
EffectGameObject *m_gameObject; // rax
unsigned int v4; // r14d
Value = SliderThumb::getValue((SliderThumb *)a2);
a1->m_yMod = (float)(Value + Value) + -1.0;
GJFollowCommandLayer::updateYModLabel(a1);
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_followYMod = a1->m_yMod;
}
else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )
{
v4 = 0;
do
*(float *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1572) = a1->m_yMod;
while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
}