//
// CCTextInputNode::~CCTextInputNode from 0x6b8b84 to 0x6b8cb4 (304 bytes)
//
// 6 xrefs:
// > `non-virtual thunk to'CCTextInputNode::~CCTextInputNode @ 0x6b8cb8
// > `non-virtual thunk to'CCTextInputNode::~CCTextInputNode @ 0x6b8cc0
// > CCTextInputNode::~CCTextInputNode @ 0x6b8cd4
// > ??> @ 0x48190
// > ??> @ 0x6c190
// > ??> @ 0x141fa88
//
// 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 12:50:53 +0000
//
// Alternative name is '_ZN15CCTextInputNodeD2Ev'
void __fastcall CCTextInputNode::~CCTextInputNode(CCTextInputNode *this)
{
char *v2; // x0
char *v3; // x3
*(_QWORD *)this = &off_141FA80;
*((_QWORD *)this + 40) = off_141FF60;
*((_QWORD *)this + 41) = &off_141FFD0;
*((_QWORD *)this + 42) = off_141FFE8;
*((_QWORD *)this + 43) = off_1420008;
*((_QWORD *)this + 44) = off_1420030;
*((_QWORD *)this + 51) = off_1420060;
*((_QWORD *)this + 52) = off_14200F0;
CCTextInputNode::disarmHold((__int64)this);
CCTextInputNode::closeEditMenu((__int64)this);
if ( *((_BYTE *)this + 460) )
{
CCTextInputNode::onClickTrackNode((unsigned __int64)this, 0);
if ( (CCTextInputNode *)CCTextInputNode::s_activeInput != this )
goto LABEL_3;
}
else if ( (CCTextInputNode *)CCTextInputNode::s_activeInput != this )
{
goto LABEL_3;
}
CCTextInputNode::s_activeInput = 0;
LABEL_3:
v2 = *((char **)this + 64);
if ( v2 )
{
v3 = *((char **)this + 65);
if ( v2 != v3 )
*((_QWORD *)this + 65) = &v3[-24
* ((0xAAAAAAAAAAAAAABLL * ((unsigned __int64)(v3 - 24 - v2) >> 3))
& 0x1FFFFFFFFFFFFFFFLL)
- 24];
operator delete(v2);
}
if ( (*((_BYTE *)this + 472) & 1) != 0 )
operator delete(*((void **)this + 61));
if ( (*((_BYTE *)this + 432) & 1) != 0 )
operator delete(*((void **)this + 56));
cocos2d::CCIMEDelegate::~CCIMEDelegate((CCTextInputNode *)((char *)this + 408));
cocos2d::CCLayer::~CCLayer(this);
}