//
// GJChestSprite::dGJChestSprite from 0x140561c30 to 0x140561c8b (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407dbd38
// > ??> @ 0x14092c498
//
// 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:34:15 +0000
//
cocos2d::CCSprite *__fastcall GJChestSprite::dGJChestSprite(cocos2d::CCSprite *Block, char a2)
{
*(_QWORD *)Block = &GJChestSprite::`vftable';
*((_QWORD *)Block + 40) = &GJChestSprite::`vftable';
*((_QWORD *)Block + 43) = &GJChestSprite::`vftable';
cocos2d::CCSprite::~CCSprite(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}