Commit Graph
290 Commits
Author SHA1 Message Date
shweet e66baf4063 Curation round 27 (code only): Weapon_Bone::Fire and the fetus tear (no offline gaps left), TakeDamage's interleaved hit order, 74 SetAnimation reset flags corrected, and a parity audit of every boss, every enemy, the rest of the player and tears, effects and familiars; one normalize_angle_degrees, IsTargetInAttackRange defaults (59 duplicates) 2026-11-23 12:08:14 -05:00
shweet cc77c923e8 Curation round 26 (code only): the Siren, Singe's body and Butt Slicker, DebugRenderer and the hitsphere and player-info debug views, saved key bindings for menu actions, Mega Blast, 4.5 Volt, C Section, Mom's Bracelet, Book of the Dead and Everything Jar, and a parity audit of the player, pickups, level, familiars and Entity_NPC fixing about 90 differences; 005832c0 and 0058a010 renamed 2026-11-23 09:47:38 -05:00
shweet 5c89798773 Curation round 25 (code only): the ultra horsemen and the Beast's background, the Scourge and Polty, the player's last gaps with the frame gate removed, game core, debug and daily, local co-op and player-controlled enemies, TMTRAINER, local versus, the vanilla Lua API, the special-daily fix, shared constants folded (60 duplicates, 10 offline gaps) 2026-11-23 07:35:21 -05:00
shweet 534339a496 Curation round 24 (code only): pickups and slots, level generation with the Ascent and the Death Certificate return, rooms and grid entities, Game and Entity core with Polty, Clutch, Matriarch, Chimera, Bumbino and other bosses, the player's remaining branches, familiars and weapons, HUD and engine stubs, 004b6a90 renamed push_back, shared constants folded (66 duplicates, 38 main gaps) 2026-11-23 03:27:24 -05:00
shweet 11c71fe041 Curation round 23 (code only): the Mods menu and HUD pieces, Dogma and the Beast, Visage, Hornfel and other bosses, enemies and Entity_NPC branches, player revivals and missing methods, the player's frame, familiars, lasers, weapons and bombs, shared constants folded (115 duplicates, 385 gaps) 2026-11-23 00:41:14 -05:00
shweet b9405bfb31 Curation round 22: every NpcAI below type 400, Repentance bosses and Rotgut, the player's last branches, clots and familiars, bomb tear effects and chain lightning, Mother and Home to Dogma, Greed and Greedier, the new Anm2Ed JSON loader, shared IDs folded (135 duplicates) 2026-11-22 21:57:51 -05:00
shweet 6a11163842 Curation round 21: rock drops, Boss Rush and room setup, Dross, Ashpit and Gehenna enemies, Book of Virtues wisps and Dream Catcher, the last familiars and effects, player damage branches, a Corpse floor and Abyss crash fix, shared constants (186 duplicates) 2026-11-22 11:00:43 -05:00
shweet 8dbeb1bc4a Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers 2026-11-22 00:33:35 -05:00
shweet ee863e70e6 Curation round 19: EvaluateItems and charged shots, actives split into Rebirth and Repentance dispatches, cards and runes, champions and death effects, War, Death, Uriel and the boss sweep, Delirium, T. Lilith's Gello and familiars, effects, price sprites and the devil room 2026-11-21 15:05:20 -05:00
shweet 9dfc09518c Curation round 18: tears and four weapons, passive item and trinket sweeps, pills and most cards, alt path and main path enemies, Hush and the Blue Womb, Mega Satan, the Void, Tainted ???, Forgotten, Lilith and Eden, wisps 2026-11-21 10:34:58 -05:00
shweet 024cb12016 Curation round 17: Theora and Vorbis cutscene videos, Ludovico, Epic and Dr. Fetus, Tractor Beam and Eye of the Occult, familiars and blue spiders, fortune teller and restock, the Bag of Crafting and four tainted characters, ten enemies, water and the ultra secret door, Isaac, ???, the Lamb and Hush 2026-11-21 01:27:03 -05:00
shweet e9de039d0f Curation round 16: Mom's Knife and the bone club, sin minibosses and death rewards, slots and beggars, NPC rendering and twelve bosses, alt path visuals, the Forgotten's flight and tainted HUDs, Sheol and the Cathedral to the credits, familiars and transformations 2026-11-20 22:44:36 -05:00
shweet 76c594f9a0 Add Ogg, Vorbis and Theora as static decoder-only submodules for cutscene videos 2026-11-20 20:56:57 -05:00
shweet 78a2680134 Curation round 15: restart and mods, Brimstone and Tech X, room gaps, eight bosses, the Womb and Mom's Heart, the Forgotten and tainted starts, alt path enemies and exits 2026-11-20 20:54:59 -05:00
shweet 6e3da161fc Curation round 14: console and Lua API, effects, lasers, enemies, eleven bosses, the Depths and Mom, status effects, the playable characters 2026-11-20 19:04:41 -05:00
shweet 8ae02a8422 Curation round 13: grid entities, more enemies, Caves, boss helpers and five bosses, chests and costumes, curses and alt stages, the Lua API 2026-11-20 16:32:45 -05:00
shweet f8ce24fc6c Curation round 12: basement enemies, projectiles, tear flags, lighting and blend modes, actives, boss deaths, familiars, shops and secret rooms 2026-11-20 14:25:15 -05:00
shweet 698eeb74e9 Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II 2026-11-20 11:54:27 -05:00
shweetandClaude Opus 5.5 d8385e6c64 Curation round 10: combat, pathfinding, death and game over, items and stats, room state, Continue, Lua callbacks
Seven agents took over tear and contact collision, NPC death with blood and gibs, champions, PathFinder, the Gaper's
kin, the player's death with the game over screen, item pedestals with collectible pickup, AddCollectible and
EvaluateItems, room state save and restore, GameState::read, pressure plates, fireplaces, entity lights, ambient
sounds, and one Lua callback enum with gated runners. Integration reconstructed Room::Update's loot preview and
Entity_NPC::UpdatePickupGhosts and replaced a leftover Sacred Orb stub that stopped every pedestal roll.
Under gdb: Gapers die with blood and gibs, a cleared room opens its doors, the treasure room's item is taken (banner,
costume, stats: a Magic Mushroom gives damage 3.5 -> 6.12 and a heart), death leads to the game over diary, and a saved
run is read back on the next boot with Continue offered. 3028 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:55:14 -05:00
shweetandClaude Opus 5.5 48933cd312 Curation round 9: floors and walls, room transitions, collision, the first enemies, saving, damage, pickups
Seven agents took over the backdrop's floor and wall rendering, room transitions (StartRoomTransition, on_leave,
room_enter), grid collision with tear hits and decal baking, Entity_NPC's core with the AI dispatch and the first
enemies (flies, Gaper, Pooter, Clotty, Horf, Dip, Spider), the run's save, player damage, PlayerManager::Update,
ShowName, pickups, slots and the common effects. Integration added LuaEngine::PostNewLevel/PostNewRoom, one shared
lua_callback_check (4 copies merged) and the enemy type range the original checks.
Under gdb a run draws its rooms with floors and walls, walks between rooms, fights Gapers with contact damage and the
damage flash, and collects pickups. Next: tears hitting enemies, pathfinding, item pedestals, death.
2891 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:24:38 -05:00
shweetandClaude Opus 5.5 69a354f843 Curation round 8: the first room plays: Isaac walks and shoots tears
Eight agents took over Room::Init's pieces, RailManager, Room::Render/render_lighting/Update, the GridEntity hierarchy
(walls, doors, rocks, pits, poop ...), Game::Update and interpolate_update, the run's save, update_ingame_input,
Game::Spawn with the entity factory and grid collision, the player's movement and tears through Weapon/Weapon_Tears,
PlayerManager's positions, the camera focus, MinimapConfig, PlayerHUD, mod shader rendering, Entity_Tear and
Entity_Effect. Integration wrote Level::get_secret_exit_kind, shared the secret-exit enum (four copies merged) and
fixed the generator's vtable-stub check (word boundary and namespace, not a substring).
Under gdb a run reaches the first room: doors, HUD with hearts and minimap, WASD movement with acceleration, arrow-key
tears that fly and splash. Floor and walls (Backdrop::RenderFloor/RenderWalls) and room transitions are next.
The official build/isaac reaches the start room and stops at Entity_NPC::Redirect. 2770 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:43:01 -05:00
shweetandClaude Opus 5.5 b85591bdf4 Curation round 7: Game::Start, level generation, Room, Camera, the Entity hierarchy, Entity_Player, the run frame
Six agents took over Game::Start, Level::SetNextStage, BossPool, save_game_state, level generation to the first room
(place_special_rooms, RoomDescriptor, load_room), Room, Camera, Entity/EntityList/EntityRef with a curated skeleton of
every Entity_* subclass, Entity_Player, Game::Render, Manager::Update's run branch, RoomTransition, ItemInfoHUD and
StatHUD. Integration wrote FirstTrinketOwner and room_shape_get_door_grid_index (checked against the decompile for
every shape and slot) and folded the duplicated constants. A run now generates its floor, loads the start room and
draws the HUD (under gdb); Isaac renders correctly when drawn, the room itself waits for Room::Render.
2479 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:33:11 -05:00
shweetandClaude Opus 5.5 addd027977 Curation round 6: boot finished, the run starts; HUD, pause screen, minimap, preloads, floor generation
Six agents took over OnlineEmotes (emote wheel), OnlineStatsScreen's deeds, VictoryRunPrompt, RevivePlayerMenu, HUD,
PauseScreen, Minimap, PreloadManager, ProceduralItemManager, Game::LoadBossRushXml, GameState's loading, the menu loose
ends, Manager::StartNewGame, LevelGenerator and Level (Game now derives from Level). Integration: completion_widget.h
breaks an include loop, call sites moved to the new APIs. --mute (main.cpp) keeps the mixer running at zero gain.
build/isaac reaches the main menu by itself (input skips the intro); under gdb, picking a character calls
StartNewGame and stops at Game::Start. 1611 functions taken over, boot path 287/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:09:22 -05:00
shweetandClaude Opus 5.5 fed6918a10 curate_brief.js: test runs are muted and skip the intro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:54:44 -05:00
shweetandClaude Opus 5.5 233d5123e8 Curation round 5: Game construction, FXLayers, PlayerManager, the menus; the main menu renders
Eight agents took over ScoreSheet, DeathmatchManager, giantbook and boss overlays, FXLayers, PlayerManager, the menu
manager with the save and prompt flow, twelve menus (character wheel, options, challenges, daily (offline), special
seeds, leaderboard (local), collection, bestiary, stats, controller select, key config, cutscenes), console text input
and gamepad hot-plug through platform listeners. Integration moved input to device ids.
KAGE's projection matrix now reaches the 'ProjectionMatrix' uniform the basic shaders from afterbirthp.a declare, as
well as the exe's 'Transform', which takes the color-mod and HQ4X passes from black to correct output.
Under gdb with stubs skipped, the intro, title, file select, main menu and character wheel render as in the game.
1330 functions taken over, boot path 261/615. build/isaac stops at OnlineEmotes::init in Game::LoadConfigXmls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:59:23 -05:00
shweetandClaude Opus 5.5 fd8b965350 Curation round 4: popups, Seeds/Random, Game, KeyConfigs, offline NetplayManager, Console, TextureCache, render passes
Six agents took over PopupButtons/PopupQueue/AchievementOverlay, Seeds with the global Random (now seeded from the
clock as in the original), Game (g_game exists from Manager::Init on), KeyConfigs, an offline NetplayManager, Console's
output and printing, TextureCache, the color-mod and sprite shader passes, mod shaders and reload_resource_paths. An
integration pass moved callers to the new APIs (0 errors, 0 warnings with -Wall -Wextra). build/isaac loads the 34
installed mods and stops at ScoreSheet::ScoreSheet in Game's constructor; with the remaining stubs skipped under gdb the
intro cutscene plays through and the main menu's frame loop runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:32:19 -05:00
shweetandClaude Opus 5.5 ddf913f304 Curation round 3: Lua engine, Manager, sound, menus, cutscenes, rooms, item pools, saves; boots past LuaEngine::Init
Seven agents took over LuaEngine (the mod API registration deferred), the rest of Manager (LoadConfigs, fonts, render
surfaces, Update/Render), MusicManager/SFXManager, MenuManager with the title/save/game menus, Cutscene/NightmareScene/
Backdrop, RoomConfig (src/rooms ported and retired) with ItemPool, and PersistentGameData (the original binary save
format) with InfoDisplay. An integration pass moved call sites to the new APIs, declared the taken-over free functions,
fixed two data.cpp crashes (an empty children array, null attribute strings), and made the generator keep a header's own
name where a prototype names another address. Clean build (0 warnings with -Wall -Wextra). build/isaac runs the game's
Lua scripts (without the mod API yet) and stops at reload_resource_paths. 901 functions taken over, boot path 204/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:53:08 -05:00
shweetandClaude Opus 5.5 a7061306fa curate_brief.js: declare taken-over free functions in a header, keep decompilation notes, full include paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:41:48 -05:00
shweetandClaude Opus 5.5 d5c7b29bad notes/systems: keep the anm2 and rooms decompilation write-ups the src/ ports retired
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:41:40 -05:00
shweetandClaude Opus 5.5 e35ad1316f curate_brief.js: Manager is taken over
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:04:59 -05:00
shweetandClaude Opus 5.5 28e2e48842 Curation round 2, wave B: ItemConfig, EntityConfig, mods, Manager and the KAGE platform on SDL3; boots to LuaEngine::Init
- item_config, entity_config and mod_manager take over their families as idiomatic classes (std containers,
  unique_ptr, bitset tear flags). Every big loader reads the imported JSON: entities2.xml gives 1349 entities.
