//
// cocos2d::CCTextFieldTTF::attachWithIME from 0x5f32b0 to 0x5f32d4 (36 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::attachWithIME @ 0x5f32d8
//
// 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::attachWithIME(cocos2d::CCTextFieldTTF *a1)
{
_BOOL4 v1; // r4
cocos2d::CCEGLView *m_pobOpenGLView; // r0
v1 = cocos2d::CCIMEDelegate::attachWithIME(&a1->cocos2d::CCIMEDelegate);
if ( v1 )
{
m_pobOpenGLView = cocos2d::CCDirector::sharedDirector()->m_pobOpenGLView;
if ( m_pobOpenGLView )
m_pobOpenGLView->setIMEKeyboardState(m_pobOpenGLView, 1);
}
return v1;
}