//
// cocos2d::extension::CCEditBoxImplAndroid::openKeyboard from 0xaaa55c to 0xaaa5f4 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x3a020
// > ??> @ 0x11facb8
//
// 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
//
__int64 __fastcall cocos2d::extension::CCEditBoxImplAndroid::openKeyboard(
cocos2d::extension::CCEditBoxImplAndroid *this)
{
__int64 v2; // x0
__int64 v3; // x3
cocos2d::CCScriptEngineManager *v4; // x0
__int64 v6; // [xsp+28h] [xbp+28h]
v2 = *((_QWORD *)this + 1);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 16LL))(v2, *((_QWORD *)this + 2));
v3 = *((_QWORD *)this + 2);
if ( v3 && *(_DWORD *)(v3 + 688) )
{
v6 = *((_QWORD *)this + 2);
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(**(_QWORD **)v4 + 144LL))(
*(_QWORD *)v4,
*(unsigned int *)(v6 + 688),
"began",
v6,
0);
}
return showEditTextDialogJNI(
*((const char **)this + 8),
*((const char **)this + 7),
*((_DWORD *)this + 10),
*((_DWORD *)this + 11),
*((_DWORD *)this + 12),
*((_DWORD *)this + 20),
(void (*)(const char *, void *))sub_AAA76C,
this);
}