//
// CCTextInputNode::canClearText from 0x6b8820 to 0x6b8898 (120 bytes)
//
// 3 xrefs:
// > CCTextInputMenu::init @ 0x6b6e78
// > CCTextInputMenu::init @ 0x6b70e4
// > ??> @ 0x584b0
//
// 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
//
bool __fastcall CCTextInputNode::canClearText(CCTextInputNode *this)
{
_BOOL4 v1; // w20
__int64 v3[3]; // [xsp+20h] [xbp+20h] BYREF
CCTextInputNode::getString(this, v3);
if ( (v3[0] & 1) != 0 )
{
v1 = v3[1] != 0;
operator delete((void *)v3[2]);
}
else
{
return (int)LOBYTE(v3[0]) >> 1 != 0;
}
return v1;
}