Working on the minimap. I found the function that checks if hives are to be shown on the minimap.
Code: Select all
// Game Executable : helldivers2.exe
// Author : gir489
// Executable Version: 1.8.16570.0
// MD5 Signature : 4BBCD22B016AF1F87FE9F374EDBA78CF
// EXE Compile Date : February 16, 2024 11:03 AM
// Script Date : March 04, 2024 01:55 PM
[ENABLE]
aobscanmodule(aob_CheckIsBlipSeen,game.dll,41 0F B6 44 97 23)
registersymbol(aob_CheckIsBlipSeen)
aob_CheckIsBlipSeen:
mov eax,00000001
nop
[DISABLE]
aob_CheckIsBlipSeen:
db 41 0F B6 44 97 23
unregistersymbol(aob_CheckIsBlipSeen)
{
// ORIGINAL CODE - INJECTION POINT: game.dll+E2BF68
game.dll+E2BEF4: 48 8D 05 91 1E 83 00 - lea rax,[game.dll+165DD8C]
game.dll+E2BEFB: 48 C1 E1 05 - shl rcx,05
game.dll+E2BEFF: 80 3C 01 00 - cmp byte ptr [rcx+rax],00
game.dll+E2BF03: 0F 85 BA 04 00 00 - jne game.dll+E2C3C3
game.dll+E2BF09: 41 80 BE 14 CC 07 00 00 - cmp byte ptr [r14+0007CC14],00
game.dll+E2BF11: 0F 85 AC 04 00 00 - jne game.dll+E2C3C3
game.dll+E2BF17: 41 80 BE 3C BA 07 00 00 - cmp byte ptr [r14+0007BA3C],00
game.dll+E2BF1F: 0F 85 9E 04 00 00 - jne game.dll+E2C3C3
game.dll+E2BF25: 80 BE 7F 02 00 00 00 - cmp byte ptr [rsi+0000027F],00
game.dll+E2BF2C: F3 41 0F 10 96 58 01 00 00 - movss xmm2,[r14+00000158]
game.dll+E2BF35: 8B 46 08 - mov eax,[rsi+08]
game.dll+E2BF38: 0F 28 DA - movaps xmm3,xmm2
game.dll+E2BF3B: F2 44 0F 10 2E - movsd xmm13,[rsi]
game.dll+E2BF40: 0F 28 E2 - movaps xmm4,xmm2
game.dll+E2BF43: F3 41 0F 59 9E 40 01 00 00 - mulss xmm3,[r14+00000140]
game.dll+E2BF4C: 41 0F 28 CD - movaps xmm1,xmm13
game.dll+E2BF50: 89 45 88 - mov [rbp-78],eax
game.dll+E2BF53: F3 41 0F 5C 8E 30 01 00 00 - subss xmm1,[r14+00000130]
game.dll+E2BF5C: F3 41 0F 59 A6 44 01 00 00 - mulss xmm4,[r14+00000144]
game.dll+E2BF65: 89 45 E0 - mov [rbp-20],eax
// ---------- INJECTING HERE ----------
game.dll+E2BF68: 41 0F B6 44 97 23 - movzx eax,byte ptr [r15+rdx*4+23]
// ---------- DONE INJECTING ----------
game.dll+E2BF6E: F2 44 0F 11 6D D8 - movsd [rbp-28],xmm13
game.dll+E2BF74: F3 44 0F 10 75 DC - movss xmm14,[rbp-24]
game.dll+E2BF7A: 41 0F 28 C6 - movaps xmm0,xmm14
game.dll+E2BF7E: F3 0F 59 CA - mulss xmm1,xmm2
game.dll+E2BF82: 88 44 24 50 - mov [rsp+50],al
game.dll+E2BF86: F3 41 0F 5C 86 34 01 00 00 - subss xmm0,[r14+00000134]
game.dll+E2BF8F: F3 0F 58 CB - addss xmm1,xmm3
game.dll+E2BF93: F3 0F 59 C2 - mulss xmm0,xmm2
game.dll+E2BF97: F3 0F 11 4D A0 - movss [rbp-60],xmm1
game.dll+E2BF9C: F3 0F 58 C4 - addss xmm0,xmm4
game.dll+E2BFA0: F3 0F 11 45 A4 - movss [rbp-5C],xmm0
game.dll+E2BFA5: 48 8B 5D A0 - mov rbx,[rbp-60]
game.dll+E2BFA9: 48 89 5D F0 - mov [rbp-10],rbx
game.dll+E2BFAD: 0F 84 39 02 00 00 - je game.dll+E2C1EC
game.dll+E2BFB3: 41 83 FC 20 - cmp r12d,20
game.dll+E2BFB7: 0F 83 2F 02 00 00 - jae game.dll+E2C1EC
game.dll+E2BFBD: 41 8B 4D 08 - mov ecx,[r13+08]
game.dll+E2BFC1: E8 1A B8 B2 FF - call game.dll+9577E0
game.dll+E2BFC6: 48 8B 0D 33 BD 84 00 - mov rcx,[game.dll+1677D00]
game.dll+E2BFCD: 45 33 C0 - xor r8d,r8d
}
However, I think they'll always show as solid orange whether or not you've done them or not. Working out the proper way to enable the blip.