//
// cocos2d::extension::CCEditBox::registerScriptEditBoxHandler from 0x1800112d0 to 0x18001131f (79 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a254
//
// 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 cocos2d::extension::CCEditBox::registerScriptEditBoxHandler(
cocos2d::extension::CCEditBox *this,
int a2)
{
_QWORD *v4; // rax
if ( *((_DWORD *)this + 190) )
{
v4 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v4 + 24LL))(*v4, *((unsigned int *)this + 190));
*((_DWORD *)this + 190) = a2;
}
else
{
*((_DWORD *)this + 190) = a2;
}
}