{"type": "func", "start": 7047320, "end": 7047480, "name": "CCTextInputNode::copyText", "pseudocode": "// \n// CCTextInputNode::copyText from 0x6b8898 to 0x6b8938 (160 bytes)\n// \n// 2 xrefs:\n// > CCTextInputMenu::onCopy @ 0x6b6c94\n// > <???> @ 0x6bbc0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:53 +0000\n// \n\n__int64 __fastcall CCTextInputNode::copyText(CCTextInputNode *this)\n{\n  __int64 v3[3]; // [xsp+30h] [xbp+30h] BYREF\n\n  if ( CCTextInputNode::canCopyText(this) )\n  {\n    CCTextInputNode::getString(this, v3);\n    PlatformToolbox::copyToClipboard((__int64)v3);\n    if ( (v3[0] & 1) != 0 )\n      operator delete((void *)v3[2]);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; CCTextInputNode::copyText from 0x6b8898 to 0x6b8938 (160 bytes)\n; \n; 2 xrefs:\n; > CCTextInputMenu::onCopy @ 0x6b6c94\n; > <???> @ 0x6bbc0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:53 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x6b8898\nMOV             X29, SP                                                ; +0x4, 0x6b889c\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x6b88a0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b88a4\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x6b88a8\nMOV             X21, X0                                                ; +0x14, 0x6b88ac\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x6b88b0\nLDR             X1, [X1]                                               ; +0x1c, 0x6b88b4\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x20, 0x6b88b8\nBL              _ZN15CCTextInputNode11canCopyTextEv; CCTextInputNode::canCopyText(void) ; +0x24, 0x6b88bc\nUXTB            W0, W0                                                 ; +0x28, 0x6b88c0\nCBNZ            W0, loc_6B88EC                                         ; +0x2c, 0x6b88c4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x30, 0x6b88c8\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x34, 0x6b88cc\nLDR             X0, [X19]                                              ; +0x38, 0x6b88d0\nCMP             X1, X0                                                 ; +0x3c, 0x6b88d4\nB.NE            loc_6B8918                                             ; +0x40, 0x6b88d8\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x44, 0x6b88dc\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x48, 0x6b88e0\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x4c, 0x6b88e4\nRET                                                                    ; +0x50, 0x6b88e8\nADD             X20, X29, #0x50+var_20                                 ; +0x54, 0x6b88ec\nMOV             X0, X21; this                                          ; +0x58, 0x6b88f0\nMOV             X8, X20                                                ; +0x5c, 0x6b88f4\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x60, 0x6b88f8\nMOV             X0, X20                                                ; +0x64, 0x6b88fc\nBL              _ZN15PlatformToolbox15copyToClipboardENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; PlatformToolbox::copyToClipboard(std::string) ; +0x68, 0x6b8900\nLDRB            W0, [X29,#0x50+var_20]                                 ; +0x6c, 0x6b8904\nTBZ             W0, #0, loc_6B88C8                                     ; +0x70, 0x6b8908\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x74, 0x6b890c\nBL              _ZdlPv; operator delete(void *)                        ; +0x78, 0x6b8910\nB               loc_6B88C8                                             ; +0x7c, 0x6b8914\nBL              .__stack_chk_fail                                      ; +0x80, 0x6b8918\nLDRB            W1, [X29,#0x50+var_20]                                 ; +0x84, 0x6b891c\nMOV             X19, X0                                                ; +0x88, 0x6b8920\nTBZ             W1, #0, loc_6B8930                                     ; +0x8c, 0x6b8924\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x90, 0x6b8928\nBL              _ZdlPv; operator delete(void *)                        ; +0x94, 0x6b892c\nMOV             X0, X19                                                ; +0x98, 0x6b8930\nBL              _Unwind_Resume                                         ; +0x9c, 0x6b8934", "xrefs": ["CCTextInputMenu::onCopy @ 0x6b6c94", "<???> @ 0x6bbc0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}