//
// ShaderGameObject::create from 0x10037b0a8 to 0x10037b12c (132 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x1002543a8
//
// 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
//
ShaderGameObject *__fastcall ShaderGameObject::create(const char *a1)
{
ShaderGameObject *v2; // x19
v2 = (ShaderGameObject *)operator new(0x778u);
ShaderGameObject::ShaderGameObject(v2);
if ( EnhancedGameObject::init(v2, a1) )
{
v2->m_classType = Effect;
v2->m_triggerTargetColor.b = -1;
*(_WORD *)&v2->m_triggerTargetColor.r = -1;
v2->m_duration = 0.5;
v2->m_legacyHSV = 1;
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(ShaderGameObject *))v2->~ShaderGameObject_0)(v2);
return nullptr;
}
return v2;
}