Skip to content

Fix 6 wrong Windows 2.2091 addresses and add CustomSFXCell ctor - #1396

Merged
Cvolton merged 1 commit into
geode-sdk:mainfrom
kisnner26:contrib/fix-2.2091-win-addresses
Oct 20, 2026
Merged

Cvolton merged 1 commit into
geode-sdk:mainfrom
kisnner26:contrib/fix-2.2091-win-addresses

Conversation

@kisnner26

Copy link
Copy Markdown
Contributor

Six Windows 2.2091 bindings point at unrelated functions. I checked each one against the Windows 2.2091 executable (timestamp 1792203143) by comparing the string literals the function references with the 2.2081 version of the same function:

Function current strings in common fixed strings in common
MoreOptionsLayer::init 0x111610 1 / 182 0x2c2df0 156 / 182
SecretLayer5::showFirstDialog 0x588070 0 / 31 0x58d1d0 31 / 31
SetupRotateCommandPopup::init 0xc02c0 0 / 23 0x3adee0 23 / 23
SetupCheckpointPopup::init 0x5fdf40 0 / 4 0x5ff1a0 4 / 4
SetupObjectControlPopup::init 0x264f80 0 / 5 0x609a80 5 / 5
SetupPlatformerEndPopup::init 0x5af210 0 / 5 0x5b2cd0 5 / 5

Also adds the Windows address of the CustomSFXCell(char const*, float, float) ctor (0x150870): it calls the TableViewCell ctor (0x89ab0) and sets the same vtables, same shape as in 2.2081.

Only Windows addresses are touched.

🤖 Generated with Claude Code

Each was verified against the Windows 2.2091 executable (timestamp
1792203143) by comparing the string literals each function references
with the 2.2081 version of the same function:

- MoreOptionsLayer::init: 156/182 strings match at 0x2c2df0 (1 at 0x111610)
- SecretLayer5::showFirstDialog: 31/31 at 0x58d1d0 (0 at 0x588070)
- SetupRotateCommandPopup::init: 23/23 at 0x3adee0 (0 at 0xc02c0)
- SetupCheckpointPopup::init: 4/4 at 0x5ff1a0 (0 at 0x5fdf40)
- SetupObjectControlPopup::init: 5/5 at 0x609a80 (0 at 0x264f80)
- SetupPlatformerEndPopup::init: 5/5 at 0x5b2cd0 (0 at 0x5af210)
- CustomSFXCell ctor at 0x150870: calls the TableViewCell ctor (0x89ab0),
  sets the same vtables as in 2.2081.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Cvolton

Cvolton commented Oct 20, 2026

Copy link
Copy Markdown
Member

MoreOptionsLayer::init is incorrect, otherwise it matches up. Not a huge fan of PRs that appear to be fully AI generated including the PR text itself but overall this is probably mergable

@Cvolton
Cvolton merged commit b29787b into geode-sdk:main Oct 20, 2026
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.

2 participants