SAMP R5 bytematching cover art
WINWindows

SAMP R5 bytematching

AI contributions: Welcome

0

Code

88.90%
decompiled of 930,756 bytes
  • 64.37% matching
  • 24.53% partially matching
  • 11.10% to do

Functions

80.21%
matching of 7,938 functions
  • 6,367 matching
  • 1,571 to do

code +0.04% ·

Model files, scriptrpc, local player, DXUT, ReliabilityLayer: Codex worker A (+22 functions, 65.66%)

Areas

SA-MP client Code: 56.01% matching, 43.99% partially matching (363,401 bytes)SA-MP client100%RakNet Code: 82.67% matching, 17.33% partially matching (176,679 bytes)RakNet100%DXUT Code: 85.56% matching, 14.44% partially matching (153,728 bytes)DXUT100%C/C++ runtime Code: 86.27% matching, 13.73% partially matching (96,438 bytes)C/C++ runtime100%LZMA Code: 100% matching, 0.00% partially matching (28,118 bytes)LZMA100%Detours Code: 67.01% matching, 32.99% partially matching (7,168 bytes)De…100%Windows import stubs Code: 98.46% matching, 1.54% partially matching (1,950 bytes)Wi…100%
All areas as a table
AreaMatchingPartially matchingDataSize (bytes)
SA-MP client56.01%43.99%—363,401
RakNet82.67%17.33%—176,679
DXUT85.56%14.44%—153,728
C/C++ runtime86.27%13.73%—96,438
LZMA100%0.00%—28,118
Detours67.01%32.99%—7,168
Windows import stubs98.46%1.54%—1,950

History

DecompiledMatchingClick the chart to see the project at that commit.
0%25%50%75%100%2026-12-022026-12-03

Reports up to this one (36)

WhenDecompiledMatchingCommit
88.72% +0.05%58.02% +0.15%3ad4d93 Damage hook reads CLocalPlayer::surfingEntity at the R5 offset 0x2da
88.68%57.87%4bbc7d1 progress tools: decode instructions when masking branch targets (+22 functions with capstone)
88.68% +0.01%57.87% +0.06%5834c57 Raw player offsets in hooks/exceptions use the R5 layout
88.67%57.81% +0.32%2bcc74b RPC/packet handlers build their BitStream like SA-MP: (char*)data, int bit length
88.67% +0.07%57.48% +0.35%7bebc31 ActorCreateInfo in the R5 27-byte wire layout; no DL custom-skin branch in CActorPool::Create
88.59% -1.86%57.13% +0.98%1031c0c /Ob1 for netgame, task, config, filehooks, downloadwindow, filechecks, KeyPair, vehicle
90.45% -1.03%56.14% +4.00%843bbda DXUT: compile with /Ob1 like the original (DXUT -> 81.1%, total 56.14%)
91.48%52.14% +0.13%df35ce5 CPlayerInfo in R5 layout: 0x30 bytes, score 4, npc 8, ping 0xc, remote 0x10, name 0x14 (+10 functions)
91.48% -0.15%52.01% +1.05%45fe787 Merge branch 'codex/B' of /srv/r5/wB into claude/C
91.64% -0.14%50.96% +1.17%b6a0189 Hardcoded RakClient loads use CNetGame+0x00 like R5 (10 files)
91.78% -0.16%49.79% +1.31%a0ae1f2 DXUT: build without /GS like the original (+11,990 matching bytes, DXUT 38.8% -> 46.4%)
91.95% +0.01%48.48% +0.14%2c0a02f CPlayerPool in R5 layout (localScore 0, localId 4, name 6, ping 0x22, local 0x26, connected 0x2a, savedCollision 0xfda, players 0x1f8a, largestId 0x2f3a)
91.94% -0.01%48.34% +0.75%cff7a87 progress tools: buildq.py, build queue for agents whose sandbox cannot run Wine
91.94%47.59%dbe4220 progress tools: per-object original pairing, diff.py, check.sh edit loop, MATCHING.md workflow
91.94%47.59% +0.18%a077224 Byte-matching progress: build with VC++ .NET 2003 under Wine, compare with the original, report to decompilati.onl
91.94%47.41%1b61295 Convert verified matching x87 functions to C++

Badges

For your README. They show the default version and update with every report.

Decompiled
[![Decompiled](https://decompilati.onl/badge/samp-r5-bytematching.svg)](https://decompilati.onl/projects/samp-r5-bytematching)
Matching
[![Matching](https://decompilati.onl/badge/samp-r5-bytematching/matching.svg)](https://decompilati.onl/projects/samp-r5-bytematching)
Functions
[![Functions](https://decompilati.onl/badge/samp-r5-bytematching/functions.svg)](https://decompilati.onl/projects/samp-r5-bytematching)