TextureWheelUpdate
function · ui · orchestration
- Address
0x78b760· 35 bytes, up to0x78b782- Signature
void __fastcall (uint32_t mode, uint32_t width, uint32_t arg3, uint32_t arg4, uint32_t arg5, void *owner, uint32_t *pitch, void **bits)- Meaning
- Answers a colour wheel texture's level request with the width times 4 and the owner's pixel array
- Confidence
- verified, proof one
- Finding
- ui/colorselect#the-value-strip-texture
Finding: The value strip texture in ui: ColorSelect
ColorValueTexture gets an 8 by 8 texture whose every texel is the colour at full value +0x334,
shaded by a vertical gradient from black to white, so the strip's colour runs from black to the
full colour. Setting a texture destroys the previous one, creates the 8 by 8 texture
ValueTexture on the colour, sets the gradient and parents the texture to the frame. The wheel's
texture update 0x78b760 and the portrait's 0x525ae0 are the same code: they hand the device the
owner's pixel array unchanged.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.