//
// InheritanceNode::create from 0x5c2534 to 0x5c2590 (92 bytes)
//
// 2 xrefs:
// > GJEffectManager::processInheritedColors @ 0x5c3e08
// > GJEffectManager::processInheritedColors @ 0x5c3e30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:50 +0000
//
int __fastcall InheritanceNode::create(InheritanceNode *this, int a2, InheritanceNode *a3)
{
int v5; // r4
int v6; // r3
int v7; // r0
v5 = operator new(0x44u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5);
*(_BYTE *)(v5 + 64) = 1;
*(_DWORD *)v5 = &off_CB55C8;
*(_DWORD *)(v5 + 52) = 0;
*(_DWORD *)(v5 + 56) = 0;
*(_DWORD *)(v5 + 60) = 0;
*(_BYTE *)(v5 + 65) = 0;
if ( InheritanceNode::init(v5, (int)this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = v5;
v5 = 0;
(*(void (__fastcall **)(int))(v6 + 8))(v7);
}
return v5;
}