//
// sub_180055DC0 from 0x180055dc0 to 0x180055e1d (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ac410
//
// 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 10:53:19 +0000
//
__int64 __fastcall sub_180055DC0(float **a1, int a2, float a3)
{
float *v3; // r8
int v4; // edx
int v5; // edx
int v6; // edx
v3 = *a1;
if ( a2 )
{
v4 = a2 - 1;
if ( v4 )
{
v5 = v4 - 1;
if ( v5 )
{
v6 = v5 - 1;
if ( v6 )
{
if ( v6 == 1 )
{
v3[221] = a3;
return 0;
}
else
{
return 31;
}
}
else
{
v3[220] = a3;
return 0;
}
}
else
{
v3[217] = a3;
return 0;
}
}
else
{
v3[219] = a3;
return 0;
}
}
else
{
v3[218] = a3;
return 0;
}
}