//
// EnhancedTriggerObject::customObjectSetup from 0x140653230 to 0x140653337 (263 bytes)
//
// 2 xrefs:
// > ??> @ 0x14082a950
// > ??> @ 0x140931544
//
// 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:44 +0000
//
int __fastcall EnhancedTriggerObject::customObjectSetup(_DWORD *a1, __int64 a2, __int64 a3)
{
int v6; // eax
const char *v7; // rcx
int v8; // eax
const char *v9; // rcx
int v10; // eax
const char *v11; // rcx
__int64 v12; // rax
const char *v13; // rcx
EffectGameObject::customObjectSetup((__int64)a1, a2, a3);
if ( *(_QWORD *)(*(_QWORD *)a3 + 4128LL) )
{
v7 = (const char *)(*(_QWORD *)a2 + 16512LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 16536LL) > 0xFu )
v7 = *(const char **)v7;
v6 = atoi(v7);
}
else
{
v6 = 0;
}
a1[464] = v6;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4136LL) )
{
v9 = (const char *)(*(_QWORD *)a2 + 16544LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 16568LL) > 0xFu )
v9 = *(const char **)v9;
v8 = atoi(v9);
}
else
{
v8 = 0;
}
a1[465] = v8;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4144LL) )
{
v11 = (const char *)(*(_QWORD *)a2 + 16576LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 16600LL) > 0xFu )
v11 = *(const char **)v11;
v10 = atoi(v11);
}
else
{
v10 = 0;
}
a1[466] = v10;
v12 = *(_QWORD *)a3;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4152LL) )
{
v13 = (const char *)(*(_QWORD *)a2 + 16608LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 16632LL) > 0xFu )
v13 = *(const char **)v13;
LODWORD(v12) = atoi(v13);
a1[467] = v12;
}
else
{
a1[467] = 0;
}
return v12;
}