//
// SetupEndPopup::textChanged from 0x1002adcb8 to 0x1002add30 (120 bytes)
//
// 2 xrefs:
// > sub_1002ADD30 @ 0x1002add34
// > ??> @ 0x1007d6878
//
// 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 SetupEndPopup::textChanged(SetupEndPopup *a1, CCTextInputNode *a2)
{
char *v3; // x20
char *v4[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( !a1->m_disableTextDelegate )
{
CCTextInputNode::getString((__int64)a2, v4);
if ( v5 < 0 )
{
v3 = v4[0];
a1->m_groupID = atoi(v4[0]);
operator delete(v3);
}
else
{
a1->m_groupID = atoi((const char *)v4);
}
SetupEndPopup::updateTargetID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
}
}