//
// cocos2d::CCTextFieldTTF::attachWithIME from 0x7fede8 to 0x7fee0c (36 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::attachWithIME @ 0x7fee10
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:18 +0000
//
cocos2d::CCDirector *__fastcall cocos2d::CCTextFieldTTF::attachWithIME(cocos2d::CCTextFieldTTF *this)
{
cocos2d::CCDirector *v1; // r0
cocos2d::CCDirector *v2; // r4
int v3; // r0
v1 = (cocos2d::CCDirector *)cocos2d::CCIMEDelegate::attachWithIME((cocos2d::CCTextFieldTTF *)((char *)this + 580));
v2 = v1;
if ( v1 )
{
v3 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v1) + 152);
if ( v3 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 20))(v3, 1);
}
return v2;
}