//
// SetupEndPopup::textChanged from 0xab4684 to 0xab472c (168 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetupEndPopup::textChanged @ 0xab4730
// > ??> @ 0x8ab38
// > ??> @ 0x14a7c88
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:58 +0000
//
__int64 __fastcall SetupEndPopup::textChanged(SetupEndPopup *this, CCTextInputNode *a2)
{
char *v4; // x21
__int64 v5[2]; // [xsp+30h] [xbp+30h] BYREF
char *v6; // [xsp+40h] [xbp+40h]
if ( !*((_BYTE *)this + 744) )
{
CCTextInputNode::getString(a2, v5);
if ( (v5[0] & 1) != 0 )
{
v4 = v6;
*((_DWORD *)this + 257) = atoi(v6);
operator delete(v4);
}
else
{
*((_DWORD *)this + 257) = atoi((const char *)v5 + 1);
}
SetupEndPopup::updateTargetID(this);
SetupTriggerPopup::updateEditorLabel(this);
}
return _stack_chk_guard;
}