//
// sub_71D0EC from 0x71d0ec to 0x71d126 (58 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0x733146
//
// 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
//
int __fastcall sub_71D0EC(int a1)
{
int v1; // r4
int v2; // r0
int result; // r0
int v4; // r0
if ( !*(_DWORD *)(a1 + 372) )
return 1;
if ( *(int *)(a1 + 22604) <= 0 )
return sub_71CF70(a1);
v1 = a1 + 384;
v2 = WebPGetWorkerInterface(a1);
result = (*(int (__fastcall **)(int))(v2 + 4))(v1);
if ( result )
{
v4 = WebPGetWorkerInterface(result);
(*(void (__fastcall **)(int))(v4 + 12))(v1);
return 1;
}
return result;
}