paavohtl Claude Opus 4.6 commited on
Commit
eb5a0d8
·
1 Parent(s): ba3ea2d

chore: sync Ghidra labels and add frame buffer globals

Browse files

Add G_FRAME_BUFFER_PTR/WIDTH/HEIGHT addresses discovered from
ConstructFrameBuffer (0x5A2430). Gitignore decompiled C dumps
(auto-generated from Ghidra, not version-controlled).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (2) hide show
  1. .gitignore +1 -0
  2. crates/openwa-types/src/address.rs +9 -0
.gitignore CHANGED
@@ -2,3 +2,4 @@
2
  .claude/
3
  .mcp.json
4
  start-mcp.ps1
 
 
2
  .claude/
3
  .mcp.json
4
  start-mcp.ps1
5
+ docs/re-notes/decompiled/
crates/openwa-types/src/address.rs CHANGED
@@ -391,6 +391,15 @@ pub mod va {
391
  /// CrashReportURL static buffer (0x400 bytes)
392
  pub const G_CRASH_REPORT_URL: u32 = 0x0079_FFD8;
393
 
 
 
 
 
 
 
 
 
 
394
  // === Game context (DDGame struct offsets) ===
395
  // These are offsets from the DDGame base pointer, not absolute addresses.
396
  // DDGame pointer is obtained from hookConstructDDGameWrapper param.
 
391
  /// CrashReportURL static buffer (0x400 bytes)
392
  pub const G_CRASH_REPORT_URL: u32 = 0x0079_FFD8;
393
 
394
+ // === Frame buffer globals ===
395
+
396
+ /// Frame buffer pixel data pointer (malloc'd width*height bytes)
397
+ pub const G_FRAME_BUFFER_PTR: u32 = 0x007A_0EEC;
398
+ /// Frame buffer width
399
+ pub const G_FRAME_BUFFER_WIDTH: u32 = 0x007A_0EF0;
400
+ /// Frame buffer height
401
+ pub const G_FRAME_BUFFER_HEIGHT: u32 = 0x007A_0EF4;
402
+
403
  // === Game context (DDGame struct offsets) ===
404
  // These are offsets from the DDGame base pointer, not absolute addresses.
405
  // DDGame pointer is obtained from hookConstructDDGameWrapper param.