//
// sub_40C7CE from 0x40c7ce to 0x40c7f0 (34 bytes)
//
// 3 xrefs:
// > GameStatsManager::sharedState @ 0x413572
// > GameStatsManager::sharedState @ 0x4135aa
// > std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_insert_unique_node @ 0x4192e8
//
// 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_40C7CE(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;
}