Skip to main content

cfunc_refresh_text

Function cfunc_refresh_text 

Source
pub fn cfunc_refresh_text(cf: &CFunc) -> Result<String, Exception>
Expand description

Re-print cf’s pseudocode from its current ctree (refresh_func_ctext), then return it; Err if the SDK cannot produce it. Cheap compared to a re-decompile, since it walks the already-decompiled ctree, but reflects only what the ctree already encodes (a rename resolves fresh; a structural or type change needs a fresh decompile).