//
// SetupMGTrigger::updateValueYLabel from 0x1002f2be0 to 0x1002f2c7c (156 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::init @ 0x1002f2734
// > SetupMGTrigger::sliderYChanged @ 0x1002f2bcc
//
// 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::updateValueYLabel(SetupMGTrigger *a1)
{
int m_offsetY; // w8
char *CString; // x1
cocos2d::CCString *v4; // x0
CCTextInputNode *m_offsetYInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
m_offsetY = a1->m_offsetY;
if ( m_offsetY == -99999 )
{
CString = "";
}
else
{
v4 = (cocos2d::CCString *)sub_100268F4C("%i", vcvtms_s32_f32((float)m_offsetY / 3.0));
CString = (char *)cocos2d::CCString::getCString(v4);
}
m_offsetYInput = a1->m_offsetYInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_offsetYInput, (__int64 **)__p);
if ( v7 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}