//
// sub_F0F93C from 0xf0f93c to 0xf0f9c4 (136 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0xf2bdec
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:12:27 +0000
//
__int64 __fastcall sub_F0F93C(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 result; // x0
__int64 v4; // x0
if ( !*(_DWORD *)(a1 + 540) )
return 1;
if ( *(int *)(a1 + 23580) <= 0 )
return sub_F0F6E0(a1);
v1 = a1 + 560;
v2 = WebPGetWorkerInterface(a1);
result = (*(__int64 (__fastcall **)(__int64))(v2 + 8))(v1);
if ( (_DWORD)result )
{
v4 = WebPGetWorkerInterface(result);
(*(void (__fastcall **)(__int64))(v4 + 24))(v1);
return 1;
}
return result;
}