Skip to content

Match gf_scene_manager.cpp - #171

Open
loserkidsblink wants to merge 1 commit into
doldecomp:mainfrom
loserkidsblink:port/gf-scene-manager
Open

loserkidsblink wants to merge 1 commit into
doldecomp:mainfrom
loserkidsblink:port/gf-scene-manager

Conversation

@loserkidsblink

@loserkidsblink loserkidsblink commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor
  • gfSceneManager: filled in the rest of the layout (load-module table as LoadModuleInfo m_loadModules[11], sequence state), replacing the old spacer arrays
  • searchScene and searchSequence are now const (mangled names change; RSBE01.lst updated)
  • gfSceneRoot::resetLight is now const
  • new declarations: gfCamera::reset, gfModuleManager::release, extern g_gfSceneManager
  • gm_lib.h: three bitfields split out of gmAppData padding at 0x28

@decomp-dev

decomp-dev Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Report for RSBE01_02 (7074404 - 329f97d)

📈 Matched code: 1.75% (+0.02%, +3484 bytes)
📈 Linked code: 1.60% (+0.02%, +3484 bytes)
Total data: 5667448 bytes (-4 bytes)
📈 Matched data: 15.73% (+0.00%, +28 bytes)
📈 Linked data: 16.05% (+0.00%, +28 bytes)

✅ 20 new matches
Unit Item Bytes Before After
main/sora/gf/gf_scene_manager gfSceneManager::gfSceneManager() +956 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::process() +396 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::loadModule() +380 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::changeNextScene() +316 0.00% 100.00%
main/sora/gf/gf_scene_manager gfScene::setLoadModule(const char*, bool) +248 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::postProcess() +200 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::startSequence(const char*, int) +184 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::setNextScene(const char*, int) +148 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::setNextSequence(const char*, int) +148 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::searchScene(const char*) const +128 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::searchSequence(const char*) const +128 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::setLoadModuleName(const char*, const char*, bool, bool) +104 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::create() +72 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::registScene(gfScene*) +32 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::registSequence(gfSequence*) +32 0.00% 100.00%
main/sora/gf/gf_scene_manager .data +16 0.00% 100.00%
main/sora/gf/gf_scene_manager .sdata +8 0.00% 100.00%
main/sora/gf/gf_scene_manager gfSceneManager::getInstance() +8 0.00% 100.00%
main/sora/gf/gf_scene_manager .sbss +4 0.00% 100.00%
main/sora/gf/gf_scene_manager gfScene::setModule() +4 0.00% 100.00%

@loserkidsblink
loserkidsblink force-pushed the port/gf-scene-manager branch 3 times, most recently from e91678a to 8f52194 Compare November 8, 2026 02:59
Recover the gfSceneManager layout (load-module table, bitfields, sequence
state) from the target object, and declare the helpers it calls.
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