//
// SetupRandTriggerPopup::updateTextInputLabel2 from 0x1001ca934 to 0x1001ca9e0 (172 bytes)
//
// 2 xrefs:
// > SetupRandTriggerPopup::init @ 0x1001ca314
// > SetupRandTriggerPopup::onTargetID2Arrow @ 0x1001ca850
//
// 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 SetupRandTriggerPopup::updateTextInputLabel2(SetupRandTriggerPopup *a1)
{
cocos2d::CCString *v2; // x0
char *CString; // x0
CCTextInputNode *m_groupID2Input; // x20
void *__p[2]; // [xsp+10h] [xbp-40h] BYREF
__int64 v6; // [xsp+20h] [xbp-30h]
void *v7[2]; // [xsp+28h] [xbp-28h] BYREF
__int64 v8; // [xsp+38h] [xbp-18h]
a1->m_disableTextDelegate = 1;
v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_groupID2);
CString = (char *)cocos2d::CCString::getCString(v2);
sub_100009900(v7, CString);
m_groupID2Input = a1->m_groupID2Input;
if ( SHIBYTE(v8) < 0 )
{
sub_1000097D0(__p, v7[0], (unsigned __int64)v7[1]);
}
else
{
*(_OWORD *)__p = *(_OWORD *)v7;
v6 = v8;
}
CCTextInputNode::setString(m_groupID2Input, (__int64 **)__p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
if ( SHIBYTE(v8) < 0 )
operator delete(v7[0]);
}