//
// SmartGameObject::customObjectSetup from 0x4f5de4 to 0x4f5e1a (54 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:16 +0000
//
int __fastcall SmartGameObject::customObjectSetup(SmartGameObject *this, int *a2, int a3)
{
int v4; // r0
int v5; // r0
const char *v6; // r0
v4 = *(_DWORD *)(*(_DWORD *)a3 + 628);
if ( v4 )
{
v5 = *a2;
if ( (*(_BYTE *)(*a2 + 1884) & 1) != 0 )
v6 = *(const char **)(v5 + 1892);
else
v6 = (const char *)(v5 + 1885);
LOBYTE(v4) = atoi(v6) != 0;
}
*((_BYTE *)this + 1167) = v4;
return SmartGameObject::updateSmartFrame((int)this);
}