//
// ShaderGameObject::customSetup from 0x10017cf80 to 0x10017cfe8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acf550
//
// 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
//
__int64 __fastcall ShaderGameObject::customSetup(__int64 a1, __int64 a2)
{
__int64 result; // rax
EffectGameObject::customSetup(a1, a2);
result = *(unsigned int *)(a1 + 1028);
switch ( (_DWORD)result )
{
case 0xB6A:
*(_DWORD *)(a1 + 1844) = 0;
break;
case 0xB6C:
*(_QWORD *)(a1 + 1860) = 0;
break;
case 0xB6B:
*(_QWORD *)(a1 + 1856) = 0;
*(_DWORD *)(a1 + 1864) = 0;
break;
}
return result;
}