//
// WebPSafeCalloc from 0xcbb3c8 to 0xcbb3e8 (32 bytes)
//
// 15 xrefs:
// > sub_C643E8 @ 0xc643f0
// > sub_C64430 @ 0xc644b4
// > WebPINewDecoder @ 0xc66e84
// > sub_C6B368 @ 0xc6b37c
// > sub_C6DCFC @ 0xc6dde8
// > sub_C6ED84 @ 0xc6ed94
// > sub_C6EF50 @ 0xc6ef7c
// > sub_CA4098 @ 0xca4168
// > sub_CB2DF4 @ 0xcb2ea0
// > sub_CB3F30 @ 0xcb3f94
// > sub_CB3F30 @ 0xcb43b0
// > sub_CB3F30 @ 0xcb4a98
// > sub_CB7970 @ 0xcb7998
// > sub_CBB1F0 @ 0xcbb274
// > ??> @ 0x9ee20
//
// 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 WebPSafeCalloc(size_t a1, size_t a2)
{
if ( a1 && a2 > 0x10000000000LL / a1 )
return nullptr;
else
return calloc(a1, a2);
}