__register_frame_info_table_bases
0x0029f6e0 · 136 bytes · unknown
Decompiled
undefined (0 params)
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x0029f757) */
void __register_frame_info_table_bases
(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)
{
undefined4 uVar1;
param_2[4] = 0;
param_2[1] = param_3;
*(undefined1 *)(param_2 + 4) = 2;
*param_2 = 0xffffffff;
param_2[2] = param_4;
*(ushort *)(param_2 + 4) = *(ushort *)(param_2 + 4) | 0x7f8;
param_2[3] = param_1;
pthread_mutex_lock((pthread_mutex_t *)object_mutex);
uVar1 = unseen_objects;
unseen_objects = param_2;
param_2[5] = uVar1;
pthread_mutex_unlock((pthread_mutex_t *)object_mutex);
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.