CUtlRBTree<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int,CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int>,int>>::Find
0x001b99e0 · 277 bytes · __thiscall
_ZNK10CUtlRBTreeIN7CUtlMapIyN8CNetChan24MessageProcessingStats_tEiE6Node_tEiNS3_8CKeyLessE10CUtlMemoryI15UtlRBTreeNode_tIS4_iEiEE4FindERKS4_
Decompiled
undefined (2 params)
/* CUtlRBTree<CUtlMap<unsigned long long, CNetChan::MessageProcessingStats_t, int>::Node_t, int,
CUtlMap<unsigned long long, CNetChan::MessageProcessingStats_t, int>::CKeyLess,
CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned long long, CNetChan::MessageProcessingStats_t,
int>::Node_t, int>, int> >::Find(CUtlMap<unsigned long long, CNetChan::MessageProcessingStats_t,
int>::Node_t const&) const */
int __thiscall
CUtlRBTree<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int,CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int>,int>>
::Find(CUtlRBTree<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int,CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<unsigned_long_long,CNetChan::MessageProcessingStats_t,int>::Node_t,int>,int>>
*this,Node_t *param_1)
{
int iVar1;
char cVar2;
int iVar3;
int iVar4;
iVar4 = *(int *)(this + 0x10);
if (iVar4 != -1) {
iVar3 = *(int *)(this + 4);
do {
while( true ) {
iVar1 = iVar4 * 0x28;
cVar2 = (**(code **)this)(param_1,iVar3 + 0x10 + iVar1);
if (cVar2 != '\0') break;
cVar2 = (**(code **)this)(*(int *)(this + 4) + iVar1 + 0x10,param_1);
if (cVar2 == '\0') {
return iVar4;
}
if ((Links(int)::s_Sentinel == '\0') &&
(iVar4 = __cxa_guard_acquire(&Links(int)::s_Sentinel), iVar4 != 0)) {
Links(int)::s_Sentinel = 0xffffffff;
DAT_0034169c = 0xffffffff;
DAT_003416a0 = 0xffffffff;
__cxa_guard_release(&Links(int)::s_Sentinel);
}
iVar3 = *(int *)(this + 4);
iVar4 = *(int *)(iVar3 + 4 + iVar1);
if (iVar4 == -1) {
return -1;
}
}
if ((Links(int)::s_Sentinel == '\0') &&
(iVar3 = __cxa_guard_acquire(&Links(int)::s_Sentinel), iVar3 != 0)) {
Links(int)::s_Sentinel = 0xffffffff;
DAT_0034169c = 0xffffffff;
DAT_003416a0 = 0xffffffff;
__cxa_guard_release(&Links(int)::s_Sentinel);
}
iVar3 = *(int *)(this + 4);
iVar4 = *(int *)(iVar3 + iVar4 * 0x28);
} while (iVar4 != -1);
}
return -1;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.