//
// AudioLineGuideGameObject::customObjectSetup from 0x1001ccb10 to 0x1001ccc92 (386 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ad88c8
//
// 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 12:26:20 +0000
//
void __fastcall AudioLineGuideGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 *a3, __m128 a4)
{
_QWORD *v6; // r12
int v7; // r15d
int v8; // eax
__int64 v9; // rdi
const char *v10; // rdi
__int64 v11; // rdi
const char *v12; // rdi
__int64 v13; // rdi
const char *v14; // rdi
float v15; // xmm1_4
__int64 v16; // rdi
const char *v17; // rdi
__int64 v18; // rdi
const char *v19; // rdi
float v20; // xmm0_4
EffectGameObject::customObjectSetup(a1, a2, a3, a4);
v6 = (_QWORD *)*a3;
v7 = 0;
v8 = 0;
if ( v6[498] )
{
v9 = *a2;
if ( (*(_BYTE *)(*a2 + 11952) & 1) != 0 )
v10 = *(const char **)(v9 + 11968);
else
v10 = (const char *)(v9 + 11953);
v8 = atoi(v10);
}
*(_DWORD *)(a1 + 1840) = v8;
if ( v6[501] )
{
v11 = *a2;
if ( (*(_BYTE *)(*a2 + 12024) & 1) != 0 )
v12 = *(const char **)(v11 + 12040);
else
v12 = (const char *)(v11 + 12025);
v7 = atoi(v12);
}
*(_DWORD *)(a1 + 1844) = v7;
if ( !v6[499] )
{
*(_DWORD *)(a1 + 1848) = 0;
if ( v6[500] )
goto LABEL_19;
LABEL_15:
*(_BYTE *)(a1 + 1852) = 0;
v15 = 0.0;
if ( !v6[10] )
goto LABEL_28;
goto LABEL_23;
}
v13 = *a2;
if ( (*(_BYTE *)(*a2 + 11976) & 1) != 0 )
v14 = *(const char **)(v13 + 11992);
else
v14 = (const char *)(v13 + 11977);
*(_DWORD *)(a1 + 1848) = atoi(v14);
if ( !v6[500] )
goto LABEL_15;
LABEL_19:
v16 = *a2;
if ( (*(_BYTE *)(*a2 + 12000) & 1) != 0 )
v17 = *(const char **)(v16 + 12016);
else
v17 = (const char *)(v16 + 12001);
*(_BYTE *)(a1 + 1852) = atoi(v17) != 0;
v15 = 0.0;
if ( v6[10] )
{
LABEL_23:
v18 = *a2;
if ( (*(_BYTE *)(*a2 + 240) & 1) != 0 )
v19 = *(const char **)(v18 + 256);
else
v19 = (const char *)(v18 + 241);
v20 = atof(v19);
v15 = 1000000000.0;
if ( v20 <= 1000000000.0 )
v15 = fmaxf(-1000000000.0, v20);
}
LABEL_28:
*(float *)(a1 + 1452) = v15;
}