//
// SetTextPopup::textChanged from 0x1002af5a0 to 0x1002af5f3 (83 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008fc4f8
// > ??> @ 0x100939558
//
// 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 SetTextPopup::textChanged(SetTextPopup *a1, CCTextInputNode *a2)
{
double v2; // xmm0_8
const std::string::value_type *v3; // rsi
void *v4[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( !a1->m_disableDelegate )
{
CCTextInputNode::getString(v4, (__int64)a2, v2);
if ( ((__int64)v4[0] & 1) != 0 )
v3 = (const std::string::value_type *)__p;
else
v3 = (char *)v4 + 1;
std::string::assign((std::string *)&a1->m_value, v3);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(__p);
}
}