//
// cocos2d::CCTextFieldTTF::detachWithIME from 0xda1e24 to 0xda1e80 (92 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCTextFieldTTF::detachWithIME @ 0xda1e84
// > ??> @ 0xfa900
// > ??> @ 0x1530050
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:30 +0000
//
__int64 __fastcall cocos2d::CCTextFieldTTF::detachWithIME(cocos2d::CCTextFieldTTF *this)
{
cocos2d::CCDirector *v1; // x0
unsigned int v2; // w19
__int64 v4; // x0
v1 = (cocos2d::CCDirector *)(unsigned __int8)cocos2d::CCIMEDelegate::detachWithIME((cocos2d::CCTextFieldTTF *)((char *)this + 696));
v2 = (unsigned __int8)v1;
if ( !(_BYTE)v1 )
return v2;
v4 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v1) + 192);
if ( !v4 )
return v2;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 40LL))(v4, 0);
return v2;
}