//
// SetupTouchTogglePopup::textChanged from 0x62a8a4 to 0x62a90a (102 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupTouchTogglePopup::textChanged @ 0x62a914
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:12 +0000
//
int __fastcall SetupTouchTogglePopup::textChanged(int this, CCTextInputNode *a2)
{
SetupTouchTogglePopup *v2; // r5
char *v4; // r0
char v5; // [sp+0h] [bp-14h] BYREF
char v6; // [sp+1h] [bp-13h] BYREF
char *v7; // [sp+8h] [bp-Ch]
v2 = (SetupTouchTogglePopup *)this;
if ( !*(_BYTE *)(this + 568) )
{
this = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2);
if ( this == 3 )
{
CCTextInputNode::getString((CCTextInputNode *)&v5, (int)a2);
if ( (v5 & 1) != 0 )
v4 = v7;
else
v4 = &v6;
*((_DWORD *)v2 + 179) = atoi(v4);
std::string::~string((int)&v5);
SetupTouchTogglePopup::updateTargetID(v2);
return SetupTriggerPopup::updateEditorLabel(v2);
}
}
return this;
}