//
// WebPDecodeYUVInto from 0x70003c to 0x7000b2 (118 bytes)
//
// 0 xrefs:
//
// 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 WebPDecodeYUVInto(
unsigned __int8 *a1,
unsigned int a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
int a9,
int a10,
int a11)
{
_DWORD v16[21]; // [sp+4h] [bp-1ECh] BYREF
unsigned int *v17[102]; // [sp+58h] [bp-198h] BYREF
if ( !a3 )
return 0;
WebPInitDecBufferInternal(v16, 520);
memset(v17, 0, 0x178u);
v17[0] = v16;
v16[8] = a5;
v16[4] = a3;
v16[12] = a4;
v16[5] = a6;
v16[0] = 11;
v16[3] = 1;
v16[9] = a8;
v16[13] = a7;
v16[6] = a9;
v16[10] = a11;
v16[14] = a10;
if ( sub_6FF874(a1, a2, v17) )
return 0;
else
return a3;
}