//
// DashRingObject::customObjectSetup from 0x100428ec8 to 0x1004290b8 (496 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009572b0
//
// 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 11:05:02 +0000
//
void __fastcall DashRingObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
float v6; // s8
float v7; // s0
const char *v8; // x0
float v9; // s1
const char *v10; // x0
float v11; // s0
_QWORD *v12; // x21
__int64 v13; // x8
const char *v14; // x0
__int64 v15; // x8
const char *v16; // x0
float v17; // s8
const char *v18; // x0
float v19; // s0
RingObject::customObjectSetup(a1, a2, a3);
v6 = 0.0;
v7 = 0.0;
if ( *(_QWORD *)(*a3 + 4688LL) )
{
v8 = (const char *)(*(_QWORD *)a2 + 14064LL);
if ( *(char *)(*(_QWORD *)a2 + 14087LL) < 0 )
v8 = *(const char **)v8;
v9 = atof(v8);
v7 = 1000000000.0;
if ( v9 <= 1000000000.0 )
{
v7 = -1000000000.0;
if ( v9 >= -1000000000.0 )
v7 = v9;
}
}
*(float *)(a1 + 1844) = cocos2d::clampf(v7, -10000.0, 10000.0);
if ( *(_QWORD *)(*a3 + 4704LL) )
{
v10 = (const char *)(*(_QWORD *)a2 + 14112LL);
if ( *(char *)(*(_QWORD *)a2 + 14135LL) < 0 )
v10 = *(const char **)v10;
v11 = atof(v10);
v6 = 1000000000.0;
if ( v11 <= 1000000000.0 )
{
if ( v11 >= -1000000000.0 )
v6 = v11;
else
v6 = -1000000000.0;
}
}
*(float *)(a1 + 1848) = cocos2d::clampf(v6, -10000.0, 10000.0);
v12 = (_QWORD *)*a3;
v13 = v12[587];
if ( v13 )
{
v14 = (const char *)(*(_QWORD *)a2 + 14088LL);
if ( *(char *)(*(_QWORD *)a2 + 14111LL) < 0 )
v14 = *(const char **)v14;
LOBYTE(v13) = atoi(v14) != 0;
}
*(_BYTE *)(a1 + 1856) = v13;
v15 = v12[589];
if ( v15 )
{
v16 = (const char *)(*(_QWORD *)a2 + 14136LL);
if ( *(char *)(*(_QWORD *)a2 + 14159LL) < 0 )
v16 = *(const char **)v16;
LOBYTE(v15) = atoi(v16) != 0;
}
*(_BYTE *)(a1 + 1857) = v15;
v17 = 0.0;
if ( v12[590] )
{
v18 = (const char *)(*(_QWORD *)a2 + 14160LL);
if ( *(char *)(*(_QWORD *)a2 + 14183LL) < 0 )
v18 = *(const char **)v18;
v19 = atof(v18);
v17 = 1000000000.0;
if ( v19 <= 1000000000.0 )
{
if ( v19 >= -1000000000.0 )
v17 = v19;
else
v17 = -1000000000.0;
}
}
*(float *)(a1 + 1852) = v17;
}