//
// sub_ECD274 from 0xecd274 to 0xecd2c4 (80 bytes)
//
// 2 xrefs:
// > sub_ECC314 @ 0xecc4c4
// > sub_ECC314 @ 0xecc4cc
//
// 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
//
float __fastcall sub_ECD274(__int64 a1, float *a2, __int64 a3)
{
unsigned int *v4; // x21
__int64 v5; // x19
unsigned int v6; // t1
float *v7; // x1
float result; // s0
v4 = *(unsigned int **)(a1 + 16);
v5 = a3 - 1;
if ( a3 > 0 )
{
do
{
v6 = *v4++;
v7 = a2;
--v5;
a2 += 3;
result = LogLuv24toXYZ(v6, v7);
}
while ( v5 != -1 );
}
return result;
}