//
// AudioLineGuideGameObject::customObjectSetup from 0x4f2d10 to 0x4f2df0 (224 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:15 +0000
//
int __fastcall AudioLineGuideGameObject::customObjectSetup(unsigned int a1, int *a2, int a3)
{
int v6; // r0
const char *v7; // r0
int v8; // r0
const char *v9; // r0
int v10; // r0
const char *v11; // r0
int result; // r0
const char *v13; // r0
int v14; // r0
const char *v15; // r0
float v16; // s0
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = *(_DWORD *)(*(_DWORD *)a3 + 1992);
if ( v6 )
{
if ( (*(_BYTE *)(*a2 + 5976) & 1) != 0 )
v7 = *(const char **)(*a2 + 5984);
else
v7 = (const char *)(*a2 + 5977);
v6 = atoi(v7);
}
*(_DWORD *)(a1 + 1648) = v6;
v8 = *(_DWORD *)(*(_DWORD *)a3 + 2004);
if ( v8 )
{
if ( (*(_BYTE *)(*a2 + 6012) & 1) != 0 )
v9 = *(const char **)(*a2 + 6020);
else
v9 = (const char *)(*a2 + 6013);
v8 = atoi(v9);
}
*(_DWORD *)(a1 + 1652) = v8;
v10 = *(_DWORD *)(*(_DWORD *)a3 + 1996);
if ( v10 )
{
if ( (*(_BYTE *)(*a2 + 5988) & 1) != 0 )
v11 = *(const char **)(*a2 + 5996);
else
v11 = (const char *)(*a2 + 5989);
v10 = atoi(v11);
}
*(_DWORD *)(a1 + 1656) = v10;
result = *(_DWORD *)(*(_DWORD *)a3 + 2000);
if ( result )
{
if ( (*(_BYTE *)(*a2 + 6000) & 1) != 0 )
v13 = *(const char **)(*a2 + 6008);
else
v13 = (const char *)(*a2 + 6001);
result = atoi(v13) != 0;
}
*(_BYTE *)(a1 + 1660) = result;
if ( *(_DWORD *)(*(_DWORD *)a3 + 40) )
{
v14 = *a2;
if ( (*(_BYTE *)(*a2 + 120) & 1) != 0 )
v15 = *(const char **)(v14 + 128);
else
v15 = (const char *)(v14 + 121);
v16 = atof(v15);
result = sub_4E6B6C();
}
else
{
v16 = 0.0;
}
*(float *)(a1 + 1272) = v16;
return result;
}