L L4D2node

CParticleCollection::operator.new

0x00bca910 · 22 bytes · __cdecl

_ZN19CParticleCollectionnwEjiPKci

Decompiled

void * (4 params)

/* CParticleCollection::operator new(unsigned int, int, char const*, int) */

void * CParticleCollection::operator_new(uint param_1,int param_2,char *param_3,int param_4)

{
  void *pvVar1;
  
  pvVar1 = (void *)memalign();
  return pvVar1;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)