//
// sub_10094A290 from 0x10094a290 to 0x10094a3cf (319 bytes)
//
// 1 xrefs:
// > ThreadOptionsPopup::init @ 0x100949be8
//
// 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:38:35 +0000
//
__int64 __fastcall sub_10094A290(_QWORD *a1)
{
__int64 v1; // r15
__int64 v2; // r12
_QWORD *v3; // r14
v1 = a1[129];
v2 = a1[130];
v3 = operator new(0x438u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v3);
*v3 = off_100BC7210;
v3[40] = off_100BC7840;
v3[41] = &off_100BC78B0;
v3[42] = off_100BC78C8;
v3[43] = off_100BC78E8;
v3[44] = off_100BC7910;
v3[51] = off_100BC7940;
v3[54] = off_100BC79C0;
v3[68] = off_100BC79E0;
v3[83] = &off_100BC7A28;
v3[84] = off_100BC7A40;
v3[127] = off_100BC7A60;
*((_OWORD *)v3 + 64) = 0;
*((_OWORD *)v3 + 65) = 0;
*((_OWORD *)v3 + 66) = 0;
*((_BYTE *)v3 + 1072) = 0;
if ( !(unsigned __int8)sub_10094F400(v3, v1, v2) )
sub_1009A64D0(v3);
cocos2d::CCObject::autorelease((__int64)v3);
(*(void (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1368LL))(a1, 0);
}