L L4D2node

Sys_FindNext

0x00214e90 · 72 bytes · __cdecl

_Z12Sys_FindNextPci

Decompiled

undefined (2 params)

/* Sys_FindNext(char*, int) */

char * Sys_FindNext(char *param_1,int param_2)

{
  char *pcVar1;
  
  pcVar1 = (char *)(**(code **)(*g_pFileSystem + 0x74))(g_pFileSystem,g_hfind);
  if ((pcVar1 != (char *)0x0) && (param_1 != (char *)0x0)) {
    V_FileBase(pcVar1,param_1,param_2);
    return pcVar1;
  }
  return pcVar1;
}

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)