//
// WebPIDelete from 0x6f8c30 to 0x6f8c94 (100 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall WebPIDelete(_DWORD *a1)
{
int v2; // r0
if ( a1 )
{
v2 = a1[96];
if ( v2 )
{
if ( a1[95] )
{
sub_6FE6D4(v2);
if ( a1[124] != 1 )
goto LABEL_8;
goto LABEL_10;
}
if ( *a1 == 3 )
sub_6F8220(v2, (int)(a1 + 97));
sub_6FBA5C();
}
if ( a1[124] != 1 )
{
LABEL_8:
WebPFreeDecBuffer((int)(a1 + 131));
WebPSafeFree(a1);
return;
}
LABEL_10:
WebPSafeFree((void *)a1[128]);
WebPSafeFree((void *)a1[130]);
goto LABEL_8;
}
}