//
// sub_40C5F0 from 0x40c5f0 to 0x40c612 (34 bytes)
//
// 2 xrefs:
// > GameStatsManager::sharedState @ 0x41360a
// > GameStatsManager::sharedState @ 0x413642
//
// 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_40C5F0(unsigned int a1)
{
size_t v1; // r4
void *v2; // r5
if ( a1 >= 0x40000000 )
sub_772FB4(a1);
v1 = 4 * a1;
v2 = (void *)operator new(4 * a1);
memset(v2, 0, v1);
return v2;
}