//
// CCTextInputNode::canCopyText from 0x3dcee0 to 0x3dcf2a (74 bytes)
//
// 2 xrefs:
// > CCTextInputMenu::init @ 0x3dbbbc
// > CCTextInputNode::copyText @ 0x3dcf7e
//
// 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
//
bool __fastcall CCTextInputNode::canCopyText(CCTextInputNode *this, int a2, int a3, int a4)
{
int v4; // r4
_BOOL4 v5; // r4
CCTextInputNode *v7; // [sp+0h] [bp-10h] BYREF
int v8; // [sp+4h] [bp-Ch]
int v9; // [sp+8h] [bp-8h]
int v10; // [sp+Ch] [bp-4h]
v7 = this;
v8 = a2;
v9 = a3;
v10 = a4;
if ( *((_BYTE *)this + 433) )
return 0;
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)this);
if ( ((unsigned __int8)v7 & 1) != 0 )
v4 = v8;
else
v4 = (int)(unsigned __int8)v7 >> 1;
v5 = v4 != 0;
std::string::~string((int)&v7);
return v5;
}