//
// SetupTouchTogglePopup::textChanged from 0x10024bfd0 to 0x10024c064 (148 bytes)
//
// 2 xrefs:
// > sub_10024C064 @ 0x10024c068
// > ??> @ 0x1007cdc30
//
// 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 SetupTouchTogglePopup::textChanged(SetupTouchTogglePopup *a1, CCTextInputNode *a2)
{
char *v4; // x20
char *v5[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( !a1->m_disableTextDelegate && ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 )
{
CCTextInputNode::getString((__int64)a2, v5);
if ( v6 < 0 )
{
v4 = v5[0];
a1->m_groupID = atoi(v5[0]);
operator delete(v4);
}
else
{
a1->m_groupID = atoi((const char *)v5);
}
SetupTouchTogglePopup::updateTargetID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
}
}