neo-decompiler 0.10.1

Neo N3 NEF decompiler: parse, disassemble, lift bytecode to high-level pseudocode and C# skeletons, with a CLI, JSON reports, and optional WebAssembly bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub(super) fn next_if_line(statements: &[String], start: usize) -> Option<usize> {
    (start + 1..statements.len()).find(|&i| {
        let t = statements[i].trim();
        t.starts_with("if ") && t.ends_with('{')
    })
}

pub(super) fn next_code_line(statements: &[String], start: usize) -> Option<usize> {
    (start + 1..statements.len()).find(|&i| {
        let t = statements[i].trim();
        !t.is_empty() && !t.starts_with("//")
    })
}