L L4D2node

DispInfo_CreateStaticBuffersAndTags

0x0013a380 · 53 bytes · __cdecl

_Z35DispInfo_CreateStaticBuffersAndTagsP7model_tiP13CCoreDispInfoPK9CDispVert

Decompiled

undefined (4 params)

/* DispInfo_CreateStaticBuffersAndTags(model_t*, int, CCoreDispInfo*, CDispVert const*) */

void DispInfo_CreateStaticBuffersAndTags
               (model_t *param_1,int param_2,CCoreDispInfo *param_3,CDispVert *param_4)

{
  CDispInfo *pCVar1;
  
  pCVar1 = (CDispInfo *)DispInfo_IndexArray(*(void **)(*(int *)(param_1 + 0x134) + 0x6c),param_2);
  BuildTagData(param_3,pCVar1);
  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)