/*
Increase Player Light
Options:
Height: New light height above player.
Intensity: Brightness of the new light.
FrontDistance: New light offset distance from the front of the player.
other1-2: I'm not sure what this is. Maybe you can try change the number to test.
other3: Maybe it is the intensity of the light reflection.
- Updated by: zxc88645
- Version: 3.12.0
-
GitHub - m4p3r/poe-ce: Maphack, zoomhack, and more for Path of Exile.
*/
[ENABLE]
aobscanmodule(IncreasePlayerLightAob, PathOfExile_x64.exe, 48 8D 55 F0 F3 41 0F 58 49 ?? F3 0F 59 25 ?? ?? ?? ?? 49 8B CA)
define(IncreasePlayerLight, IncreasePlayerLightAob)
define(IncreasePlayerLightReturn, IncreasePlayerLightAob+74)
alloc(IncreasePlayerLightOriginal, $5)
alloc(Handler, $1000, IncreasePlayerLight)
registersymbol(IncreasePlayerLight)
registersymbol(IncreasePlayerLightOriginal)
registersymbol(IncreasePlayerLightReturn)
IncreasePlayerLightOriginal:
readmem(IncreasePlayerLight, 5)
Handler:
lea rdx,[rbp-10]
addss xmm1,[r9+04]
mulss xmm4,[Intensity] //Intensity
mov rcx,r10
mov qword ptr [rbp-20],00000000
subss xmm0,[other1] //other1
mov [rbp-18],3F800000
subss xmm1,[FrontDistance] //FrontDistance
movaps xmm3,xmm4
mov [rsp+20],rax
addss xmm0,[other2] //other2
addss xmm1,[other3] //other3
movss [rbp-10],xmm0
movss xmm0,[rbp+30]
subss xmm0,[Height] //Height
movss [rbp-0C],xmm1
movss xmm1,[r10+44]
movss [rbp-2C],xmm1
addss xmm0,[r8+38]
jmp IncreasePlayerLightReturn
Height:
dd (float)1000.0
Intensity:
dd (float)20000.0
FrontDistance:
dd (float)83.50
other1:
dd (float)22.50
other2:
dd (float)0.00
other3:
dd (float)1000.00
IncreasePlayerLight:
jmp Handler
[DISABLE]
IncreasePlayerLight:
readmem(IncreasePlayerLightOriginal, 5)
unregistersymbol(IncreasePlayerLight)
unregistersymbol(IncreasePlayerLightOriginal)
unregistersymbol(IncreasePlayerLightReturn)
dealloc(IncreasePlayerLightOriginal)
dealloc(Handler)