//
// EnhancedGameObject::init from 0x1402a1720 to 0x1402a1763 (67 bytes)
//
// 2 xrefs:
// > ParticleGameObject::create @ 0x140641918
// > ??> @ 0x14091d9a8
//
// 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:29:15 +0000
//
char __fastcall EnhancedGameObject::init(__int64 a1, const char *a2)
{
*(_DWORD *)(a1 + 28) = 13;
if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, a2) )
return 0;
GameObject::commonSetup(a1);
*(_DWORD *)(a1 + 1256) = 4;
*(_BYTE *)(a1 + 313) = 0;
return 1;
}