//
// sub_F2C4CC from 0xf2c4cc to 0xf2c510 (68 bytes)
//
// 4 xrefs:
// > WebPIAppend @ 0xedd6fc
// > WebPIAppend @ 0xedd718
// > WebPIUpdate @ 0xedd8dc
// > WebPIUpdate @ 0xedd908
//
// 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:50 +0000
//
__int64 __fastcall sub_F2C4CC(__int64 result, __int64 a2, unsigned __int64 a3)
{
unsigned __int64 v3; // x4
int v4; // w3
v3 = *(_QWORD *)(result + 24);
v4 = 1;
*(_QWORD *)(result + 8) = a2;
*(_QWORD *)(result + 16) = a3;
if ( a3 >= v3 )
{
v4 = *(_DWORD *)(result + 36);
if ( v4 )
{
v4 = 1;
}
else if ( a3 == v3 )
{
v4 = *(_DWORD *)(result + 32) > 64;
}
}
*(_DWORD *)(result + 36) = v4;
return result;
}