L L4D2node

VOX_ListClear

0x000eff90 · 62 bytes · unknown

_ZL13VOX_ListClearv

Decompiled

undefined (0 params)

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* VOX_ListClear() */

void VOX_ListClear(void)

{
  void *pvVar1;
  void *__ptr;
  
  __ptr = g_pSentenceFileList;
  if (g_pSentenceFileList == (void *)0x0) {
    g_pSentenceFileList = (void *)0x0;
    return;
  }
  do {
    pvVar1 = *(void **)((int)__ptr + 4);
    free(__ptr);
    __ptr = pvVar1;
  } while (pvVar1 != (void *)0x0);
  g_pSentenceFileList = (void *)0x0;
  return;
}

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)