Skip to content

Add boost effect and input runtime mappings#4

Draft
Quantumyilmaz wants to merge 1 commit into
mainfrom
agent/boost-runtime-types
Draft

Add boost effect and input runtime mappings#4
Quantumyilmaz wants to merge 1 commit into
mainfrom
agent/boost-runtime-types

Conversation

@Quantumyilmaz

@Quantumyilmaz Quantumyilmaz commented Jul 17, 2026

Copy link
Copy Markdown

Summary

  • add verified ActiveEffect, ValueModifierEffect, and JetpackEffect runtime layouts
  • map ValueModifierEffect virtual slots 0x1C through 0x25, including ModifyActorValue at 0x1E
  • add PlayerControls::PlayerInputHandler and JumpHandler, including OnButtonEvent at slot 0x08
  • expose semantic vtable-array indices for every JetpackEffect subobject and for the relevant PlayerCharacter tables
  • add the new headers to the CommonLibSF umbrella include

Two-coordinate vtable mappings

  • PlayerCharacter::VTABLE[32] / ID 452459: ActorValueOwner subobject at complete-object offset +0x70
  • PlayerCharacter::VTABLE[41] / ID 452447: primary PlayerCharacter table at +0x00
  • JetpackEffect::VTABLE[0]: primary ValueModifierEffect table
  • JetpackEffect::VTABLE[1]: jump press; [2]: iron-sights end; [3]: non-support contact; [4]: jump release
  • JetpackEffect::VTABLE[5]: zero-G sprint press; [6]: zero-G sprint release; [7]: iron-sights start

These class-header index constants intentionally reference the existing generated arrays; no generated ID table is duplicated or reordered.

RE notes

  • complete-object locator offsets, constructors/destructors, virtual call sites, and member accesses were checked directly in Starfield 1.16.244
  • Address Library v22 provides the existing RTTI/vtable IDs
  • predecessor/CommonLib names were used only where Starfield call behavior independently supported the same semantics
  • unproven virtual and member semantics remain explicitly unknown

Validation

  • full RE/Starfield.h MSVC syntax and static-layout validation
  • MSVC class-layout report for the new classes and target slots
  • repo formatting and whitespace checks
  • full CommonLibSF MSVC debug and release builds

QTR internal review draft. This has not been submitted upstream.

Integration check

All four QTR draft branches cherry-pick together cleanly, and the combined tree passes full CommonLibSF MSVC debug and release builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant