Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KaiserGranatapfel/GameCubeRecompiled
/ functions
Functions
702 in github.com/KaiserGranatapfel/GameCubeRecompiled
⨍
Functions
702
◇
Types & classes
202
↓ 98 callers
Method
into_anyhow
(self)
gcrecomp-lua/src/error.rs:35
↓ 84 callers
Method
get
(&mut self, key: &str)
gcrecomp-runtime/src/texture/cache.rs:29
↓ 46 callers
Method
indent
(&self)
gcrecomp-core/src/recompiler/codegen/mod.rs:1218
↓ 45 callers
Method
insert
(&mut self, key: String, texture: RgbaImage)
gcrecomp-runtime/src/texture/cache.rs:40
↓ 43 callers
Method
width
(&self)
gcrecomp-runtime/src/graphics/framebuffer.rs:47
↓ 22 callers
Method
get_register
(&self, reg: u8)
gcrecomp-core/src/runtime/context.rs:30
↓ 19 callers
Method
set_register
(&mut self, reg: u8, value: u32)
gcrecomp-core/src/runtime/context.rs:38
↓ 16 callers
Method
height
(&self)
gcrecomp-runtime/src/graphics/framebuffer.rs:51
↓ 12 callers
Function
deserialize_button
(mapping: &SerializedButtonMapping)
gcrecomp-runtime/src/input/profiles.rs:96
↓ 12 callers
Function
generate_tev_wgsl
Generates WGSL fragment shader code for the given TEV stage pipeline. The returned string is a self-contained WGSL fragment function body (without th
gcrecomp-runtime/src/graphics/gx/tev.rs:298
↓ 12 callers
Method
get_button_state
(&self, mapping: &ButtonMapping, input: &RawInput)
gcrecomp-runtime/src/input/gamecube_mapping.rs:207
↓ 12 callers
Function
serialize_button
(mapping: &ButtonMapping)
gcrecomp-runtime/src/input/profiles.rs:86
↓ 10 callers
Method
remove
Remove a callback.
gcrecomp-lua/src/bindings/callbacks.rs:51
↓ 9 callers
Function
read_u32_be
Hot path - may be inlined
gcrecomp-core/src/recompiler/parser.rs:235
↓ 9 callers
Function
register
(lua: &Lua, gcrecomp: &Table)
gcrecomp-lua/src/bindings/ui.rs:125
↓ 8 callers
Function
create_mapping_row
(label: &'static str, button_text: &'static str)
gcrecomp-ui/src/ui/controller_config.rs:82
↓ 8 callers
Method
load
()
gcrecomp-ui/src/config.rs:51
↓ 8 callers
Method
write_u32
Hot path - may be inlined
gcrecomp-core/src/runtime/memory.rs:339
↓ 7 callers
Function
compute_mask
Called frequently for rotate instructions
gcrecomp-core/src/recompiler/decoder.rs:2726
↓ 7 callers
Function
gen
Generate a full function from raw PowerPC instruction words.
gcrecomp-core/tests/codegen_test.rs:67
↓ 7 callers
Method
position_3f32
Submit a 3-component f32 position.
gcrecomp-runtime/src/graphics/gx/vertex.rs:252
↓ 7 callers
Method
read_u8
Hot path - always inline for performance
gcrecomp-runtime/src/memory/ram.rs:67
↓ 7 callers
Method
translate_address
Hot path - always inline for performance
gcrecomp-core/src/runtime/memory.rs:80
↓ 7 callers
Method
write_u8
Hot path - always inline for performance
gcrecomp-runtime/src/memory/ram.rs:141
↓ 6 callers
Method
begin
Start accumulating vertices for a new primitive. `primitive_raw` is the raw GX command byte (e.g. 0x90 for triangles). `vtx_fmt` selects one of the
gcrecomp-runtime/src/graphics/gx/vertex.rs:179
↓ 6 callers
Function
read_u32_be
(data: &[u8], offset: usize)
gcrecomp-lua/src/bindings/web.rs:300
↓ 5 callers
Function
alpha_arg_to_wgsl
Maps a `TevAlphaArg` to its WGSL f32 expression string.
gcrecomp-runtime/src/graphics/gx/tev.rs:226
↓ 5 callers
Function
color_arg_to_wgsl
Maps a `TevColorArg` to its WGSL vec3<f32> expression string.
gcrecomp-runtime/src/graphics/gx/tev.rs:205
↓ 5 callers
Method
end
Finalize the current draw call and return the result. Returns `None` if no vertices were accumulated or if `begin` was never called.
gcrecomp-runtime/src/graphics/gx/vertex.rs:215
↓ 5 callers
Method
get_register_value
(&self, reg: u8)
gcrecomp-core/src/recompiler/codegen/mod.rs:592
↓ 5 callers
Method
lua
(&self)
gcrecomp-lua/src/engine.rs:48
↓ 5 callers
Function
lua_table_to_json
(table: &Table)
gcrecomp-lua/src/convert.rs:37
↓ 4 callers
Function
config_path
Config path helper — matches gcrecomp-ui's config location.
gcrecomp-lua/src/bindings/config.rs:7
↓ 4 callers
Function
extract_dol_from_gcm_iso
Extract main.dol from a raw GameCube ISO/GCM disc image.
gcrecomp-lua/src/bindings/web.rs:228
↓ 4 callers
Method
generate_function
( &mut self, metadata: &FunctionMetadata, instructions: &[DecodedInstruction], )
gcrecomp-core/src/recompiler/codegen/mod.rs:45
↓ 4 callers
Function
read_c_string
Read a null-terminated C string from memory at the given GC address.
gcrecomp-core/src/runtime/sdk/os.rs:292
↓ 4 callers
Function
read_u32_be
Read a big-endian u32 from a byte slice at the given offset.
gcrecomp-lua/src/bindings/disc_fs.rs:15
↓ 4 callers
Method
region
(&self, address: u32)
gcrecomp-core/src/runtime/memory.rs:94
↓ 4 callers
Method
region_mut
(&mut self, address: u32)
gcrecomp-core/src/runtime/memory.rs:105
↓ 4 callers
Method
set_vtx_desc
Set the input type for a single vertex attribute.
gcrecomp-runtime/src/graphics/gx/state.rs:513
↓ 3 callers
Method
alloc_lo
Allocate from the low end (grows upward). Returns GC address.
gcrecomp-core/src/runtime/sdk/heap.rs:35
↓ 3 callers
Function
analyze_function
Compute facts for a single function from the slice of instructions that fall within `[func.address, func.address + func.size)`.
gcrecomp-core/src/recompiler/enrich.rs:50
↓ 3 callers
Function
call_lua_handler
( state: &AppState, method: &str, arg: Option<serde_json::Value>, )
gcrecomp-web/src/routes.rs:380
↓ 3 callers
Method
clear
(&mut self)
gcrecomp-runtime/src/audio/mixer.rs:80
↓ 3 callers
Method
clear
Reset all "has" flags and zero the staging data.
gcrecomp-runtime/src/graphics/gx/vertex.rs:76
↓ 3 callers
Function
create_progress_bar
(message: &str)
gcrecomp-cli/src/main.rs:98
↓ 3 callers
Function
json_to_lua_value
(lua: &Lua, value: &serde_json::Value)
gcrecomp-lua/src/convert.rs:3
↓ 3 callers
Function
parse_address
(addr_str: &str)
gcrecomp-core/src/recompiler/ghidra.rs:832
↓ 3 callers
Method
read_u32
Hot path - may be inlined
gcrecomp-core/src/runtime/memory.rs:234
↓ 3 callers
Method
read_u32
Hot path - may be inlined
gcrecomp-runtime/src/memory/ram.rs:114
↓ 3 callers
Function
read_u64_le
(data: &[u8], offset: usize)
gcrecomp-core/src/runtime/sdk/dvd.rs:255
↓ 3 callers
Function
read_zip_entry
Read a zip entry into a Vec<u8>, enforcing the size limit.
gcrecomp-lua/src/bindings/web.rs:613
↓ 3 callers
Method
set_register_value
(&mut self, reg: u8, value: RegisterValue)
gcrecomp-core/src/recompiler/codegen/mod.rs:596
↓ 3 callers
Method
target_fps
Target frame rate based on timing standard.
gcrecomp-runtime/src/video/modes.rs:84
↓ 3 callers
Method
texcoord_2f32
Submit a 2-component f32 texture coordinate. Coordinates are appended to the first unused texcoord slot in the current vertex.
gcrecomp-runtime/src/graphics/gx/vertex.rs:307
↓ 2 callers
Method
alloc_hi
Allocate from the high end (grows downward). Returns GC address.
gcrecomp-core/src/runtime/sdk/heap.rs:54
↓ 2 callers
Function
bias_to_wgsl
Maps a bias selector byte to its WGSL addend literal.
gcrecomp-runtime/src/graphics/gx/tev.rs:258
↓ 2 callers
Method
clear
(&mut self)
gcrecomp-runtime/src/graphics/gx/pipeline.rs:238
↓ 2 callers
Method
color_4u8
Submit an RGBA color for color channel 0.
gcrecomp-runtime/src/graphics/gx/vertex.rs:284
↓ 2 callers
Method
complete_transfer
(&mut self, channel: usize)
gcrecomp-runtime/src/memory/dma.rs:154
↓ 2 callers
Method
configure
VIConfigure
gcrecomp-runtime/src/video/vi.rs:42
↓ 2 callers
Function
convert_rvz_to_iso
Convert RVZ to ISO via dolphin-tool, returning the raw ISO data.
gcrecomp-lua/src/bindings/web.rs:314
↓ 2 callers
Method
decode
(&self, data: &[u8], width: u32, height: u32)
gcrecomp-runtime/src/texture/formats.rs:32
↓ 2 callers
Function
enrich_functions
Enrich every discovered function. This is the "function that adds info to the functions": one `FunctionFacts` per `FunctionInfo`.
gcrecomp-core/src/recompiler/enrich.rs:113
↓ 2 callers
Method
execute_file
(&self, path: &Path)
gcrecomp-lua/src/engine.rs:21
↓ 2 callers
Function
extract_and_archive_disc_files
Extract all files from a disc image's FST and write a GCFS archive to game/assets.bin. Returns the number of files extracted.
gcrecomp-lua/src/bindings/web.rs:382
↓ 2 callers
Function
extract_dol_from_rvz
Extract main.dol from an RVZ file by converting to ISO with dolphin-tool.
gcrecomp-lua/src/bindings/web.rs:358
↓ 2 callers
Function
extract_instructions
( _project_dir: &Path, _project_name: &str, )
gcrecomp-core/src/recompiler/ghidra.rs:823
↓ 2 callers
Function
find_ghidra
()
gcrecomp-core/src/recompiler/ghidra.rs:435
↓ 2 callers
Function
find_or_create_export_script
(ghidra_path: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:619
↓ 2 callers
Method
flush_vertex
Pack the current vertex into the flat `vertices` buffer and reset the staging area for the next vertex. The layout written per vertex is: position (3
gcrecomp-runtime/src/graphics/gx/vertex.rs:346
↓ 2 callers
Function
func
(addr: u32, size: u32)
gcrecomp-core/src/recompiler/enrich.rs:168
↓ 2 callers
Method
get_time
Get the full 64-bit timebase counter (OSGetTime).
gcrecomp-core/src/runtime/sdk/timer.rs:37
↓ 2 callers
Method
init
AIInit
gcrecomp-runtime/src/audio/ai.rs:32
↓ 2 callers
Function
instrs
Decode real instruction words so the test exercises the same `raw`/`address` fields naive discovery keys on. 0x4E800020 = blr; 0x38000000 = a non-retu
gcrecomp-core/src/recompiler/pipeline.rs:811
↓ 2 callers
Method
load_shader
(&mut self, device: &Device, name: &str, source: &str)
gcrecomp-runtime/src/graphics/shaders.rs:15
↓ 2 callers
Function
lua_value_to_json
(value: Value)
gcrecomp-lua/src/convert.rs:71
↓ 2 callers
Method
map_stick
( &self, axis_mapping: &AxisMapping, dead_zone: &f32, sensitivity: f32,
gcrecomp-runtime/src/input/gamecube_mapping.rs:225
↓ 2 callers
Method
map_trigger
(&self, trigger_idx: usize, dead_zone: f32, input: &RawInput)
gcrecomp-runtime/src/input/gamecube_mapping.rs:257
↓ 2 callers
Function
op_to_wgsl
Maps a `TevOp` to its WGSL arithmetic symbol.
gcrecomp-runtime/src/graphics/gx/tev.rs:240
↓ 2 callers
Function
os_init
OSInit - Operating system initialization. Sets up the arena allocator, timer, and interrupt system.
gcrecomp-core/src/runtime/sdk/os.rs:58
↓ 2 callers
Method
parse
Large function - don't inline
gcrecomp-core/src/recompiler/parser.rs:83
↓ 2 callers
Function
parse_decompiled_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:793
↓ 2 callers
Function
parse_functions_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:680
↓ 2 callers
Function
parse_symbols_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:756
↓ 2 callers
Function
parse_u32
Parse a u32 from decimal or `0x`-prefixed hex.
game/src/main.rs:107
↓ 2 callers
Function
read_zip_entry_bytes
(file: &mut zip::read::ZipFile)
gcrecomp-lua/src/bindings/web.rs:624
↓ 2 callers
Function
recompile_dol
(dol_file: &Path, output_dir: Option<&Path>, _use_reoxide: bool)
gcrecomp-cli/src/commands.rs:58
↓ 2 callers
Function
reg_to_wgsl
Maps a `TevRegId` to its WGSL variable name.
gcrecomp-runtime/src/graphics/gx/tev.rs:268
↓ 2 callers
Method
renderer_mut
(&mut self)
gcrecomp-runtime/src/runtime.rs:108
↓ 2 callers
Method
reset
(&mut self)
gcrecomp-core/src/runtime/sdk/heap.rs:29
↓ 2 callers
Function
scale_to_wgsl
Maps a `TevScale` to its WGSL multiplier literal.
gcrecomp-runtime/src/graphics/gx/tev.rs:248
↓ 2 callers
Method
set_mapping
(&mut self, controller_id: usize, mapping: GameCubeMapping)
gcrecomp-runtime/src/input/controller.rs:119
↓ 2 callers
Method
set_master_enable
(&mut self, enable: bool)
gcrecomp-core/src/runtime/sdk/interrupt.rs:27
↓ 2 callers
Method
set_package_path
(&self, path: &str)
gcrecomp-lua/src/engine.rs:42
↓ 2 callers
Function
sign_extend_li
Sign-extend a 26-bit branch displacement (`b`/`bl`, the `LI` field).
gcrecomp-core/src/recompiler/enrich.rs:43
↓ 2 callers
Function
u32_to_blend_factor
(f: u32)
gcrecomp-runtime/src/graphics/gx/pipeline.rs:249
↓ 2 callers
Method
update
(&mut self)
gcrecomp-runtime/src/runtime.rs:58
↓ 2 callers
Function
validate_dol_magic
Validate that uploaded data looks like a DOL file.
gcrecomp-lua/src/bindings/web.rs:212
↓ 2 callers
Method
with_optimizations
(mut self, optimize: bool)
gcrecomp-core/src/recompiler/codegen/mod.rs:40
next →
1–100 of 702, ranked by callers