//
// ShaderGameObject::create from 0x10017ce20 to 0x10017cf0e (238 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066ebe1
//
// 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 12:25:30 +0000
//
_QWORD *__fastcall ShaderGameObject::create(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x780u);
EffectGameObject::EffectGameObject(v1);
*v1 = off_100ACF060;
v1[40] = off_100ACF7B8;
v1[43] = off_100ACF838;
*((_OWORD *)v1 + 115) = xmmword_100A053C0;
*((_OWORD *)v1 + 116) = xmmword_100A03F70;
*((_DWORD *)v1 + 468) = 1065353216;
*((_WORD *)v1 + 956) = 0;
*((_BYTE *)v1 + 1914) = 0;
*(_QWORD *)((char *)v1 + 1876) = 0;
*((_BYTE *)v1 + 1884) = 0;
*((_OWORD *)v1 + 118) = 0;
if ( (unsigned __int8)EnhancedGameObject::init(v1, a1) )
{
*((_DWORD *)v1 + 312) = 1;
*((_BYTE *)v1 + 1450) = -1;
*((_WORD *)v1 + 724) = -1;
*((_DWORD *)v1 + 363) = 1056964608;
*((_BYTE *)v1 + 1636) = 1;
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}