Skip to content

Started TouchControl.cpp#111

Merged
AetiasHax merged 10 commits intozeldaret:mainfrom
Yanis002:touchcontrol
Jan 30, 2026
Merged

Started TouchControl.cpp#111
AetiasHax merged 10 commits intozeldaret:mainfrom
Yanis002:touchcontrol

Conversation

@Yanis002
Copy link
Collaborator

@Yanis002 Yanis002 commented Jul 5, 2025

draft for now because I don't remember why I didn't opened a PR earlier

@decomp-dev
Copy link

decomp-dev bot commented Jul 5, 2025

Report for usa (e5701a7 - 875ff06)

📈 Matched code: 2.04% (+0.03%, +1036 bytes)
📈 Matched data: 0.51% (+0.00%, +4 bytes)

✅ 14 new matches
Unit Item Bytes Before After
src/00_Core/Player/TouchControl_00 TouchControl::UpdateFlags(unsigned short) +280 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::UpdateWithStateFlags(TouchStateFlags*, unsigned short) +220 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::UpdateConditionally(TouchState*, unsigned short) +104 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::func_ov00_0207af38(unsigned short, bool) +100 0.00% 100.00%
src/08_GameStart/Init TouchControl::TouchControl() +80 0.00% 100.00%
src/Main/Player/TouchControl TouchControl::func_0202b894(Vec3p*, int, char) +80 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::Update(TouchState*, unsigned short) +64 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::Init() +60 0.00% 100.00%
src/Main/Player/TouchControl TouchControl::func_0202b864(Vec3p*, int, char) +48 0.00% 100.00%
src/00_Core/Player/TouchControl_00 __sinit_TouchControl_00.cpp +44 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::func_ov00_0207aeac() +36 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::IncreaseSpeed(unsigned short) +24 0.00% 100.00%
src/00_Core/Player/TouchControl_00 .ctor +4 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::~TouchControl() +4 0.00% 100.00%
💔 3 broken matches
Unit Item Bytes Before After
src/08_GameStart/Init TouchControl::TouchControl() -80 100.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::IncreaseSpeed(short) -24 100.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::~TouchControl() -4 100.00% 0.00%
📉 7 regressions in unmatched functions
Unit Item Bytes Before After
src/00_Core/Player/TouchControl TouchControl::func_ov00_0207af38(unsigned short, bool) -92 92.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::func_ov00_0207aeac() -31 88.78% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateFlags(unsigned short) -4 1.43% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateWithStateFlags(TouchStateFlags*, unsigned short) -3 1.73% 0.00%
src/00_Core/Player/TouchControl TouchControl::Update(TouchState*, unsigned short) -3 5.94% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateConditionally(TouchState*, unsigned short) -1 1.54% 0.00%
src/00_Core/Player/TouchControl TouchControl::Init() 0 1.38% 0.00%

Report for eur (e5701a7 - 875ff06)

📈 Matched code: 2.06% (+0.03%, +1036 bytes)
📈 Matched data: 0.54% (+0.00%, +4 bytes)

✅ 14 new matches
Unit Item Bytes Before After
src/00_Core/Player/TouchControl_00 TouchControl::UpdateFlags(unsigned short) +280 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::UpdateWithStateFlags(TouchStateFlags*, unsigned short) +220 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::UpdateConditionally(TouchState*, unsigned short) +104 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::func_ov00_0207af38(unsigned short, bool) +100 0.00% 100.00%
src/08_GameStart/Init TouchControl::TouchControl() +80 0.00% 100.00%
src/Main/Player/TouchControl TouchControl::func_0202b894(Vec3p*, int, char) +80 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::Update(TouchState*, unsigned short) +64 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::Init() +60 0.00% 100.00%
src/Main/Player/TouchControl TouchControl::func_0202b864(Vec3p*, int, char) +48 0.00% 100.00%
src/00_Core/Player/TouchControl_00 __sinit_TouchControl_00.cpp +44 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::func_ov00_0207aeac() +36 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::IncreaseSpeed(unsigned short) +24 0.00% 100.00%
src/00_Core/Player/TouchControl_00 .ctor +4 0.00% 100.00%
src/00_Core/Player/TouchControl_00 TouchControl::~TouchControl() +4 0.00% 100.00%
💔 3 broken matches
Unit Item Bytes Before After
src/08_GameStart/Init TouchControl::TouchControl() -80 100.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::IncreaseSpeed(short) -24 100.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::~TouchControl() -4 100.00% 0.00%
📈 1 improvement in unmatched functions
Unit Item Bytes Before After
src/Main/Unknown/UnkStruct_020397f8 UnkStruct_020397f8::vfunc_44(int, int) +3 83.12% 83.55%
📉 7 regressions in unmatched functions
Unit Item Bytes Before After
src/00_Core/Player/TouchControl TouchControl::func_ov00_0207af38(unsigned short, bool) -92 92.00% 0.00%
src/00_Core/Player/TouchControl TouchControl::func_ov00_0207aeac() -31 88.78% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateFlags(unsigned short) -4 1.43% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateWithStateFlags(TouchStateFlags*, unsigned short) -3 1.73% 0.00%
src/00_Core/Player/TouchControl TouchControl::Update(TouchState*, unsigned short) -3 5.94% 0.00%
src/00_Core/Player/TouchControl TouchControl::UpdateConditionally(TouchState*, unsigned short) -1 1.54% 0.00%
src/00_Core/Player/TouchControl TouchControl::Init() 0 1.38% 0.00%

@Yanis002 Yanis002 marked this pull request as ready for review January 30, 2026 16:02
@Yanis002
Copy link
Collaborator Author

marking as ready to review, I improved things but I couldn't mark as complete because of gTouchControl, it's in the main module but the related init function is in overlay 0 so idk what to do about it

@AetiasHax AetiasHax merged commit 98cc0af into zeldaret:main Jan 30, 2026
3 checks passed
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