//
// sub_180053D50 from 0x180053d50 to 0x180053d85 (53 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ac1d0
//
// 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:18 +0000
//
__int64 __fastcall sub_180053D50(float **a1, int a2, float a3)
{
float *v3; // r8
int v4; // edx
__int64 result; // rax
v3 = *a1;
if ( a2 )
{
v4 = a2 - 1;
if ( v4 )
{
result = 0;
if ( v4 == 1 )
v3[8352] = a3;
}
else
{
v3[8354] = a3;
return 0;
}
}
else
{
v3[8353] = a3;
return 0;
}
return result;
}