- manager.h/.cpp take over Manager (g_manager) and IsaacStartup. Members are the curated subsystems by value.
- kage_graphics, kage_input and kage_sound take over KAGE's graphics (shaders, render targets, batches, PNG through
  stb_image), input (SDL3 keyboard, mouse, gamepads) and sound (SDL3 audio, wav and stb_vorbis ogg, pitch and volume).
- source_tree.py: classes inside a namespace block in src/ headers count as taken over, and a still-generated class's
  vtable slot keeps its stub unless src/ defines that exact method.
build/isaac opens the window, sets up GL 4.6, framebuffers and PulseAudio, logs the version, and stops at
LuaEngine::Init. 522 functions taken over, boot path 156/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:03:39 -05:00
shweetandClaude Opus 5.5 346dc95e13 scripts/curate_brief.js: the curation round brief (whole-class takeovers), kept in the repo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:17:39 -05:00
shweetandClaude Opus 5.5 0afb31d503 external/: stb (stb_image for the game's PNGs, as in smack-a-brother)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:16:59 -05:00
shweetandClaude Opus 5.5 780767f5e1 Curation round 2, wave A: anm2 (Anm2Ed JSON), text, config as idiomatic classes; SDL3 platform opens a window
- anm2.h/.cpp take over ANM2, AnimationState, LayerState, AnmCache and the frame data. They read Anm2Ed's JSON documents
  with simdjson and play them as the game does (interpolation baked at load). src/anm2/ and msvc.h are retired.
- font, formatted_text, string_table and rich_text take over the text classes. FormattedText::parse is still bit-exact
  against its assembly.
- options_config and challenge_params take over OptionsConfig, ChallengeParams and the .ini helpers. The tests include
  Save's exact bytes.
- platform.h/.cpp and main.cpp run IsaacMain on SDL3: the window and GL context open, and the run stops at the first
  built-in shader (FUN_00a13fa0).
- source_tree.py: a taken-over parent stays bytes, taken-over methods are not re-emitted as a namespace, and every
  address in a (a, b, c to d) list on a comment counts as taken over.
- log.h: reconstruction_missing() for a taken-over class's methods that are not written yet.
206 functions taken over, boot path 89/615. The full build waits for wave B: item_config, entity_config and mod_manager
still use the old APIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:04:54 -05:00
shweetandClaude Opus 5.5 d6e1ca7c6c data.h: resource_path (lowercased, as the game normalizes); .anm2 files are Anm2Ed JSON documents
The import tool now writes every .anm2 as Anm2Ed's JSON document under its own name (anm2ed convert --format json),
as isaac-classic does; other XML keeps the generic {tag, attrs, children, text} mapping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:31:16 -05:00
shweetandClaude Opus 5.5 837aa06518 Curation round 1: 66 boot-path functions rewritten in src/; the game links into a Linux executable
Six agents took over ANM2/AnimationState/LayerState, ItemConfig, EntityConfig, StringTable/Font/FormattedText/RichText,
OptionsConfig/ChallengeParams and ModManager/ModEntry functions (FormattedText::parse checked against a transliteration
of its assembly on 200,000 random inputs). 174 field rows and 32 names from the round are merged into db/.
source_tree.py: a struct or class src/*.h defines is no longer emitted in classes.h (class takeover) and gets no stubs;
data labels get stub definitions. build/isaac links (64-bit ELF) and stops at the first function not reconstructed:
IsaacMain. Boot path 64/615 functions curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:13:25 -05:00
shweetandClaude Opus 5.5 8c31c98a81 notes/systems/filesystem.md: the packed .a archive format; data_path lowercases like the game
The import tool (tools/import.py, gitignored) unpacks all 22 archives (checksums verified), converts XML and anm2 to
JSON and writes every path lowercased, matching the game's case-insensitive lookups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:56:56 -05:00
shweetandClaude Opus 5.5 08ca87dded src/gl.h: the OpenGL entry points the game calls, loaded through SDL (no libepoxy), as in smack-a-brother
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:45:50 -05:00
shweetandClaude Opus 5.5 2b108ca729 Generated stubs: the build links into a Linux executable that runs as far as src/ goes
source_tree.py writes generated-src/stubs.cpp: every function, vtable slot and import src/ has not taken over, defined
as a stub that prints 'Reached <name> <address>, not reconstructed yet' and stops. CMake builds src/*.cpp + stubs into
the isaac executable, so each run names the next function to curate. src/main.cpp hands over to the game's IsaacMain.
Classes with only parameterised constructors get a defaulted one, so stub constructors of their holders compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:44:40 -05:00
shweetandClaude Opus 5.5 9d4d4f5c64 Build 29: zero-length placeholder structs, generated-src with standard types
--check: 938/3256 method bodies compile for x86_64 (28.8%), 32-bit layout asserts hold; boot path 3/626 curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:41:34 -05:00
shweetandClaude Opus 5.5 2d3c4eb75b src/data.h: the curated loaders' view of a converted game document (resources/<path>.json via simdjson)
Elements are {tag, attrs, children, text} with attribute strings as written, so a loader walks them the way the game
walked rapidxml nodes and converts values with the same semantics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:33:10 -05:00
shweetandClaude Opus 5.5 1326bb1571 source_tree: generated code coexists with the standard library and simdjson
Ghidra's primitive names become the standard types they are (undefined4/uint/ulong -> uint32_t, byte -> uint8_t ...;
Ghidra's ulong is 4 bytes, glibc's 8); the prelude includes the C library headers and every Ghidra type, global, import
or free function the headers already declare is left to them; the MSVC STL stand-ins move to namespace msvc. A curated
file can now include <string>, <vector>, simdjson.h and classes.h together. Body rate unchanged: 877/3256.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:30:14 -05:00
shweetandClaude Opus 5.5 0b86c1071f external/: simdjson v5.1.1; the game reads JSON that an import tool makes from the player's install
Config and .anm2 data are converted from the install's XML (and packed archives) into a gitignored resources/ by a
tool in the gitignored tools/, as in smack-a-brother. The game has no XML parser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:27:08 -05:00
shweetandClaude Opus 5.5 199c3d3d2b external/: SDL3 (release-3.4.20) and Lua 5.3.6 as static submodules, wired into CMake
SDL3 replaces GLFW, Win32 and OpenAL (window, OpenGL context, input, gamepads, audio), trimmed to those pieces as in
smack-a-brother. Lua 5.3 keeps the mod API. Online features become offline stubs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:14:59 -05:00
shweetandClaude Opus 5.5 832ea0297b source_tree: db/fields.tsv (and --fields files) overlay the build's field list, so a new field needs no Ghidra rebuild
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:12:39 -05:00
shweetandClaude Opus 5.5 4badd39376 source_tree --check: report boot-path curation (what Manager::Init reaches, the first milestone)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:12:06 -05:00
shweetandClaude Opus 5.5 3ce74c6e2d Reconstruction layout: generated-src/ (generated) and src/ (curated), CMake, the first takeover: RNG
The decompiled C++ tree moves to generated-src/ (classes.h, C++20); src/ is for code written by hand. A curated function
defines the generated declaration and starts its comment with its address, and source_tree.py stops emitting that body.
src/rng.cpp takes over RNG (SetSeed, the constructor, Next, RandomInt, RandomFloat, Shuffle) with the shift table read
from the exe as a constexpr array; src/log.h names KAGE_LogMessage's levels (1 INFO, 2 NET, 4 WARN, 8 ERROR, 16 ASSERT,
from its prefix jump table). CMakeLists.txt builds src/*.cpp against generated-src/classes.h (clean with -Wall -Wextra).
structs.hpp and headers.py are retired: scripts/merge_fields.py writes the merged field list, classes.h checks the layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:10:23 -05:00
shweetandClaude Opus 5.5 2ff2d5d87f source_tree: pointer casts through GHIDRA_CAST (a float holds the pointer's bits); ApplyTypes: zero-length placeholders
MSVC copies pointers through XMM registers, so Ghidra types some as float: those casts now reinterpret the bits
(float-to-pointer errors 2415 -> 171). Classes with no known field get a zero-length struct, so the decompiler stops
typing 4-byte values with them (applies next build). The hazard count now covers every raw (char *)x + n access: 32689.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:01:50 -05:00
shweetandClaude Opus 5.5 bafef76746 source_tree: STL member layouts, (int) casts that keep pointer width, EntityPtr as a pointer, Ghidra partial fields
Container fields use the MSVC layouts ApplyTypes gives Ghidra (vector_X -> std_vector ...); (int)/(uint) casts become
GHIDRA_INT/GHIDRA_UINT (32-bit numbers, full-width pointers); EntityPtr behaves as the raw pointer the code treats it
as; EXPR._0_4_ partial accesses become explicit offsets; field-less Ghidra placeholders no longer claim 4 bytes.
--check: 878/3262 method bodies compile for x86_64 (26.9%).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:58:28 -05:00
shweetandClaude Opus 5.5 fdfdb10137 Build 28: DumpAll exports types, globals and imports; the generated tree targets 64-bit Linux
DumpAll writes dump/types.tsv (Ghidra structs/unions with components, typedefs, enums with values), data.tsv (global
data labels with types) and externals.tsv (imported functions). source_tree.py lays the Ghidra types out with the
classes (591 types, 347 sized), declares every global, import and code label, drops Windows calling conventions,
leaves third-party classes (std, rapidxml, theoraplayer, luabridge, stb_vorbis) declared but not reconstructed, turns
raw vtable calls on typed objects into named virtual calls and (int)p + n byte arithmetic into (char *)p + n.
The tree now targets x86_64 Linux; the original 32-bit layout stays as LAYOUT32 asserts, checked with -m32 (they hold).
--check: 775/3262 method bodies compile for x86_64 (23.8%), 23010 raw offset accesses left (64-bit hazards).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:54:04 -05:00