nx_kkfacts.nx
buildroot/runtime/nx_kkfacts.nx
about
nx_kkfacts.nx -- CLI: Koikatsu card structural facts. nx_kkfacts probe <card.png>
Reads up to 64MB (cards are full files, payload census needs the whole artifact). Facts only:
structure + sizes + block census; slider values / names / creative content stay unread.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_kkfacts_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 8 | const KKC_CAP: i64 = 67108864 |
| 9 | const KKD_MAX_VALS: i64 = 256 // slider arrays measure ~52 (face) / ~44 (body); 256 is the refuse-beyond bound, overflow visible via parsed vs declared |
functions
| 11 | func kc_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 12 | func kc_w(s: *u8) -> i64 { sys_write(1, s, kc_slen(s)); return 0 } |
| 13 | func kc_e(s: *u8) -> i64 { sys_write(2, s, kc_slen(s)); return 0 } |
| 14 | func kc_num(v: i64) -> i64 |
| 28 | func kc_eq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: main |
| 30 | func main(argc: i64, argv: *i64) -> i64 |