//
// sub_100286570 from 0x100286570 to 0x100286678 (264 bytes)
//
// 23 xrefs:
// > sub_10025B3E0 @ 0x10025b3e5
// > sub_10025B3F0 @ 0x10025b3f5
// > sub_10025B400 @ 0x10025b40c
// > sub_10025B420 @ 0x10025b429
// > sub_10025B440 @ 0x10025b453
// > sub_10025E370 @ 0x10025e375
// > sub_10025E380 @ 0x10025e389
// > sub_10025E3A0 @ 0x10025e3ac
// > sub_10025E3C0 @ 0x10025e3d3
// > GJOptionsLayer::dGJOptionsLayer @ 0x100286685
// > sub_100286690 @ 0x10028669c
// > sub_1002866B0 @ 0x1002866b9
// > sub_1002866D0 @ 0x1002866e3
// > sub_1002882D0 @ 0x1002882d5
// > sub_1002882E0 @ 0x1002882e5
// > sub_1002882F0 @ 0x1002882fc
// > sub_100288310 @ 0x100288319
// > sub_100288330 @ 0x100288343
// > sub_10029F370 @ 0x10029f437
// > GameLevelOptionsLayer::dGameLevelOptionsLayer @ 0x10029f517
// > sub_10029F530 @ 0x10029f5ec
// > sub_10029F600 @ 0x10029f6c1
// > sub_10029F6E0 @ 0x10029f796
//
// 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 12:27:45 +0000
//
__int64 __fastcall sub_100286570(_QWORD *a1)
{
__int64 v2; // rdi
__int64 v3; // rdi
_QWORD *v4; // rdi
_QWORD *v5; // r14
void *v6; // rdi
*a1 = off_100AFF038;
a1[40] = off_100AFF640;
a1[41] = &off_100AFF6B0;
a1[42] = off_100AFF6C8;
a1[43] = off_100AFF6E8;
a1[44] = off_100AFF710;
a1[51] = off_100AFF740;
a1[54] = off_100AFF7C0;
a1[68] = off_100AFF7E0;
a1[83] = &off_100AFF828;
a1[84] = off_100AFF840;
v2 = a1[131];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[130];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (_QWORD *)a1[137];
if ( v4 )
{
do
{
v5 = (_QWORD *)*v4;
operator delete(v4);
v4 = v5;
}
while ( v5 );
}
v6 = (void *)a1[135];
a1[135] = 0;
if ( v6 )
operator delete(v6);
return SetupTriggerPopup::dSetupTriggerPopup((__int64)a1);
}