//
// EffectGameObject::init from 0x140647650 to 0x1406476b4 (100 bytes)
//
// 26 xrefs:
// > EditorSFXManager::createNewSound @ 0x140185ea5
// > GameObject::createWithKey @ 0x140288d27
// > GameObject::createWithKey @ 0x140288ddf
// > GameObject::createWithKey @ 0x140288f4b
// > GameObject::createWithKey @ 0x140289136
// > GameObject::createWithKey @ 0x14028927c
// > GameObject::createWithKey @ 0x140289387
// > GameObject::createWithKey @ 0x1402894cd
// > GameObject::createWithKey @ 0x1402896e3
// > GameObject::createWithKey @ 0x140289805
// > GameObject::createWithKey @ 0x140289837
// > GameObject::createWithKey @ 0x140289a56
// > GameObject::createWithKey @ 0x140289b47
// > GameObject::createWithKey @ 0x140289eb8
// > GameObject::createWithKey @ 0x140289f58
// > GameObject::createWithKey @ 0x140289fdc
// > GameObject::createWithKey @ 0x14028a1cd
// > GameObject::createWithKey @ 0x14028a1ff
// > GameObject::createWithKey @ 0x14028a27e
// > GameObject::createWithKey @ 0x14028a332
// > GameObject::createWithKey @ 0x14028a3c6
// > RingObject::create @ 0x14064397c
// > TeleportPortalObject::create @ 0x140653777
// > RandTriggerGameObject::init @ 0x1406555eb
// > SequenceTriggerGameObject::init @ 0x140655c0b
// > ??> @ 0x140931418
//
// 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:35:37 +0000
//
char __fastcall EffectGameObject::init(__int64 a1, const char *a2)
{
*(_DWORD *)(a1 + 28) = 13;
if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, a2) )
return 0;
GameObject::commonSetup(a1);
*(_BYTE *)(a1 + 313) = 0;
*(_DWORD *)(a1 + 1256) = 1;
*(_WORD *)(a1 + 1465) = -1;
*(_BYTE *)(a1 + 1467) = -1;
*(_DWORD *)(a1 + 1468) = 1056964608;
*(_BYTE *)(a1 + 1652) = 1;
return 1;
}