//
// SetupCameraEdgePopup::textChanged from 0x10023acac to 0x10023ad24 (120 bytes)
//
// 2 xrefs:
// > sub_10023AD24 @ 0x10023ad28
// > ??> @ 0x1007c8948
//
// 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 SetupCameraEdgePopup::textChanged(SetupCameraEdgePopup *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_targetID = atoi(v4[0]);
operator delete(v3);
}
else
{
a1->m_targetID = atoi((const char *)v4);
}
SetupCameraEdgePopup::updateTargetID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
}
}