(group: FieldGroup)
| 104 | } |
| 105 | |
| 106 | function logFieldGroupHeader(group: FieldGroup): void { |
| 107 | const relation = group.depth === 0 ? "self" : `base+${group.depth}`; |
| 108 | const color = group.depth === 0 ? "yellow" : "cyan"; |
| 109 | log(`[lfs] [${group.depth}] ${padRight(relation, 6)} ${group.className}`, color); |
| 110 | } |
| 111 | |
| 112 | function readFieldRow(object: Il2Cpp.Object, field: Il2Cpp.Field): FieldRow { |
| 113 | const offset = `+0x${field.offset.toString(16).padStart(4, "0")}`; |
no test coverage detected