{"type": "func", "start": 4304919488, "end": 4304919576, "name": "AutoBackupPopup::backupDirectory", "pseudocode": "// \n// AutoBackupPopup::backupDirectory from 0x10097dbc0 to 0x10097dc18 (88 bytes)\n// \n// 1 xrefs:\n// > sub_1000D5780 @ 0x1000d5986\n// \n// This function is hookable on this platform (idp: pc, 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:38:58 +0000\n// \n\nstd::string *__fastcall AutoBackupPopup::backupDirectory(std::string *this)\n{\n  unsigned int v1; // eax\n  char v2; // al\n  std::string::size_type size; // rax\n\n  sub_1005BDF10((__int64)this);\n  v1 = (unsigned int)this->__r_.__value_.__l.0;\n  if ( (v1 & 1) != 0 )\n  {\n    size = this->__r_.__value_.__l.__size_;\n    if ( !size )\n      return this;\n    v2 = *(_BYTE *)(this->__r_.__value_.__r.__words[2] + size - 1);\n    if ( v2 == 47 )\n      return this;\n  }\n  else\n  {\n    if ( !*(_BYTE *)&this->__r_.__value_.__s.0 )\n      return this;\n    v2 = *((_BYTE *)&this->__r_.__value_.__l.0 + (v1 >> 1));\n    if ( v2 == 47 )\n      return this;\n  }\n  if ( v2 != 92 )\n    std::string::append(this, \"/\");\n  return this;\n}", "assembly": "; \n; AutoBackupPopup::backupDirectory from 0x10097dbc0 to 0x10097dc18 (88 bytes)\n; \n; 1 xrefs:\n; > sub_1000D5780 @ 0x1000d5986\n; \n; This function is hookable on this platform (idp: pc, 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:38:58 +0000\n; \npush    rbp                                                            ; +0x0, 0x10097dbc0\nmov     rbp, rsp                                                       ; +0x1, 0x10097dbc1\npush    r14                                                            ; +0x4, 0x10097dbc4\npush    rbx                                                            ; +0x6, 0x10097dbc6\nmov     rbx, rdi                                                       ; +0x7, 0x10097dbc7\ncall    sub_1005BDF10                                                  ; +0xa, 0x10097dbca\nmovzx   eax, byte ptr [rbx]                                            ; +0xf, 0x10097dbcf\ntest    al, 1                                                          ; +0x12, 0x10097dbd2\njnz     short loc_10097DBE7                                            ; +0x14, 0x10097dbd4\ntest    rax, rax                                                       ; +0x16, 0x10097dbd6\njz      short loc_10097DC10                                            ; +0x19, 0x10097dbd9\nshr     eax, 1                                                         ; +0x1b, 0x10097dbdb\nmovzx   eax, byte ptr [rbx+rax]                                        ; +0x1d, 0x10097dbdd\ncmp     al, 2Fh ; '/'                                                  ; +0x21, 0x10097dbe1\njnz     short loc_10097DBFD                                            ; +0x23, 0x10097dbe3\njmp     short loc_10097DC10                                            ; +0x25, 0x10097dbe5\nmov     rax, [rbx+8]                                                   ; +0x27, 0x10097dbe7\ntest    rax, rax                                                       ; +0x2b, 0x10097dbeb\njz      short loc_10097DC10                                            ; +0x2e, 0x10097dbee\nmov     rcx, [rbx+10h]                                                 ; +0x30, 0x10097dbf0\nmovzx   eax, byte ptr [rcx+rax-1]                                      ; +0x34, 0x10097dbf4\ncmp     al, 2Fh ; '/'                                                  ; +0x39, 0x10097dbf9\njz      short loc_10097DC10                                            ; +0x3b, 0x10097dbfb\ncmp     al, 5Ch ; '\\'                                                  ; +0x3d, 0x10097dbfd\njz      short loc_10097DC10                                            ; +0x3f, 0x10097dbff\nlea     rsi, asc_100A649F8; \"/\"                                        ; +0x41, 0x10097dc01\nmov     rdi, rbx; this                                                 ; +0x48, 0x10097dc08\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x4b, 0x10097dc0b\nmov     rax, rbx                                                       ; +0x50, 0x10097dc10\npop     rbx                                                            ; +0x53, 0x10097dc13\npop     r14                                                            ; +0x54, 0x10097dc14\npop     rbp                                                            ; +0x56, 0x10097dc16\nretn                                                                   ; +0x57, 0x10097dc17", "xrefs": ["sub_1000D5780 @ 0x1000d5986"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}