Files
jak-project/test/decompiler/reference/decomp-h_REF.gc
T
ManDude 7cb04c6cd5 [decomp] font-h, fix a vector type, minor decompiler fixes (#411)
* Make `:do-not-decompile` work on field lookup as well

* decompile `font-h` and update a vector type + minor fixes

* fix some types

* fix font-h

* fix font-h (again)

* update a script

* fixes

* Fix segfault

* Fix `PROT_NONE` page protection on windows
2021-05-01 21:09:48 -04:00

33 lines
853 B
Common Lisp

;;-*-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 ((obj decomp-work))
(format #t "[~8x] ~A~%" obj 'decomp-work)
(format #t "~Tbuffer0[2048] @ #x~X~%" (-> obj buffer0))
(format #t "~Tbuffer1[2048] @ #x~X~%" (-> obj buffer1))
(format #t "~Tindices[2048] @ #x~X~%" (-> obj indices))
(format #t "~Ttemp-indices[2048] @ #x~X~%" (-> obj temp-indices))
obj
)
;; failed to figure out what this is:
(let ((v0-1 0))
)