//
// EndTriggerGameObject::customObjectSetup from 0x100438d60 to 0x100438ea4 (324 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095bc90
//
// 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:09 +0000
//
__int64 __fastcall EndTriggerGameObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
const char *v7; // x0
int v8; // w0
int v9; // w8
const char *v10; // x0
__int64 result; // x0
int v12; // w8
__int64 v13; // x8
const char *v14; // x0
__int64 v15; // x8
const char *v16; // x0
__int64 v17; // x8
const char *v18; // x0
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;
if ( v6[71] )
{
v10 = (const char *)(*(_QWORD *)a2 + 1704LL);
if ( *(char *)(*(_QWORD *)a2 + 1727LL) < 0 )
v10 = *(const char **)v10;
result = atoi(v10);
}
else
{
result = 0;
}
v12 = result & ~((int)result >> 31);
if ( v12 >= 9999 )
v12 = 9999;
*(_DWORD *)(a1 + 1468) = v12;
v13 = v6[460];
if ( v13 )
{
v14 = (const char *)(*(_QWORD *)a2 + 11040LL);
if ( *(char *)(*(_QWORD *)a2 + 11063LL) < 0 )
v14 = *(const char **)v14;
result = atoi(v14);
LOBYTE(v13) = (_DWORD)result != 0;
}
*(_BYTE *)(a1 + 1840) = v13;
v15 = v6[461];
if ( v15 )
{
v16 = (const char *)(*(_QWORD *)a2 + 11064LL);
if ( *(char *)(*(_QWORD *)a2 + 11087LL) < 0 )
v16 = *(const char **)v16;
result = atoi(v16);
LOBYTE(v15) = (_DWORD)result != 0;
}
*(_BYTE *)(a1 + 1841) = v15;
v17 = v6[487];
if ( v17 )
{
v18 = (const char *)(*(_QWORD *)a2 + 11688LL);
if ( *(char *)(*(_QWORD *)a2 + 11711LL) < 0 )
v18 = *(const char **)v18;
result = atoi(v18);
LOBYTE(v17) = (_DWORD)result != 0;
}
*(_BYTE *)(a1 + 1842) = v17;
return result;
}