//
// -[EditBoxImplIOS textChanged] from 0x1002d2abc to 0x1002d2b74 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009ce210
//
// 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 11:02:39 +0000
//
void __cdecl -[EditBoxImplIOS textChanged](EditBoxImplIOS *self, SEL a2)
{
_QWORD *editBox; // x0
__int64 v4; // x20
__int64 v5; // x21
char *v6; // x0
__int64 v7; // x19
_QWORD *v8; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
editBox = self->editBox_;
v4 = editBox[1];
if ( v4 )
{
v5 = editBox[2];
v6 = (char *)(*(__int64 (__fastcall **)(_QWORD *, SEL))(*editBox + 112LL))(editBox, a2);
sub_100009900(__p, v6);
(*(void (__fastcall **)(__int64, __int64, void **))(*(_QWORD *)v4 + 32LL))(v4, v5, __p);
if ( v10 < 0 )
operator delete(__p[0]);
editBox = self->editBox_;
}
v7 = editBox[2];
if ( v7 )
{
if ( *(_DWORD *)(v7 + 728) )
{
v8 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(editBox);
(*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(*(_QWORD *)*v8 + 144LL))(
*v8,
*(unsigned int *)(v7 + 728),
"changed",
v7,
0);
}
}
}