Psykotikism / L4D1-2_Signatures

A repository for hosting several L4D1&2 signatures.
44 stars 6 forks source link

No more room in hell signature #3

Closed lunatixxx closed 1 year ago

lunatixxx commented 2 years ago

Is it possible to convert it to left 4 dead 2 ? I can't find the signature in your list.

"Games"
{
    "#default"
    {
        "Signatures"
        {
            "CPlayerMove::RunCommand"
            {
                "library"       "server"
                "windows"       "\x55\x8B\xEC\x83\xEC\x28\xF3\x0F\x10\x1D\x2A\x2A\x2A\x2A\x56\x57\x8B\x7D\x08"
                "linux"         "@_ZN11CPlayerMove10RunCommandEP11CBasePlayerP8CUserCmdP11IMoveHelper"
            }
        }

        "Functions"
        {
            "CPlayerMove::RunCommand"
            {
                "signature"  "CPlayerMove::RunCommand"
                "callconv"  "thiscall"
                "return"  "void"
                "this"  "address"
                "arguments"
                {
                    "player"
                    {
                        "type"  "cbaseentity"
                    }
                    "cmd"
                    {
                        "type"  "objectptr"
                    }
                    "movehelper"
                    {
                        "type"  "objectptr"
                    }
                }
            }
        }
    }
}
Psykotikism commented 1 year ago

Yeah it's possible. I actually have it ready but I'm still gathering signatures for several other functions. If you need them now, here you go:

L4D1:

/* From "server.so" */
Signature for CPlayerMove::RunCommand(CBasePlayer *, CUserCmd *, IMoveHelper *):
"@_ZN11CPlayerMove10RunCommandEP11CBasePlayerP8CUserCmdP11IMoveHelper"

/* From "server.dylib" */
Signature for CPlayerMove::RunCommand(CBasePlayer *, CUserCmd *, IMoveHelper *):
"@_ZN11CPlayerMove10RunCommandEP11CBasePlayerP8CUserCmdP11IMoveHelper"

/* From "server.dll" */
Signature for detouring CPlayerMove::RunCommand:
"\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x57\x8B\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x2A\x8B\x2A\x2A\x57"
                        /* ? ? ? ? ? ? ? 57 8B ? ? ? 8B ? 8B ? ? 8B ? ? 57 */

L4D2:

/* From "server_srv.so" */
Signature for CPlayerMove::RunCommand(CBasePlayer *, CUserCmd *, IMoveHelper *):
"@_ZN11CPlayerMove10RunCommandEP11CBasePlayerP8CUserCmdP11IMoveHelper"

/* From "server.dylib" */
Signature for CPlayerMove::RunCommand(CBasePlayer *, CUserCmd *, IMoveHelper *):
"@_ZN11CPlayerMove10RunCommandEP11CBasePlayerP8CUserCmdP11IMoveHelper"

/* From "server.dll" */
Signature for detouring CPlayerMove::RunCommand:
"\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x57\x8B\x2A\x2A\x8B\x2A\x8B\x2A\x8B\x2A\x2A\x57\x56"
                        /* ? ? ? ? ? ? ? ? 57 8B ? ? 8B ? 8B ? 8B ? ? 57 56 */