//
// CCTextInputNode::copyText from 0x6b8898 to 0x6b8938 (160 bytes)
//
// 2 xrefs:
// > CCTextInputMenu::onCopy @ 0x6b6c94
// > ??> @ 0x6bbc0
//
// 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
//
__int64 __fastcall CCTextInputNode::copyText(CCTextInputNode *this)
{
__int64 v3[3]; // [xsp+30h] [xbp+30h] BYREF
if ( CCTextInputNode::canCopyText(this) )
{
CCTextInputNode::getString(this, v3);
PlatformToolbox::copyToClipboard((__int64)v3);
if ( (v3[0] & 1) != 0 )
operator delete((void *)v3[2]);
}
return _stack_chk_guard;
}