Skip to content

Reprisal Differences

Hitman: Blood Money — Reprisal is Feral Interactive's 2023 port of Blood Money to phones, tablets and the Switch. It adds Instinct, a minimap, a shoulder camera, aim assist, touch controls, a reworked HUD and many smaller gameplay changes. This section records how the Android release differs from the PC release, and how each new or changed algorithm works, so that the port can reproduce Reprisal's behaviour exactly.

The PC baseline is the PS2 game decompiled in src/ together with the documented departures of the PC executable from it (PC Differences). Reprisal is built from the PC source: its asserts name files under Source/engine/drawing/_wintel/ and its renderer is the PC's Direct3D 9 renderer. Most of its game functions therefore match a function in src/ line for line, and the pages below describe only what Feral changed or added.

Page Covers
Controls, Camera and Aiming Modern and Classic layouts, the shoulder camera, lock-on and slowdown aim assist, motion aim, throw mode, vibration
Instinct, Highlights and Gaze Instinct mode, the object tracker and its overrides file, highlight and outline rendering, gaze-based interaction, the pickup wheel
Gameplay Rules Movement, fibre wire and close-combat search, last stand, ammunition and reloading, pickups, saving and autosave, cheats and debug switches, level fixes
HUD Minimap, compass, health and suspicion bars, alerts, ammunition warnings, prompts, subtitles, fonts and UI scaling
Menus and Front End Feral's menu files and classes, every menu screen, the options and their keys (this build has no achievements)
Touch Controls The Virtual Control Pad: layouts, sticks, trackpad, gestures, context buttons, the editor
Rendering and Platform Direct3D 9 on Feral3D and Vulkan, graphics settings and device tiers, threading, audio, video, the file system and data packs

The build examined

Package com.feralinteractive.hitmanbloodmoney_android
Version 1.3.1RC4, version code 86095, internal version 440938.86095
Branch HitmanBloodMoney_1_3 (code and data), data revision 164766
Built 18 July 2025 (release date of the product: 30 November 2023)
Android minimum SDK 31 (Android 12), target SDK 35, arm64-v8a only, landscape (sensorLandscape)
Game code lib/arm64-v8a/libHitmanBloodMoney.so, 52 MB, stripped, with C++ RTTI
Game data assets/data_core.pack and data_support1–3.pack, 3.8 GB in all, encrypted
Languages text and speech in English, French, German, Italian and Spanish; text only in Japanese, Polish and Russian

The facts come from assets/FeralInfo.json and the APK manifest.

How Reprisal is put together

