//
// SmartGameObject::customObjectSetup from 0x140641800 to 0x14064184c (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x14081f8c0
// > ??> @ 0x140930ff8
//
// 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 11:35:35 +0000
//
void __fastcall SmartGameObject::customObjectSetup(__int64 a1, __int64 a2, __int64 a3)
{
int v4; // eax
const char *v5; // rcx
if ( *(_QWORD *)(*(_QWORD *)a3 + 1256LL) )
{
v5 = (const char *)(*(_QWORD *)a2 + 5024LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 5048LL) > 0xFu )
v5 = *(const char **)v5;
v4 = atoi(v5);
}
else
{
v4 = 0;
}
*(_BYTE *)(a1 + 1360) = v4 != 0;
SmartGameObject::updateSmartFrame((__int64 *)a1);
}