mirror of
https://github.com/open-goal/jak-project
synced 2026-06-05 19:28:31 -04:00
f7bd0752f8
* wip * getting stuff set up so we can actually run test cases * better handle block entry stuff * types2 working on gstring * comments * math ref working * up to first stack stuff * stack fixes * bounding box * math stuff is working * float fixes * temp debug for (method 9 profile-array) * stupid stupid bug * debugging * everything is broken * some amount of type stuff works * bitfield * texture bitfields not working * temp * types * more stuff * type check * temp * float related fixes for light and res problems * revisit broken files, fix bugs * more types * vector debug * bug fixes for decompiler crashes in harder functions * update goal_src
37 lines
917 B
Common Lisp
Vendored
Generated
37 lines
917 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 ((obj decomp-work))
|
|
(when (not obj)
|
|
(set! obj obj)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" obj 'decomp-work)
|
|
(format #t "~1Tbuffer0[2048] @ #x~X~%" (-> obj buffer0))
|
|
(format #t "~1Tbuffer1[2048] @ #x~X~%" (-> obj buffer1))
|
|
(format #t "~1Tindices[2048] @ #x~X~%" (-> obj indices))
|
|
(format #t "~1Ttemp-indices[2048] @ #x~X~%" (-> obj temp-indices))
|
|
(label cfg-4)
|
|
obj
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|
|
|
|
|
|
|
|
|