DEBUG15 late rehook from OutlineDebug

This commit is contained in:
Dusk-92
2026-08-28 20:35:23 +02:00
parent 7797221071
commit 1ed94e0387
+4 -2
View File
@@ -167,13 +167,15 @@ pub fn outlineDebug(L: lua.State) callconv(.{ .x86_thiscall = .{} }) u32 {
if (player_guid != 0) tracker.debug_unit_player_guid_seen = true;
if (target_guid != 0) tracker.debug_unit_target_guid_seen = true;
const rehook_ok = d3d9_hook.lateRehookIfLost();
const live = d3d9_hook.getLiveHookState();
var buf: [320]u8 = undefined;
var buf: [336]u8 = undefined;
const msg = std.fmt.bufPrintZ(
&buf,
"OutlineDBG live={d}/{d} hooks={d}{d}{d} E={x} D={x} end={d} sc={d} post={d} pub={d}/{d} con={d}/{d} tgt={d} mdl={d} dip={d} odip={d} cache={d} pipe={d}/{d}",
"OutlineDBG rh={d} live={d}/{d} hooks={d}{d}{d} E={x} D={x} end={d} sc={d} post={d} pub={d}/{d} con={d}/{d} tgt={d} mdl={d} dip={d} odip={d} cache={d} pipe={d}/{d}",
.{
@intFromBool(rehook_ok),
@intFromBool(live.vtable_found),
@intFromBool(live.same_vtable),
@intFromBool(live.endscene_ours),