// // AutoBackupPopup::backupDirectory from 0x10097dbc0 to 0x10097dc18 (88 bytes) // // 1 xrefs: // > sub_1000D5780 @ 0x1000d5986 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:38:58 +0000 // std::string *__fastcall AutoBackupPopup::backupDirectory(std::string *this) { unsigned int v1; // eax char v2; // al std::string::size_type size; // rax sub_1005BDF10((__int64)this); v1 = (unsigned int)this->__r_.__value_.__l.0; if ( (v1 & 1) != 0 ) { size = this->__r_.__value_.__l.__size_; if ( !size ) return this; v2 = *(_BYTE *)(this->__r_.__value_.__r.__words[2] + size - 1); if ( v2 == 47 ) return this; } else { if ( !*(_BYTE *)&this->__r_.__value_.__s.0 ) return this; v2 = *((_BYTE *)&this->__r_.__value_.__l.0 + (v1 >> 1)); if ( v2 == 47 ) return this; } if ( v2 != 92 ) std::string::append(this, "/"); return this; }