//
// WebPFreeDecBuffer from 0x6f72b8 to 0x6f72d6 (30 bytes)
//
// 2 xrefs:
// > WebPIDelete @ 0x6f8c58
// > sub_6FF874 @ 0x6ffba4
//
// 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 WebPFreeDecBuffer(int a1)
{
if ( a1 )
{
if ( *(_DWORD *)(a1 + 12) )
{
*(_DWORD *)(a1 + 80) = 0;
}
else
{
WebPSafeFree(*(void **)(a1 + 80));
*(_DWORD *)(a1 + 80) = 0;
}
}
}