//
// SmartGameObject::init from 0x89adc4 to 0x89ae24 (96 bytes)
//
// 2 xrefs:
// > SmartGameObject::create @ 0x89b288
// > ??> @ 0x730c0
//
// This function is hookable on this platform (idp: arm, 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:56:12 +0000
//
__int64 __fastcall SmartGameObject::init(SmartGameObject *this, const char *a2)
{
unsigned __int8 v4; // w0
unsigned int v5; // w19
size_t v6; // x0
v4 = GameObject::init(this, a2);
v5 = v4;
if ( v4 )
{
v6 = strlen(a2);
std::string::assign((__int64 *)this + 172, a2, v6);
*((_BYTE *)this + 313) = 0;
*((_DWORD *)this + 312) = 5;
}
return v5;
}