//
// cocos2d::extension::CCEditBox::registerScriptEditBoxHandler from 0x180010cc0 to 0x180010d0f (79 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c134
//
// This function is hookable on this platform (idp: pc, 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 12:15:39 +0000
//
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;
}
}