//
// CCTextInputNode::pasteText from 0x6c4ed8 to 0x6c4f64 (140 bytes)
//
// 2 xrefs:
// > CCTextInputMenu::onPaste @ 0x6b6cbc
// > ??> @ 0xc85c0
//
// 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:51:20 +0000
//
__int64 __fastcall CCTextInputNode::pasteText(CCTextInputNode *this)
{
_BYTE v3[16]; // [xsp+30h] [xbp+30h] BYREF
void *v4; // [xsp+40h] [xbp+40h]
PlatformToolbox::getClipboardString((__int64)v3);
CCTextInputNode::insertAtCursor((__int64)this, (__int64)v3);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
return _stack_chk_guard;
}