Credits:
Cardoow
edit: the game uses this overlay to create infrared:
scope_overlay_anpvs_ir
this is where they check the blur cvar
can be used to fully remove the blur in infra red scope or just use it if you want
this is the function where you can enable infrared at all times
Cardoow
edit: the game uses this overlay to create infrared:
scope_overlay_anpvs_ir
this is where they check the blur cvar
can be used to fully remove the blur in infra red scope or just use it if you want
PHP Code:
006143AA |. F3:0F2C51 18 CVTTSS2SI EDX,DWORD PTR DS:[ECX+18]
PHP Code:
0065F710 /$ 51 PUSH ECX
0065F711 |. 56 PUSH ESI
0065F712 |. 8B35 90C7D200 MOV ESI,DWORD PTR DS:[D2C790]
0065F718 |. 83BE 98040400 >CMP DWORD PTR DS:[ESI+40498],0
0065F71F |. 75 60 JNZ SHORT BlackOps.0065F781
0065F721 |. 8D4424 04 LEA EAX,DWORD PTR SS:[ESP+4]
0065F725 |. 50 PUSH EAX
0065F726 |. 56 PUSH ESI
0065F727 |. E8 44AEE8FF CALL BlackOps.004EA570
0065F72C |. 83C4 08 ADD ESP,8
0065F72F |. 84C0 TEST AL,AL
0065F731 |. 74 4E JE SHORT BlackOps.0065F781 //patch this
0065F733 |. F3:0F104424 04 MOVSS XMM0,DWORD PTR SS:[ESP+4]
0065F739 |. 0F2F05 709CA80>COMISS XMM0,DWORD PTR DS:[A89C70]
0065F740 |. 72 3F JB SHORT BlackOps.0065F781 //patch this
0065F742 |. 81C6 9C040400 ADD ESI,4049C
0065F748 |. 56 PUSH ESI
0065F749 |. E8 428BF9FF CALL BlackOps.005F8290
0065F74E |. 50 PUSH EAX
0065F74F |. E8 2C7ADFFF CALL BlackOps.00457180
0065F754 |. 8B80 8C000000 MOV EAX,DWORD PTR DS:[EAX+8C]
0065F75A |. 83C4 08 ADD ESP,8
0065F75D |. 85C0 TEST EAX,EAX
0065F75F |. 74 20 JE SHORT BlackOps.0065F781
0065F761 |. 68 00A8A600 PUSH BlackOps.00A6A800
0065F766 |. 50 PUSH EAX
0065F767 |. E8 742E0D00 CALL BlackOps.007325E0// inside here the scope overlay is set
0065F76C |. 83C4 04 ADD ESP,4
0065F76F |. 50 PUSH EAX
0065F770 |. E8 DB013600 CALL BlackOps.009BF950
0065F775 |. 83C4 08 ADD ESP,8
0065F778 |. 85C0 TEST EAX,EAX
0065F77A |. 74 05 JE SHORT BlackOps.0065F781
0065F77C |. B0 01 MOV AL,1
0065F77E |. 5E POP ESI
0065F77F |. 59 POP ECX
0065F780 |. C3 RETN
0065F781 |> 32C0 XOR AL,AL
0065F783 |. 5E POP ESI
0065F784 |. 59 POP ECX
0065F785 \. C3 RETN