//
// GJFollowCommandLayer::updateYMod from 0x140272980 to 0x1402729f9 (121 bytes)
//
// 3 xrefs:
// > GJFollowCommandLayer::sliderYModChanged @ 0x140271f25
// > GJFollowCommandLayer::textChanged @ 0x1402724cb
// > ??> @ 0x1406d0e90
//
// 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 GJFollowCommandLayer::updateYMod(GJFollowCommandLayer *a1)
{
EffectGameObject *m_gameObject; // rcx
unsigned int i; // edi
struct cocos2d::CCObject *v4; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_followYMod = a1->m_yMod;
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); v4[28].m_uReference = LODWORD(a1->m_yMod) )
v4 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);
}
}