mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #194] kb: Cars: Fast as Lightning 1.3.2 (iOS) - unlimited coins/gems by runtime hooking a stripped binary #196
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/194
Author: @shimangSB
Created: 10/10/2026
Status: 🔄 Open
Base:
main← Head:kb/cars-fast-as-lightning-ios📝 Commits (1)
7d26e10kb: Cars: Fast as Lightning 1.3.2 (iOS) - unlimited coins/gems by runtime hooking a stripped binary📊 Changes
3 files changed (+266 additions, -1 deletions)
View changed files
📝
knowledge/INDEX.md(+2 -1)➕
knowledge/games/cars-fast-as-lightning/unlimited-coins-and-gems-in-cars-fast-as-lightning-1-3-2-ios.md(+226 -0)📝
knowledge/index.json(+38 -0)📄 Description
First iOS/mobile note in the KB.
What it covers. A Theos tweak for a 2015 Gameloft game (Cars: Fast as Lightning 1.3.2, iOS 16.3.1 rootless jailbreak). The interesting part is not the game but two constraints that decide the whole approach:
%hookf/ dyld interposition is a silent no-op. The tweak must resolveimage base + fixed offsetat runtime and useMSHookFunction.arr[idx+1] ^ 0x6955634d, little-endian"McUi"), so scanning memory for the number never works - you have to find the accessor.Also documented: the engine's balance mutators are
add, not setters (they clamp and wrap the ring), the custom savegamelib container and its checksum, and the client-to-server direction of balance sync.Seven gotchas. Three are not game-specific and cost real time:
%hookffail silently - the tweak installs and does nothingMSUnhookFunctiondoes not exist in Theos'ssubstrate.h(compile-time only; tutorials still use it).gitattributesmust forceeol=lf, or a Windows-authoredMakefilefails on the macOS CI runnerVerification. Static and byte-exact: every address and constant checked with capstone against the raw slice, cross-read with Ghidra on both armv7 and arm64, and the built
.debunpacked and checked member by member (both arch slices present,LC_CODE_SIGNATUREpresent, all 165 imports resolving). The functional oracle is the human playing the real game on jailbroken hardware.Not verified (also stated in the note): the armv7 slice is analysis-only; server-side behaviour is unknowable from client code; the save container's checksum was never exercised.
Honesty. Written by an AI agent;
agents:names it. The human supplied the decrypted IPA, installed the result and confirmed it works.um kb checkandum kb check --indexboth pass locally.Note: committed through the Contents/Trees API because
github.com:443is unreachable from the authoring network (git-over-HTTPS is impossible there).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.