//
// WebPIDelete from 0xedd14c to 0xedd1f8 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0xfc130
//
// 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
//
void __fastcall WebPIDelete(_DWORD *a1)
{
__int64 v2; // x0
if ( a1 )
{
v2 = *((_QWORD *)a1 + 64);
if ( v2 )
{
if ( a1[126] )
{
sub_EE503C(v2);
if ( a1[170] != 1 )
goto LABEL_8;
LABEL_10:
WebPSafeFree(*((void **)a1 + 89));
WebPSafeFree(*((void **)a1 + 91));
WebPFreeDecBuffer((__int64)(a1 + 184));
WebPSafeFree(a1);
return;
}
if ( *a1 == 3 )
sub_EDC37C(v2, (__int64)(a1 + 130));
sub_EE15C0();
}
if ( a1[170] != 1 )
{
LABEL_8:
WebPFreeDecBuffer((__int64)(a1 + 184));
WebPSafeFree(a1);
return;
}
goto LABEL_10;
}
}