//
// InheritanceNode::create from 0x10000d240 to 0x10000d2a4 (100 bytes)
//
// 2 xrefs:
// > GJEffectManager::processInheritedColors @ 0x10000f480
// > GJEffectManager::processInheritedColors @ 0x10000f4b4
//
// 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 *__fastcall InheritanceNode::create(int a1, InheritanceNode *a2)
{
_WORD *v4; // x19
v4 = operator new(0x58u);
cocos2d::CCObject::CCObject();
*(_QWORD *)v4 = &off_100763C10;
v4[40] = 1;
*((_DWORD *)v4 + 14) = a1;
*((_QWORD *)v4 + 8) = a2;
*((_QWORD *)v4 + 9) = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (InheritanceNode *)v4;
}