//
// AudioLineGuideGameObject::customObjectSetup from 0x894768 to 0x89495c (500 bytes)
//
// 2 xrefs:
// > ??> @ 0xd0960
// > ??> @ 0x1454b88
//
// 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:09 +0000
//
__int64 __fastcall AudioLineGuideGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)
{
const char *v6; // x0
const char *v7; // x0
const char *v8; // x0
const char *v9; // x0
bool v10; // w0
__int64 result; // x0
float v12; // s8
int v13; // s0
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( !*(_QWORD *)(*(_QWORD *)a3 + 3984LL) )
{
*(_DWORD *)(a1 + 1840) = 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 4008LL) )
goto LABEL_5;
LABEL_24:
*(_DWORD *)(a1 + 1844) = 0;
if ( *(_QWORD *)(*(_QWORD *)a3 + 3992LL) )
goto LABEL_8;
goto LABEL_25;
}
v6 = (const char *)(*a2 + 11953);
if ( (*(_BYTE *)(*a2 + 11952) & 1) != 0 )
v6 = *(const char **)(*a2 + 11968);
*(_DWORD *)(a1 + 1840) = atoi(v6);
if ( !*(_QWORD *)(*(_QWORD *)a3 + 4008LL) )
goto LABEL_24;
LABEL_5:
v7 = (const char *)(*a2 + 12025);
if ( (*(_BYTE *)(*a2 + 12024) & 1) != 0 )
v7 = *(const char **)(*a2 + 12040);
*(_DWORD *)(a1 + 1844) = atoi(v7);
if ( *(_QWORD *)(*(_QWORD *)a3 + 3992LL) )
{
LABEL_8:
v8 = (const char *)(*a2 + 11977);
if ( (*(_BYTE *)(*a2 + 11976) & 1) != 0 )
v8 = *(const char **)(*a2 + 11992);
*(_DWORD *)(a1 + 1848) = atoi(v8);
if ( *(_QWORD *)(*(_QWORD *)a3 + 4000LL) )
goto LABEL_11;
LABEL_26:
v10 = 0;
goto LABEL_14;
}
LABEL_25:
*(_DWORD *)(a1 + 1848) = 0;
if ( !*(_QWORD *)(*(_QWORD *)a3 + 4000LL) )
goto LABEL_26;
LABEL_11:
v9 = (const char *)(*a2 + 12001);
if ( (*(_BYTE *)(*a2 + 12000) & 1) != 0 )
v9 = *(const char **)(*a2 + 12016);
v10 = atoi(v9) != 0;
LABEL_14:
*(_BYTE *)(a1 + 1852) = v10;
result = *(_QWORD *)(*(_QWORD *)a3 + 80LL);
if ( !result )
goto LABEL_21;
if ( (*(_BYTE *)(*a2 + 240) & 1) != 0 )
{
v12 = atof(*(const char **)(*a2 + 256));
result = __isnanf(v12);
if ( !(_DWORD)result )
goto LABEL_17;
LABEL_21:
*(_DWORD *)(a1 + 1452) = 0;
return result;
}
v12 = atof((const char *)(*a2 + 241));
result = __isnanf(v12);
if ( (_DWORD)result )
goto LABEL_21;
LABEL_17:
v13 = 1315859240;
if ( v12 > 1000000000.0 || (v13 = -831624408, v12 < -1000000000.0) )
*(_DWORD *)(a1 + 1452) = v13;
else
*(float *)(a1 + 1452) = v12;
return result;
}