<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# reverse-engineering-android-applications — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `decompile --target <path>` | Decompile APK to Java source code. |
| `analyze --target <path>` | Analyze APK manifest, permissions, and components. |
| `hook --target <path>` | Generate Frida hook scripts for target methods. |

## Usage Examples

```bash
# Decompile APK to Java source code.
node scripts/agent.js decompile --target ./sample

# Analyze APK manifest, permissions, and components.
node scripts/agent.js analyze --target ./sample

# Generate Frida hook scripts for target methods.
node scripts/agent.js hook --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "reverse-engineering-android-applications"
  }
}
```
