{"type": "func", "start": 7047064, "end": 7047200, "name": "CCTextInputNode::canCopyText", "pseudocode": "// \n// CCTextInputNode::canCopyText from 0x6b8798 to 0x6b8820 (136 bytes)\n// \n// 3 xrefs:\n// > CCTextInputMenu::init @ 0x6b6e50\n// > CCTextInputNode::copyText @ 0x6b88bc\n// > <???> @ 0x442c0\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\nbool __fastcall CCTextInputNode::canCopyText(CCTextInputNode *this)\n{\n  _BOOL4 v1; // w20\n  __int64 v3[3]; // [xsp+20h] [xbp+20h] BYREF\n\n  v1 = 0;\n  if ( !*((_BYTE *)this + 609) )\n  {\n    CCTextInputNode::getString(this, v3);\n    if ( (v3[0] & 1) != 0 )\n    {\n      v1 = v3[1] != 0;\n      operator delete((void *)v3[2]);\n    }\n    else\n    {\n      return (int)LOBYTE(v3[0]) >> 1 != 0;\n    }\n  }\n  return v1;\n}", "assembly": "; \n; CCTextInputNode::canCopyText from 0x6b8798 to 0x6b8820 (136 bytes)\n; \n; 3 xrefs:\n; > CCTextInputMenu::init @ 0x6b6e50\n; > CCTextInputNode::copyText @ 0x6b88bc\n; > <???> @ 0x442c0\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_40]!                                ; +0x0, 0x6b8798\nMOV             X29, SP                                                ; +0x4, 0x6b879c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x6b87a0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b87a4\nMOV             W20, #0                                                ; +0x10, 0x6b87a8\nLDRB            W1, [X0,#0x261]                                        ; +0x14, 0x6b87ac\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x6b87b0\nLDR             X2, [X2]                                               ; +0x1c, 0x6b87b4\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x20, 0x6b87b8\nCBZ             W1, loc_6B87E4                                         ; +0x24, 0x6b87bc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x6b87c0\nMOV             W0, W20; this                                          ; +0x2c, 0x6b87c4\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x30, 0x6b87c8\nLDR             X1, [X19]                                              ; +0x34, 0x6b87cc\nCMP             X2, X1                                                 ; +0x38, 0x6b87d0\nB.NE            loc_6B881C                                             ; +0x3c, 0x6b87d4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x40, 0x6b87d8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x44, 0x6b87dc\nRET                                                                    ; +0x48, 0x6b87e0\nADD             X8, X29, #0x40+var_20                                  ; +0x4c, 0x6b87e4\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x50, 0x6b87e8\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x54, 0x6b87ec\nTBZ             W0, #0, loc_6B880C                                     ; +0x58, 0x6b87f0\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x5c, 0x6b87f4\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x60, 0x6b87f8\nCMP             X1, XZR                                                ; +0x64, 0x6b87fc\nCSET            W20, NE                                                ; +0x68, 0x6b8800\nBL              _ZdlPv; operator delete(void *)                        ; +0x6c, 0x6b8804\nB               loc_6B87C0                                             ; +0x70, 0x6b8808\nASR             W0, W0, #1                                             ; +0x74, 0x6b880c\nCMP             W0, WZR                                                ; +0x78, 0x6b8810\nCSET            W20, NE                                                ; +0x7c, 0x6b8814\nB               loc_6B87C0                                             ; +0x80, 0x6b8818\nBL              .__stack_chk_fail                                      ; +0x84, 0x6b881c", "xrefs": ["CCTextInputMenu::init @ 0x6b6e50", "CCTextInputNode::copyText @ 0x6b88bc", "<???> @ 0x442c0"], "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"}