//
// WebPDecodeARGB from 0xc71a84 to 0xc71aa8 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x8f3e8
//
// 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 WebPDecodeARGB(unsigned __int8 *a1, unsigned __int64 a2, _DWORD *a3, _DWORD *a4)
{
__int64 v9; // [xsp-268h] [xbp-268h] BYREF
int v10; // [xsp-260h] [xbp-260h] BYREF
__int64 v11; // [xsp-258h] [xbp-258h]
__int64 v12[62]; // [xsp-1F0h] [xbp-1F0h] BYREF
WebPInitDecBufferInternal(&v9, 520);
memset(v12, 0, sizeof(v12));
v12[0] = (__int64)&v9;
LODWORD(v9) = 4;
if ( !(unsigned int)WebPGetInfo(a1, a2, (int *)&v9 + 1, &v10) )
return 0;
if ( a3 )
*a3 = HIDWORD(v9);
if ( a4 )
*a4 = v10;
if ( (unsigned int)sub_C706DC(a1, a2, v12) )
return 0;
else
return v11;
}