//
// RingObject::customObjectSetup from 0x88fee0 to 0x89002c (332 bytes)
//
// 3 xrefs:
// > DashRingObject::customObjectSetup @ 0x890050
// > ??> @ 0x63d78
// > ??> @ 0x14489b8
//
// 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:07 +0000
//
__int64 __fastcall RingObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)
{
__int64 result; // x0
const char *v7; // x0
int v8; // w0
const char *v9; // x0
bool v10; // w0
const char *v11; // x0
bool v12; // w0
const char *v13; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
result = *(unsigned int *)(a1 + 920);
if ( (_DWORD)result == 36 )
{
if ( *(_QWORD *)(*(_QWORD *)a3 + 408LL) )
{
v7 = (const char *)(*a2 + 1225);
if ( (*(_BYTE *)(*a2 + 1224) & 1) != 0 )
v7 = *(const char **)(*a2 + 1240);
v8 = atoi(v7);
}
else
{
v8 = 0;
}
*(_DWORD *)(a1 + 1464) = v8;
if ( *(_QWORD *)(*(_QWORD *)a3 + 448LL) )
{
v9 = (const char *)(*a2 + 1345);
if ( (*(_BYTE *)(*a2 + 1344) & 1) != 0 )
v9 = *(const char **)(*a2 + 1360);
v10 = atoi(v9) != 0;
}
else
{
v10 = 0;
}
*(_BYTE *)(a1 + 1637) = v10;
if ( *(_QWORD *)(*(_QWORD *)a3 + 3560LL) )
{
v11 = (const char *)(*a2 + 10681);
if ( (*(_BYTE *)(*a2 + 10680) & 1) != 0 )
v11 = *(const char **)(*a2 + 10696);
v12 = atoi(v11) != 0;
}
else
{
v12 = 0;
}
*(_BYTE *)(a1 + 1840) = v12;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4032LL) )
{
v13 = (const char *)(*a2 + 12097);
if ( (*(_BYTE *)(*a2 + 12096) & 1) != 0 )
v13 = *(const char **)(*a2 + 12112);
result = atoi(v13) != 0;
*(_BYTE *)(a1 + 1841) = result;
}
else
{
*(_BYTE *)(a1 + 1841) = 0;
return 0;
}
}
return result;
}