Files
jak-project/test/decompiler/reference/jak1/engine/load/decomp-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

28 lines
840 B
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition of type decomp-work
(deftype decomp-work (structure)
((buffer0 uint8 2048 :offset-assert 0)
(buffer1 uint8 2048 :offset-assert 2048)
(indices uint16 2048 :offset-assert 4096)
(temp-indices uint16 2048 :offset-assert 8192)
)
:method-count-assert 9
:size-assert #x3000
:flag-assert #x900003000
)
;; definition for method 3 of type decomp-work
(defmethod inspect decomp-work ((this decomp-work))
(format #t "[~8x] ~A~%" this 'decomp-work)
(format #t "~Tbuffer0[2048] @ #x~X~%" (-> this buffer0))
(format #t "~Tbuffer1[2048] @ #x~X~%" (-> this buffer1))
(format #t "~Tindices[2048] @ #x~X~%" (-> this indices))
(format #t "~Ttemp-indices[2048] @ #x~X~%" (-> this temp-indices))
this
)
;; failed to figure out what this is:
0