//
// GJSmartPrefab::dGJSmartPrefab from 0x1403b6af0 to 0x1403b6b44 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x140781fe0
// > ??> @ 0x140923ca8
//
// 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:31:24 +0000
//
cocos2d::CCObject *__fastcall GJSmartPrefab::dGJSmartPrefab(cocos2d::CCObject *Block, char a2)
{
*(_QWORD *)Block = &GJSmartPrefab::`vftable';
sub_14003D310((__int64)Block + 88);
sub_14003D310((__int64)Block + 56);
cocos2d::CCObject::~CCObject(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}