//
// sub_F0F8D0 from 0xf0f8d0 to 0xf0f93c (108 bytes)
//
// 1 xrefs:
// > WebPEncode @ 0xf2baac
//
// 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 *__fastcall sub_F0F8D0(__int64 a1))(__int64 a1)
{
__int64 (__fastcall *result)(__int64); // x0
void (__fastcall **v3)(__int64); // x0
sub_EE9450();
*(_DWORD *)(a1 + 540) = WebPPictureHasTransparency(*(_QWORD *)(a1 + 8));
*(_QWORD *)(a1 + 544) = 0;
result = (__int64 (__fastcall *)(__int64))*(unsigned int *)(a1 + 23580);
*(_DWORD *)(a1 + 552) = 0;
if ( (int)result > 0 )
{
v3 = (void (__fastcall **)(__int64))WebPGetWorkerInterface(result);
(*v3)(a1 + 560);
*(_QWORD *)(a1 + 584) = a1;
*(_QWORD *)(a1 + 592) = 0;
*(_QWORD *)(a1 + 576) = sub_F0F6E0;
return sub_F0F6E0;
}
return result;
}