//
// sub_6FBA5C from 0x6fba5c to 0x6fbaa6 (74 bytes)
//
// 2 xrefs:
// > WebPIDelete @ 0x6f8c48
// > sub_6FF874 @ 0x6ffb6a
//
// 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 sub_6FBA5C(int a1)
{
int v2; // r0
void *v3; // r0
if ( a1 )
{
v2 = WebPGetWorkerInterface(a1);
(*(void (__fastcall **)(int))(v2 + 20))(a1 + 124);
sub_6F6C10(*(_DWORD **)(a1 + 2344));
v3 = *(void **)(a1 + 2288);
*(_DWORD *)(a1 + 2344) = 0;
WebPSafeFree(v3);
*(_DWORD *)(a1 + 2288) = 0;
*(_DWORD *)(a1 + 2292) = 0;
memset((void *)(a1 + 12), 0, 0x1Cu);
*(_DWORD *)(a1 + 4) = 0;
WebPSafeFree((void *)a1);
}
}