//
// sub_F31114 from 0xf31114 to 0xf31158 (68 bytes)
//
// 2 xrefs:
// > WebPSetWorkerInterface @ 0xf31540
// > ??> @ 0x154d218
//
// 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:53 +0000
//
__int64 __fastcall sub_F31114(__int64 result)
{
unsigned int (__fastcall *v1)(_QWORD, _QWORD); // x2
__int64 v2; // x19
v1 = *(unsigned int (__fastcall **)(_QWORD, _QWORD))(result + 16);
if ( v1 )
{
v2 = result;
result = *(_DWORD *)(result + 40) | (unsigned int)(v1(*(_QWORD *)(result + 24), *(_QWORD *)(result + 32)) == 0);
*(_DWORD *)(v2 + 40) = result;
}
return result;
}