L L4D2node

CModelRender::DrawModelSetup

0x00185820 · 16 bytes · __cdecl

_ZN12CModelRender14DrawModelSetupER17ModelRenderInfo_tP16DrawModelState_tPP11matrix3x4_t

Decompiled

undefined (3 params)

/* CModelRender::DrawModelSetup(ModelRenderInfo_t&, DrawModelState_t*, matrix3x4_t**) */

undefined4
CModelRender::DrawModelSetup
          (ModelRenderInfo_t *param_1,DrawModelState_t *param_2,matrix3x4_t **param_3)

{
  undefined4 *in_stack_00000010;
  
  *in_stack_00000010 = 0;
  return 0;
}

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)