//
// SmartGameObject::customObjectSetup from 0x1001b1510 to 0x1001b1572 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c7dc8
//
// 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)
{
std::__vector_base::pointer begin; // rax
const char *longStorage; // rax
if ( *((_QWORD *)a3->__begin_ + 157) )
{
begin = a2->__begin_;
if ( (a2->__begin_[157].m_data.m_short.sizex2 & 1) != 0 )
longStorage = begin[157].m_data.m_long.longStorage;
else
longStorage = begin[157].m_data.m_short.shortStorage.__elems_;
a1->m_referenceOnly = atoi(longStorage) != 0;
SmartGameObject::updateSmartFrame(a1);
}
else
{
a1->m_referenceOnly = 0;
SmartGameObject::updateSmartFrame(a1);
}
}