L L4D2node

CEventAbsoluteTag::GetAbsoluteTime

0x00ba35c0 · 69 bytes · __thiscall

_ZN17CEventAbsoluteTag15GetAbsoluteTimeEv

Decompiled

undefined (1 param)

/* CEventAbsoluteTag::GetAbsoluteTime() */

longdouble __thiscall CEventAbsoluteTag::GetAbsoluteTime(CEventAbsoluteTag *this)

{
  undefined4 *puVar1;
  longdouble lVar2;
  float fVar3;
  
  fVar3 = 0.0;
  puVar1 = *(undefined4 **)(this + 0x18);
  if (puVar1 != (undefined4 *)0x0) {
    fVar3 = (float)puVar1[0x12];
    lVar2 = (longdouble)(**(code **)*puVar1)(puVar1);
    fVar3 = (float)lVar2 * *(float *)(this + 0x10) + fVar3;
  }
  return (longdouble)fVar3;
}

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)