//
// sub_6DB290 from 0x6db290 to 0x6db328 (152 bytes)
//
// 3 xrefs:
// > sub_6DC010 @ 0x6dc114
// > sub_6DC010 @ 0x6dc118
// > ??> @ 0x6dc280
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_6DB290(int result, float *a2, int a3)
{
int v5; // [sp+Ch] [bp-10h]
int *i; // [sp+10h] [bp-Ch]
v5 = result;
for ( i = *(int **)(result + 12); a3-- > 0; ++i )
{
result = LogLuv32fromXYZ(a2, *(_DWORD *)(v5 + 4));
*i = result;
a2 += 3;
}
return result;
}