MCPcopy Create free account

hub / github.com/KaiserGranatapfel/GameCubeRecompiled / functions

Functions702 in github.com/KaiserGranatapfel/GameCubeRecompiled

↓ 98 callersMethodinto_anyhow
(self)
gcrecomp-lua/src/error.rs:35
↓ 84 callersMethodget
(&mut self, key: &str)
gcrecomp-runtime/src/texture/cache.rs:29
↓ 46 callersMethodindent
(&self)
gcrecomp-core/src/recompiler/codegen/mod.rs:1218
↓ 45 callersMethodinsert
(&mut self, key: String, texture: RgbaImage)
gcrecomp-runtime/src/texture/cache.rs:40
↓ 43 callersMethodwidth
(&self)
gcrecomp-runtime/src/graphics/framebuffer.rs:47
↓ 22 callersMethodget_register
(&self, reg: u8)
gcrecomp-core/src/runtime/context.rs:30
↓ 19 callersMethodset_register
(&mut self, reg: u8, value: u32)
gcrecomp-core/src/runtime/context.rs:38
↓ 16 callersMethodheight
(&self)
gcrecomp-runtime/src/graphics/framebuffer.rs:51
↓ 12 callersFunctiondeserialize_button
(mapping: &SerializedButtonMapping)
gcrecomp-runtime/src/input/profiles.rs:96
↓ 12 callersFunctiongenerate_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 callersMethodget_button_state
(&self, mapping: &ButtonMapping, input: &RawInput)
gcrecomp-runtime/src/input/gamecube_mapping.rs:207
↓ 12 callersFunctionserialize_button
(mapping: &ButtonMapping)
gcrecomp-runtime/src/input/profiles.rs:86
↓ 10 callersMethodremove
Remove a callback.
gcrecomp-lua/src/bindings/callbacks.rs:51
↓ 9 callersFunctionread_u32_be
Hot path - may be inlined
gcrecomp-core/src/recompiler/parser.rs:235
↓ 9 callersFunctionregister
(lua: &Lua, gcrecomp: &Table)
gcrecomp-lua/src/bindings/ui.rs:125
↓ 8 callersFunctioncreate_mapping_row
(label: &'static str, button_text: &'static str)
gcrecomp-ui/src/ui/controller_config.rs:82
↓ 8 callersMethodload
()
gcrecomp-ui/src/config.rs:51
↓ 8 callersMethodwrite_u32
Hot path - may be inlined
gcrecomp-core/src/runtime/memory.rs:339
↓ 7 callersFunctioncompute_mask
Called frequently for rotate instructions
gcrecomp-core/src/recompiler/decoder.rs:2726
↓ 7 callersFunctiongen
Generate a full function from raw PowerPC instruction words.
gcrecomp-core/tests/codegen_test.rs:67
↓ 7 callersMethodposition_3f32
Submit a 3-component f32 position.
gcrecomp-runtime/src/graphics/gx/vertex.rs:252
↓ 7 callersMethodread_u8
Hot path - always inline for performance
gcrecomp-runtime/src/memory/ram.rs:67
↓ 7 callersMethodtranslate_address
Hot path - always inline for performance
gcrecomp-core/src/runtime/memory.rs:80
↓ 7 callersMethodwrite_u8
Hot path - always inline for performance
gcrecomp-runtime/src/memory/ram.rs:141
↓ 6 callersMethodbegin
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 callersFunctionread_u32_be
(data: &[u8], offset: usize)
gcrecomp-lua/src/bindings/web.rs:300
↓ 5 callersFunctionalpha_arg_to_wgsl
Maps a `TevAlphaArg` to its WGSL f32 expression string.
gcrecomp-runtime/src/graphics/gx/tev.rs:226
↓ 5 callersFunctioncolor_arg_to_wgsl
Maps a `TevColorArg` to its WGSL vec3<f32> expression string.
gcrecomp-runtime/src/graphics/gx/tev.rs:205
↓ 5 callersMethodend
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 callersMethodget_register_value
(&self, reg: u8)
gcrecomp-core/src/recompiler/codegen/mod.rs:592
↓ 5 callersMethodlua
(&self)
gcrecomp-lua/src/engine.rs:48
↓ 5 callersFunctionlua_table_to_json
(table: &Table)
gcrecomp-lua/src/convert.rs:37
↓ 4 callersFunctionconfig_path
Config path helper — matches gcrecomp-ui's config location.
gcrecomp-lua/src/bindings/config.rs:7
↓ 4 callersFunctionextract_dol_from_gcm_iso
Extract main.dol from a raw GameCube ISO/GCM disc image.
gcrecomp-lua/src/bindings/web.rs:228
↓ 4 callersMethodgenerate_function
( &mut self, metadata: &FunctionMetadata, instructions: &[DecodedInstruction], )
gcrecomp-core/src/recompiler/codegen/mod.rs:45
↓ 4 callersFunctionread_c_string
Read a null-terminated C string from memory at the given GC address.
gcrecomp-core/src/runtime/sdk/os.rs:292
↓ 4 callersFunctionread_u32_be
Read a big-endian u32 from a byte slice at the given offset.
gcrecomp-lua/src/bindings/disc_fs.rs:15
↓ 4 callersMethodregion
(&self, address: u32)
gcrecomp-core/src/runtime/memory.rs:94
↓ 4 callersMethodregion_mut
(&mut self, address: u32)
gcrecomp-core/src/runtime/memory.rs:105
↓ 4 callersMethodset_vtx_desc
Set the input type for a single vertex attribute.
gcrecomp-runtime/src/graphics/gx/state.rs:513
↓ 3 callersMethodalloc_lo
Allocate from the low end (grows upward). Returns GC address.
gcrecomp-core/src/runtime/sdk/heap.rs:35
↓ 3 callersFunctionanalyze_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 callersFunctioncall_lua_handler
( state: &AppState, method: &str, arg: Option<serde_json::Value>, )
gcrecomp-web/src/routes.rs:380
↓ 3 callersMethodclear
(&mut self)
gcrecomp-runtime/src/audio/mixer.rs:80
↓ 3 callersMethodclear
Reset all "has" flags and zero the staging data.
gcrecomp-runtime/src/graphics/gx/vertex.rs:76
↓ 3 callersFunctioncreate_progress_bar
(message: &str)
gcrecomp-cli/src/main.rs:98
↓ 3 callersFunctionjson_to_lua_value
(lua: &Lua, value: &serde_json::Value)
gcrecomp-lua/src/convert.rs:3
↓ 3 callersFunctionparse_address
(addr_str: &str)
gcrecomp-core/src/recompiler/ghidra.rs:832
↓ 3 callersMethodread_u32
Hot path - may be inlined
gcrecomp-core/src/runtime/memory.rs:234
↓ 3 callersMethodread_u32
Hot path - may be inlined
gcrecomp-runtime/src/memory/ram.rs:114
↓ 3 callersFunctionread_u64_le
(data: &[u8], offset: usize)
gcrecomp-core/src/runtime/sdk/dvd.rs:255
↓ 3 callersFunctionread_zip_entry
Read a zip entry into a Vec<u8>, enforcing the size limit.
gcrecomp-lua/src/bindings/web.rs:613
↓ 3 callersMethodset_register_value
(&mut self, reg: u8, value: RegisterValue)
gcrecomp-core/src/recompiler/codegen/mod.rs:596
↓ 3 callersMethodtarget_fps
Target frame rate based on timing standard.
gcrecomp-runtime/src/video/modes.rs:84
↓ 3 callersMethodtexcoord_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 callersMethodalloc_hi
Allocate from the high end (grows downward). Returns GC address.
gcrecomp-core/src/runtime/sdk/heap.rs:54
↓ 2 callersFunctionbias_to_wgsl
Maps a bias selector byte to its WGSL addend literal.
gcrecomp-runtime/src/graphics/gx/tev.rs:258
↓ 2 callersMethodclear
(&mut self)
gcrecomp-runtime/src/graphics/gx/pipeline.rs:238
↓ 2 callersMethodcolor_4u8
Submit an RGBA color for color channel 0.
gcrecomp-runtime/src/graphics/gx/vertex.rs:284
↓ 2 callersMethodcomplete_transfer
(&mut self, channel: usize)
gcrecomp-runtime/src/memory/dma.rs:154
↓ 2 callersMethodconfigure
VIConfigure
gcrecomp-runtime/src/video/vi.rs:42
↓ 2 callersFunctionconvert_rvz_to_iso
Convert RVZ to ISO via dolphin-tool, returning the raw ISO data.
gcrecomp-lua/src/bindings/web.rs:314
↓ 2 callersMethoddecode
(&self, data: &[u8], width: u32, height: u32)
gcrecomp-runtime/src/texture/formats.rs:32
↓ 2 callersFunctionenrich_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 callersMethodexecute_file
(&self, path: &Path)
gcrecomp-lua/src/engine.rs:21
↓ 2 callersFunctionextract_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 callersFunctionextract_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 callersFunctionextract_instructions
( _project_dir: &Path, _project_name: &str, )
gcrecomp-core/src/recompiler/ghidra.rs:823
↓ 2 callersFunctionfind_ghidra
()
gcrecomp-core/src/recompiler/ghidra.rs:435
↓ 2 callersFunctionfind_or_create_export_script
(ghidra_path: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:619
↓ 2 callersMethodflush_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 callersFunctionfunc
(addr: u32, size: u32)
gcrecomp-core/src/recompiler/enrich.rs:168
↓ 2 callersMethodget_time
Get the full 64-bit timebase counter (OSGetTime).
gcrecomp-core/src/runtime/sdk/timer.rs:37
↓ 2 callersMethodinit
AIInit
gcrecomp-runtime/src/audio/ai.rs:32
↓ 2 callersFunctioninstrs
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 callersMethodload_shader
(&mut self, device: &Device, name: &str, source: &str)
gcrecomp-runtime/src/graphics/shaders.rs:15
↓ 2 callersFunctionlua_value_to_json
(value: Value)
gcrecomp-lua/src/convert.rs:71
↓ 2 callersMethodmap_stick
( &self, axis_mapping: &AxisMapping, dead_zone: &f32, sensitivity: f32,
gcrecomp-runtime/src/input/gamecube_mapping.rs:225
↓ 2 callersMethodmap_trigger
(&self, trigger_idx: usize, dead_zone: f32, input: &RawInput)
gcrecomp-runtime/src/input/gamecube_mapping.rs:257
↓ 2 callersFunctionop_to_wgsl
Maps a `TevOp` to its WGSL arithmetic symbol.
gcrecomp-runtime/src/graphics/gx/tev.rs:240
↓ 2 callersFunctionos_init
OSInit - Operating system initialization. Sets up the arena allocator, timer, and interrupt system.
gcrecomp-core/src/runtime/sdk/os.rs:58
↓ 2 callersMethodparse
Large function - don't inline
gcrecomp-core/src/recompiler/parser.rs:83
↓ 2 callersFunctionparse_decompiled_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:793
↓ 2 callersFunctionparse_functions_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:680
↓ 2 callersFunctionparse_symbols_json
(export_dir: &Path)
gcrecomp-core/src/recompiler/ghidra.rs:756
↓ 2 callersFunctionparse_u32
Parse a u32 from decimal or `0x`-prefixed hex.
game/src/main.rs:107
↓ 2 callersFunctionread_zip_entry_bytes
(file: &mut zip::read::ZipFile)
gcrecomp-lua/src/bindings/web.rs:624
↓ 2 callersFunctionrecompile_dol
(dol_file: &Path, output_dir: Option<&Path>, _use_reoxide: bool)
gcrecomp-cli/src/commands.rs:58
↓ 2 callersFunctionreg_to_wgsl
Maps a `TevRegId` to its WGSL variable name.
gcrecomp-runtime/src/graphics/gx/tev.rs:268
↓ 2 callersMethodrenderer_mut
(&mut self)
gcrecomp-runtime/src/runtime.rs:108
↓ 2 callersMethodreset
(&mut self)
gcrecomp-core/src/runtime/sdk/heap.rs:29
↓ 2 callersFunctionscale_to_wgsl
Maps a `TevScale` to its WGSL multiplier literal.
gcrecomp-runtime/src/graphics/gx/tev.rs:248
↓ 2 callersMethodset_mapping
(&mut self, controller_id: usize, mapping: GameCubeMapping)
gcrecomp-runtime/src/input/controller.rs:119
↓ 2 callersMethodset_master_enable
(&mut self, enable: bool)
gcrecomp-core/src/runtime/sdk/interrupt.rs:27
↓ 2 callersMethodset_package_path
(&self, path: &str)
gcrecomp-lua/src/engine.rs:42
↓ 2 callersFunctionsign_extend_li
Sign-extend a 26-bit branch displacement (`b`/`bl`, the `LI` field).
gcrecomp-core/src/recompiler/enrich.rs:43
↓ 2 callersFunctionu32_to_blend_factor
(f: u32)
gcrecomp-runtime/src/graphics/gx/pipeline.rs:249
↓ 2 callersMethodupdate
(&mut self)
gcrecomp-runtime/src/runtime.rs:58
↓ 2 callersFunctionvalidate_dol_magic
Validate that uploaded data looks like a DOL file.
gcrecomp-lua/src/bindings/web.rs:212
↓ 2 callersMethodwith_optimizations
(mut self, optimize: bool)
gcrecomp-core/src/recompiler/codegen/mod.rs:40
next →1–100 of 702, ranked by callers