//
// sub_10027C320 from 0x10027c320 to 0x10027c356 (54 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f0950
//
// 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 sub_10027C320(cocos2d::CCIMEDelegate *a1)
{
unsigned int v1; // eax
unsigned int v2; // ebx
cocos2d::CCEGLView *m_pobOpenGLView; // rdi
LOBYTE(v1) = cocos2d::CCIMEDelegate::attachWithIME(a1);
v2 = v1;
if ( (_BYTE)v1 )
{
m_pobOpenGLView = cocos2d::CCDirector::sharedDirector()->m_pobOpenGLView;
if ( m_pobOpenGLView )
((void (__fastcall *)(cocos2d::CCEGLView *, __int64))m_pobOpenGLView->setIMEKeyboardState)(m_pobOpenGLView, 1);
}
return v2;
}