//
// CCTextInputNode::canClearText from 0x3dcf30 to 0x3dcf6c (60 bytes)
//
// 1 xrefs:
// > CCTextInputMenu::init @ 0x3dbc2c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:48 +0000
//
int __fastcall CCTextInputNode::canClearText(CCTextInputNode *this, int a2, int a3, int a4)
{
int v4; // r5
int result; // r0
CCTextInputNode *v6; // [sp+0h] [bp-10h] BYREF
int v7; // [sp+4h] [bp-Ch]
int v8; // [sp+8h] [bp-8h]
int v9; // [sp+Ch] [bp-4h]
v6 = this;
v7 = a2;
v8 = a3;
v9 = a4;
CCTextInputNode::getString((CCTextInputNode *)&v6, (int)this);
if ( ((unsigned __int8)v6 & 1) != 0 )
v4 = v7;
else
v4 = (int)(unsigned __int8)v6 >> 1;
std::string::~string((int)&v6);
result = v4;
if ( v4 )
return 1;
return result;
}