{"type": "func", "start": 7047200, "end": 7047320, "name": "CCTextInputNode::canClearText", "pseudocode": "// \n// CCTextInputNode::canClearText from 0x6b8820 to 0x6b8898 (120 bytes)\n// \n// 3 xrefs:\n// > CCTextInputMenu::init @ 0x6b6e78\n// > CCTextInputMenu::init @ 0x6b70e4\n// > <???> @ 0x584b0\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::canClearText(CCTextInputNode *this)\n{\n  _BOOL4 v1; // w20\n  __int64 v3[3]; // [xsp+20h] [xbp+20h] BYREF\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  return v1;\n}", "assembly": "; \n; CCTextInputNode::canClearText from 0x6b8820 to 0x6b8898 (120 bytes)\n; \n; 3 xrefs:\n; > CCTextInputMenu::init @ 0x6b6e78\n; > CCTextInputMenu::init @ 0x6b70e4\n; > <???> @ 0x584b0\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, 0x6b8820\nMOV             X29, SP                                                ; +0x4, 0x6b8824\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x6b8828\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b882c\nADD             X8, X29, #0x40+var_20                                  ; +0x10, 0x6b8830\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x14, 0x6b8834\nLDR             X1, [X1]                                               ; +0x18, 0x6b8838\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x1c, 0x6b883c\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x20, 0x6b8840\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x24, 0x6b8844\nTBZ             W0, #0, loc_6B8884                                     ; +0x28, 0x6b8848\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x2c, 0x6b884c\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x30, 0x6b8850\nCMP             X1, XZR                                                ; +0x34, 0x6b8854\nCSET            W20, NE                                                ; +0x38, 0x6b8858\nBL              _ZdlPv; operator delete(void *)                        ; +0x3c, 0x6b885c\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x40, 0x6b8860\nMOV             W0, W20                                                ; +0x44, 0x6b8864\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x48, 0x6b8868\nLDR             X1, [X19]                                              ; +0x4c, 0x6b886c\nCMP             X2, X1                                                 ; +0x50, 0x6b8870\nB.NE            loc_6B8894                                             ; +0x54, 0x6b8874\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x58, 0x6b8878\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x5c, 0x6b887c\nRET                                                                    ; +0x60, 0x6b8880\nASR             W0, W0, #1                                             ; +0x64, 0x6b8884\nCMP             W0, WZR                                                ; +0x68, 0x6b8888\nCSET            W20, NE                                                ; +0x6c, 0x6b888c\nB               loc_6B8860                                             ; +0x70, 0x6b8890\nBL              .__stack_chk_fail                                      ; +0x74, 0x6b8894", "xrefs": ["CCTextInputMenu::init @ 0x6b6e78", "CCTextInputMenu::init @ 0x6b70e4", "<???> @ 0x584b0"], "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"}