//
// SmartGameObject::customObjectSetup from 0x100380abc to 0x100380b0c (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f8e50
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SmartGameObject::customObjectSetup(
SmartGameObject *a1,
std::vector *a2,
std::vector *a3)
{
__int64 v4; // x8
std::__vector_base::pointer capacitym1; // x0
v4 = *((_QWORD *)a3->__begin_ + 157);
if ( v4 )
{
capacitym1 = a2->__begin_ + 157;
if ( a2->__begin_[157].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
LOBYTE(v4) = atoi((const char *)capacitym1) != 0;
}
a1->m_referenceOnly = v4;
SmartGameObject::updateSmartFrame(a1);
}