//
// sub_40C47A from 0x40c47a to 0x40c49a (32 bytes)
//
// 4 xrefs:
// > GJRewardItem::init @ 0x40e772
// > GJRewardItem::createWithObjects @ 0x40e8fa
// > GJRewardItem::getRewardObjectForType @ 0x412a0e
// > GJRewardItem::dataLoaded @ 0x412a80
//
// 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
//
void __fastcall sub_40C47A(cocos2d::CCObject **a1, cocos2d::CCObject *this)
{
if ( *a1 != this )
{
if ( this )
cocos2d::CCObject::retain(this);
if ( *a1 )
cocos2d::CCObject::release(*a1);
*a1 = this;
}
}