size_of_encoded_value
0x000ae150 · 87 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
undefined4 size_of_encoded_value(void)
{
byte in_AL;
byte bVar1;
if (in_AL == 0xff) {
return 0;
}
bVar1 = in_AL & 7;
if (bVar1 == 2) {
return 2;
}
if (bVar1 < 3) {
if ((in_AL & 7) == 0) {
return 4;
}
}
else {
if (bVar1 == 3) {
return 4;
}
if (bVar1 == 4) {
return 8;
}
}
/* WARNING: Subroutine does not return */
abort();
}
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.