//
// GJColorSetupLayer::create from 0x10018dbec to 0x10018dc4c (96 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::onBrowse @ 0x100050058
// > LevelSettingsLayer::onCol @ 0x10017b3c4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
GJColorSetupLayer *__fastcall GJColorSetupLayer::create(LevelSettingsObject *a1)
{
GJColorSetupLayer *v2; // x19
v2 = (GJColorSetupLayer *)operator new(0x2E8u);
sub_10018E634();
if ( GJColorSetupLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(GJColorSetupLayer *))v2->~GJColorSetupLayer_0)(v2);
return nullptr;
}
return v2;
}