//
// sub_856358 from 0x856358 to 0x8563a4 (76 bytes)
//
// 8 xrefs:
// > GJBaseGameLayer::spawnObject @ 0x886914
// > GJBaseGameLayer::generateTargetGroups @ 0x887ef4
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d82c
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x88d8d4
// > GJBaseGameLayer::registerSpawnRemap @ 0x892c34
// > GJBaseGameLayer::generateSpawnRemap @ 0x892da8
// > GJBaseGameLayer::init @ 0x893140
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x8976dc
//
// 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_856358(unsigned __int64 a1)
{
void *v1; // x19
__int64 v3; // [xsp+28h] [xbp+28h]
if ( a1 > 0x1FFFFFFFFFFFFFFFLL )
sub_D1383C();
v3 = 8 * a1;
v1 = (void *)operator new(8 * a1);
memset(v1, 0, v3);
return v1;
}