AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   IDA Scripts (https://forums.alliedmods.net/showthread.php?t=326570)

Scag 08-06-2020 04:59

IDA Scripts
 
I think I've gotten the hang of writing IDA scripts recently so I thought I'd share them with you all.

I've got a couple of scripts in this repo. You should check them out, they're pretty awesome. The awesomer ones I'll explain here.

Netprop Importer
Spoiler


Gamedata Checker
Spoiler


Symbol Smasher.
Spoiler


VTable Importer
Spoiler


Larger download button

The Symbol Smasher has its own repo

Free gamedata pwease

Lux 08-06-2020 06:52

Re: [IDA] Symbol Smasher
 
yay brilliant job!

Scag 08-17-2020 07:03

Re: IDA Scripts
 
Instead of making a whole new post, I've opted to just recycle this one and expand on it.

I've been messing around with IDA's API a lot recently and have been writing a few useful things to help with reversing, the most recent of those is the Netprop Importer. You'll see the details at the top but it just runs through a netprop dump and gives you some structs and prettier pseudocode.

:gyar:

manicogaming 08-17-2020 17:49

Re: IDA Scripts
 
I took a look at your signature dumps and I'm pretty sure the signature you have for CBaseAnimating::LookupBone

Here's the signature that I'm pretty sure is the correct one.

Code:

"CBaseAnimating::LookupBone"
{
        // Has 'weapon_bone' string
        "library"        "server"
        "windows"        "\x55\x8B\xEC\x56\x57\x8B\xF9\x83\xBF\xC0\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x8F\xC0\x04\x00\x00\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A"
}


Scag 08-17-2020 18:05

Re: IDA Scripts
 
What game?

manicogaming 08-17-2020 19:33

Re: IDA Scripts
 
Quote:

Originally Posted by Ragenewb (Post 2714592)
What game?

CS:GO windows

Scag 08-17-2020 21:29

Re: IDA Scripts
 
Quote:

Originally Posted by manicogaming (Post 2714604)
CS:GO windows

Yeah I see what's wrong, it's not wildcarding offsets. Give me a day or 2 and I'll re-dump everything :grrr:

But the provided signatures should work, they'll just all break after the next update.

Scag 09-24-2020 06:39

Re: IDA Scripts
 
I've sorta finished another script. Just in time for the L4D2 update too which is nice. This one checks your gamedata files and yells at you if you've got some bad gamedata in there. I fed it all of the gamedata I happened to have on my server and it worked quite well, only really exploded with the core SourceMod files which you shouldn't need to check anyways :bacon:.

I plopped it up top too but you can grab it here and also learn how to properly name your keys in the Offsets section.


All times are GMT -4. The time now is 18:52.

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