//
// cocos2d::CCTextFieldTTF::detachWithIME from 0x1800b9200 to 0x1800b9238 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010d3a0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2d90
//
// This function is hookable on this platform (idp: pc, 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 11:22:22 +0000
//
char __fastcall cocos2d::CCTextFieldTTF::detachWithIME(cocos2d::CCTextFieldTTF *this)
{
char result; // al
char v2; // bl
__int64 v3; // rcx
result = cocos2d::CCIMEDelegate::detachWithIME(this);
v2 = result;
if ( result )
{
v3 = *((_QWORD *)cocos2d::CCDirector::sharedDirector() + 24);
if ( v3 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 32LL))(v3, 0);
return v2;
}
return result;
}