//
// ArtTriggerGameObject::customObjectSetup from 0x894c50 to 0x894ccc (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x88d98
// > ??> @ 0x1455ba8
//
// 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 12:56:09 +0000
//
__int64 __fastcall ArtTriggerGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)
{
const char *v6; // x0
__int64 result; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *(_QWORD *)(*(_QWORD *)a3 + 4264LL) )
{
v6 = (const char *)(*a2 + 12793);
if ( (*(_BYTE *)(*a2 + 12792) & 1) != 0 )
v6 = *(const char **)(*a2 + 12808);
result = atoi(v6);
*(_DWORD *)(a1 + 1840) = result;
}
else
{
*(_DWORD *)(a1 + 1840) = 0;
return 0;
}
return result;
}