Re: [Request] Citizen Sleeper
Posted: Sat Mar 11, 2023 7:14 am
Sorry to bump an old thread, but just to second what bedevil said, how might we edit AlexS' script to only affect one of the three things (Condition/Energy/Upgrade Points) at a time? I played around deleting some lines but assembly is all Greek to me. I was guessing each cis refers to one of the entries but there's five of them rather than 4 (Cryo being a separate entry).
Great table by the way, really cool way to change the dice.
Code: Select all
[ENABLE]
aobscan(cis_5,F3 0F 5A C0 48 8B 45 A8 48 8B C8)
alloc(cis_3,$1000,cis_5)
label(cis_7)
label(cis_4)
label(cis_2)
registersymbol(cis_4)
registersymbol(cis_2)
registersymbol(cis_5)
cis_3:
cvtss2sd xmm0,xmm0
mov rax,[rbp-58]
mov rcx,[rax+10]
cmp [edi+14],006C0050
jne @f
cmp [edi+24],00740069
jne @f
movsd xmm0,[cis_4]
jmp cis_7
@@:
cmp [ecx+14],00700055
jne @f
cmp [ecx+18],00720067
jne @f
cmp [ecx+24],006F0050
jne @f
movsd xmm0,[cis_2]
jmp cis_7
@@:
cmp [ecx+14],006C0050
jne cis_7
cmp [ecx+18],00790061
jne cis_7
cmp [ecx+1C],00720065
jne cis_7
movsd xmm0,[cis_2]
jmp cis_7
cis_4:
db 00 00 00 00 00 38 8F 40
cis_2:
db 00 00 00 00 00 C0 58 40
cis_5:
jmp cis_3
nop
nop
nop
cis_7:
[DISABLE]
cis_5:
db F3 0F 5A C0 48 8B 45 A8
unregistersymbol(cis_4)
unregistersymbol(cis_2)
unregistersymbol(cis_5)
dealloc(cis_3)