콘텐츠로 이동

Units.dat - Has Shields

Address Player ID Version Size Length SCR
0x6647B0 223507 1.16.1 1 228 Simple Data

Description

Example: Unset "has shields" for Protoss Observatory

Base Address = 0x006647B0
Protoss Observatory Units.dat Index = 159 = 0x9F

0x006647B0 + 0x9F = 0x0066484F

0x0066484F is not divisible by 4, next lowest multiple of 4 = 0x0066484C
Went down by 3 bytes to reach the multiple of 4

Therefore, modify 0xFF00000 at 0x0066484C to change value at 0x0066484F

// set observatory "has shields" to 0
Masked MemoryAddr(0x0066484C, Set To, 0, 0xFF000000);