//
// sub_71ECC4 from 0x71ecc4 to 0x71ecf8 (52 bytes)
//
// 1 xrefs:
// > sub_7319C0 @ 0x731af0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_71ECC4(_DWORD *a1, int a2)
{
void *result; // r0
result = (void *)WebPSafeMalloc(a2, a2 >> 31, 4);
a1[0x40000] = result;
if ( result )
{
a1[262145] = a2;
memset(result, 255, 4 * a2);
memset(a1, 255, 0x100000u);
return &dword_0 + 1;
}
return result;
}