L L4D2node

DataMapInit<CWC_UpdateIgnoreList>

0x00b5f3e0 · 183 bytes · __cdecl

_Z11DataMapInitI20CWC_UpdateIgnoreListEP9datamap_tPT_

Decompiled

datamap_t * (1 param)

/* datamap_t* DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*) */

datamap_t * DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList *param_1)

{
  int iVar1;
  
  if (DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder == '\0') {
    iVar1 = __cxa_guard_acquire(&DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::
                                 nameHolder);
    if (iVar1 != 0) {
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._0_4_ =
           s_CWC_UpdateIgnoreList_00d50892;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._8_4_ = 0;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._12_4_ = 0;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._16_4_ = 0;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._20_4_ = 0;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._24_4_ = 0;
      DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder._4_4_ = 0x14;
      __cxa_guard_release(&DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder);
      __cxa_atexit(CDatadescGeneratedNameHolder::~CDatadescGeneratedNameHolder,
                   DataMapInit<CWC_UpdateIgnoreList>(CWC_UpdateIgnoreList*)::nameHolder,
                   &__dso_handle);
    }
  }
  CWC_UpdateIgnoreList::m_DataMap._12_4_ = CBaseEntity::m_DataMap;
  CWC_UpdateIgnoreList::m_DataMap._4_4_ = 0x10;
  CWC_UpdateIgnoreList::m_DataMap._0_4_ = 0xf6c240;
  return (datamap_t *)CWC_UpdateIgnoreList::m_DataMap;
}

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)