Skip to content

Commit 1b5b95c

Browse files
committed
write out stub sections
1 parent e16d487 commit 1b5b95c

File tree

16 files changed

+138
-10
lines changed

16 files changed

+138
-10
lines changed

.vscode/settings.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
{
2-
"cSpell.words": ["decomp", "decompiled", "Ghidra", "Typst"]
2+
"cSpell.words": [
3+
"decomp",
4+
"decompiled",
5+
"Ghidra",
6+
"objdiff",
7+
"rodata",
8+
"sbss",
9+
"sdata",
10+
"Typedefs",
11+
"Typst",
12+
"Werks"
13+
]
314
}

src/asm-concepts/main.typ

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Assembly Concepts
2+
3+
== Sections
4+
=== .comm
5+
=== .bss
6+
=== .ctors
7+
=== .data
8+
=== .rodata
9+
=== .sbss
10+
=== .sbss2
11+
=== .sdata
12+
=== .sdata2
13+
=== .text

src/asm-patterns/main.typ

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
4+
= Assembly Patterns
5+
6+
== Early Returns
7+
== Ternary Operators
8+
== Modulus
9+
== Unrolled For Loops
10+
== Switch Statements

src/bfbb-technical/main.typ

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
= BFBB Overview
4+
5+
== Heavy Iron Studios
6+
== EvilEngine
7+
=== .HIP/.HOP Files
8+
9+
// Evil engine
10+
// https://heavyironmodding.org/wiki/EvilEngine

src/cpp-concepts/main.typ

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
= C++ Low Level Concepts
2+
3+
== Mangled Names
4+
== Virtual Tables

src/decomp-guide/main.typ

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
#let functions = (
3+
("The Simplest Function: Nothing", <fn.nothing>),
4+
("Returning Values", <fn.return>),
5+
("A Function with Some Logic", <fn.nothing>),
6+
("A Function with a For Loop", <fn.for>),
7+
("A Function with a Switch Statement", <fn.switch>),
8+
("A Large Function", <fn.large>),
9+
)
10+
11+
12+
= Decompilation Guides
13+
14+
This chapter is going to walk you through the process of decompiling
15+
#functions.len() functions.
16+
They are going to start off as easy as possible
17+
and slowly increase in complexity.
18+
Each one will teach you something new
19+
about how the MetroWerks PowerPC compiler translates
20+
C++ language features into assembly language.
21+
22+
23+
#let i = 1
24+
#for value in functions [
25+
== #i. #value.at(0) #value.at(1)
26+
#lorem(20)
27+
#(i += 1)
28+
]

src/ghidra/main.typ

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
== Ghidra
2+
3+
=== What is Ghidra?
4+
=== Getting Started
5+
=== Ghidra-isms
6+
==== concat44

src/heavy-iron-code/main.typ

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
= Heavy Iron C++ Code Standards & Patterns
3+
4+
== Primitive Type Aliases
5+
6+
== Multi-character Literals, or 'NTR0'

src/introduction/bfbb.typ

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/introduction/main.typ

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include "about.typ"
66
#include "what-is-decomp.typ"
7-
#include "bfbb.typ"
87

98
// About This Book
109
// What you will learn

0 commit comments

Comments
 (0)