Skip to content

Commit 8999651

Browse files
committed
Fix offsets for 12.12.2024
1 parent ecbf235 commit 8999651

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

Northgard_aa.CT

+13-10
Large diffs are not rendered by default.

main.lua

+12-9
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ function UpdateFunctionList()
226226
end
227227

228228
function getChangeAddress(function_address)
229-
-- fn setCheckedJoin@26175 (ui.win.LobbyFinderWaiting, bool) -> void (7 regs, 12 ops)
230-
local function_address = function_list[26175 + 1]
229+
-- fn setCheckedJoin@26455 (ui.win.LobbyFinderWaiting, bool) -> void (7 regs, 12 ops)
230+
local function_address = function_list[26455 + 1]
231231
local MOV_OFFSET = 0xf
232232
local change_addr = function_address + MOV_OFFSET
233233

@@ -277,24 +277,27 @@ function CloseClick(sender)
277277
return caFree
278278
end
279279

280-
-- logLobbyInfo@29519
280+
-- logLobbyInfo@29841
281281
function getLogAddress1()
282-
local FUNCTION_OFFSET = 2026
283-
local function_address = function_list[29519 + 1]
282+
local FUNCTION_OFFSET = 1205
283+
local function_address = function_list[29841 + 1]
284+
print("logLobbyInfo@29841: " .. function_address)
284285
return function_address + FUNCTION_OFFSET
285286
end
286287

287-
-- logUserJoined@29520
288+
-- logUserJoined@29842
288289
function getLogAddress2()
289290
local FUNCTION_OFFSET = 28
290-
local function_address = function_list[29520 + 1]
291+
local function_address = function_list[29842 + 1]
292+
print("logUserJoined@29842: " .. function_address)
291293
return function_address + FUNCTION_OFFSET
292294
end
293295

294-
-- logUserLeft@29521
296+
-- logUserLeft@29843
295297
function getLogAddress3()
296298
local FUNCTION_OFFSET = 28
297-
local function_address = function_list[29521 + 1]
299+
local function_address = function_list[29843 + 1]
300+
print("logUserLeft@29843: " .. function_address)
298301
return function_address + FUNCTION_OFFSET
299302
end
300303

0 commit comments

Comments
 (0)