//
// WebPIDecGetYUVA from 0xc67838 to 0xc678f4 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0xb37a8
//
// 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
//
__int64 __fastcall WebPIDecGetYUVA(
__int64 a1,
_DWORD *a2,
_QWORD *a3,
_QWORD *a4,
_QWORD *a5,
_DWORD *a6,
_DWORD *a7,
_DWORD *a8,
_DWORD *a9,
_DWORD *a10)
{
__int64 v10; // x9
__int64 v11; // x8
if ( !a1 || !*(_QWORD *)(a1 + 512) )
return 0;
v10 = 0;
if ( *(_DWORD *)a1 > 2u )
{
v11 = *(_QWORD *)(a1 + 8);
if ( v11 )
{
if ( *(_DWORD *)v11 > 0xAu )
{
if ( a2 )
*a2 = *(_DWORD *)(a1 + 40);
if ( a3 )
*a3 = *(_QWORD *)(v11 + 24);
if ( a4 )
*a4 = *(_QWORD *)(v11 + 32);
if ( a5 )
*a5 = *(_QWORD *)(v11 + 40);
if ( a6 )
*a6 = *(_DWORD *)(v11 + 4);
if ( a7 )
*a7 = *(_DWORD *)(v11 + 8);
if ( a8 )
*a8 = *(_DWORD *)(v11 + 48);
if ( a9 )
*a9 = *(_DWORD *)(v11 + 52);
if ( a10 )
*a10 = *(_DWORD *)(v11 + 60);
return *(_QWORD *)(v11 + 16);
}
}
}
return v10;
}