Here are the other ones that were listed in the gamedata file:
CINSPlayer::GetMagazines
Code:
55 8B EC 83 EC 0C 8B 45 08 53 56 8B D9
SM Format: \x55\x8B\xEC\x83\xEC\x0C\x8B\x45\x08\x53\x56\x8B\xD9
Size: 13 bytes
(returns CINSWeaponMagazines)
CINSWeaponMagazines::AddMags
Code:
55 8B EC 83 EC 08 56 8B F1 FF 76 14
SM Format: \x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\xFF\x76\x14
Size: 12 bytes
CINSWeaponMagazines::RoundCount has
no references at all
@
jballou
How to find them? Basically the steps are like this:
1. Locate function in server.so
2. Look for strings, constants or other stuff which looks unique. If the function doesn't has any string you can try to find it via other functions which are referencing this particular one. Another way to find it is, if the function has a vtable entry, you can use RTTI information on windows to find the vtable and count the indexes(remember, windows is -1 of the linux offset most of the time)
3. Search for the strings in the windows binary(basically, reverse the actions you just did)
4. Use asherkins
makesig.idc
There's alot information in the
SM wiki about this