//
// sub_180031DF0 from 0x180031df0 to 0x180031e2e (62 bytes)
//
// 2 xrefs:
// > ??> @ 0x1800f0028
// > ??> @ 0x1801ba4e0
//
// This function is hookable on this platform (idp: pc, 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 11:21:33 +0000
//
cocos2d::CCAction *__fastcall sub_180031DF0(cocos2d::CCAction *Block, char a2)
{
*(_QWORD *)Block = &cocos2d::CCFiniteTimeAction::`vftable';
cocos2d::CCAction::~CCAction(Block);
if ( (a2 & 1) != 0 )
j_j_free_0(Block);
return Block;
}