//
// SmartGameObject::init from 0x1003807cc to 0x10038081c (80 bytes)
//
// 1 xrefs:
// > SmartGameObject::create @ 0x100380780
//
// 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
//
bool __fastcall SmartGameObject::init(SmartGameObject *a1, const char *a2)
{
_BOOL4 v4; // w20
v4 = GameObject::init(a1, a2);
if ( v4 )
{
std::string::assign((std::string *)&a1->m_smartFrame, a2);
a1->m_classType = Smart;
a1->m_bUnkBool2 = 0;
}
return v4;
}