Skip to content

CCubeModel 99% - #183

Merged
henriquegemignani merged 1 commit into
mainfrom
codex/cube-model
Sep 27, 2026
Merged

henriquegemignani merged 1 commit into
mainfrom
codex/cube-model

Conversation

@encounter

@encounter encounter commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@encounter encounter changed the title Reconstruct CCubeModel CCubeModel 99% Sep 27, 2026
@decomp-dev

decomp-dev Bot commented Sep 27, 2026

Copy link
Copy Markdown

Report for R3MP01 (7c28921 - 10e9922)

No changes

Report for G2MP01 (7c28921 - 10e9922)

No changes

Report for R32J01 (7c28921 - 10e9922)

No changes

Report for G2ME01 (7c28921 - 10e9922)

📈 Matched code: 14.56% (+0.06%, +3992 bytes)
📈 Matched data: 26.73% (+0.01%, +48 bytes)

✅ 26 new matches
Unit Item Bytes Before After
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawSurfaces(unsigned long long, const CModelFlags&) const +524 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawNormal(ESurfaceSelection) const +388 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::SetStaticArraysCurrent() const +312 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::MakeTexturesFromMats(const void*, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>&, IObjectStore&, bool) +296 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawSurfaces(const CModelFlags&) const +292 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::TryLockTextures() const +284 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>::reserve(int) +192 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawNormalSurfaces(const CModelFlags&) const +180 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawAlphaSurfaces(const CModelFlags&) const +180 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawSurface(const CCubeSurface&, const CModelFlags&) const +164 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawSurfaceFlat(const CCubeSurface&) const +160 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::SetArraysCurrent() const +156 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::SetUsingPackedLightmaps(bool) const +132 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::UnlockTextures() const +132 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel rstl::uninitialized_copy<rstl::pointer_iterator<TCachedToken<CTexture>, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, TCachedToken<CTexture>*>(rstl::pointer_iterator<TCachedToken<CTexture>, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<TCachedToken<CTexture>, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, TCachedToken<CTexture>*) +120 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::Draw(unsigned long long, const CModelFlags&) const +108 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::Draw(const CModelFlags&) const +76 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawNormal(const CModelFlags&) const +76 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawAlpha(const CModelFlags&) const +76 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::RemapMaterialData(const void*, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>*) +56 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::CacheMaterialData() +52 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::SetDrawingOccluders(bool) +28 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel .sbss +24 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel .rodata +16 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel .sdata +8 0.00% 100.00%
main/Kyoto/Graphics/CCubeModel CCubeModel::SetModelWireframe(bool) +8 0.00% 100.00%
📈 3 improvements in unmatched items
Unit Item Bytes Before After
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawSurfaceWireframe(const CCubeSurface&) const +1402 0.00% 99.91%
main/Kyoto/Graphics/CCubeModel CCubeModel::CCubeModel(rstl::vector<void*, rstl::rmemory_allocator>*, rstl::vector<TCachedToken<CTexture>, rstl::rmemory_allocator>*, const void*, const void*, const void*, const void*, const void*, const void*, const CAABox&, unsigned char, bool, unsigned int) +402 0.00% 96.68%
main/Kyoto/Graphics/CCubeModel CCubeModel::DrawFlat(int) const +341 0.00% 96.93%

Report for G2MJ01 (7c28921 - 10e9922)

No changes

Report for R3ME01 (7c28921 - 10e9922)

No changes

@henriquegemignani
henriquegemignani merged commit cbddbb7 into main Sep 27, 2026
6 checks passed
@henriquegemignani
henriquegemignani deleted the codex/cube-model branch September 27, 2026 20:48
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