feat: SK backlog from test through 2026.11.22.48 (Trade Shop + inventory/loot/chat/nav)
Squash of test/main-merge-2026-10-25 onto aelrynth main 2026.11.19.1 for the standing sk PR. Includes Trade Shop Storefront, loot checklist editor, chat routing, window placements, and related engine work. See Changelog/2026-11-22-sk-backlog-test-merge.md.
This commit is contained in:
parent
3fafd29133
commit
c6e8bb8dbf
438 changed files with 39545 additions and 1271 deletions
20
find_bytes.cs
Normal file
20
find_bytes.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
public class Program {
|
||||
public static void Main() {
|
||||
byte[] pe = File.ReadAllBytes(@"C:\Games\NexCore\acclient.exe");
|
||||
int peOffset = BitConverter.ToInt32(pe, 0x3C);
|
||||
int numSections = BitConverter.ToInt16(pe, peOffset + 6);
|
||||
int sectionHeaders = peOffset + 24 + BitConverter.ToInt16(pe, peOffset + 20);
|
||||
for (int i = 0; i < numSections; i++) {
|
||||
int rva = BitConverter.ToInt32(pe, sectionHeaders + i * 40 + 12);
|
||||
int size = BitConverter.ToInt32(pe, sectionHeaders + i * 40 + 16);
|
||||
int ptr = BitConverter.ToInt32(pe, sectionHeaders + i * 40 + 20);
|
||||
if (rva <= 0x1583F0 && rva + size > 0x1583F0) {
|
||||
int fileOffset = ptr + (0x1583F0 - rva);
|
||||
Console.WriteLine("Bytes at GetWeenieObject: " + BitConverter.ToString(pe, fileOffset, 32));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue