DataTable_MaybeCreateReceiveTable_R
0x001453a0 · 112 bytes · __cdecl
_Z35DataTable_MaybeCreateReceiveTable_RR10CUtlVectorIP9SendTable10CUtlMemoryIS1_iEES1_
Decompiled
undefined (2 params)
/* DataTable_MaybeCreateReceiveTable_R(CUtlVector<SendTable*, CUtlMemory<SendTable*, int> >&,
SendTable*) */
void DataTable_MaybeCreateReceiveTable_R(CUtlVector *param_1,SendTable *param_2)
{
int iVar1;
int iVar2;
int iVar3;
iVar3 = 0;
iVar2 = 0;
DataTable_MaybeCreateReceiveTable(param_1,param_2,false);
if (0 < *(int *)(param_2 + 4)) {
do {
while (iVar1 = *(int *)param_2 + iVar3, *(int *)(iVar1 + 8) != 6) {
iVar2 = iVar2 + 1;
iVar3 = iVar3 + 0x54;
if (*(int *)(param_2 + 4) <= iVar2) {
return;
}
}
iVar2 = iVar2 + 1;
iVar3 = iVar3 + 0x54;
DataTable_MaybeCreateReceiveTable_R(param_1,*(SendTable **)(iVar1 + 0x48));
} while (iVar2 < *(int *)(param_2 + 4));
}
return;
}
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.