//
// GJPFollowCommandLayer::updateTextInputLabel from 0x100160010 to 0x10016009c (140 bytes)
//
// 2 xrefs:
// > GJPFollowCommandLayer::init @ 0x10015fcb4
// > GJPFollowCommandLayer::onUpdateGroupID @ 0x10016000c
//
// 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 GJPFollowCommandLayer::updateTextInputLabel(GJPFollowCommandLayer *a1)
{
char *CString; // x1
cocos2d::CCString *v3; // x0
CCTextInputNode *m_targetIDInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
if ( a1->m_targetGroupID == -99999 )
{
CString = "";
}
else
{
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_targetGroupID);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_targetIDInput = a1->m_targetIDInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_targetIDInput, __p);
if ( v6 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}