CUtlRBTree<CUtlMap<char_const*,int,int>::Node_t,int,CUtlMap<char_const*,int,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,int>::Node_t,int>,int>>::FirstInorder
0x00bb84b0 · 265 bytes · __thiscall
_ZNK10CUtlRBTreeIN7CUtlMapIPKciiE6Node_tEiNS3_8CKeyLessE10CUtlMemoryI15UtlRBTreeNode_tIS4_iEiEE12FirstInorderEv
Decompiled
undefined (1 param)
/* CUtlRBTree<CUtlMap<char const*, int, int>::Node_t, int, CUtlMap<char const*, int, int>::CKeyLess,
CUtlMemory<UtlRBTreeNode_t<CUtlMap<char const*, int, int>::Node_t, int>, int> >::FirstInorder()
const */
int __thiscall
CUtlRBTree<CUtlMap<char_const*,int,int>::Node_t,int,CUtlMap<char_const*,int,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,int>::Node_t,int>,int>>
::FirstInorder(CUtlRBTree<CUtlMap<char_const*,int,int>::Node_t,int,CUtlMap<char_const*,int,int>::CKeyLess,CUtlMemory<UtlRBTreeNode_t<CUtlMap<char_const*,int,int>::Node_t,int>,int>>
*this)
{
int iVar1;
int iVar2;
iVar2 = *(int *)(this + 0x10);
while( true ) {
iVar1 = iVar2;
if ((Links(int)::s_Sentinel == '\0') &&
(iVar2 = __cxa_guard_acquire(&Links(int)::s_Sentinel), iVar2 != 0)) {
Links(int)::s_Sentinel = -1;
DAT_00f14aec = 0xffffffff;
DAT_00f14af0 = 0xffffffff;
__cxa_guard_release(&Links(int)::s_Sentinel);
}
iVar2 = Links(int)::s_Sentinel;
if (iVar1 != -1) {
iVar2 = *(int *)(*(int *)(this + 4) + iVar1 * 0x18);
}
if (iVar2 == -1) break;
if ((Links(int)::s_Sentinel == '\0') &&
(iVar2 = __cxa_guard_acquire(&Links(int)::s_Sentinel), iVar2 != 0)) {
Links(int)::s_Sentinel = -1;
DAT_00f14aec = 0xffffffff;
DAT_00f14af0 = 0xffffffff;
__cxa_guard_release(&Links(int)::s_Sentinel);
}
iVar2 = Links(int)::s_Sentinel;
if (iVar1 != -1) {
iVar2 = *(int *)(*(int *)(this + 4) + iVar1 * 0x18);
}
}
return iVar1;
}
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.