; ; CCTextInputMenu::onPaste from 0x14004dcf0 to 0x14004dd4f (95 bytes) ; ; 2 xrefs: ; > CCTextInputMenu::init @ 0x14004d3e6 ; > @ 0x1409101c0 ; ; This function is hookable on this platform (idp: pc, 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 11:25:33 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14004dcf0 push rdi ; +0x5, 0x14004dcf5 sub rsp, 40h ; +0x6, 0x14004dcf6 mov rdi, [rcx+198h] ; +0xa, 0x14004dcfa lea rcx, [rsp+48h+var_28] ; +0x11, 0x14004dd01 call PlatformToolbox__getClipboardString ; +0x16, 0x14004dd06 mov rdx, rax ; +0x1b, 0x14004dd0b mov rcx, rdi ; +0x1e, 0x14004dd0e call CCTextInputNode__insertAtCursor ; +0x21, 0x14004dd11 mov rbx, [rdi+2B8h] ; +0x26, 0x14004dd16 test rbx, rbx ; +0x2d, 0x14004dd1d jz short loc_14004DD44 ; +0x30, 0x14004dd20 mov qword ptr [rdi+2B8h], 0 ; +0x32, 0x14004dd22 mov dl, 1 ; +0x3d, 0x14004dd2d mov rax, [rbx] ; +0x3f, 0x14004dd2f mov rcx, rbx ; +0x42, 0x14004dd32 call qword ptr [rax+208h] ; +0x45, 0x14004dd35 mov rcx, rbx ; +0x4b, 0x14004dd3b call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4e, 0x14004dd3e mov rbx, [rsp+48h+arg_8] ; +0x54, 0x14004dd44 add rsp, 40h ; +0x59, 0x14004dd49 pop rdi ; +0x5d, 0x14004dd4d retn ; +0x5e, 0x14004dd4e