411
"Inf n Battle Scripts"
1
5
"Inf Item Usage"
Auto Assembler Script
[ENABLE]
aobscanmodule(NRA_Inf_Item_AOB,NieRAutomata.exe,44 01 40 08 83 78 08 00) // should be unique
alloc(newmem,$1000,"NieRAutomata.exe"+5D3E16)
label(code)
label(return)
newmem:
cmp r8d,#0
jl code
add [rax+08],r8d
code:
cmp dword ptr [rax+08],00
jmp return
NRA_Inf_Item_AOB:
jmp newmem
nop
nop
nop
return:
registersymbol(NRA_Inf_Item_AOB)
[DISABLE]
NRA_Inf_Item_AOB:
db 44 01 40 08 83 78 08 00
unregistersymbol(NRA_Inf_Item_AOB)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "NieRAutomata.exe"+5D3E16
"NieRAutomata.exe"+5D3DF9: E8 82 FF FF FF - call NieRAutomata.exe+5D3D80
"NieRAutomata.exe"+5D3DFE: 83 F8 FF - cmp eax,-01
"NieRAutomata.exe"+5D3E01: 74 4E - je NieRAutomata.exe+5D3E51
"NieRAutomata.exe"+5D3E03: 85 C0 - test eax,eax
"NieRAutomata.exe"+5D3E05: 78 42 - js NieRAutomata.exe+5D3E49
"NieRAutomata.exe"+5D3E07: 8B C8 - mov ecx,eax
"NieRAutomata.exe"+5D3E09: E8 92 6B 20 00 - call NieRAutomata.exe+7DA9A0
"NieRAutomata.exe"+5D3E0E: 48 8B D8 - mov rbx,rax
"NieRAutomata.exe"+5D3E11: 48 85 C0 - test rax,rax
"NieRAutomata.exe"+5D3E14: 74 33 - je NieRAutomata.exe+5D3E49
// ---------- INJECTING HERE ----------
"NieRAutomata.exe"+5D3E16: 44 01 40 08 - add [rax+08],r8d
"NieRAutomata.exe"+5D3E1A: 83 78 08 00 - cmp dword ptr [rax+08],00
// ---------- DONE INJECTING ----------
"NieRAutomata.exe"+5D3E1E: 7F 19 - jg NieRAutomata.exe+5D3E39
"NieRAutomata.exe"+5D3E20: 48 C7 00 FF FF FF FF - mov [rax],FFFFFFFF
"NieRAutomata.exe"+5D3E27: C7 40 08 00 00 00 00 - mov [rax+08],00000000
"NieRAutomata.exe"+5D3E2E: B8 01 00 00 00 - mov eax,00000001
"NieRAutomata.exe"+5D3E33: 48 83 C4 20 - add rsp,20
"NieRAutomata.exe"+5D3E37: 5B - pop rbx
"NieRAutomata.exe"+5D3E38: C3 - ret
"NieRAutomata.exe"+5D3E39: 41 8B D2 - mov edx,r10d
"NieRAutomata.exe"+5D3E3C: E8 2F 19 00 00 - call NieRAutomata.exe+5D5770
"NieRAutomata.exe"+5D3E41: 39 43 08 - cmp [rbx+08],eax
}
6
"Inf HP"
Auto Assembler Script
[ENABLE]
aobscanmodule(NRA_Inf_HP_AOB,NieRAutomata.exe,29 BB 68 06 01 00) // should be unique
alloc(newmem,$1000,"NieRAutomata.exe"+1F8952)
label(code)
label(return)
newmem:
mov edi,#0
code:
sub [rbx+00010668],edi
jmp return
NRA_Inf_HP_AOB:
jmp newmem
nop
return:
registersymbol(NRA_Inf_HP_AOB)
[DISABLE]
NRA_Inf_HP_AOB:
db 29 BB 68 06 01 00
unregistersymbol(NRA_Inf_HP_AOB)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "NieRAutomata.exe"+1F8952
"NieRAutomata.exe"+1F8924: 0F 5B C0 - cvtdq2ps xmm0,xmm0
"NieRAutomata.exe"+1F8927: F3 0F 59 C2 - mulss xmm0,xmm2
"NieRAutomata.exe"+1F892B: F3 0F 2C D0 - cvttss2si edx,xmm0
"NieRAutomata.exe"+1F892F: 48 8B CB - mov rcx,rbx
"NieRAutomata.exe"+1F8932: E8 A9 E3 FE FF - call NieRAutomata.exe+1E6CE0
"NieRAutomata.exe"+1F8937: E9 07 01 00 00 - jmp NieRAutomata.exe+1F8A43
"NieRAutomata.exe"+1F893C: BE 01 00 00 00 - mov esi,00000001
"NieRAutomata.exe"+1F8941: F7 05 C9 3A 20 01 00 80 00 00 - test [NieRAutomata.exe+13FC414],8000
"NieRAutomata.exe"+1F894B: 41 8B FC - mov edi,r12d
"NieRAutomata.exe"+1F894E: 41 0F 45 FD - cmovne edi,r13d
// ---------- INJECTING HERE ----------
"NieRAutomata.exe"+1F8952: 29 BB 68 06 01 00 - sub [rbx+00010668],edi
// ---------- DONE INJECTING ----------
"NieRAutomata.exe"+1F8958: 8B 83 68 06 01 00 - mov eax,[rbx+00010668]
"NieRAutomata.exe"+1F895E: 41 0F 48 C5 - cmovs eax,r13d
"NieRAutomata.exe"+1F8962: 89 83 68 06 01 00 - mov [rbx+00010668],eax
"NieRAutomata.exe"+1F8968: 45 85 FF - test r15d,r15d
"NieRAutomata.exe"+1F896B: 75 12 - jne NieRAutomata.exe+1F897F
"NieRAutomata.exe"+1F896D: 44 39 AB B0 6F 01 00 - cmp [rbx+00016FB0],r13d
"NieRAutomata.exe"+1F8974: 75 09 - jne NieRAutomata.exe+1F897F
"NieRAutomata.exe"+1F8976: 83 BB 7C 74 01 00 01 - cmp dword ptr [rbx+0001747C],01
"NieRAutomata.exe"+1F897D: 75 0C - jne NieRAutomata.exe+1F898B
"NieRAutomata.exe"+1F897F: 41 3B C5 - cmp eax,r13d
}
4
"EXP * 10"
Auto Assembler Script
[ENABLE]
aobscanmodule(NierRA_EXP_AOB,NieRAutomata.exe,03 CF B8 7F 96 98 00) // should be unique
alloc(newmem,$1000,"NieRAutomata.exe")
label(code)
label(return)
newmem:
imul edi,#10
code:
add ecx,edi
mov eax,0098967F
jmp return
NierRA_EXP_AOB:
jmp newmem
nop
nop
return:
registersymbol(NierRA_EXP_AOB)
[DISABLE]
NierRA_EXP_AOB:
db 03 CF B8 7F 96 98 00
unregistersymbol(NierRA_EXP_AOB)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "NieRAutomata.exe"+58E383
"NieRAutomata.exe"+58E34C: 0F 84 0C 01 00 00 - je NieRAutomata.exe+58E45E
"NieRAutomata.exe"+58E352: 83 B8 8C 70 01 00 13 - cmp dword ptr [rax+0001708C],13
"NieRAutomata.exe"+58E359: 0F 84 FF 00 00 00 - je NieRAutomata.exe+58E45E
"NieRAutomata.exe"+58E35F: E8 7C 9D A7 FF - call NieRAutomata.exe+80E0
"NieRAutomata.exe"+58E364: 48 8B F0 - mov rsi,rax
"NieRAutomata.exe"+58E367: 48 85 C0 - test rax,rax
"NieRAutomata.exe"+58E36A: 0F 84 EE 00 00 00 - je NieRAutomata.exe+58E45E
"NieRAutomata.exe"+58E370: 83 3D C5 BB 21 01 00 - cmp dword ptr [NieRAutomata.exe+17A9F3C],00
"NieRAutomata.exe"+58E377: 0F 85 E1 00 00 00 - jne NieRAutomata.exe+58E45E
"NieRAutomata.exe"+58E37D: 8B 0D 6D C7 3D 01 - mov ecx,[NieRAutomata.exe+196AAF0]
// ---------- INJECTING HERE ----------
"NieRAutomata.exe"+58E383: 03 CF - add ecx,edi
"NieRAutomata.exe"+58E385: B8 7F 96 98 00 - mov eax,0098967F
// ---------- DONE INJECTING ----------
"NieRAutomata.exe"+58E38A: 3B C8 - cmp ecx,eax
"NieRAutomata.exe"+58E38C: 0F 4F C8 - cmovg ecx,eax
"NieRAutomata.exe"+58E38F: 89 0D 5B C7 3D 01 - mov [NieRAutomata.exe+196AAF0],ecx
"NieRAutomata.exe"+58E395: 33 ED - xor ebp,ebp
"NieRAutomata.exe"+58E397: 8B 05 67 2B FE 00 - mov eax,[NieRAutomata.exe+1570F04]
"NieRAutomata.exe"+58E39D: 89 44 24 70 - mov [rsp+70],eax
"NieRAutomata.exe"+58E3A1: 48 8D 4C 24 70 - lea rcx,[rsp+70]
"NieRAutomata.exe"+58E3A6: E8 E5 EB B2 FF - call NieRAutomata.exe+BCF90
"NieRAutomata.exe"+58E3AB: 48 85 C0 - test rax,rax
"NieRAutomata.exe"+58E3AE: 74 0A - je NieRAutomata.exe+58E3BA
}
410
"Editor/Viewer"
1
397
"Chip Editor - Fuse Menu"
Auto Assembler Script
[ENABLE]
aobscanmodule(NRA_FChip_AOB,NieRAutomata.exe,42 83 BC E8 54 1F 00 00 FF) // should be unique
alloc(newmem,$1000,"NieRAutomata.exe")
alloc(pNRA_FChipBase,4)
registersymbol(pNRA_FChipBase)
label(code)
label(return)
newmem:
push rcx
lea rcx,[rax+r13*8+00001F54]
mov [pNRA_FChipBase], rcx
pop rcx
code:
cmp dword ptr [rax+r13*8+00001F54],-01
jmp return
NRA_FChip_AOB:
jmp newmem
nop
nop
nop
nop
return:
registersymbol(NRA_FChip_AOB)
[DISABLE]
NRA_FChip_AOB:
db 42 83 BC E8 54 1F 00 00 FF
unregistersymbol(NRA_FChip_AOB)
dealloc(newmem)
dealloc(pNRA_FChipBase)
unregistersymbol(pNRA_FChipBase)
{
// ORIGINAL CODE - INJECTION POINT: "NieRAutomata.exe"+731AC0
"NieRAutomata.exe"+731A97: 48 85 C9 - test rcx,rcx
"NieRAutomata.exe"+731A9A: 74 0A - je NieRAutomata.exe+731AA6
"NieRAutomata.exe"+731A9C: 48 8D 54 24 20 - lea rdx,[rsp+20]
"NieRAutomata.exe"+731AA1: E8 EA 9C 0C 00 - call NieRAutomata.exe+7FB790
"NieRAutomata.exe"+731AA6: 8B D7 - mov edx,edi
"NieRAutomata.exe"+731AA8: 48 8B CE - mov rcx,rsi
"NieRAutomata.exe"+731AAB: E8 00 09 00 00 - call NieRAutomata.exe+7323B0
"NieRAutomata.exe"+731AB0: 41 81 FC 2B 01 00 00 - cmp r12d,0000012B
"NieRAutomata.exe"+731AB7: 77 26 - ja NieRAutomata.exe+731ADF
"NieRAutomata.exe"+731AB9: 48 8B 05 F0 EA 9A 00 - mov rax,[NieRAutomata.exe+10E05B0]
// ---------- INJECTING HERE ----------
"NieRAutomata.exe"+731AC0: 42 83 BC E8 54 1F 00 00 FF - cmp dword ptr [rax+r13*8+00001F54],-01
// ---------- DONE INJECTING ----------
"NieRAutomata.exe"+731AC9: 74 14 - je NieRAutomata.exe+731ADF
"NieRAutomata.exe"+731ACB: 42 39 9C E8 7C 1F 00 00 - cmp [rax+r13*8+00001F7C],ebx
"NieRAutomata.exe"+731AD3: 75 0A - jne NieRAutomata.exe+731ADF
"NieRAutomata.exe"+731AD5: 46 8B 8C E8 60 1F 00 00 - mov r9d,[rax+r13*8+00001F60]
"NieRAutomata.exe"+731ADD: EB 03 - jmp NieRAutomata.exe+731AE2
"NieRAutomata.exe"+731ADF: 44 8B CB - mov r9d,ebx
"NieRAutomata.exe"+731AE2: 4C 8D 05 57 73 73 00 - lea r8,[NieRAutomata.exe+E68E40]
"NieRAutomata.exe"+731AE9: 48 8D 4C 24 20 - lea rcx,[rsp+20]
"NieRAutomata.exe"+731AEE: BA 40 00 00 00 - mov edx,00000040
"NieRAutomata.exe"+731AF3: E8 FC E2 28 00 - call NieRAutomata.exe+9BFDF4
}
405
"Chip ID"
2 Bytes
pNRA_FChipBase
0
406
"Sort Order"
2 Bytes
-4
407
"?"
2 Bytes
+4
408
"Rank"
2 Bytes
+8
409
"EquipCost"
2 Bytes
+c
404
"Chip Editor - Equip Menu"
Auto Assembler Script
[ENABLE]
aobscanmodule(NRA_Chip_AOB,NieRAutomata.exe,41 83 BC D1 54 1F 00 00 FF 74 5D) // should be unique
alloc(newmem,$1000,"NieRAutomata.exe")
alloc(pNRA_ChipBase,4)
registersymbol(pNRA_ChipBase)
label(code)
label(return)
newmem:
push rax
lea rax,[r9+rdx*8+00001F54]
mov [pNRA_ChipBase], rax
pop rax
code:
cmp dword ptr [r9+rdx*8+00001F54],-01
jmp return
NRA_Chip_AOB:
jmp newmem
nop
nop
nop
nop
return:
registersymbol(NRA_Chip_AOB)
[DISABLE]
NRA_Chip_AOB:
db 41 83 BC D1 54 1F 00 00 FF
unregistersymbol(NRA_Chip_AOB)
dealloc(newmem)
dealloc(pNRA_ChipBase)
unregistersymbol(pNRA_ChipBase)
{
// ORIGINAL CODE - INJECTION POINT: "NieRAutomata.exe"+5E24F9
"NieRAutomata.exe"+5E24DC: CC - int 3
"NieRAutomata.exe"+5E24DD: CC - int 3
"NieRAutomata.exe"+5E24DE: CC - int 3
"NieRAutomata.exe"+5E24DF: CC - int 3
"NieRAutomata.exe"+5E24E0: 81 FA 2B 01 00 00 - cmp edx,0000012B
"NieRAutomata.exe"+5E24E6: 77 79 - ja NieRAutomata.exe+5E2561
"NieRAutomata.exe"+5E24E8: 4C 8B 0D C1 E0 AF 00 - mov r9,[NieRAutomata.exe+10E05B0]
"NieRAutomata.exe"+5E24EF: 48 63 CA - movsxd rcx,edx
"NieRAutomata.exe"+5E24F2: 48 8D 14 49 - lea rdx,[rcx+rcx*2]
"NieRAutomata.exe"+5E24F6: 48 03 D2 - add rdx,rdx
// ---------- INJECTING HERE ----------
"NieRAutomata.exe"+5E24F9: 41 83 BC D1 54 1F 00 00 FF - cmp dword ptr [r9+rdx*8+00001F54],-01
// ---------- DONE INJECTING ----------
"NieRAutomata.exe"+5E2502: 74 5D - je NieRAutomata.exe+5E2561
"NieRAutomata.exe"+5E2504: 41 83 BC D1 7C 1F 00 00 00 - cmp dword ptr [r9+rdx*8+00001F7C],00
"NieRAutomata.exe"+5E250D: 75 52 - jne NieRAutomata.exe+5E2561
"NieRAutomata.exe"+5E250F: 41 8D 40 01 - lea eax,[r8+01]
"NieRAutomata.exe"+5E2513: 83 F8 03 - cmp eax,03
"NieRAutomata.exe"+5E2516: 77 49 - ja NieRAutomata.exe+5E2561
"NieRAutomata.exe"+5E2518: 41 83 F8 FF - cmp r8d,-01
"NieRAutomata.exe"+5E251C: 75 2D - jne NieRAutomata.exe+5E254B
"NieRAutomata.exe"+5E251E: 49 8D 81 64 1F 00 00 - lea rax,[r9+00001F64]
"NieRAutomata.exe"+5E2525: 33 C9 - xor ecx,ecx
}
398
"Chip ID"
2 Bytes
pNRA_ChipBase
0
399
"Sort Order"
2 Bytes
-4
403
"?"
2 Bytes
+4
402
"Rank"
2 Bytes
+8
400
"EquipCost"
2 Bytes
+c
7
"DeBug"
1
3
"EXP"
4 Bytes
NieRAutomata.exe+196AAF0
0
"Funds"
4 Bytes
NieRAutomata.exe+1962940
NierRA_EXP_AOB
14058E383
NRA_Inf_Item_AOB
1405D3E16
NRA_Inf_HP_AOB
1401F8952