Files
jak-project/test/decompiler/reference/jak2/engine/draw/drawable-group-h_REF.gc
T
Hat Kid fc43870d85 decompiler: obj -> this, set-time! and time-elapsed? macros (#3026)
This renames the method object in `defmethod`s to `this` and adds
detection for the `set-time!` and `time-elapsed?` macros.

Definitely my biggest PR yet...
2023-09-26 15:17:00 +01:00

37 lines
949 B
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition of type drawable-group
(deftype drawable-group (drawable)
((length int16 :offset 6)
(data drawable :dynamic :offset-assert 32)
)
:method-count-assert 17
:size-assert #x20
:flag-assert #x1100000020
(:methods
(new (symbol type int) _type_ 0)
)
)
;; definition for method 3 of type drawable-group
(defmethod inspect drawable-group ((this drawable-group))
(when (not this)
(set! this this)
(goto cfg-7)
)
(format #t "[~8x] ~A~%" this (-> this type))
(format #t "~1Tid: ~D~%" (-> this id))
(format #t "~1Tbsphere: ~`vector`P~%" (-> this bsphere))
(format #t "~1Tlength: ~D~%" (-> this length))
(format #t "~1Tdata[0] @ #x~X~%" (-> this data))
(dotimes (s5-0 (-> this length))
(format #t "~T [~D]~1Tdata: ~A~%" s5-0 (-> this data s5-0))
)
(label cfg-7)
this
)
;; failed to figure out what this is:
0