Little Fighter Empire - Forums
perspective tag - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: perspective tag (/showthread.php?tid=3217)



perspective tag - naruto hyuuga - 07-11-2009

i have seen that geniver showed the code of the perspective tag in perspective exe thread ,but i tried and failed to get it to work on the dll
and i have searched everywhere for the code for the dll framework.

if anyone have got it working may you please post it


RE: perspective tag - Azriel - 07-11-2009

http://www.lf-empire.de/forum/showthread.php?tid=2470&highlight=perspective ?



Azriel~



RE: perspective tag - naruto hyuuga - 07-11-2009

umm i want it to work for the dll framework

not the exe


RE: perspective tag - Boop - 07-13-2009

No one released the code for the dll yet. Go bother Nave, I think he did it.


RE: perspective tag - TheNave - 07-13-2009

generic.inc .Data
    ASM-Code:
;perspective_tag
per1		dd 00421524h
per2		dd 004217DBh
per3		dd 00421592h
per4		dd 0042158Eh
per5		dd 004217DBh
per6		dd 0042D634h
per7		dd 0042D372h
per8		dd 0042D4DAh

generic.inc .Code
    ASM-Code:
perspective proc	
	CMP DWORD PTR DS:[450BB8h],1
	JE SHORT p4
	CMP DWORD PTR DS:[450BB8h],3
	JNZ SHORT p5
	MOV EAX,DWORD PTR DS:[EBX+7D4h]
	XOR ESI,ESI
	CMP DWORD PTR DS:[EAX+4D82380h],ESI
	MOV DWORD PTR SS:[ESP+44h],EDI
	JLE SHORT p6
	JMP SHORT p1
	LEA EBX,DWORD PTR DS:[EBX]
p1:	MOV ECX,DWORD PTR DS:[EBX+7D4h]
	MOV EDX,DWORD PTR DS:[ECX+ESI*4]
	MOV EAX,DWORD PTR DS:[EDX+6F4h]
	MOV ECX,DWORD PTR DS:[459FF8h]
	CMP ECX,0
	JE SHORT p3
	CMP EAX,ECX
	JNZ SHORT p2
	MOV DWORD PTR SS:[ESP+EDI*4+114h],ESI
	ADD EDI,1
p2:	MOV EAX,DWORD PTR DS:[EBX+7D4h]
	ADD ESI,1
	CMP ESI,DWORD PTR DS:[EAX+4D82380h]
	JL p1
	JMP per4
p3:	JMP per5
 
p4:	JMP per1
p5: JMP per2
p6: JMP per3
 
perspective endp
 
perspective2 proc
	MOV DWORD PTR DS:[450C1Ch],EBP
	MOV BYTE PTR DS:[450BB8h],3
	JMP per6
perspective2 endp
 
perspective3 proc
	MOV ECX,DWORD PTR DS:[EAX+EDI+4D45DBCh]
	MOV DWORD PTR DS:[459FF8h],ECX
	MOV EAX,DWORD PTR DS:[EAX+EDI+4D45DB0h]
	JMP per7
perspective3 endp
 
perspective4 proc
	MOV EAX,DWORD PTR DS:[EDX+EDI+4D45DB0h]
	MOV ECX,DWORD PTR DS:[EDX+EDI+4D45DBCh]
	MOV DWORD PTR DS:[459FF8h],ECX
	JMP per8
perspective4 endp

rarara.Asm DLLStartup
    ASM-Code:
invoke JmpPatch, 00421517h, addr perspective
	invoke JmpPatch, 0042D62Eh, addr perspective2
	invoke JmpPatch, 0042D36Bh, addr perspective3
	invoke JmpPatch, 0042D4D3h, addr perspective4