L L4D2node

CChoreoEvent::FindAbsoluteTag

0x00ba56c0 · 118 bytes · __thiscall

_ZN12CChoreoEvent15FindAbsoluteTagENS_10AbsTagTypeEPKc

Decompiled

undefined (3 params)

/* CChoreoEvent::FindAbsoluteTag(CChoreoEvent::AbsTagType, char const*) */

CUtlString * __thiscall CChoreoEvent::FindAbsoluteTag(CChoreoEvent *this,int param_2,char *param_3)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  CUtlString *this_00;
  
  iVar3 = 0;
  iVar4 = 0;
  param_2 = param_2 * 0x14;
  if (0 < *(int *)(this + param_2 + 0xf0)) {
    do {
      this_00 = (CUtlString *)(iVar4 + *(int *)(this + param_2 + 0xe4));
      if (this_00 != (CUtlString *)0x0) {
        pcVar1 = (char *)CUtlString::Get(this_00);
        iVar2 = _V_stricmp(pcVar1,param_3);
        if (iVar2 == 0) {
          return this_00;
        }
      }
      iVar3 = iVar3 + 1;
      iVar4 = iVar4 + 0x1c;
    } while (iVar3 < *(int *)(this + param_2 + 0xf0));
  }
  return (CUtlString *)0x0;
}

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)