L L4D2node

SurvivorLocomotion::SurvivorLocomotion

0x00963360 · 165 bytes · __thiscall

_ZN18SurvivorLocomotionC2EP8INextBot

Decompiled

undefined (2 params)

/* SurvivorLocomotion::SurvivorLocomotion(INextBot*) */

void __thiscall SurvivorLocomotion::SurvivorLocomotion(SurvivorLocomotion *this,INextBot *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  PlayerLocomotion::PlayerLocomotion((PlayerLocomotion *)this,param_1);
  uVar2 = DAT_01053d4c;
  uVar1 = vec3_origin;
  *(undefined ***)this = &PTR__SurvivorLocomotion_00d0d168;
  uVar3 = DAT_01053d50;
  *(undefined4 *)(this + 0xe4) = 0;
  *(undefined ***)(this + 0xe0) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xe8) = 0xbf800000;
  *(undefined4 *)(this + 0xbc) = uVar1;
  *(undefined4 *)(this + 0xc0) = uVar2;
  *(undefined4 *)(this + 0xc4) = uVar3;
  *(undefined4 *)(this + 200) = 0;
  *(undefined4 *)(this + 0xcc) = 0;
  *(undefined4 *)(this + 0xd0) = uVar1;
  *(undefined4 *)(this + 0xd4) = uVar2;
  *(undefined4 *)(this + 0xd8) = uVar3;
  this[0xdc] = (SurvivorLocomotion)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)