VOX_PrecacheSentenceGroup
0x000f3380 · 131 bytes · unknown
Decompiled
undefined (0 params)
void VOX_PrecacheSentenceGroup(IEngineSound *param_1,char *param_2,char *param_3)
{
undefined4 *puVar1;
int iVar2;
int iVar3;
int iVar4;
iVar2 = _V_strlen(param_2);
iVar4 = 0;
if (0 < DAT_00350438) {
do {
while ((puVar1 = (undefined4 *)(g_Sentences + iVar4 * 0xc), *(char *)(puVar1 + 2) < '\0' ||
(iVar3 = V_strncasecmp((char *)*puVar1,param_2,iVar2), iVar3 != 0))) {
iVar4 = iVar4 + 1;
if (DAT_00350438 <= iVar4) {
return;
}
}
iVar3 = iVar4 + 1;
VOX_Precache(param_1,iVar4,param_3);
iVar4 = iVar3;
} while (iVar3 < DAT_00350438);
}
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.
⚠ This function has no mangled symbol — it may be internal/static. The
Linux gamedata field uses @-prefix symbol resolution which
requires an exported mangled name. You'll need a Linux byte signature
for this one (extract via extract_signature.java).
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.