Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:AXML/struct/Res value

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:AXML"
claim"Res_value is the 8-byte typed value used by AXML attributes and arsc entries: uint16 size (8), uint8 res0 (always 0), uint8 dataType, uint32 data."
scope
level"format"
applies_to"Format:AXML"
observed_in
Empty array
data
name"Res_value"
size"0x8"
endianness"little"
fields
offset"0x0"
size2
type"uint16_t"
name"size"
offset"0x2"
size1
type"uint8_t"
name"res0"
offset"0x3"
size1
type"uint8_t"
name"dataType"
offset"0x4"
size4
type"uint32_t"
name"data"
evidence
type"source"
detail"struct Res_value."
repo"https://android.googlesource.com/platform/frameworks/base"
commit"1cdfff555f4a21f71ccc978290e2e212e2f8b168"
path"libs/androidfw/include/androidfw/ResourceTypes.h"
lines"287-351"
confidence"high"
related
Empty array
key"Res_value"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T06:34:57.037Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:16:54.291Z"
result"confirmed"
method"Read struct Res_value (uint16 size, uint8 res0, uint8 dataType, data) in ResourceTypes.h at the cited commit."