"Insomnia_v2-Win64-Shipping.exe"+331B6E
Constantly accesses an item when clicking it. ( Basically you can make an editor via this addy )
To save you the trouble:
Code: Select all
{ Game : Insomnia_v2-Win64-Shipping.exe
Version:
Date : 2018-09-29
Author : Kalas
This script is a pointer to Items.
Click an item to set it to Max when Flag/Cheat is activated.
( Re-Enter Inventory to refresh the values )
}
[ENABLE]
//aobscanmodule(INJECT,Insomnia_v2-Win64-Shipping.exe,F3 0F 10 96 9C 00 00 00) // should be unique
define(pItem,"Insomnia_v2-Win64-Shipping.exe"+331B6E)
alloc(newmem,$100,pItem)
label(code)
label(return)
label(ItemPtr)
label(_ItemSet)
registersymbol(ItemPtr)
registersymbol(_ItemSet)
newmem:
{
Item +D4
}
mov [ItemPtr],rsi
cmp [_ItemSet],0
je NExit
fld [rsi+A0] // Load Max
fstp [rsi+9C] // Store Max
NExit:
code:
movss xmm2,[rsi+0000009C]
jmp return
ItemPtr:
dq 0
_ItemSet:
dd 0
pItem:
jmp newmem
nop
nop
nop
return:
registersymbol(pItem)
[DISABLE]
pItem:
db F3 0F 10 96 9C 00 00 00
unregistersymbol(pItem)
unregistersymbol(ItemPtr)
unregistersymbol(_ItemSet)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "Insomnia_v2-Win64-Shipping.exe"+331B6E
"Insomnia_v2-Win64-Shipping.exe"+331B45: 4C 89 AC 24 88 00 00 00 - mov [rsp+00000088],r13
"Insomnia_v2-Win64-Shipping.exe"+331B4D: FF 90 D0 03 00 00 - call qword ptr [rax+000003D0]
"Insomnia_v2-Win64-Shipping.exe"+331B53: 0F 2E F7 - ucomiss xmm6,xmm7
"Insomnia_v2-Win64-Shipping.exe"+331B56: 44 0F B6 F8 - movzx r15d,al
"Insomnia_v2-Win64-Shipping.exe"+331B5A: 0F 28 7C 24 50 - movaps xmm7,[rsp+50]
"Insomnia_v2-Win64-Shipping.exe"+331B5F: 0F 28 74 24 60 - movaps xmm6,[rsp+60]
"Insomnia_v2-Win64-Shipping.exe"+331B64: 74 05 - je Insomnia_v2-Win64-Shipping.exe+331B6B
"Insomnia_v2-Win64-Shipping.exe"+331B66: 41 B5 01 - mov r13l,01
"Insomnia_v2-Win64-Shipping.exe"+331B69: EB 03 - jmp Insomnia_v2-Win64-Shipping.exe+331B6E
"Insomnia_v2-Win64-Shipping.exe"+331B6B: 45 32 ED - xor r13l,r13l
// ---------- INJECTING HERE ----------
"Insomnia_v2-Win64-Shipping.exe"+331B6E: F3 0F 10 96 9C 00 00 00 - movss xmm2,[rsi+0000009C]
// ---------- DONE INJECTING ----------
"Insomnia_v2-Win64-Shipping.exe"+331B76: 4C 8D B6 80 00 00 00 - lea r14,[rsi+00000080]
"Insomnia_v2-Win64-Shipping.exe"+331B7D: 0F 28 C2 - movaps xmm0,xmm2
"Insomnia_v2-Win64-Shipping.exe"+331B80: B8 18 00 00 00 - mov eax,00000018
"Insomnia_v2-Win64-Shipping.exe"+331B85: F3 41 0F 59 06 - mulss xmm0,[r14]
"Insomnia_v2-Win64-Shipping.exe"+331B8A: 0F 28 CA - movaps xmm1,xmm2
"Insomnia_v2-Win64-Shipping.exe"+331B8D: F3 0F 59 4D 6F - mulss xmm1,[rbp+6F]
"Insomnia_v2-Win64-Shipping.exe"+331B92: 8B 04 07 - mov eax,[rdi+rax]
"Insomnia_v2-Win64-Shipping.exe"+331B95: 39 05 91 73 3C 03 - cmp [Insomnia_v2-Win64-Shipping.exe+36F8F2C],eax
"Insomnia_v2-Win64-Shipping.exe"+331B9B: F3 0F 59 55 77 - mulss xmm2,[rbp+77]
"Insomnia_v2-Win64-Shipping.exe"+331BA0: F3 0F 11 45 C7 - movss [rbp-39],xmm0
}