mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-01-19 07:35:19 +01:00
18 lines
504 B
Lua
18 lines
504 B
Lua
local address = 0x51f838 -- at CGGameUI__HandleObjectTrackChange
|
|
debugger_onBreakpoint = nil
|
|
function onBreakpoint()
|
|
local addr, typ = GetCGObjectAddr(readQword(0x00bd07a0)) -- mouseover guid
|
|
if addr then
|
|
if typ == "corpse" then
|
|
loadStructToTable(CGCorpse, addr)
|
|
end
|
|
end
|
|
debugger_onBreakpoint = nil
|
|
debug_removeBreakpoint(address)
|
|
debug_continueFromBreakpoint(co_run)
|
|
return 1
|
|
end
|
|
|
|
debug_setBreakpoint(address)
|
|
debugger_onBreakpoint = onBreakpoint
|