{"type": "func", "start": 7094904, "end": 7095056, "name": "CCTextInputNode::clearText", "pseudocode": "// \n// CCTextInputNode::clearText from 0x6c4278 to 0x6c4310 (152 bytes)\n// \n// 2 xrefs:\n// > CCTextInputMenu::onClear @ 0x6b6ce4\n// > <???> @ 0xe4868\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:51:20 +0000\n// \n\n__int64 __fastcall CCTextInputNode::clearText(CCTextInputNode *this)\n{\n  __int64 v1; // x3\n  _QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v5; // [xsp+30h] [xbp+30h]\n\n  v1 = *((_QWORD *)this + 72);\n  v4[0] = 0;\n  *(_DWORD *)(v1 + 752) = -1;\n  v4[1] = 0;\n  v5 = nullptr;\n  CCTextInputNode::setString(this, (char *)v4);\n  if ( (v4[0] & 1) != 0 )\n    operator delete(v5);\n  CCTextInputNode::updateBlinkLabel(this);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CCTextInputNode::clearText from 0x6c4278 to 0x6c4310 (152 bytes)\n; \n; 2 xrefs:\n; > CCTextInputMenu::onClear @ 0x6b6ce4\n; > <???> @ 0xe4868\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:51:20 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x6c4278\nMOV             W4, #0xFFFFFFFF                                        ; +0x4, 0x6c427c\nMOV             X29, SP                                                ; +0x8, 0x6c4280\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x6c4284\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x6c4288\nADD             X1, X29, #0x40+var_20                                  ; +0x14, 0x6c428c\nLDR             X3, [X0,#0x240]                                        ; +0x18, 0x6c4290\nMOV             X20, X0                                                ; +0x1c, 0x6c4294\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x20, 0x6c4298\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x6c429c\nSTR             W4, [X3,#0x2F0]                                        ; +0x28, 0x6c42a0\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x2c, 0x6c42a4\nLDR             X2, [X2]                                               ; +0x30, 0x6c42a8\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x34, 0x6c42ac\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x38, 0x6c42b0\nBL              _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x3c, 0x6c42b4\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x40, 0x6c42b8\nTBZ             W0, #0, loc_6C42C8                                     ; +0x44, 0x6c42bc\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x48, 0x6c42c0\nBL              _ZdlPv; operator delete(void *)                        ; +0x4c, 0x6c42c4\nMOV             X0, X20; this                                          ; +0x50, 0x6c42c8\nBL              _ZN15CCTextInputNode16updateBlinkLabelEv; CCTextInputNode::updateBlinkLabel(void) ; +0x54, 0x6c42cc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x58, 0x6c42d0\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x5c, 0x6c42d4\nLDR             X0, [X19]                                              ; +0x60, 0x6c42d8\nCMP             X1, X0                                                 ; +0x64, 0x6c42dc\nB.NE            loc_6C42F0                                             ; +0x68, 0x6c42e0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x6c, 0x6c42e4\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x70, 0x6c42e8\nRET                                                                    ; +0x74, 0x6c42ec\nBL              .__stack_chk_fail                                      ; +0x78, 0x6c42f0\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0x7c, 0x6c42f4\nMOV             X19, X0                                                ; +0x80, 0x6c42f8\nTBZ             W1, #0, loc_6C4308                                     ; +0x84, 0x6c42fc\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x88, 0x6c4300\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0x6c4304\nMOV             X0, X19                                                ; +0x90, 0x6c4308\nBL              _Unwind_Resume                                         ; +0x94, 0x6c430c", "xrefs": ["CCTextInputMenu::onClear @ 0x6b6ce4", "<???> @ 0xe4868"], "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"}