//
// SetupRandTriggerPopup::updateTextInputLabel from 0x504c80 to 0x504cfe (126 bytes)
//
// 2 xrefs:
// > SetupRandTriggerPopup::init @ 0x50529e
// > SetupRandTriggerPopup::onTargetIDArrow @ 0x5058c2
//
// 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 SetupRandTriggerPopup::updateTextInputLabel(SetupRandTriggerPopup *a1)
{
const char *m_groupID1; // r1
cocos2d::CCString *v3; // r0
char *CString; // r0
CCTextInputNode *m_groupID1Input; // r8
char *v6; // r2
_BYTE v7[4]; // [sp+4h] [bp-Ch] BYREF
char v8[4]; // [sp+8h] [bp-8h] BYREF
m_groupID1 = (const char *)a1->m_groupID1;
a1->m_disableTextDelegate = 1;
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_groupID1);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_776584((int)v7, CString);
m_groupID1Input = a1->m_groupID1Input;
sub_775C20(v8);
CCTextInputNode::setString((int)m_groupID1Input, v8, v6);
sub_774008(v8);
a1->m_disableTextDelegate = 0;
sub_774008(v7);
}