SReverseby Simpa Labs

Unity

Reconstructing an API from a Unity IL2CPP app

An IL2CPP API reconstruction needs the matching native library, metadata and observed requests. Recovered names help locate code; a working client must also reproduce request bytes, login state and error handling.

Pair metadata with the matching executable

IL2CPP compiles managed code ahead of time. Start with the exact APK version, its metadata and the native library for one ABI. Keep that pair together throughout analysis. Unity's IL2CPP manual explains the scripting backend.

Il2CppDumper takes an executable and metadata as separate inputs. Its dummy DLLs restore declarations without method bodies. Its structure header, disassembler scripts and string-literal output serve different tasks. Use the dummy declarations to navigate types and the disassembler output to read native implementations. See the tool's input and output documentation.

Resolve a method before following its requests

Resolve native method addresses with metadata and the matching executable. Il2CppDumper pairs a method token or index with pointer tables read from the executable. Its GetMethodPointer implementation shows the version-specific lookup.

Check the recovered address against the matching library and disassembler output. Keep file offsets, virtual addresses and relative virtual addresses separate. At runtime, resolve the loaded module and confirm the target before attaching a hook. Check each recovered address against the loaded code.

Record the exact request bytes

Follow each backend action from its inputs to the final transport call. Record the method, URL, query, headers and body. A string found in metadata is a candidate until its use is confirmed. The backend inventory guide covers that first pass.

Inspect the actual serializer and custom conversion code. Read serializer attributes and conversion code to recover JSON keys, omitted values and body encoding. Save the serialized bytes used by the app and compare them with the new client's output. For signed requests, also capture the bytes that enter the signing routine; they need not match the transmitted body.

Rebuild signing and session state

Trace where each token, key, timestamp and nonce comes from. Separate constants from values derived by app code, issued by the server or tied to a device. Follow each value to its source and record its lifetime.

Test login, refresh, expiry and retry behavior as separate paths. Start a fresh session and repeat the workflow with changed inputs. Verify each endpoint and refresh credentials through the app's session flow. Controlled replay comparisons show how to isolate timestamp, nonce and body changes.

Check failed parsing before claiming encryption

For a parser error, check the selected file, metadata layout, tool support and matching executable first. The Il2CppDumper README lists file-selection and protection checks separately.

When the target build transforms metadata, trace its actual loading path. Record which data is readable at the point observed. Match captured data to the methods and strings used by each workflow.

Verify the complete client

Keep an endpoint and workflow checklist with the request inputs, expected results and test status. Verify success, invalid input, expired sessions and pagination where each applies. Record device and account requirements with the test results.

The Android delivery covers the full APK in Python, JavaScript/TypeScript, Postman and complete API documentation. Each format carries the same endpoint set. Unity IL2CPP reverse engineering covers the service, and deliverables explains the handoff.

Reviewed 18 October 2026 · SReverse research desk

Start your full APK reconstruction

Send the full APK

Projects start at $70. Choose WhatsApp or email, then attach the APK in the app that opens. We reply within one hour with the next step and send the fixed quote after review.

Want us to contact you?