// // AutoSaveSettingsLayer::onOpenBackupDir from 0xbc9ea4 to 0xbca028 (388 bytes) // // 1 xrefs: // > @ 0x4d410 // // 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:03:34 +0000 // __int64 __fastcall AutoSaveSettingsLayer::onOpenBackupDir(AutoSaveSettingsLayer *this, cocos2d::CCObject *a2) { unsigned __int64 v3; // x0 AutoSaveSettingsLayer *v4; // x1 void (__fastcall *v6)(AutoSaveSettingsLayer *, __int64, __int64); // x23 __int64 v7; // x0 AutoSaveSettingsLayer *v8[3]; // [xsp+40h] [xbp+40h] BYREF __int64 v9[2]; // [xsp+58h] [xbp+58h] BYREF void *v10; // [xsp+68h] [xbp+68h] __int64 v11[2]; // [xsp+70h] [xbp+70h] BYREF void *v12; // [xsp+80h] [xbp+80h] AutoSaveSettingsLayer::getCustomBackupDirectory((__int64 *)v8); v3 = LOBYTE(v8[0]); v4 = (AutoSaveSettingsLayer *)(LOBYTE(v8[0]) >> 1); if ( ((__int64)v8[0] & 1) != 0 ) v4 = v8[1]; if ( !v4 || (v3 = (unsigned __int8)GameToolbox::directoryExists((char *)v8), (_BYTE)v3) ) { AutoSaveSettingsLayer::openBackupDirectory((AutoSaveSettingsLayer *)v3); } else { v6 = *(void (__fastcall **)(AutoSaveSettingsLayer *, __int64, __int64))(*(_QWORD *)this + 464LL); v9[0] = 0; v9[1] = 0; v10 = nullptr; std::string::__init(v9, "Directory not found", 0x13u); v11[0] = 0; v11[1] = 0; v12 = nullptr; std::string::__init(v11, &byte_11B8890, 0); v7 = TextAlertPopup::create((char *)v9, 150, (char *)v11, 0.5, 0.6); v6(this, v7, 100); if ( (v11[0] & 1) != 0 ) operator delete(v12); if ( (v9[0] & 1) != 0 ) operator delete(v10); } if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v8[2]); return _stack_chk_guard; }