//
// -[EditBoxImplIOS textChanged] from 0x1002360ac to 0x100236164 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x100846388
//
// 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 __cdecl -[EditBoxImplIOS textChanged](EditBoxImplIOS *self, SEL a2)
{
_QWORD *editBox; // x0
__int64 v4; // x20
__int64 v5; // x21
char *v6; // x0
__int64 v7; // x19
cocos2d::CCScriptEngineManager *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 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(**(_QWORD **)v8 + 144LL))(
*(_QWORD *)v8,
*(unsigned int *)(v7 + 728),
"changed",
v7,
0);
}
}
}