//
// SetTextPopup::textChanged from 0xa311d0 to 0xa31290 (192 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetTextPopup::textChanged @ 0xa31294
// > ??> @ 0x58f18
// > ??> @ 0x1482138
//
// 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:47 +0000
//
__int64 __fastcall SetTextPopup::textChanged(SetTextPopup *this, CCTextInputNode *a2)
{
__int64 *v3; // x20
const char *v4; // x21
size_t v5; // x0
__int64 v6[2]; // [xsp+30h] [xbp+30h] BYREF
void *v7; // [xsp+40h] [xbp+40h]
if ( !*((_BYTE *)this + 680) )
{
v3 = (__int64 *)((char *)this + 696);
v4 = (char *)v6 + 1;
CCTextInputNode::getString(a2, v6);
if ( (v6[0] & 1) != 0 )
v4 = (const char *)v7;
v5 = strlen(v4);
std::string::assign(v3, v4, v5);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
}
return _stack_chk_guard;
}