// // AutoSaveSettingsLayer::getBackupCap from 0x6e6b68 to 0x6e6b82 (26 bytes) // // 4 xrefs: // > LevelEditorLayer::doAutoBackup @ 0x472d82 // > AutoBackupOptionsPopup::getValue @ 0x73c364 // > AutoBackupOptionsPopup::onPrune @ 0x73e97a // > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x73eb16 // // 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::getBackupCap(AutoSaveSettingsLayer *this) { GameManager *v1; // r0 int IntGameVariable; // r0 v1 = (GameManager *)GameManager::sharedState(this); IntGameVariable = GameManager::getIntGameVariable(v1, "0236"); if ( IntGameVariable <= 0 ) return 20; else return IntGameVariable - 1; }