//
// sub_1002A2040 from 0x1002a2040 to 0x1002a2132 (242 bytes)
//
// 1 xrefs:
// > UIOptionsLayer::init @ 0x1002a04c2
//
// 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:54 +0000
//
__int64 __fastcall sub_1002A2040(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x400u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*v1 = off_100B0B800;
v1[40] = off_100B0BDF0;
v1[41] = &off_100B0BE60;
v1[42] = off_100B0BE78;
v1[43] = off_100B0BE98;
v1[44] = off_100B0BEC0;
v1[51] = off_100B0BEF0;
v1[54] = off_100B0BF70;
v1[68] = off_100B0BF90;
v1[83] = &off_100B0BFD8;
v1[84] = off_100B0BFF0;
v1[127] = 0;
if ( !(unsigned __int8)UISaveLoadLayer::init(v1, a1) )
sub_1009A64D0(v1);
cocos2d::CCObject::autorelease(v1);
return (*(__int64 (__fastcall **)(_QWORD *))(*v1 + 1312LL))(v1);
}