//
// sub_8EABD0 from 0x8eabd0 to 0x8eac5c (140 bytes)
//
// 3 xrefs:
// > sub_8EB950 @ 0x8eba7c
// > sub_8EB950 @ 0x8eba80
// > ??> @ 0x8ebbac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:04:11 +0000
//
int __fastcall sub_8EABD0(double a1, int a2)
{
int v2; // r3
int *v6; // [sp+10h] [bp-Ch]
float *i; // [sp+14h] [bp-8h]
v6 = *(int **)(LODWORD(a1) + 12);
for ( i = (float *)HIDWORD(a1); a2-- > 0; i += 3 )
{
v2 = *v6++;
a1 = LogLuv32toXYZ(v2, i);
}
return LODWORD(a1);
}