//
// sub_F11EB8 from 0xf11eb8 to 0xf11f30 (120 bytes)
//
// 2 xrefs:
// > sub_F2A0F0 @ 0xf2a2bc
// > sub_F2A0F0 @ 0xf2a9bc
//
// 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:28 +0000
//
__int64 __fastcall sub_F11EB8(__int64 a1, int a2)
{
__int64 v2; // x21
void *v4; // x0
v2 = a2;
v4 = (void *)WebPSafeMalloc(a2, 4);
*(_QWORD *)(a1 + 0x100000) = v4;
if ( !v4 )
return 0;
*(_DWORD *)(a1 + 1048584) = v2;
memset(v4, 255, 4 * v2);
memset((void *)a1, 255, 0x100000u);
return 1;
}