//
// CCTextInputNode::textChanged from 0x10016d708 to 0x10016d77c (116 bytes)
//
// 2 xrefs:
// > sub_10016D798 @ 0x10016d79c
// > ??> @ 0x10079fa60
//
// 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 CCTextInputNode::textChanged(CCTextInputNode *a1)
{
char *v2; // x0
TextInputDelegate *m_delegate; // x0
std::string __p; // [xsp+8h] [xbp-28h] BYREF
v2 = (char *)((__int64 (__fastcall *)(cocos2d::CCTextFieldTTF *))a1->m_textField->getString)(a1->m_textField);
sub_100009900(&__p, v2);
CCTextInputNode::updateLabel(a1, &__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(TextInputDelegate *, CCTextInputNode *))m_delegate->textChanged)(m_delegate, a1);
}