// // AutoSaveSettingsLayer::create from 0x14009ae60 to 0x14009af98 (312 bytes) // // 3 xrefs: // > AutoBackupPopup::onSettings @ 0x1400ccad9 // > EditorPauseLayer::onAutoSaveSettings @ 0x1401831b4 // > @ 0x140912ecc // // 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:04 +0000 // // Hidden C++ exception states: #wind=2 cocos2d::CCObject *AutoSaveSettingsLayer::create() { cocos2d::CCObject *v0; // rbx __int64 (__fastcall *v1)(cocos2d::CCObject *); // rdx char v2; // al v0 = (cocos2d::CCObject *)operator new(0x420u); SetupTriggerPopup::SetupTriggerPopup((__int64)v0); *(_QWORD *)v0 = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 40) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 41) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 42) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 43) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 44) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 51) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 54) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 68) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 83) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 84) = &AutoSaveSettingsLayer::`vftable'; *((_QWORD *)v0 + 125) = 0; *((_QWORD *)v0 + 126) = 0; *(_OWORD *)((char *)v0 + 1016) = 0; *((_QWORD *)v0 + 129) = 0; *((_QWORD *)v0 + 130) = 15; *((_BYTE *)v0 + 1016) = 0; *((_QWORD *)v0 + 131) = 0; v1 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v0 + 72LL); if ( (char *)v1 == (char *)AutoSaveSettingsLayer::init ) v2 = AutoSaveSettingsLayer::init(v0); else v2 = v1(v0); if ( v2 ) { cocos2d::CCObject::autorelease(v0); return v0; } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1); return nullptr; } }