//
// sub_92CD20 from 0x92cd20 to 0x92cd66 (70 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0x942bd2
//
// 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:48 +0000
//
int __fastcall sub_92CD20(int a1)
{
int v2; // r6
int v3; // r0
int v4; // r0
if ( *(int *)(a1 + 22604) > 0 )
{
v3 = WebPGetWorkerInterface(a1);
v2 = (*(int (__fastcall **)(int))(v3 + 8))(a1 + 384);
v4 = WebPGetWorkerInterface(v2);
(*(void (__fastcall **)(int))(v4 + 20))(a1 + 384);
}
else
{
v2 = 1;
}
WebPSafeFree(*(void **)(a1 + 376));
*(_DWORD *)(a1 + 376) = 0;
*(_DWORD *)(a1 + 380) = 0;
*(_DWORD *)(a1 + 372) = 0;
return v2;
}