//
// sub_140080670 from 0x140080670 to 0x1400806bd (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x14053bb08
// > ??> @ 0x1406c69cc
//
// 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::CCNodeRGBA *__fastcall sub_140080670(cocos2d::CCNodeRGBA *Block, char a2)
{
Block->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCNodeRGBA_vtbl *)&AchievementBar::`vftable';
Block->cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&AchievementBar::`vftable';
cocos2d::CCNodeRGBA::~CCNodeRGBA(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}