//
// WebPFreeDecBuffer from 0x906e78 to 0x906e96 (30 bytes)
//
// 2 xrefs:
// > WebPIDelete @ 0x908818
// > sub_90F434 @ 0x90f764
//
// 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:19 +0000
//
void __fastcall WebPFreeDecBuffer(int a1)
{
if ( a1 )
{
if ( *(_DWORD *)(a1 + 12) )
{
*(_DWORD *)(a1 + 80) = 0;
}
else
{
WebPSafeFree(*(void **)(a1 + 80));
*(_DWORD *)(a1 + 80) = 0;
}
}
}