//
// cocos2d::CCTextFieldTTF::detachWithIME from 0x100263028 to 0x100263070 (72 bytes)
//
// 2 xrefs:
// > sub_100263070 @ 0x100263074
// > ??> @ 0x100911c40
//
// 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 11:01:39 +0000
//
__int64 __fastcall cocos2d::CCTextFieldTTF::detachWithIME(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x0
v1 = cocos2d::CCIMEDelegate::detachWithIME(a1 + 696);
if ( (_DWORD)v1 )
{
v2 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 192);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 40LL))(v2, 0);
}
return v1;
}