generated address header from sots-re (25 entries)
This commit is contained in:
parent
5212f07e78
commit
4a15301db6
1 changed files with 61 additions and 0 deletions
61
include/generated/sots_addresses.h
Normal file
61
include/generated/sots_addresses.h
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
// GENERATED — do not edit. Facts about Sword of the Stars.exe (GOG 1.8.1).
|
||||||
|
// Source: sots-re ghidra/addresses.json @ daea98f, generated 2026-09-07 by tools/gen_addresses.py
|
||||||
|
// Runtime address = (uintptr_t)GetModuleHandle(NULL) + RVA (the exe is ASLR-relocated).
|
||||||
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
namespace sots::addr {
|
||||||
|
constexpr uint32_t IMAGE_BASE = 0x00400000;
|
||||||
|
|
||||||
|
// thiscall void (Application* this) [unverified]
|
||||||
|
constexpr uint32_t Mars_Application_Initialize = 0x004a0e50;
|
||||||
|
// thiscall int (Application* this) [unverified]
|
||||||
|
constexpr uint32_t Mars_Application_Run = 0x0049f5b0;
|
||||||
|
// cdecl void (int coreIndex) [unverified]
|
||||||
|
constexpr uint32_t Process_PinAffinity = 0x0049ee70;
|
||||||
|
// thiscall void (CfgVar* this, void* parser, const char* key, void* storage) [unverified]
|
||||||
|
constexpr uint32_t CfgVar_RegisterKey = 0x004b76a0;
|
||||||
|
// thiscall void (DemoApp* this) [unverified]
|
||||||
|
constexpr uint32_t DemoApp_OnTick = 0x0049a640;
|
||||||
|
// thiscall void (StrategyClient* this) [unverified]
|
||||||
|
constexpr uint32_t StrategyClient_EndTurn = 0x00383be0;
|
||||||
|
// thiscall void (StrategyServer* this) [unverified]
|
||||||
|
constexpr uint32_t StrategyServer_BeginProcessTurn = 0x003d98e0;
|
||||||
|
// thiscall void (StrategyServer* this) [unverified]
|
||||||
|
constexpr uint32_t StrategyServer_ProcessTurn = 0x003dc6c0;
|
||||||
|
// thiscall void (ServerPlayer* this, int* budget25) [unverified]
|
||||||
|
constexpr uint32_t ServerPlayer_ComputeBudget = 0x00463030;
|
||||||
|
// thiscall void (TechTree* this, ...) [unverified]
|
||||||
|
constexpr uint32_t TechTree_ProcessResearch = 0x001876c0;
|
||||||
|
// thiscall void (ServerSystem* this /*+8 IStreamable*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t ServerSystem_Read = 0x0035d4b0;
|
||||||
|
// thiscall void (ServerSystem* this /*+8*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t ServerSystem_Write = 0x00349630;
|
||||||
|
// thiscall void (ServerPlayer* this /*+0x3a0*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t ServerPlayer_Read = 0x004804d0;
|
||||||
|
// thiscall void (ServerPlayer* this /*+0x3a0*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t ServerPlayer_Write = 0x004563e0;
|
||||||
|
// thiscall void (StarFleet* this /*+8*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StarFleet_Read = 0x00302470;
|
||||||
|
// thiscall void (StarFleet* this /*+8*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StarFleet_Write = 0x00301070;
|
||||||
|
// thiscall void (StarShip* this /*+8*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StarShip_Read = 0x00453fa0;
|
||||||
|
// thiscall void (StarShip* this /*+8*/, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StarShip_Write = 0x004291f0;
|
||||||
|
// thiscall void (StrategyServer* this, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StrategyServer_Read = 0x003d27a0;
|
||||||
|
// thiscall void (StrategyServer* this, Stream* s) [verified-by-save]
|
||||||
|
constexpr uint32_t StrategyServer_Write = 0x0039fa70;
|
||||||
|
// thiscall void (Stream* this, const char* tag, NetworkObject* obj) [unverified]
|
||||||
|
constexpr uint32_t Stream_WriteNetworkObjectId = 0x00416490;
|
||||||
|
// thiscall void (RNG* this) [unverified]
|
||||||
|
constexpr uint32_t RNG_Twist = 0x00026e00;
|
||||||
|
// thiscall void (RNG* this, uint32_t seed) [unverified]
|
||||||
|
constexpr uint32_t RNG_Seed = 0x0009fdf0;
|
||||||
|
// thiscall float (RNG* this) [unverified]
|
||||||
|
constexpr uint32_t RNG_NextFloat = 0x0007d830;
|
||||||
|
// thiscall uint32_t (RNG* this) [unverified]
|
||||||
|
constexpr uint32_t RNG_NextInt = 0x000271c0;
|
||||||
|
|
||||||
|
} // namespace sots::addr
|
||||||
Loading…
Add table
Reference in a new issue