//
// SmartGameObject::customObjectSetup from 0x100191ae0 to 0x100191b42 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acb488
//
// This function is hookable on this platform (idp: pc, 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:25:54 +0000
//
void __fastcall SmartGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)
{
__int64 v3; // rax
const char *v4; // rax
if ( *(_QWORD *)(*(_QWORD *)a3 + 1256LL) )
{
v3 = *a2;
if ( (*(_BYTE *)(*a2 + 3768) & 1) != 0 )
v4 = *(const char **)(v3 + 3784);
else
v4 = (const char *)(v3 + 3769);
*(_BYTE *)(a1 + 1347) = atoi(v4) != 0;
SmartGameObject::updateSmartFrame(a1);
}
else
{
*(_BYTE *)(a1 + 1347) = 0;
SmartGameObject::updateSmartFrame(a1);
}
}