mirror of
https://github.com/open-goal/jak-project
synced 2026-05-30 00:47:20 -04:00
b7f040986e
* decompile connect * decompile lots of types
37 lines
919 B
Common Lisp
37 lines
919 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: memory-usage-h.gc
|
|
;; name in dgo: memory-usage-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
(deftype memory-usage-info (structure)
|
|
((name basic :offset-assert 0)
|
|
(count int32 :offset-assert 4)
|
|
(used int32 :offset-assert 8)
|
|
(total int32 :offset-assert 12)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x10
|
|
:flag-assert #x900000010
|
|
)
|
|
|
|
(deftype memory-usage-block (basic)
|
|
((work-bsp basic :offset-assert 4)
|
|
(length int32 :offset-assert 8)
|
|
(data memory-usage-info 109 :inline :offset-assert 16) ;; guess
|
|
)
|
|
:method-count-assert 12
|
|
:size-assert #x6e0
|
|
:flag-assert #xc000006e0
|
|
(:methods
|
|
(dummy-9 () none 9)
|
|
(dummy-10 () none 10)
|
|
(dummy-11 () none 11)
|
|
)
|
|
)
|
|
|
|
(define *mem-usage* (new 'debug 'memory-usage-block))
|
|
(define *dma-mem-usage* (new 'debug 'memory-usage-block))
|
|
(define *temp-mem-usage* #f)
|