//
// AutoSaveSettingsLayer::dAutoSaveSettingsLayer from 0x14009ad80 to 0x14009ae59 (217 bytes)
//
// 3 xrefs:
// > sub_14009D610 @ 0x14009d617
// > ??> @ 0x14071b370
// > ??> @ 0x140912ec0
//
// 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
//
_QWORD *__fastcall AutoSaveSettingsLayer::dAutoSaveSettingsLayer(_QWORD *Block, char a2)
{
*Block = &AutoSaveSettingsLayer::`vftable';
Block[40] = &AutoSaveSettingsLayer::`vftable';
Block[41] = &AutoSaveSettingsLayer::`vftable';
Block[42] = &AutoSaveSettingsLayer::`vftable';
Block[43] = &AutoSaveSettingsLayer::`vftable';
Block[44] = &AutoSaveSettingsLayer::`vftable';
Block[51] = &AutoSaveSettingsLayer::`vftable';
Block[54] = &AutoSaveSettingsLayer::`vftable';
Block[68] = &AutoSaveSettingsLayer::`vftable';
Block[83] = &AutoSaveSettingsLayer::`vftable';
Block[84] = &AutoSaveSettingsLayer::`vftable';
sub_14003D310((__int64)(Block + 127));
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}