//
// GJOptionsLayer::dGJOptionsLayer from 0x14039ab40 to 0x14039ac28 (232 bytes)
//
// 5 xrefs:
// > sub_140180220 @ 0x14018022f
// > GameLevelOptionsLayer::dGameLevelOptionsLayer @ 0x140399d88
// > LevelOptionsLayer::dLevelOptionsLayer @ 0x14045d196
// > sub_1406166A0 @ 0x1406166af
// > ??> @ 0x1409232f4
//
// 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:31:14 +0000
//
// Merged with: GJOptionsLayer::~GJOptionsLayer, FindObjectOptionsLayer::~FindObjectOptionsLayer, SFXSettingsPopup::~SFXSettingsPopup
__int64 __fastcall GJOptionsLayer::dGJOptionsLayer(__int64 a1)
{
cocos2d::CCObject *v2; // rcx
cocos2d::CCObject *v3; // rcx
*(_QWORD *)a1 = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 320) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 328) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 336) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 344) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 352) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 408) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 432) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 544) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 664) = &GJOptionsLayer::`vftable';
*(_QWORD *)(a1 + 672) = &GJOptionsLayer::`vftable';
v2 = *(cocos2d::CCObject **)(a1 + 1040);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 1032);
if ( v3 )
cocos2d::CCObject::release(v3);
sub_14003EA90((_QWORD *)(a1 + 1096));
sub_1400665B0((void **)(a1 + 1080));
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}