//
// InheritanceNode::create from 0x9f8c6c to 0x9f8d2c (192 bytes)
//
// 3 xrefs:
// > GJEffectManager::processInheritedColors @ 0xa1b724
// > GJEffectManager::processInheritedColors @ 0xa1b7b0
// > ??> @ 0xf4810
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:15 +0000
//
__int64 __fastcall InheritanceNode::create(int a1, __int64 a2)
{
__int64 v4; // x19
v4 = operator new(0x58u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);
*(_DWORD *)(v4 + 56) = 0;
*(_QWORD *)(v4 + 64) = 0;
*(_QWORD *)v4 = &off_1477330;
*(_QWORD *)(v4 + 72) = 0;
*(_BYTE *)(v4 + 80) = 1;
*(_BYTE *)(v4 + 81) = 0;
if ( (unsigned __int8)InheritanceNode::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}