//
// WebPDecodeYUV from 0x90ffd0 to 0x91006c (156 bytes)
//
// 0 xrefs:
//
// 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:26 +0000
//
int __fastcall WebPDecodeYUV(
unsigned __int8 *a1,
unsigned int a2,
_DWORD *a3,
_DWORD *a4,
_DWORD *a5,
_DWORD *a6,
_DWORD *a7,
_DWORD *a8)
{
int result; // r0
int v13; // r1
int v14; // r2
int v15; // r3
_DWORD v16[21]; // [sp+0h] [bp-224h] BYREF
int v17; // [sp+54h] [bp-1D0h] BYREF
int v18; // [sp+58h] [bp-1CCh] BYREF
int v19; // [sp+5Ch] [bp-1C8h] BYREF
int v20; // [sp+64h] [bp-1C0h]
unsigned int *v21[95]; // [sp+A8h] [bp-17Ch] BYREF
WebPInitDecBufferInternal(&v17, 520);
memset(v21, 0, 0x178u);
v21[0] = (unsigned int *)&v17;
v17 = 11;
if ( !WebPGetInfo(a1, a2, &v18, &v19) )
return 0;
if ( a3 )
*a3 = v18;
if ( a4 )
*a4 = v19;
if ( sub_90F434(a1, a2, v21) )
return 0;
sub_906E98(&v17, v16);
result = v20;
if ( v20 )
{
v13 = v16[6];
v14 = v16[8];
*a5 = v16[5];
v15 = v16[9];
*a6 = v13;
*a7 = v14;
*a8 = v15;
}
return result;
}