//
// sub_C6CCE from 0xc6cce to 0xc6d0a (60 bytes)
//
// 1 xrefs:
// > sub_C6FF4 @ 0xc728a
//
// 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_C6CCE(void *ptr, unsigned int a2, unsigned int a3)
{
size_t v4; // r1
if ( a2 )
{
if ( 0xFFFFFFFF / a3 < a2 )
return nullptr;
v4 = a3 * a2;
}
else
{
v4 = 0;
}
return j_realloc(ptr, v4);
}