//
// ArtTriggerGameObject::customObjectSetup from 0x140662fa0 to 0x140663014 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x1408267b0
// > ??> @ 0x140931bf8
//
// 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:49 +0000
//
int __fastcall ArtTriggerGameObject::customObjectSetup(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // rax
const char *v7; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = *(_QWORD *)a3;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4264LL) )
{
v7 = (const char *)(*(_QWORD *)a2 + 17056LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 17080LL) > 0xFu )
v7 = *(const char **)v7;
LODWORD(v6) = atoi(v7);
*(_DWORD *)(a1 + 1856) = v6;
}
else
{
*(_DWORD *)(a1 + 1856) = 0;
}
return v6;
}