//
// AutoBackupPopup::onSettings from 0x1400ccad0 to 0x1400ccb0a (58 bytes)
//
// 2 xrefs:
// > AutoBackupPopup::init @ 0x1400c9efe
// > ??> @ 0x1409140cc
//
// This function is hookable on this platform (idp: pc, 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 11:26:23 +0000
//
__int64 __fastcall AutoBackupPopup::onSettings(__int64 a1)
{
cocos2d::CCObject *v2; // rax
__int64 v3; // rdx
__int64 v4; // rcx
v2 = AutoSaveSettingsLayer::create();
v3 = a1 + 784;
if ( !a1 )
v3 = 0;
v4 = *(_QWORD *)v2;
*((_QWORD *)v2 + 131) = v3;
return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(v4 + 1064))(v2);
}