{"type": "func", "start": 12918376, "end": 12918516, "name": "AutoBackupPopup::onClearSearch", "pseudocode": "// \n// AutoBackupPopup::onClearSearch from 0xc51e68 to 0xc51ef4 (140 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x66fa0\n// > AutoBackupPopup::init @ 0xc5d4e8\n// > <???> @ 0x1542820\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 13:05:09 +0000\n// \n\n__int64 __fastcall AutoBackupPopup::onClearSearch(AutoBackupPopup *this, cocos2d::CCObject *a2)\n{\n  _QWORD *v2; // x0\n  _QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v5; // [xsp+30h] [xbp+30h]\n\n  v2 = *((_QWORD **)this + 115);\n  if ( v2 )\n  {\n    v4[0] = 0;\n    v4[1] = 0;\n    v5 = nullptr;\n    CCTextInputNode::setString(v2, (char *)v4);\n    if ( (v4[0] & 1) != 0 )\n      operator delete(v5);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; AutoBackupPopup::onClearSearch from 0xc51e68 to 0xc51ef4 (140 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x66fa0\n; > AutoBackupPopup::init @ 0xc5d4e8\n; > <???> @ 0x1542820\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 13:05:09 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xc51e68\nMOV             X29, SP                                                ; +0x4, 0xc51e6c\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x8, 0xc51e70\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc51e74\nLDR             X0, [X0,#0x398]                                        ; +0x10, 0xc51e78\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x14, 0xc51e7c\nLDR             X1, [X1]                                               ; +0x18, 0xc51e80\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x1c, 0xc51e84\nCBZ             X0, loc_C51EA8                                         ; +0x20, 0xc51e88\nADD             X1, X29, #0x40+var_20                                  ; +0x24, 0xc51e8c\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x28, 0xc51e90\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x2c, 0xc51e94\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x30, 0xc51e98\nBL              _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x34, 0xc51e9c\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x38, 0xc51ea0\nTBNZ            W0, #0, loc_C51EC8                                     ; +0x3c, 0xc51ea4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x40, 0xc51ea8\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x44, 0xc51eac\nLDR             X0, [X19]                                              ; +0x48, 0xc51eb0\nCMP             X1, X0                                                 ; +0x4c, 0xc51eb4\nB.NE            loc_C51ED4                                             ; +0x50, 0xc51eb8\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x54, 0xc51ebc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x58, 0xc51ec0\nRET                                                                    ; +0x5c, 0xc51ec4\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x60, 0xc51ec8\nBL              _ZdlPv; operator delete(void *)                        ; +0x64, 0xc51ecc\nB               loc_C51EA8                                             ; +0x68, 0xc51ed0\nBL              .__stack_chk_fail                                      ; +0x6c, 0xc51ed4\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0x70, 0xc51ed8\nMOV             X19, X0                                                ; +0x74, 0xc51edc\nTBZ             W1, #0, loc_C51EEC                                     ; +0x78, 0xc51ee0\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x7c, 0xc51ee4\nBL              _ZdlPv; operator delete(void *)                        ; +0x80, 0xc51ee8\nMOV             X0, X19                                                ; +0x84, 0xc51eec\nBL              _Unwind_Resume                                         ; +0x88, 0xc51ef0", "xrefs": ["<???> @ 0x66fa0", "AutoBackupPopup::init @ 0xc5d4e8", "<???> @ 0x1542820"], "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"}