//
// WebPIDecode from 0xedd0d8 to 0xedd14c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x480d0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:46 +0000
//
__int64 __fastcall WebPIDecode(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
if ( a1 && a2 )
{
if ( a3 )
{
if ( (unsigned int)WebPGetFeaturesInternal() )
return 0;
goto LABEL_7;
}
LABEL_11:
result = WebPINewDecoder(0);
if ( !result )
return 0;
return result;
}
if ( !a3 )
goto LABEL_11;
LABEL_7:
result = WebPINewDecoder(a3 + 40);
if ( !result )
return 0;
if ( a3 )
*(_QWORD *)(result + 48) = a3 + 160;
return result;
}