//
// SetTextPopup::updateTextInputLabel from 0xa27150 to 0xa27224 (212 bytes)
//
// 3 xrefs:
// > SetTextPopup::init @ 0xa301a4
// > SetTextPopup::onResetValue @ 0xa311cc
// > ??> @ 0x62c38
//
// 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 12:59:42 +0000
//
__int64 __fastcall SetTextPopup::updateTextInputLabel(SetTextPopup *this)
{
char *v1; // x2
char v3; // w0
__int64 v4; // x1
_QWORD *v5; // x22
__int64 v6; // x0
__int64 v7; // x1
__int64 v9; // [xsp+30h] [xbp+30h] BYREF
__int64 v10; // [xsp+38h] [xbp+38h]
void *v11; // [xsp+40h] [xbp+40h]
__int64 v12; // [xsp+48h] [xbp+48h]
v1 = (char *)this + 696;
v9 = 0;
v3 = *((_BYTE *)this + 696);
v10 = 0;
v4 = _stack_chk_guard;
*((_BYTE *)this + 680) = 1;
v12 = v4;
v11 = nullptr;
v5 = *((_QWORD **)this + 84);
if ( (v3 & 1) != 0 )
{
std::string::__init(&v9, *((void **)v1 + 2), *((_QWORD *)v1 + 1));
}
else
{
v6 = *(_QWORD *)v1;
v7 = *((_QWORD *)v1 + 1);
v11 = *((void **)v1 + 2);
v9 = v6;
v10 = v7;
}
CCTextInputNode::setString(v5, (char *)&v9);
if ( (v9 & 1) != 0 )
operator delete(v11);
*((_BYTE *)this + 680) = 0;
return _stack_chk_guard;
}