Link scene/memoryCard/iplMemoryCardBase (clean subset) #468

Merged
devin-ai-integration[bot] merged 1 commits from agent/w0929/mcbase-clean into main 2026-10-01 14:03:10 +00:00
devin-ai-integration[bot] commented 2026-10-01 14:03:00 +00:00 (Migrated from github.com)

Summary

Clean subset of agent/w0929/vtable: flips scene/memoryCard/iplMemoryCardBase.cpp to Matching — objdiff complete: true, fuzzy 100.0, main.dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d on current main.

What reproduces the orig object:

  • iplMemoryCardBase.cpp defines IPL_MEMORYCARD_BASE_CPP before includes. Two nw4r headers gate on it:
    • nw4r/ut/Rect.h: ~Rect becomes decl-only (no inline body) in this TU, matching the weak-dtor emission the orig object shows.
    • nw4r/ut/RuntimeTypeInfo.h: DynamicCast<T> becomes an out-of-line declaration, so the TU emits the UND reference the orig contains instead of an inlined copy.
  • set_textbox now binds GetTextDrawRect to const Rect& (no copy construction — matches orig's codegen and avoids the extra dtor emission) and compares getCurrentFrame() >= (f32)frame with the explicit float cast the orig's instruction stream implies.

Both header gates are inert in every other TU (IPL_MEMORYCARD_BASE_CPP is only defined here), so no other unit's codegen changes.

Link to Devin session: https://app.devin.ai/sessions/222dce3cd2364f14bc9a8d5ef82cda00
Open in Devin Desktop: https://app.devin.ai/desktop/session/222dce3cd2364f14bc9a8d5ef82cda00?variant=devin
Requested by: @coah80

## Summary Clean subset of `agent/w0929/vtable`: flips `scene/memoryCard/iplMemoryCardBase.cpp` to Matching — objdiff `complete: true`, fuzzy 100.0, `main.dol` sha1 `26116613f624061ba99c8d1a299aaa6efa85670d` on current main. What reproduces the orig object: - `iplMemoryCardBase.cpp` defines `IPL_MEMORYCARD_BASE_CPP` before includes. Two nw4r headers gate on it: - `nw4r/ut/Rect.h`: `~Rect` becomes decl-only (no inline body) in this TU, matching the weak-dtor emission the orig object shows. - `nw4r/ut/RuntimeTypeInfo.h`: `DynamicCast<T>` becomes an out-of-line declaration, so the TU emits the UND reference the orig contains instead of an inlined copy. - `set_textbox` now binds `GetTextDrawRect` to `const Rect&` (no copy construction — matches orig's codegen and avoids the extra dtor emission) and compares `getCurrentFrame() >= (f32)frame` with the explicit float cast the orig's instruction stream implies. Both header gates are inert in every other TU (`IPL_MEMORYCARD_BASE_CPP` is only defined here), so no other unit's codegen changes. Link to Devin session: https://app.devin.ai/sessions/222dce3cd2364f14bc9a8d5ef82cda00 Open in Devin Desktop: https://app.devin.ai/desktop/session/222dce3cd2364f14bc9a8d5ef82cda00?variant=devin Requested by: @coah80
devin-ai-integration[bot] commented 2026-10-01 14:03:03 +00:00 (Migrated from github.com)

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring
<!-- devin-pr-monitoring-controls --> I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)". - [ ] Disable automatic comment, CI, and merge conflict monitoring
Sign in to join this conversation.