//
// sub_5E5D0 from 0x5e5d0 to 0x5e658 (136 bytes)
//
// 2 xrefs:
// > sub_5E794 @ 0x5ed90
// > FMOD::Geometry::setPosition @ 0xd5360
//
// 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:13:52 +0000
//
__int64 __fastcall sub_5E5D0(__int64 a1, float *a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
unsigned int v7; // w19
__int64 v9; // [xsp+0h] [xbp-20h] BYREF
v4 = sub_5F218(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL));
v5 = sub_5F23C(v4);
if ( a2 )
{
if ( *(float *)(a1 + 140) != *a2 || *(float *)(a1 + 144) != a2[1] || *(float *)(a1 + 148) != a2[2] )
{
v6 = sub_5F2AC(v5);
sub_5D760(v6);
}
v7 = 0;
}
else
{
v7 = 31;
}
sub_52090((__int64)&v9);
return v7;
}