mirror of
https://github.com/open-goal/jak-project
synced 2026-08-09 18:58:50 -04:00
support non-virtual gos in decompiler (#707)
This commit is contained in:
@@ -311,7 +311,7 @@
|
||||
(set! (-> v0-0 brother) (the-as (pointer process-tree) #f))
|
||||
(set! (-> v0-0 child) (the-as (pointer process-tree) #f))
|
||||
(set! (-> v0-0 self) v0-0)
|
||||
(set! (-> v0-0 ppointer) (&-> v0-0 self))
|
||||
(set! (-> v0-0 ppointer) (the-as (pointer process) (&-> v0-0 self)))
|
||||
v0-0
|
||||
)
|
||||
)
|
||||
@@ -404,7 +404,10 @@
|
||||
(set! (-> (the-as process v0-0) brother) (the-as (pointer process-tree) #f))
|
||||
(set! (-> (the-as process v0-0) child) (the-as (pointer process-tree) #f))
|
||||
(set! (-> (the-as process v0-0) self) (the-as process v0-0))
|
||||
(set! (-> (the-as process v0-0) ppointer) (&-> (the-as process v0-0) self))
|
||||
(set!
|
||||
(-> (the-as process v0-0) ppointer)
|
||||
(the-as (pointer process) (&-> (the-as process v0-0) self))
|
||||
)
|
||||
(the-as process v0-0)
|
||||
)
|
||||
)
|
||||
@@ -545,7 +548,7 @@
|
||||
(set! (-> s3-0 brother) (the-as (pointer process-tree) #f))
|
||||
(set! (-> s3-0 child) (the-as (pointer process-tree) #f))
|
||||
(set! (-> s3-0 self) s3-0)
|
||||
(set! (-> s3-0 ppointer) (&-> s3-0 self))
|
||||
(set! (-> s3-0 ppointer) (the-as (pointer process) (&-> s3-0 self)))
|
||||
(dotimes (s2-1 arg0)
|
||||
(let ((s1-0 (-> s3-0 child))
|
||||
(v1-5 ((method-of-type process new) allocation process 'dead arg1))
|
||||
@@ -653,7 +656,7 @@
|
||||
(set! (-> obj brother) (the-as (pointer process-tree) #f))
|
||||
(set! (-> obj child) (the-as (pointer process-tree) #f))
|
||||
(set! (-> obj self) obj)
|
||||
(set! (-> obj ppointer) (&-> obj self))
|
||||
(set! (-> obj ppointer) (the-as (pointer process) (&-> obj self)))
|
||||
(countdown (v1-4 arg1)
|
||||
(let ((a0-4 (-> obj process-list v1-4)))
|
||||
(set! (-> a0-4 process) *null-process*)
|
||||
@@ -972,7 +975,7 @@
|
||||
(set! (-> s5-1 2 mask) (the-as process-mask (-> s5-1 1)))
|
||||
(set! (-> obj alive-list prev) (the-as dead-pool-heap-rec (-> s5-1 1)))
|
||||
)
|
||||
(set! (-> s5-1 2) (the-as process-tree (-> obj dead-list next)))
|
||||
(set! (-> s5-1 2) (the-as process (-> obj dead-list next)))
|
||||
(set! (-> obj dead-list next) (the-as dead-pool-heap-rec s5-1))
|
||||
(set! (-> s5-1 0) *null-process*)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user