//
// ObjectControlGameObject::customObjectSetup from 0x894ed0 to 0x894f4c (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x100bb8
// > ??> @ 0x1456bc8
//
// 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 ObjectControlGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)
{
const char *v6; // x0
int v7; // w1
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( !*(_QWORD *)(*(_QWORD *)a3 + 408LL) )
return EffectGameObject::setTargetID(a1, 0);
v6 = (const char *)(*a2 + 1225);
if ( (*(_BYTE *)(*a2 + 1224) & 1) != 0 )
v6 = *(const char **)(*a2 + 1240);
v7 = atoi(v6);
return EffectGameObject::setTargetID(a1, v7);
}