//
// GameSettingsLayer::dGameSettingsLayer from 0x1402c2530 to 0x1402c263b (267 bytes)
//
// 3 xrefs:
// > sub_1402C8C60 @ 0x1402c8c67
// > ??> @ 0x140765df0
// > ??> @ 0x14091db7c
//
// 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:29:20 +0000
//
void *__fastcall GameSettingsLayer::dGameSettingsLayer(void *Block, char a2)
{
*(_QWORD *)Block = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 40) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 41) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 42) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 43) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 44) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 51) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 54) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 68) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 83) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 84) = &GameSettingsLayer::`vftable';
*((_QWORD *)Block + 134) = &GameSettingsLayer::`vftable';
sub_14003EA90((_QWORD *)Block + 139);
sub_1400665B0((void **)Block + 137);
sub_14019EF40((__int64 *)Block + 128);
sub_14019F010((__int64 *)Block + 125);
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}