Thread: Value Type Help

Results 1 to 3 of 3
  1. #1
    AnoNimTeck's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    2

    Value Type Help

    So i am trying to reverse the weapon structs for Combat Arms but i am encountering some problems... I am not sure about the value type of the members. Let's say i got this code:
    Code:
    374025EE   . 8911           MOV DWORD PTR DS:[ECX],EDX
    374025F0   . 83C1 04        ADD ECX,4
    374025F3   . 83F8 0A        CMP EAX,0A
    374025F6   . 894424 18      MOV DWORD PTR SS:[ESP+18],EAX
    374025FA   . 894C24 34      MOV DWORD PTR SS:[ESP+34],ECX
    374025FE   .^0F8C 6CFFFFFF  JL CSHell_2.37402570
    37402604   . 8B86 FC020000  MOV EAX,DWORD PTR DS:[ESI+2FC]
    3740260A   . 50             PUSH EAX
    3740260B   . 68 ACD66F37    PUSH CSHell_2.376FD6AC                   ;  ASCII "FireDelay"
    37402610   . 53             PUSH EBX
    37402611   . 8BCF           MOV ECX,EDI
    37402613   . E8 6820FEFF    CALL CSHell_2.373E4680
    37402618   . 33C9           XOR ECX,ECX
    3740261A   . 85C0           TEST EAX,EAX
    3740261C   . 0F9EC1         SETLE CL
    3740261F   . 83EC 08        SUB ESP,8
    37402622   . 49             DEC ECX
    I didn't see any commands for float values like FLD or FSTP, but i also didn't see any commands for integer commands...
    This command is returning a float value:
    Code:
    37402625   . 898E FC020000  MOV DWORD PTR DS:[ESI+2FC],ECX
    3740262B   . D986 00030000  FLD DWORD PTR DS:[ESI+300]
    37402631   . DD1C24         FSTP QWORD PTR SS:[ESP]
    37402634   . 68 A0D66F37    PUSH CSHell_2.376FD6A0                   ;  ASCII "MovePenalty"
    37402639   . 53             PUSH EBX
    3740263A   . 8BCF           MOV ECX,EDI
    3740263C   . E8 3F23FEFF    CALL CSHell_2.373E4980
    So anyone explain me the value it is returning and why so?

  2. #2
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    I dont think fire is part of weaponmgr

  3. #3
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Look at FearSDK.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

Similar Threads

  1. NAT type help.
    By 2kris2 in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 10-23-2010, 01:50 PM
  2. MW2 Dedi/auto type help!
    By begginerforhire in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 07-04-2010, 03:08 PM
  3. What value type?
    By ziom2322 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 06-04-2007, 02:24 AM
  4. What are the types? help please
    By sidnietje in forum WarRock - International Hacks
    Replies: 0
    Last Post: 05-30-2007, 09:25 AM
  5. values help please
    By blackmarth in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-27-2007, 04:27 AM