//
// CCTextInputNode::copyText from 0x3dcf70 to 0x3dcfb6 (70 bytes)
//
// 1 xrefs:
// > CCTextInputMenu::onCopy @ 0x3dbadc
//
// 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::copyText(CCTextInputNode *this, int a2, int a3, int a4)
{
int result; // r0
_DWORD v6[4]; // [sp+0h] [bp-10h] BYREF
v6[0] = this;
v6[1] = a2;
v6[2] = a3;
v6[3] = a4;
result = CCTextInputNode::canCopyText(this, a2, a3, _stack_chk_guard);
if ( result )
{
CCTextInputNode::getString((CCTextInputNode *)v6, (int)this);
PlatformToolbox::copyToClipboard((int)v6);
return std::string::~string((int)v6);
}
return result;
}