![]() |
|
|
#4 |
|
Guest
Posts: n/a
|
I had to search for postpacific's google cache, but i found this:
Public ChargeFix .const .code ChargeFix proc ;SkillInfo = r12+68h ;SkillInfo+0h - wszSkillName ;SkillInfo+8h - skillID ;RBP - pUser ;overwrited code ;.text:00000000006B8BB6 xor esi, esi ;Clear ESI ;.text:00000000006B8BB8 mov [rbp+0BACh], esi ;ZeroCharges ;.text:00000000006B8BBE mov rax, [rbp+0] ;ExitPoint mov rax, [r12+68h] ;SkillInfo mov eax, dword ptr [rax+8h] ;SkillID cmp eax, 105h ;TripleSonicSlash je FourChargesRequied cmp eax, 5h ;DoubleSonicSlash je ThreeChargesRequied cmp eax, 6h ;SonicBlaster je TwoChargesRequied cmp eax, 11Ch ;HurricaneAssault je TwoChargesRequied cmp eax, 36h ;ForceBlaster je OneChargeRequied jmp Exit_Point FourChargesRequied: mov eax, dword ptr [rbp+0BACh] ;Get current charges sub eax, 4h ;Decrease current charges mov [rbp+0BACh], eax ;Set new charges jmp Exit_Point ThreeChargesRequied: mov eax, dword ptr [rbp+0BACh] ;Get current charges sub eax, 3h ;Decrease current charges mov [rbp+0BACh], eax ;Set new charges jmp Exit_Point TwoChargesRequied: mov eax, dword ptr [rbp+0BACh] ;Get current charges sub eax, 2h ;Decrease current charges mov [rbp+0BACh], eax ;Set new charges jmp Exit_Point OneChargeRequied: mov eax, dword ptr [rbp+0BACh] ;Get current charges sub eax, 1h ;Decrease current charges mov [rbp+0BACh], eax ;Set new charges jmp Exit_Point Exit_Point: xor esi, esi mov rax, 006B8BBEh jmp rax ChargeFix endp end By the looks of it, it's located in PUser+0BACh (so, it would be 0BACh) Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-01-2009, 05:17 PM. Открыть источник. |
|
|