//
// sub_ECD720 from 0xecd720 to 0xecd778 (88 bytes)
//
// 2 xrefs:
// > sub_ECBFEC @ 0xecc2c8
// > sub_ECBFEC @ 0xecc2d0
//
// 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 13:11:38 +0000
//
__int64 __fastcall sub_ECD720(__int64 result, float *a2, __int64 a3)
{
__int64 v4; // x22
__int64 v5; // x19
_DWORD *v6; // x21
float *v7; // x0
v4 = result;
v5 = a3 - 1;
v6 = *(_DWORD **)(result + 16);
if ( a3 > 0 )
{
do
{
v7 = a2;
--v5;
a2 += 3;
result = LogLuv32fromXYZ(v7, *(_DWORD *)(v4 + 4));
*v6++ = result;
}
while ( v5 != -1 );
}
return result;
}