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