//
// SetupOpacityPopup::create from 0x1000266c8 to 0x10002679c (212 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x10047248c
//
// This function is hookable on this platform (idp: arm, 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 10:57:25 +0000
//
_QWORD *__fastcall SetupOpacityPopup::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
v4 = operator new(0x430u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = &off_1008AFCB0;
v4[40] = off_1008B02A0;
v4[41] = &off_1008B0310;
v4[42] = off_1008B0328;
v4[43] = off_1008B0348;
v4[44] = off_1008B0370;
v4[51] = off_1008B03A0;
v4[54] = off_1008B0420;
v4[68] = off_1008B0440;
v4[83] = &off_1008B0488;
v4[84] = off_1008B04A0;
v4[132] = 1065353216;
*((_DWORD *)v4 + 266) = 0;
if ( (unsigned int)SetupOpacityPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}