//
// cocos2d::extension::CCEditBox::registerScriptEditBoxHandler from 0x1004aaf00 to 0x1004aaf36 (54 bytes)
//
// 0 xrefs:
//
// 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 *a1, int a2)
{
cocos2d::CCScriptEngineManager *v2; // rax
if ( a1[1].m_eGLServerState )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 32LL))(*(_QWORD *)v2, a1[1].m_eGLServerState);
}
a1[1].m_eGLServerState = a2;
}