//
// ArtTriggerGameObject::customObjectSetup from 0x1001ce900 to 0x1001ce95b (91 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ad9908
//
// 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:26:21 +0000
//
int __fastcall ArtTriggerGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 *a3, __m128 a4)
{
__int64 v6; // rdi
const char *v7; // rdi
int result; // eax
EffectGameObject::customObjectSetup(a1, a2, a3, a4);
if ( *(_QWORD *)(*a3 + 4264) )
{
v6 = *a2;
if ( (*(_BYTE *)(*a2 + 12792) & 1) != 0 )
v7 = *(const char **)(v6 + 12808);
else
v7 = (const char *)(v6 + 12793);
result = atoi(v7);
}
else
{
result = 0;
}
*(_DWORD *)(a1 + 1840) = result;
return result;
}