//
// AutoSaveSettingsLayer::setBackupDirectory from 0xbc98b0 to 0xbc997c (204 bytes)
//
// 1 xrefs:
// > ??> @ 0x68ec0
//
// 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:33 +0000
//
__int64 __fastcall AutoSaveSettingsLayer::setBackupDirectory(__int64 a1, __int64 a2)
{
__int64 v2; // x20
cocos2d::CCObject *v3; // x0
v2 = *(_QWORD *)(GameManager::sharedState(_stack_chk_guard) + 432);
if ( v2 )
{
v3 = (cocos2d::CCObject *)cocos2d::CCString::create(a2);
cocos2d::CCDictionary::setObject(v2, v3);
}
return _stack_chk_guard;
}