[decomp] ramdisk, load-dgo and rpc-h (#496)

* decompile ramdisk load-dgo and rpc-h

* add a bunch of offline tests

* clang-format
This commit is contained in:
water111
2021-05-16 21:07:22 -04:00
committed by GitHub
parent b75a64fc29
commit ec412c7777
31 changed files with 5351 additions and 177 deletions
+7 -12
View File
@@ -59,20 +59,15 @@
)
)
(defmethod
new
joint-anim-frame
((allocation symbol) (type-to-make type) (arg0 int))
(defmethod new joint-anim-frame ((allocation symbol) (type-to-make type) (arg0 int))
(let ((v1-1 (max 0 (+ arg0 -2))))
(the-as
joint-anim-frame
(new-dynamic-structure
(the-as kheap allocation)
type-to-make
(the-as int (+ (-> type-to-make size) (the-as uint (* 48 v1-1))))
)
(the-as joint-anim-frame
(new-dynamic-structure
allocation
type-to-make
(the-as int (+ (-> type-to-make size) (the-as uint (* 48 v1-1)))))
)
)
)
)
(deftype joint-anim-compressed-hdr (structure)