//
// EnhancedTriggerObject::customObjectSetup from 0x10042d8ec to 0x10042d9f0 (260 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009539d0
//
// This function is hookable on this platform (idp: arm, 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:05:04 +0000
//
__int64 __fastcall EnhancedTriggerObject::customObjectSetup(_DWORD *a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
const char *v7; // x0
int v8; // w0
const char *v9; // x0
int v10; // w0
const char *v11; // x0
int v12; // w0
const char *v13; // x0
__int64 result; // x0
EffectGameObject::customObjectSetup((__int64)a1, a2, (__int64)a3);
v6 = (_QWORD *)*a3;
if ( v6[516] )
{
v7 = (const char *)(*(_QWORD *)a2 + 12384LL);
if ( *(char *)(*(_QWORD *)a2 + 12407LL) < 0 )
v7 = *(const char **)v7;
v8 = atoi(v7);
}
else
{
v8 = 0;
}
a1[460] = v8;
if ( v6[517] )
{
v9 = (const char *)(*(_QWORD *)a2 + 12408LL);
if ( *(char *)(*(_QWORD *)a2 + 12431LL) < 0 )
v9 = *(const char **)v9;
v10 = atoi(v9);
}
else
{
v10 = 0;
}
a1[461] = v10;
if ( v6[518] )
{
v11 = (const char *)(*(_QWORD *)a2 + 12432LL);
if ( *(char *)(*(_QWORD *)a2 + 12455LL) < 0 )
v11 = *(const char **)v11;
v12 = atoi(v11);
}
else
{
v12 = 0;
}
a1[462] = v12;
if ( v6[519] )
{
v13 = (const char *)(*(_QWORD *)a2 + 12456LL);
if ( *(char *)(*(_QWORD *)a2 + 12479LL) < 0 )
v13 = *(const char **)v13;
result = atoi(v13);
}
else
{
result = 0;
}
a1[463] = result;
return result;
}