//
// ArtTriggerGameObject::customObjectSetup from 0x1001ed580 to 0x1001ed5db (91 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d6088
//
// 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
//
void __fastcall ArtTriggerGameObject::customObjectSetup(
ArtTriggerGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // rdi
const char *longStorage; // rdi
int v7; // eax
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *((_QWORD *)a3->__begin_ + 533) )
{
begin = a2->__begin_;
if ( (a2->__begin_[533].m_data.m_short.sizex2 & 1) != 0 )
longStorage = begin[533].m_data.m_long.longStorage;
else
longStorage = begin[533].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
else
{
v7 = 0;
}
a1->m_artIndex = v7;
}