From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "function" |
|---|
| subject | "Library:Libdragon" |
|---|
| claim | "libdragon's program entry point _start (src/entrypoint.S, at the ELF's e_entry, 0x80000400 by default) begins with 'la gp, _gp; li v0, 0x241000E0; mtc0 v0, Status; lui v0, 0xA400; lw t0, 0(v0)', reading the IPL3 boot flags from DMEM. The bytes 3C 1C ?? ?? 27 9C ?? ?? 3C 02 24 10 34 42 00 E0 40 82 60 00 3C 02 A4 00 8C 48 00 00 find it in a decompressed libdragon program." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:libdragon" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "_start" |
|---|
| prototype | "void _start(void)" |
|---|
| signature | "3C 1C ?? ?? 27 9C ?? ?? 3C 02 24 10 34 42 00 E0 40 82 60 00 3C 02 A4 00 8C 48 00 00" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "la gp, _gp; li v0,SR_CU1|SR_PE|SR_FR|SR_KX|SR_SX|SR_UX (0x241000E0); mtc0 v0,C0_SR; lui v0, 0xA400; lw t0, 0x0000(v0); then lw t1, 4(v0) on preview (trunk e356bf3 lines 15-35: sw t0 to __boot_memsize instead)" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "39d0d6096130836a65710da6730290701d060272" |
|---|
| path | "src/entrypoint.S" |
|---|
| lines | "20-37" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "N64FlashcartMenu V0.3.4: the third ELF segment (PF_N64_COMPRESSED, p_paddr 0x80000400) decompresses as a raw LZ4 block to 828712 bytes; the pattern matches exactly once, at 0x80000400 (= e_entry)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "_start" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:51:35.245Z" |
|---|
| verifications | |
|---|