//
// sub_C6CCE from 0xc6cce to 0xc6d0a (60 bytes)
//
// 1 xrefs:
// > sub_C6FF4 @ 0xc728a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:53 +0000
//
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);
}