L L4D2node

CUtlVector<CUtlString,CUtlMemory<CUtlString,int>>::~CUtlVector

0x00111680 · 90 bytes · __thiscall

_ZN10CUtlVectorI10CUtlString10CUtlMemoryIS0_iEED1Ev

Decompiled

undefined (1 param)

/* CUtlVector<CUtlString, CUtlMemory<CUtlString, int> >::~CUtlVector() */

void __thiscall
CUtlVector<CUtlString,CUtlMemory<CUtlString,int>>::~CUtlVector
          (CUtlVector<CUtlString,CUtlMemory<CUtlString,int>> *this)

{
  CUtlMemory<unsigned_char,int> *this_00;
  int iVar1;
  int iVar2;
  
  iVar1 = *(int *)(this + 0xc) + -1;
  iVar2 = iVar1 * 0x10;
  if (-1 < iVar1) {
    do {
      iVar1 = iVar1 + -1;
      this_00 = (CUtlMemory<unsigned_char,int> *)(*(int *)this + iVar2);
      iVar2 = iVar2 + -0x10;
      CUtlMemory<unsigned_char,int>::Purge(this_00);
    } while (iVar1 != -1);
  }
  *(undefined4 *)(this + 0xc) = 0;
  CUtlMemory<CUtlString,int>::Purge((CUtlMemory<CUtlString,int> *)this);
  *(undefined4 *)(this + 0x10) = *(undefined4 *)this;
  CUtlMemory<CUtlString,int>::Purge((CUtlMemory<CUtlString,int> *)this);
  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)