//
// sub_180031790 from 0x180031790 to 0x1800317ce (62 bytes)
//
// 2 xrefs:
// > ??> @ 0x1800e9fc8
// > ??> @ 0x1801b03c0
//
// 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::CCAction *__fastcall sub_180031790(cocos2d::CCAction *Block, char a2)
{
Block->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCFiniteTimeAction::`vftable';
cocos2d::CCAction::~CCAction(Block);
if ( (a2 & 1) != 0 )
j_j_free_0(Block);
return Block;
}