// // AutoSaveSettingsLayer::onOpenBackupDir from 0x6e7170 to 0x6e722e (190 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:57:25 +0000 // int __fastcall AutoSaveSettingsLayer::onOpenBackupDir(AutoSaveSettingsLayer *this, cocos2d::CCObject *a2) { AutoSaveSettingsLayer *CustomBackupDirectory; // r0 int v4; // r3 int v6; // r3 void (__fastcall *v7)(AutoSaveSettingsLayer *, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v8; // r0 _BYTE v9[4]; // [sp+8h] [bp-2Ch] BYREF int v10; // [sp+Ch] [bp-28h] int v11[3]; // [sp+14h] [bp-20h] BYREF int v12[3]; // [sp+20h] [bp-14h] BYREF CustomBackupDirectory = AutoSaveSettingsLayer::getCustomBackupDirectory((AutoSaveSettingsLayer *)v9); if ( (v9[0] & 1) != 0 ) v4 = v10; else v4 = (int)v9[0] >> 1; if ( v4 && (CustomBackupDirectory = (AutoSaveSettingsLayer *)GameToolbox::directoryExists((int)v9)) == nullptr ) { v6 = *(_DWORD *)this; memset(v11, 0, sizeof(v11)); v7 = *(void (__fastcall **)(AutoSaveSettingsLayer *, cocos2d::CCNode *, int))(v6 + 232); std::string::__init(v11, "Directory not found", 0x13u); memset(v12, 0, sizeof(v12)); std::string::__init(v12, &unk_B6B226, 0); v8 = TextAlertPopup::create((int)v11, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v12); v7(this, v8, 100); std::string::~string((int)v12); std::string::~string((int)v11); } else { AutoSaveSettingsLayer::openBackupDirectory(CustomBackupDirectory); } return std::string::~string((int)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source