//
// WebPIDecode from 0x9087ac to 0x9087ee (66 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:20 +0000
//
_DWORD *__fastcall WebPIDecode(int a1, int a2, _DWORD *a3)
{
bool v3; // zf
_DWORD *result; // r0
v3 = a1 == 0;
if ( a1 )
v3 = a2 == 0;
if ( !v3 )
{
if ( a3 )
{
if ( WebPGetFeaturesInternal(a1, a2, a3) )
return nullptr;
goto LABEL_8;
}
LABEL_11:
result = WebPINewDecoder(nullptr);
if ( !result )
return nullptr;
return result;
}
if ( !a3 )
goto LABEL_11;
LABEL_8:
result = WebPINewDecoder(a3 + 10);
if ( !result )
return nullptr;
if ( a3 )
result[6] = a3 + 31;
return result;
}