//
// sub_100434540 from 0x100434540 to 0x100434687 (327 bytes)
//
// 1 xrefs:
// > sub_10042E820 @ 0x10042e824
//
// 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:30:23 +0000
//
char *__fastcall sub_100434540(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x470u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*(_OWORD *)(v1 + 1016) = 0xAFFFFFFFFuLL;
*((_DWORD *)v1 + 268) = 0;
*(_OWORD *)(v1 + 1080) = 0;
*(_OWORD *)(v1 + 1096) = 0;
*((_DWORD *)v1 + 278) = 1065353216;
*(_QWORD *)v1 = off_100B43068;
*((_QWORD *)v1 + 40) = off_100B43670;
*((_QWORD *)v1 + 41) = &off_100B436E0;
*((_QWORD *)v1 + 42) = off_100B436F8;
*((_QWORD *)v1 + 43) = off_100B43718;
*((_QWORD *)v1 + 44) = off_100B43740;
*((_QWORD *)v1 + 51) = off_100B43770;
*((_QWORD *)v1 + 54) = off_100B437F0;
*((_QWORD *)v1 + 68) = off_100B43810;
*((_QWORD *)v1 + 83) = &off_100B43858;
*((_QWORD *)v1 + 84) = off_100B43870;
v1[1128] = 0;
*((_QWORD *)v1 + 140) = a1;
*((_DWORD *)v1 + 253) = 1108344832;
*((_QWORD *)v1 + 129) = 0x430200003ECCCCCDLL;
if ( (unsigned __int8)GJOptionsLayer::init((__int64)v1, 1, 110.0) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}