{"type": "func", "start": 4077608, "end": 4077700, "name": "CCTextInputNode::clearText", "pseudocode": "// \n// CCTextInputNode::clearText from 0x3e3828 to 0x3e3884 (92 bytes)\n// \n// 1 xrefs:\n// > CCTextInputMenu::onClear @ 0x3dbb08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:03 +0000\n// \n\nfloat *__fastcall CCTextInputNode::clearText(CCTextInputNode *this, int a2, int a3, int a4)\n{\n  int v5; // r1\n  int v6; // r2\n  CCTextInputNode *v8; // [sp+0h] [bp-10h] BYREF\n  int v9; // [sp+4h] [bp-Ch]\n  int v10; // [sp+8h] [bp-8h]\n  int v11; // [sp+Ch] [bp-4h]\n\n  v8 = this;\n  v9 = a2;\n  v10 = a3;\n  v11 = a4;\n  *(_DWORD *)(*((_DWORD *)this + 104) + 608) = -1;\n  v8 = nullptr;\n  v9 = 0;\n  v10 = 0;\n  std::string::__init((int *)&v8, &unk_B6B226, 0);\n  CCTextInputNode::setString((int)this, (int)&v8);\n  std::string::~string((int)&v8);\n  return CCTextInputNode::updateBlinkLabel(this, v5, v6);\n}", "assembly": "; \n; CCTextInputNode::clearText from 0x3e3828 to 0x3e3884 (92 bytes)\n; \n; 1 xrefs:\n; > CCTextInputMenu::onClear @ 0x3dbb08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:03 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x3e3828\nMOV             R6, R0                                                 ; +0x2, 0x3e382a\nLDR             R4, =(__stack_chk_guard_ptr - 0x3E383A)                ; +0x4, 0x3e382c\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x6, 0x3e382e\nLDR             R1, =(unk_B6B226 - 0x3E383E)                           ; +0xa, 0x3e3832\nMOV             R5, SP                                                 ; +0xc, 0x3e3834\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3e3836\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3e3838\nADD             R1, PC; unk_B6B226                                     ; +0x12, 0x3e383a\nLDR             R3, [R4]                                               ; +0x14, 0x3e383c\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x16, 0x3e383e\nLDR.W           R3, [R0,#0x1A0]                                        ; +0x18, 0x3e3840\nMOV             R0, SP                                                 ; +0x1c, 0x3e3844\nSTR.W           R2, [R3,#0x260]                                        ; +0x1e, 0x3e3846\nMOVS            R2, #0                                                 ; +0x22, 0x3e384a\nSTR             R2, [SP,#0x10+var_10]                                  ; +0x24, 0x3e384c\nSTR             R2, [SP,#0x10+var_C]                                   ; +0x26, 0x3e384e\nSTR             R2, [SP,#0x10+var_8]                                   ; +0x28, 0x3e3850\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x3e3852\nMOV             R0, R6                                                 ; +0x2e, 0x3e3856\nMOV             R1, SP                                                 ; +0x30, 0x3e3858\nBL              _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x32, 0x3e385a\nMOV             R0, SP                                                 ; +0x36, 0x3e385e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x3e3860\nMOV             R0, R6; this                                           ; +0x3c, 0x3e3864\nBL              _ZN15CCTextInputNode16updateBlinkLabelEv; CCTextInputNode::updateBlinkLabel(void) ; +0x3e, 0x3e3866\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x42, 0x3e386a\nLDR             R3, [R4]                                               ; +0x44, 0x3e386c\nCMP             R2, R3                                                 ; +0x46, 0x3e386e\nBEQ             loc_3E3880                                             ; +0x48, 0x3e3870\nBLX             __stack_chk_fail                                       ; +0x4a, 0x3e3872\nMOV             R0, R5                                                 ; +0x4e, 0x3e3876\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x50, 0x3e3878\nBL              __cxa_end_cleanup                                      ; +0x54, 0x3e387c\nADD             SP, SP, #0x10                                          ; +0x58, 0x3e3880\nPOP             {R4-R6,PC}                                             ; +0x5a, 0x3e3882", "xrefs": ["CCTextInputMenu::onClear @ 0x3dbb08"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}