//
// SmartGameObject::customObjectSetup from 0x100426d48 to 0x100426d98 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x100951100
//
// 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:01 +0000
//
void __fastcall SmartGameObject::customObjectSetup(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // x8
const char *v5; // x0
v4 = *(_QWORD *)(*(_QWORD *)a3 + 1256LL);
if ( v4 )
{
v5 = (const char *)(*(_QWORD *)a2 + 3768LL);
if ( *(char *)(*(_QWORD *)a2 + 3791LL) < 0 )
v5 = *(const char **)v5;
LOBYTE(v4) = atoi(v5) != 0;
}
*(_BYTE *)(a1 + 1347) = v4;
sub_100426AA8(a1);
}