//
// WebPIDecodedArea from 0xc67750 to 0xc677c0 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0xc2f88
//
// 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 WebPIDecodedArea(__int64 a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5)
{
__int64 v5; // x5
if ( a1 && *(_QWORD *)(a1 + 512) && *(_DWORD *)a1 > 2u )
v5 = *(_QWORD *)(a1 + 8);
else
v5 = 0;
if ( a2 )
*a2 = 0;
if ( a3 )
*a3 = 0;
if ( v5 )
{
if ( a4 )
*a4 = *(_DWORD *)(v5 + 4);
if ( a5 )
*a5 = *(_DWORD *)(a1 + 40);
return v5;
}
if ( a4 )
*a4 = 0;
if ( !a5 )
return v5;
*a5 = 0;
return 0;
}