//
// cocos2d::CCTextFieldTTF::detachWithIME from 0x10027c360 to 0x10027c39a (58 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f07f8
//
// 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
//
bool __fastcall cocos2d::CCTextFieldTTF::detachWithIME(cocos2d::CCTextFieldTTF *a1)
{
bool v1; // bl
cocos2d::CCEGLView *m_pobOpenGLView; // rdi
v1 = cocos2d::CCIMEDelegate::detachWithIME(&a1->cocos2d::CCIMEDelegate);
if ( v1 )
{
m_pobOpenGLView = cocos2d::CCDirector::sharedDirector()->m_pobOpenGLView;
if ( m_pobOpenGLView )
((void (__fastcall *)(cocos2d::CCEGLView *, _QWORD))m_pobOpenGLView->setIMEKeyboardState)(m_pobOpenGLView, 0);
}
return v1;
}