//
// sub_1403CC430 from 0x1403cc430 to 0x1403cc48b (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405ce048
// > ??> @ 0x1406d7b98
//
// 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
//
cocos2d::CCSprite *__fastcall sub_1403CC430(cocos2d::CCSprite *Block, char a2)
{
Block->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCSprite_vtbl *)&GJChestSprite::`vftable';
Block->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJChestSprite::`vftable';
Block->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&GJChestSprite::`vftable';
cocos2d::CCSprite::~CCSprite(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}