//
// cocos2d::CCTextFieldTTF::detachWithIME from 0xb30760 to 0xb307bc (92 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::detachWithIME @ 0xb307c0
// > ??> @ 0xc04f8
// > ??> @ 0x121a030
//
// 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 cocos2d::CCTextFieldTTF::detachWithIME(cocos2d::CCTextFieldTTF *a1)
{
bool v1; // w19
cocos2d::CCEGLView *m_pobOpenGLView; // x0
v1 = cocos2d::CCIMEDelegate::detachWithIME(&a1->cocos2d::CCIMEDelegate);
if ( !v1 )
return v1;
m_pobOpenGLView = cocos2d::CCDirector::sharedDirector()->m_pobOpenGLView;
if ( !m_pobOpenGLView )
return v1;
m_pobOpenGLView->setIMEKeyboardState(m_pobOpenGLView, 0);
return v1;
}