Raised This Month: $51 Target: $400
 12% 

Orpheu: Problems getting SV_CheckProtocol function


Post New Thread Reply   
 
Thread Tools Display Modes
souvikdas95
Senior Member
Join Date: Mar 2012
Old 07-15-2013 , 15:13   Re: Orpheu: Problems getting SV_CheckProtocol function
Reply With Quote #31

can you give me an example of that? eg. I have got the following information from IDE reader:

Quote:
.text:01DAB696 ; ---------------------------------------------------------------------------
.text:01DAB697 90 align 4
.text:01DAB698 90 90 90 90 dd 90909090h
.text:01DAB69C 90 90 90 db 3 dup(90h)
.text:01DAB69F
.text:01DAB69F ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
.text:01DAB69F
.text:01DAB69F ; Attributes: bp-based frame
.text:01DAB69F
.text:01DAB69F sub_1DAB69F proc near ; DATA XREF: .data:01E66768o
.text:01DAB69F
.text:01DAB69F var_100C = dword ptr -100Ch
.text:01DAB69F var_C = dword ptr -0Ch
.text:01DAB69F var_8 = dword ptr -8
.text:01DAB69F var_4 = dword ptr -4
.text:01DAB69F arg_0 = dword ptr 8
.text:01DAB69F
.text:01DAB69F 55 push ebp
.text:01DAB6A0 8B EC mov ebp, esp
.text:01DAB6A2 B8 0C 10 00 00 mov eax, 100Ch
.text:01DAB6A7 E8 04 D3 06 00 call __alloca_probe
.text:01DAB6AC 53 push ebx
.text:01DAB6AD 8B 1D 64 61 13 02 mov ebx, dword_2136164
.text:01DAB6B3 56 push esi ; char
.text:01DAB6B4 8B 75 08 mov esi, [ebp+arg_0]
.text:01DAB6B7 8B CE mov ecx, esi
.text:01DAB6B9 B8 93 6E 8F CC mov eax, 0CC8F6E93h
.text:01DAB6BE 2B CB sub ecx, ebx
.text:01DAB6C0 F7 E9 imul ecx
.text:01DAB6C2 03 D1 add edx, ecx
.text:01DAB6C4 C1 FA 0E sar edx, 0Eh
.text:01DAB6C7 8B C2 mov eax, edx
.text:01DAB6C9 C1 E8 1F shr eax, 1Fh
.text:01DAB6CC 03 D0 add edx, eax
.text:01DAB6CE 89 55 F4 mov [ebp+var_C], edx
.text:01DAB6D1 E8 5A B0 F8 FF call sub_1D36730
.text:01DAB6D6 3D 00 10 00 00 cmp eax, 1000h
.text:01DAB6DB 89 45 F8 mov [ebp+var_8], eax
.text:01DAB6DE 76 20 jbe short loc_1DAB700
.text:01DAB6E0 68 F0 69 E6 01 push offset aSv_parsevoiced ; "SV_ParseVoiceData: invalid incoming pac"...
.text:01DAB6E5 E8 B6 D1 F8 FF call sub_1D388A0
.text:01DAB6EA 68 20 6A E6 01 push offset aInvalidVoiceDa ; "Invalid voice data\n"
.text:01DAB6EF 6A 00 push 0 ; int
.text:01DAB6F1 56 push esi ; int
.text:01DAB6F2 E8 C9 3B FA FF call sub_1D4F2C0
.text:01DAB6F7 83 C4 10 add esp, 10h
.text:01DAB6FA 5E pop esi
.text:01DAB6FB 5B pop ebx
.text:01DAB6FC 8B E5 mov esp, ebp
.text:01DAB6FE 5D pop ebp
.text:01DAB6FF C3 retn
.text:01DAB700 ; ---------------------------------------------------------------------------

Last edited by souvikdas95; 07-15-2013 at 15:14.
souvikdas95 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-15-2013 , 15:19   Re: Orpheu: Problems getting SV_CheckProtocol function
Reply With Quote #32

8B 1D 64 61 13 02 mov ebx, dword_2136164

You have to read such bytes "64 61 13 02", using OrpheuMemoryGetAddress from address starting to "64".
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode