//
// SmartGameObject::customObjectSetup from 0x899cf4 to 0x899d64 (112 bytes)
//
// 2 xrefs:
// > ??> @ 0xcc400
// > ??> @ 0x14471b8
//
// 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:11 +0000
//
__int64 __fastcall SmartGameObject::customObjectSetup(SmartGameObject *this, __int64 *a2, __int64 a3)
{
SmartGameObject *v3; // x19
__int64 v4; // x1
const char *v5; // x0
v3 = this;
if ( *(_QWORD *)(*(_QWORD *)a3 + 1256LL) )
{
v4 = *a2;
v5 = (const char *)(v4 + 3769);
if ( (*(_BYTE *)(v4 + 3768) & 1) != 0 )
v5 = *(const char **)(v4 + 3784);
*((_BYTE *)v3 + 1347) = atoi(v5) != 0;
this = v3;
}
else
{
*((_BYTE *)this + 1347) = 0;
}
return SmartGameObject::updateSmartFrame(this);
}