L L4D2node

SendProxy_Health

0x007b4110 · 27 bytes · __cdecl

_Z16SendProxy_HealthPK8SendPropPKvS3_P8DVariantii

Decompiled

undefined (6 params)

/* SendProxy_Health(SendProp const*, void const*, void const*, DVariant*, int, int) */

void SendProxy_Health(SendProp *param_1,void *param_2,void *param_3,DVariant *param_4,int param_5,
                     int param_6)

{
  undefined4 uVar1;
  
  uVar1 = 0xfa;
  if (*(int *)param_3 < 0xfb) {
    uVar1 = *(undefined4 *)param_3;
  }
  *(undefined4 *)param_4 = uVar1;
  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)