Decompile KPAD to 11/29 functions #243

Merged
coah80 merged 21 commits from agent/w0928/kpad into main 2026-09-29 00:05:03 +00:00
coah80 commented 2026-09-29 00:04:53 +00:00 (Migrated from github.com)

rvl sdk kpad from scratch, gpt-6-luna xhigh worker, verified by me from a clean build

  • new libs/RVL_SDK/src/kpad/KPAD.c, 0/29 -> 11/29 exact, fuzzy 0% -> 77.9%
  • first pass read like raw m2c output (temp_f0 etc, (u8*)kpad + 0x10E), sent back, now named locals and a real KPADInside struct. some internal fields are still offset-named placeholders (value4F4 style) since their meaning isn't known yet
  • 18 functions left with an attempt log each (closest: calc_acc_vertical 99.73%, get_ring_buffer_by_kpad1_style 99.58%, KPADGetProjectionPos 96.58%)

gates: pool identical, 0 regressions, 0 forbidden patterns, 0 readability problems, clean ninja build/43U/ok passes with sha1 26116613f624061ba99c8d1a299aaa6efa85670d, global fuzzy 67.89% -> 68.23%

rvl sdk kpad from scratch, gpt-6-luna xhigh worker, verified by me from a clean build - new libs/RVL_SDK/src/kpad/KPAD.c, 0/29 -> 11/29 exact, fuzzy 0% -> 77.9% - first pass read like raw m2c output (temp_f0 etc, `(u8*)kpad + 0x10E`), sent back, now named locals and a real KPADInside struct. some internal fields are still offset-named placeholders (value4F4 style) since their meaning isn't known yet - 18 functions left with an attempt log each (closest: calc_acc_vertical 99.73%, get_ring_buffer_by_kpad1_style 99.58%, KPADGetProjectionPos 96.58%) gates: pool identical, 0 regressions, 0 forbidden patterns, 0 readability problems, clean `ninja build/43U/ok` passes with sha1 `26116613f624061ba99c8d1a299aaa6efa85670d`, global fuzzy 67.89% -> 68.23%
Sign in to join this conversation.