//
// WebPSafeCalloc from 0xf31588 to 0xf315a8 (32 bytes)
//
// 15 xrefs:
// > sub_EDA5A8 @ 0xeda5b0
// > sub_EDA5F0 @ 0xeda674
// > WebPINewDecoder @ 0xedd044
// > sub_EE1528 @ 0xee153c
// > sub_EE3EBC @ 0xee3fa8
// > sub_EE4F44 @ 0xee4f54
// > sub_EE5110 @ 0xee513c
// > sub_F1A258 @ 0xf1a328
// > sub_F28FB4 @ 0xf29060
// > sub_F2A0F0 @ 0xf2a154
// > sub_F2A0F0 @ 0xf2a570
// > sub_F2A0F0 @ 0xf2ac58
// > sub_F2DB30 @ 0xf2db58
// > sub_F313B0 @ 0xf31434
// > ??> @ 0xd1200
//
// 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
//
void *__fastcall WebPSafeCalloc(size_t a1, size_t a2)
{
if ( a1 && a2 > 0x10000000000LL / a1 )
return nullptr;
else
return calloc(a1, a2);
}