// // AutoSaveSettingsLayer::setBackupDirectory from 0x6e6d28 to 0x6e6d8c (100 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::setBackupDirectory(GameManager *a1, int a2) { int result; // r0 int v4; // r6 cocos2d::CCObject *v5; // r7 int v6[3]; // [sp+0h] [bp-14h] BYREF result = GameManager::sharedState(a1); v4 = *(_DWORD *)(result + 324); if ( v4 ) { memset(v6, 0, sizeof(v6)); v5 = (cocos2d::CCObject *)cocos2d::CCString::create(a2); std::string::__init(v6, "autoBackupDir", 0xDu); cocos2d::CCDictionary::setObject(v4, v5); return std::string::~string((int)v6); } return result; }