//
// SpawnTriggerGameObject::create from 0x1001d2d30 to 0x1001d2df3 (195 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d628
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
SpawnTriggerGameObject *__fastcall SpawnTriggerGameObject::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x780u);
EffectGameObject::EffectGameObject((EffectGameObject *)v0);
*(_QWORD *)v0 = off_1008C7078;
*((_QWORD *)v0 + 40) = off_1008C77C0;
*((_QWORD *)v0 + 43) = off_1008C7840;
*((_OWORD *)v0 + 115) = 0;
*(_OWORD *)(v0 + 1852) = 0;
*((_OWORD *)v0 + 117) = 0;
*((_OWORD *)v0 + 118) = 0;
*(_OWORD *)(v0 + 1897) = 0;
if ( EnhancedGameObject::init((EnhancedGameObject *)v0, "edit_eSpawnBtn_001.png") )
{
*((_DWORD *)v0 + 312) = 1;
v0[1450] = -1;
*((_WORD *)v0 + 724) = -1;
*((_DWORD *)v0 + 363) = 1056964608;
v0[1636] = 1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (SpawnTriggerGameObject *)v0;
}