Reprisal keeps the PC game nearly whole and runs it on Feral's portability libraries:

  • The game. hitman3/ and engine/ are the PC's: the same classes, the same Glacier object system, the same scene files. Feral's changes are edits inside existing functions (reading a preference, adding a branch) and new classes named Feral* or ZFeral*.
  • Win32 on Android. The PC code calls Win32, DirectSound, Direct3D 9 and the registry. Feral's Macdoze (Doze) layer provides the system side: window, registry, INI file, event, thread and file objects (CHWindow, CRegistry, CDozeIniFile, CHThread …); its IndirectX layer (Idx*) provides Direct3D 9 and DirectSound.
  • Rendering. The PC's Direct3D 9 renderer (ZRenderWintelD3D and its material and render entry classes) draws through IndirectX's Direct3D 9, which runs on Feral3D, Feral's portable graphics layer, and that on Vulkan (CVulkan*).
  • Audio. The game keeps the PC's DirectSound/EAX synth. Feral's IndirectX layer implements DirectSound on Feral's own OpenAL, which plays through SDL on OpenSL ES (AAudio is available but not the default). IOI's own OpenAL classes (ZSynthOpenAL …) are present but never used.
  • Video. Bink movies are replaced by WebM (VP9 video, Opus audio) decoded with libvpx; the virtual file system maps .bik to .webm.
  • Platform. SDL2 2.30.11 (input, window, HID controllers), RmlUi 5.1 (Feral's shared store and trial screens), Dear ImGui (debug tools), LibreSSL, protobuf, Crypto++ and Valve's GameNetworkingSockets (Feral's online services, cloud saves, analytics).
  • Touch. Feral's Virtual Control Pad draws and reads the on-screen controls and feeds them to the game as controller input.

See Rendering and Platform for each of these in detail.

Preferences

Nearly every Reprisal feature is governed by a preference: a named value in Feral's settings store, registered with a default when the game starts and read through a getter. Most getters read the store once, on first use, and keep the value in a static for the rest of the run, so a changed value applies after a restart; the getters of the debug switches (EnableCheats …) also subscribe to changes. Where the getter's own fallback differs from the registered default, the registered default is the one that applies.

Feral's debug settings screen (res/xml/settings_internal.xml) exposes some of these on internal builds; in a release build the in-game options menu writes the player-facing ones. The table lists the preferences that change the game's behaviour, with their registered defaults; each page explains what its preferences do. Rendering, audio and platform preferences are listed on Rendering and Platform.

Preference Default Page
EnableLockon, EnableLockonOverlay, LockonCrossoverRange on, off, — Controls
AimAssistSlowness, AimAssistAreaX, AimAssistAreaY 0.3, 100, 140 Controls
AutoAimGamepadAreaX, AutoAimGamepadAreaY, WorkaroundClassicAimAssist 130, 170, on Controls
CameraNormalDistance, CameraNormalOffsetH, CameraNormalOffsetV 250, 40, 17 Controls
CameraNormalArmedOffsetH, CameraNormalArmedOffsetV 40, 15 Controls
CameraShoulderDistance, CameraShoulderOffsetH, CameraShoulderOffsetV 125, 22, 7 Controls
CameraShoulderArmedOffsetH, CameraShoulderArmedOffsetV, ShoulderSlowPercent 40, 17, 67 Controls
CheckClimbThroughCamera, GamepadDeadzonePercent, SwapUIControllerMode, EnableKeyboardRebinding on, —, 0, off Controls
AndroidHapticsModifier, AndroidDualshockHapticsModifier 200, 150 Controls
InstinctModeRange, InstinctModeTimeMultiplier, InstinctModeLowpassPercent —, 0.7, 0.67 Instinct
InstinctModeMusicVolumePercent, …GenericVolumePercent, …HipHopVolumePercent, …SFXVolumePercent 0.5, 0.4, 0.2, 1.0 Instinct
ObjectHighlightOutlineSize 2.0 Instinct
EnableGazeInteractions, EnablePickupWheelOnGaze, FuzzyGazeOuterColliderSize on, on, 100.0 Instinct
PickupRadiusNormal, PickupRadiusAmmo, PickupRadiusFromActor 140, 60, 140 Gameplay
CrouchSpeedPercent 150 Gameplay
SkipOdevStrangleChecks, StrangleSectorAngle, StrangleMaxFacingDelta off, 120, 90 Gameplay
StrangleMaxDistance, StrangleBoxWidth, StrangleBackwardsOffset 40, 140, 140 Gameplay
CloseCombatMaxDistance, CloseCombatBoxWidth, CloseCombatBackwardsOffset 30, 110, 100 Gameplay
LastStandInvicibilityTime, OutOfAmmoHotSwapDelay, ShowAmmoWarnings 5.0 s, 800 ms, on Gameplay
UseFramerateIndependentItemPhysics, ForceLevelSpecificAnimationCollections 1, on Gameplay
FixM06BarMusicPriority, DisableM12SprinklerHack, EnableSavesInM13 on, —, off Gameplay
AutosavePeriod, ClearSavesOnMissionLoad, ForceCrashAutosaves 300 s, on, off Gameplay
UseFeralScriptScheduler, EventUpdateCycleLimit, MaxEventCyclesPerThread on, —, 5 Gameplay
EnableInitialScriptFrameUpdate, UseImprovedTimeDelta off, — Gameplay
EnableCheats, EnableGodMode, EnableInfiniteClip, EnableInvisibility, EnableDemoWeapon off Gameplay
LevelsUnlocked, UnlockAllUpgrades, SkipBriefings, DisableCutscenes, ShowHiddenObjectives 0, 0, off, off, off Gameplay
SelectLevelOnIncompleteM00, NoTutorialOnCompleteM00 off Gameplay
MinimapScale, MinimapIconScale, MapIconScale, DrawMinimapInHideout —, 18, 11, — HUD
SubtitlesScale, UseCustomViewForSubtitles, UseNewFont, DisableUIScaling 0.9, on, on, off HUD
TabletTargetUIWidth, PhoneTargetUIWidth 1920, 1366 HUD
SkipUIPressLength, SliderGamepadSpeed, FillTextEntriesWithDefault, DisableGraphicsMenuFade 1.0 s, 5, on, on Menus
SkipProfileManager, FeralUIModeOverride — Menus
EnableVCP, UseNativeVCPBackend, ForceTouchControls, DisplayControlsPrompt on, on, off, on Touch

A dash means the store registers no default for the key (the getter's fallback applies), or the key is set only by the game itself.

Method

The game library is stripped of symbols but keeps its C++ RTTI, Feral's source paths in assert messages, and the names of the preference keys. The analysis:

  1. Imported libHitmanBloodMoney.so into Ghidra 12.2 and ran auto-analysis (51,501 functions).
  2. Exported each function's facts and decompiled C with the same Ghidra script the PC comparison uses (tools/pccompare/ghidra/ExportPcFunctions.java).
  3. Recovered 6,210 vtables of 6,817 RTTI classes from the library's relocations (tools/reprisal/vtables.py), named every function that sits in a vtable Class::vN, and named the cached getter of every preference key (tools/reprisal/prefs.py).
  4. Split the C into a greppable tree with a header per function: names, callers, callees, preference keys read, strings and float constants (tools/reprisal/build_tree.py).
  5. Read each feature's Reprisal code next to the matching function in src/, found through shared strings, constants, call patterns and vtable slots.

python -I tools/reprisal/run_all.py <path>/libHitmanBloodMoney.so repeats steps 1 to 4 on Linux (about an hour; it needs Ghidra 12.2 and JDK 25) and leaves the tree in build/reprisal/ghidra/. A handful of functions make Ghidra's decompiler grow past 10 GB; the script kills any decompiler process above 2 GB, and Ghidra records those functions as failed (three in this build).

Addresses on these pages are Ghidra's: the ELF virtual address plus 0x100000, Ghidra's image base for a shared object. A string at file offset 0x7af810 in strings -t x output is at 0x8af810 in Ghidra.

What was not examined

  • The game data. The .pack files are encrypted; only their index (file names and sizes) is readable. Changes Feral made to scenes, textures, the menu XML (/feralui/*.xml) and scripts inside them are known only where the code shows them.
  • The Java side of the APK (Feral's generic Android framework) beyond its settings screens.
  • Licensing, store and trial-unlock code, which is out of scope for this project.