//
// cocos2d::extension::CCEditBox::unregisterScriptEditBoxHandler from 0xd1ba24 to 0xd1ba68 (68 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCEditBox::registerScriptEditBoxHandler @ 0xd1ba7c
// > cocos2d::extension::CCEditBox::~CCEditBox @ 0xd1bb08
// > ??> @ 0x75d90
//
// 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 13:07:09 +0000
//
_DWORD *__fastcall cocos2d::extension::CCEditBox::unregisterScriptEditBoxHandler(_DWORD *this)
{
_DWORD *v1; // x19
_QWORD *v2; // x0
if ( *(this + 182) )
{
v1 = this;
v2 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager((cocos2d::CCScriptEngineManager *)this);
this = (_DWORD *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 32LL))(*v2, (unsigned int)v1[182]);
v1[182] = 0;
}
return this;
}