You don't need to use inline asm... You're only making it more complicated just to set a value inside an array... You could just use this (offsets for 1.9.453):
Credits to BaberZz and CoMPStR. I only updated the address.
DWORD* mapLighting = (DWORD*)0x06098CEC;
mapLighting = 4;
mapLighting = 2; // Bonus: disables fog
mapLighting = 9;
mapLighting = 5;