//
// SpawnTriggerGameObject::init from 0x14065a0d0 to 0x14065a13b (107 bytes)
//
// 5 xrefs:
// > GameObject::createWithKey @ 0x140288c7f
// > GameObject::createWithKey @ 0x140288c70
// > ??> @ 0x14082edd0
// > ??> @ 0x140931898
// > ??> @ 0x1409318a4
//
// 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:46 +0000
//
char __fastcall SpawnTriggerGameObject::init(__int64 a1)
{
*(_DWORD *)(a1 + 28) = 13;
if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, "edit_eSpawnBtn_001.png") )
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;
}