//
// InheritanceNode::create from 0x8a3740 to 0x8a3800 (192 bytes)
//
// 3 xrefs:
// > GJEffectManager::processInheritedColors @ 0x8c0fe4
// > GJEffectManager::processInheritedColors @ 0x8c10b0
// > ??> @ 0xbb7e8
//
// 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
//
InheritanceNode *InheritanceNode::create(int a1, InheritanceNode *a2)
{
InheritanceNode *v4; // x19
v4 = (InheritanceNode *)operator new(0x58u);
cocos2d::CCObject::CCObject(v4);
v4->m_colorID = 0;
v4->m_inheritanceNode = nullptr;
v4->__vftable = (InheritanceNode_vtbl *)&off_11921C0;
v4->m_colorAction = nullptr;
v4->m_unk050 = 1;
v4->m_unk051 = 0;
if ( InheritanceNode::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~InheritanceNode_0(v4);
return nullptr;
}
}