//
// TriggerControlGameObject::customObjectSetup from 0x10043f378 to 0x10043f454 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009615f0
//
// 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:11 +0000
//
__int64 __fastcall TriggerControlGameObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
const char *v7; // x0
int v8; // w0
int v9; // w8
__int64 v10; // x8
const char *v11; // x0
const char *v12; // x0
int v13; // w0
EffectGameObject::customObjectSetup(a1, a2, (__int64)a3);
v6 = (_QWORD *)*a3;
if ( v6[51] )
{
v7 = (const char *)(*(_QWORD *)a2 + 1224LL);
if ( *(char *)(*(_QWORD *)a2 + 1247LL) < 0 )
v7 = *(const char **)v7;
v8 = atoi(v7);
}
else
{
v8 = 0;
}
v9 = v8 & ~(v8 >> 31);
if ( v9 >= 9999 )
v9 = 9999;
*(_DWORD *)(a1 + 1464) = v9;
v10 = v6[535];
if ( v10 )
{
v11 = (const char *)(*(_QWORD *)a2 + 12840LL);
if ( *(char *)(*(_QWORD *)a2 + 12863LL) < 0 )
v11 = *(const char **)v11;
LOBYTE(v10) = atoi(v11) != 0;
}
*(_BYTE *)(a1 + 1676) = v10;
if ( v6[580] )
{
v12 = (const char *)(*(_QWORD *)a2 + 13920LL);
if ( *(char *)(*(_QWORD *)a2 + 13943LL) < 0 )
v12 = *(const char **)v12;
v13 = atoi(v12);
}
else
{
v13 = 0;
}
*(_DWORD *)(a1 + 1864) = v13;
return sub_10043F454(a1);
}