//
// CreatorSettingsPopup::create from 0x1004abc80 to 0x1004abd74 (244 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::onCreatorSettings @ 0x10002c0f0
// > EditLevelLayer::onCreatorSettings @ 0x100111328
//
// 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 11:06:07 +0000
//
_QWORD *__fastcall CreatorSettingsPopup::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
v4 = operator new(0x428u);
bzero(v4, 0x428u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = off_100981810;
v4[40] = off_100981E20;
v4[41] = &off_100981E90;
v4[42] = off_100981EA8;
v4[43] = off_100981EC8;
v4[44] = off_100981EF0;
v4[51] = off_100981F20;
v4[54] = off_100981FA0;
v4[68] = off_100981FC0;
v4[83] = &off_100982008;
v4[84] = off_100982020;
v4[127] = off_100982040;
v4[128] = &off_100982060;
v4[129] = &off_100982078;
v4[130] = 0;
v4[132] = 0;
v4[131] = 0;
if ( (unsigned int)CreatorSettingsPopup::init((__int64)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}