// // AutoBackupPopup::backupDirectory from 0xc53480 to 0xc53518 (152 bytes) // // 8 xrefs: // > LevelEditorLayer::doAutoBackup @ 0x7a83f4 // > AutoBackupOptionsPopup::refreshStats @ 0xc5667c // > AutoBackupOptionsPopup::onDeleteAll @ 0xc5728c // > AutoBackupOptionsPopup::onPrune @ 0xc58b9c // > AutoBackupOptionsPopup::FLAlert_Clicked @ 0xc58e7c // > AutoBackupPopup::reloadFiles @ 0xc5d070 // > AutoBackupPopup::init @ 0xc5d184 // > @ 0xc13c0 // // This function is hookable on this platform (idp: arm, 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 13:05:10 +0000 // __int64 *__usercall AutoBackupPopup::backupDirectory@(__int64 *__return_ptr a1@) { int v3; // w0 __int64 v4; // x0 int v5; // w0 int v7; // w0 AutoSaveSettingsLayer::getBackupDirectory(a1); v3 = *(unsigned __int8 *)a1; if ( (v3 & 1) != 0 ) { v4 = a1[1]; if ( !v4 ) return a1; v5 = *(unsigned __int8 *)(a1[2] + v4 - 1); if ( v5 == 47 ) return a1; } else { v7 = v3 >> 1; if ( !v7 ) return a1; v5 = *((unsigned __int8 *)a1 + v7); if ( v5 == 47 ) return a1; } if ( v5 != 92 ) std::string::append((__int64)a1, &word_11BA098, 1u); return a1; }