Game API ​

The game API lists the functions, structs and patch sites of F1 25 that native plugins can use. Each subsystem has its own header and its own page.

Build ​

ExecutableF1_25.exe
SHA-256d873a1c8d2044cef2fd76c99c9d5a97649c5b815d055540995105f46619865ae
Size408,063,872 bytes
Image base0x140000000

Bindings are found by signature at load time. The RVAs on each page are for this build.

Status ​

StatusMeaning
stableLevel L3, confirmed by a passing trace test
experimentalLevel L2, or L3 without a passing test, with an agreeing verification

Subsystems ​

SubsystemHeaderFunctionsStructsDataSites
core<swofty/game/core.hpp>1000
fe_home<swofty/game/fe_home.hpp>2001
fe_tiles<swofty/game/fe_tiles.hpp>2600
vm<swofty/game/vm.hpp>2110

Include <swofty/game.hpp> for every subsystem.

Opaque types ​

These types are known by name only. Use them through pointers.

EntrantRecord, EntrantSetupMode, EntrantsManager, FEHomeViewModel, GdbTableCursor, NeAllocator, NeAllocatorVtbl, NeStr

Regenerating ​

These pages are generated. To refresh them after the bindings change:

sh
node docs/scripts/gen-reference.mjs --root /path/to/checkout

Last generated from native/dist/swofty/mods/core/bindings.json.