//
// GJColorSetupLayer::create from 0x1001ee850 to 0x1001ee89b (75 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::onBrowse @ 0x1001da83c
// > LevelSettingsLayer::onCol @ 0x100257b6b
//
// 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:26:32 +0000
//
void *__fastcall GJColorSetupLayer::create(__int64 a1)
{
void *v1; // rbx
v1 = operator new(0x308u);
sub_1001EF4F0(v1);
if ( (unsigned __int8)GJColorSetupLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}