//
// RingObject::customObjectSetup from 0x140643d70 to 0x140643e85 (277 bytes)
//
// 4 xrefs:
// > ??> @ 0x14082eba0
// > ??> @ 0x1408e86ac
// > ??> @ 0x1408e86bc
// > ??> @ 0x1409312c8
//
// This function is hookable on this platform (idp: pc, 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 11:35:35 +0000
//
char __fastcall RingObject::customObjectSetup(__int64 a1, __int64 a2, __int64 a3)
{
char result; // al
int v7; // ebx
int v8; // eax
const char *v9; // rcx
int v10; // eax
const char *v11; // rcx
int v12; // eax
const char *v13; // rcx
const char *v14; // rcx
result = EffectGameObject::customObjectSetup();
if ( *(_DWORD *)(a1 + 928) == 36 )
{
v7 = 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 408LL) )
{
v9 = (const char *)(*(_QWORD *)a2 + 1632LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 1656LL) > 0xFu )
v9 = *(const char **)v9;
v8 = atoi(v9);
}
else
{
v8 = 0;
}
*(_DWORD *)(a1 + 1480) = v8;
if ( *(_QWORD *)(*(_QWORD *)a3 + 448LL) )
{
v11 = (const char *)(*(_QWORD *)a2 + 1792LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 1816LL) > 0xFu )
v11 = *(const char **)v11;
v10 = atoi(v11);
}
else
{
v10 = 0;
}
*(_BYTE *)(a1 + 1653) = v10 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 3560LL) )
{
v13 = (const char *)(*(_QWORD *)a2 + 14240LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 14264LL) > 0xFu )
v13 = *(const char **)v13;
v12 = atoi(v13);
}
else
{
v12 = 0;
}
*(_BYTE *)(a1 + 1856) = v12 != 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4032LL) )
{
v14 = (const char *)(*(_QWORD *)a2 + 16128LL);
if ( *(_QWORD *)(*(_QWORD *)a2 + 16152LL) > 0xFu )
v14 = *(const char **)v14;
v7 = atoi(v14);
}
*(_BYTE *)(a1 + 1857) = v7 != 0;
return v7 != 0;
}
return result;
}