//
// EnhancedTriggerObject::customObjectSetup from 0x10019dd30 to 0x10019de35 (261 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acdd68
//
// 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:57 +0000
//
int __fastcall EnhancedTriggerObject::customObjectSetup(_DWORD *a1, __int64 *a2, __int64 *a3, __m128 a4)
{
_QWORD *v6; // r12
int v7; // r15d
int v8; // eax
__int64 v9; // rdi
const char *v10; // rdi
__int64 v11; // rdi
const char *v12; // rdi
int v13; // r15d
int result; // eax
__int64 v15; // rdi
const char *v16; // rdi
__int64 v17; // rdi
const char *v18; // rdi
EffectGameObject::customObjectSetup((__int64)a1, a2, a3, a4);
v6 = (_QWORD *)*a3;
v7 = 0;
v8 = 0;
if ( v6[516] )
{
v9 = *a2;
if ( (*(_BYTE *)(*a2 + 12384) & 1) != 0 )
v10 = *(const char **)(v9 + 12400);
else
v10 = (const char *)(v9 + 12385);
v8 = atoi(v10);
}
a1[460] = v8;
if ( v6[517] )
{
v11 = *a2;
if ( (*(_BYTE *)(*a2 + 12408) & 1) != 0 )
v12 = *(const char **)(v11 + 12424);
else
v12 = (const char *)(v11 + 12409);
v7 = atoi(v12);
}
a1[461] = v7;
v13 = 0;
result = 0;
if ( v6[518] )
{
v15 = *a2;
if ( (*(_BYTE *)(*a2 + 12432) & 1) != 0 )
v16 = *(const char **)(v15 + 12448);
else
v16 = (const char *)(v15 + 12433);
result = atoi(v16);
}
a1[462] = result;
if ( v6[519] )
{
v17 = *a2;
if ( (*(_BYTE *)(*a2 + 12456) & 1) != 0 )
v18 = *(const char **)(v17 + 12472);
else
v18 = (const char *)(v17 + 12457);
result = atoi(v18);
v13 = result;
}
a1[463] = v13;
return result;
}