//
// CCTextInputNode::textChanged from 0x140050480 to 0x14005050a (138 bytes)
//
// 2 xrefs:
// > ??> @ 0x140532348
// > ??> @ 0x1406c4d58
//
// 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 CCTextInputNode::textChanged(CCTextInputNode *a1)
{
_BYTE *v2; // rax
size_t v3; // r8
void (__fastcall ***v4)(_QWORD, cocos2d::CCGridBase **); // rcx
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
v2 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)&a1->m_sAdditionalTransform.ty + 600LL) + 8LL))(*(_QWORD *)&a1->m_sAdditionalTransform.ty + 600LL);
v5 = 0;
v6 = 0;
v3 = -1;
v7 = 0;
do
++v3;
while ( v2[v3] );
sub_14003A930(&v5, v2, v3);
CCTextInputNode::updateLabel((CCTextInputNode *)((char *)a1 - 416), (__int64)&v5);
v4 = *(void (__fastcall ****)(_QWORD, cocos2d::CCGridBase **))&a1->m_sTransform.b;
if ( v4 )
(**v4)(v4, &a1[-1].m_pGrid);
}