{"type": "func", "start": 7599180, "end": 7599458, "name": "AutoBackupPopup::textChanged", "pseudocode": "// \n// AutoBackupPopup::textChanged from 0x73f44c to 0x73f562 (278 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AutoBackupPopup::textChanged @ 0x73f56c\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:58:33 +0000\n// \n\nint __fastcall AutoBackupPopup::textChanged(int this, CCTextInputNode *a2)\n{\n  int v2; // r4\n  int v3; // r0\n  int v4; // r1\n  int v5; // r3\n  int v6; // r3\n  int v7; // lr\n  size_t v8; // r2\n  int v9; // r1\n  int v10; // r3\n  char *v11; // r0\n  unsigned __int8 *v12; // r1\n  char *v13; // r0\n  unsigned __int8 *v14; // r2\n  int v15; // t1\n  _BYTE v16[4]; // [sp+4h] [bp-20h] BYREF\n  int v17; // [sp+8h] [bp-1Ch]\n  int v18; // [sp+10h] [bp-14h] BYREF\n  size_t v19; // [sp+14h] [bp-10h]\n  char *v20; // [sp+18h] [bp-Ch]\n\n  v2 = this;\n  if ( *(CCTextInputNode **)(this + 668) == a2 )\n  {\n    CCTextInputNode::getString((CCTextInputNode *)v16, (int)a2);\n    v3 = *(_DWORD *)(v2 + 672);\n    if ( v3 )\n    {\n      if ( (v16[0] & 1) != 0 )\n        v4 = v17;\n      else\n        v4 = (int)v16[0] >> 1;\n      (*(void (__fastcall **)(int, bool, int))(*(_DWORD *)v3 + 172))(v3, v4 != 0, v16[0] << 31);\n    }\n    sub_73C56C(&v18, (int)v16);\n    if ( (v18 & 1) != 0 )\n      v5 = v19;\n    else\n      v5 = (int)(unsigned __int8)v18 >> 1;\n    if ( v5 <= 1 )\n    {\n      if ( (v18 & 1) != 0 )\n      {\n        *v20 = 0;\n        v19 = 0;\n      }\n      else\n      {\n        LOWORD(v18) = 0;\n      }\n    }\n    v6 = *(unsigned __int8 *)(v2 + 644);\n    v7 = v18 & 1;\n    if ( v7 )\n      v8 = v19;\n    else\n      v8 = (int)(unsigned __int8)v18 >> 1;\n    v9 = v6 & 1;\n    if ( (v6 & 1) != 0 )\n      v10 = *(_DWORD *)(v2 + 648);\n    else\n      v10 = v6 >> 1;\n    if ( v8 != v10 )\n      goto LABEL_36;\n    if ( v7 )\n      v11 = v20;\n    else\n      v11 = (char *)&v18 + 1;\n    if ( v9 )\n      v12 = *(unsigned __int8 **)(v2 + 652);\n    else\n      v12 = (unsigned __int8 *)(v2 + 645);\n    if ( !v7 )\n    {\n      v13 = v11 - 1;\n      v14 = &v12[v8];\n      while ( v12 != v14 )\n      {\n        v15 = (unsigned __int8)*++v13;\n        if ( v15 != *v12 )\n          goto LABEL_36;\n        ++v12;\n      }\n      goto LABEL_37;\n    }\n    if ( std::char_traits<char>::compare(v11, v12, v8) )\n    {\nLABEL_36:\n      std::string::operator=((unsigned __int8 *)(v2 + 644), (unsigned __int8 *)&v18);\n      AutoBackupPopup::buildRows((AutoBackupPopup *)v2);\n    }\nLABEL_37:\n    std::string::~string((int)&v18);\n    return std::string::~string((int)v16);\n  }\n  return this;\n}", "assembly": "; \n; AutoBackupPopup::textChanged from 0x73f44c to 0x73f562 (278 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AutoBackupPopup::textChanged @ 0x73f56c\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:58:33 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x73f44c\nSUB             SP, SP, #0x24                                          ; +0x2, 0x73f44e\nLDR             R5, =(__stack_chk_guard_ptr - 0x73F458)                ; +0x4, 0x73f450\nMOV             R4, R0                                                 ; +0x6, 0x73f452\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x8, 0x73f454\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xa, 0x73f456\nLDR             R3, [R5]                                               ; +0xc, 0x73f458\nSTR             R3, [SP,#0x24+var_8]                                   ; +0xe, 0x73f45a\nLDR.W           R3, [R0,#0x29C]                                        ; +0x10, 0x73f45c\nCMP             R3, R1                                                 ; +0x14, 0x73f460\nBNE             loc_73F552                                             ; +0x16, 0x73f462\nADD             R6, SP, #0x24+var_20                                   ; +0x18, 0x73f464\nMOV             R0, R6; this                                           ; +0x1a, 0x73f466\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x1c, 0x73f468\nLDR.W           R0, [R4,#0x2A0]                                        ; +0x20, 0x73f46c\nCBNZ            R0, loc_73F47E                                         ; +0x24, 0x73f470\nADD             R7, SP, #0x24+var_14                                   ; +0x26, 0x73f472\nMOV             R1, R6                                                 ; +0x28, 0x73f474\nMOV             R0, R7                                                 ; +0x2a, 0x73f476\nBL              sub_73C56C                                             ; +0x2c, 0x73f478\nB               loc_73F49A                                             ; +0x30, 0x73f47c\nLDRB.W          R1, [SP,#0x24+var_20]                                  ; +0x32, 0x73f47e\nLDR             R3, [R0]                                               ; +0x36, 0x73f482\nLSLS            R2, R1, #0x1F                                          ; +0x38, 0x73f484\nITE PL                                                                 ; +0x3a, 0x73f486\nASRPL           R1, R1, #1                                             ; +0x3c, 0x73f488\nLDRMI           R1, [SP,#0x24+var_1C]                                  ; +0x3e, 0x73f48a\nLDR.W           R3, [R3,#0xAC]                                         ; +0x40, 0x73f48c\nADDS            R1, #0                                                 ; +0x44, 0x73f490\nIT NE                                                                  ; +0x46, 0x73f492\nMOVNE           R1, #1                                                 ; +0x48, 0x73f494\nBLX             R3                                                     ; +0x4a, 0x73f496\nB               loc_73F472                                             ; +0x4c, 0x73f498\nLDRB.W          R3, [SP,#0x24+var_14]                                  ; +0x4e, 0x73f49a\nANDS.W          R2, R3, #1                                             ; +0x52, 0x73f49e\nITE EQ                                                                 ; +0x56, 0x73f4a2\nASREQ           R3, R3, #1                                             ; +0x58, 0x73f4a4\nLDRNE           R3, [SP,#0x24+var_10]                                  ; +0x5a, 0x73f4a6\nCMP             R3, #1                                                 ; +0x5c, 0x73f4a8\nBGT             loc_73F4C0                                             ; +0x5e, 0x73f4aa\nCBZ             R2, loc_73F4B8                                         ; +0x60, 0x73f4ac\nLDR             R2, [SP,#0x24+var_C]                                   ; +0x62, 0x73f4ae\nMOVS            R3, #0                                                 ; +0x64, 0x73f4b0\nSTRB            R3, [R2]                                               ; +0x66, 0x73f4b2\nSTR             R3, [SP,#0x24+var_10]                                  ; +0x68, 0x73f4b4\nB               loc_73F4C0                                             ; +0x6a, 0x73f4b6\nSTRB.W          R2, [SP,#0x24+var_13]                                  ; +0x6c, 0x73f4b8\nSTRB.W          R2, [SP,#0x24+var_14]                                  ; +0x70, 0x73f4bc\nLDRB.W          R2, [SP,#0x24+var_14]                                  ; +0x74, 0x73f4c0\nLDRB.W          R3, [R4,#0x284]                                        ; +0x78, 0x73f4c4\nANDS.W          LR, R2, #1                                             ; +0x7c, 0x73f4c8\nITE EQ                                                                 ; +0x80, 0x73f4cc\nASREQ           R2, R2, #1                                             ; +0x82, 0x73f4ce\nLDRNE           R2, [SP,#0x24+var_10]                                  ; +0x84, 0x73f4d0\nANDS.W          R1, R3, #1                                             ; +0x86, 0x73f4d2\nITE EQ                                                                 ; +0x8a, 0x73f4d6\nASREQ           R3, R3, #1                                             ; +0x8c, 0x73f4d8\nLDRNE.W         R3, [R4,#0x288]                                        ; +0x8e, 0x73f4da\nCMP             R2, R3                                                 ; +0x92, 0x73f4de\nBNE             loc_73F522                                             ; +0x94, 0x73f4e0\nCMP.W           LR, #0                                                 ; +0x96, 0x73f4e2\nBEQ             loc_73F4EC                                             ; +0x9a, 0x73f4e6\nLDR             R0, [SP,#0x24+var_C]                                   ; +0x9c, 0x73f4e8\nB               loc_73F4F0                                             ; +0x9e, 0x73f4ea\nADD.W           R0, SP, #0x24+var_13                                   ; +0xa0, 0x73f4ec\nCBZ             R1, loc_73F4F8                                         ; +0xa4, 0x73f4f0\nLDR.W           R1, [R4,#0x28C]                                        ; +0xa6, 0x73f4f2\nB               loc_73F4FC                                             ; +0xaa, 0x73f4f6\nADDW            R1, R4, #0x285                                         ; +0xac, 0x73f4f8\nCMP.W           LR, #0                                                 ; +0xb0, 0x73f4fc\nBNE             loc_73F508                                             ; +0xb4, 0x73f500\nSUBS            R0, #1                                                 ; +0xb6, 0x73f502\nADD             R2, R1                                                 ; +0xb8, 0x73f504\nB               loc_73F51C                                             ; +0xba, 0x73f506\nBL              _ZNSt6__ndk111char_traitsIcE7compareEPKcS3_j; std::char_traits<char>::compare(char const*,char const*,uint) ; +0xbc, 0x73f508\nCBZ             R0, loc_73F532                                         ; +0xc0, 0x73f50c\nB               loc_73F522                                             ; +0xc2, 0x73f50e\nLDRB.W          LR, [R0,#1]!                                           ; +0xc4, 0x73f510\nLDRB            R3, [R1]                                               ; +0xc8, 0x73f514\nCMP             LR, R3                                                 ; +0xca, 0x73f516\nBNE             loc_73F522                                             ; +0xcc, 0x73f518\nADDS            R1, #1                                                 ; +0xce, 0x73f51a\nCMP             R1, R2                                                 ; +0xd0, 0x73f51c\nBNE             loc_73F510                                             ; +0xd2, 0x73f51e\nB               loc_73F532                                             ; +0xd4, 0x73f520\nADD.W           R0, R4, #0x284                                         ; +0xd6, 0x73f522\nMOV             R1, R7                                                 ; +0xda, 0x73f526\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0xdc, 0x73f528\nMOV             R0, R4; this                                           ; +0xe0, 0x73f52c\nBL              _ZN15AutoBackupPopup9buildRowsEv; AutoBackupPopup::buildRows(void) ; +0xe2, 0x73f52e\nMOV             R0, R7                                                 ; +0xe6, 0x73f532\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xe8, 0x73f534\nMOV             R0, R6                                                 ; +0xec, 0x73f538\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xee, 0x73f53a\nB               loc_73F552                                             ; +0xf2, 0x73f53e\nMOV             R0, R7                                                 ; +0xf4, 0x73f540\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf6, 0x73f542\nB               loc_73F548                                             ; +0xfa, 0x73f546\nMOV             R0, R6                                                 ; +0xfc, 0x73f548\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xfe, 0x73f54a\nBL              __cxa_end_cleanup                                      ; +0x102, 0x73f54e\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x106, 0x73f552\nLDR             R3, [R5]                                               ; +0x108, 0x73f554\nCMP             R2, R3                                                 ; +0x10a, 0x73f556\nBEQ             loc_73F55E                                             ; +0x10c, 0x73f558\nBLX             __stack_chk_fail                                       ; +0x10e, 0x73f55a\nADD             SP, SP, #0x24 ; '$'                                    ; +0x112, 0x73f55e\nPOP             {R4-R7,PC}                                             ; +0x114, 0x73f560", "xrefs": ["`non-virtual thunk to'AutoBackupPopup::textChanged @ 0x73f56c"], "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"}