Skip to content

Instantly share code, notes, and snippets.

@frolleks
frolleks / DECOMPILING_AN_ELECTRON_APP.md
Last active June 20, 2024 12:15
How to decompile an Electron app

Let me tell you how easy it is to decompile an Electron app (that's closed source).

Prerequisites

Decompilation

First of all, you find the install path of your Electron app. If you found it, find the resources folder. If you found it, you'll have to install asar globally, by running:

@pwn0rz
pwn0rz / fprpc.c
Created May 30, 2021 09:12
The MIG from FairplayIOKit to fairplayd
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <mach/mach.h>
#include <CommonCrypto/CommonCrypto.h>
#include <ctype.h>
void hexdump(void *ptr, int buflen) {
unsigned char *buf = (unsigned char*)ptr;
int i, j;
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active May 28, 2024 15:33
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d

7/10/12 10:45:16.780 AM webgame: (24)d: NGUITextDrawable handleCommand loaded
7/10/12 10:45:16.780 AM webgame: (23)d: NGUIImageDrawable handleCommand loaded
7/10/12 10:45:16.781 AM webgame: (1193)d: Sq3Initializer: can now use sqlite on multiple threads, using the sam connection
7/10/12 10:45:16.782 AM webgame: @@@ main
7/10/12 10:45:16.805 AM webgame: (127)@@@ GameAppDelegate:didFinishLaunchingWithOptions
7/10/12 10:45:16.806 AM webgame: (128)i: ngCore Application Created
7/10/12 10:45:16.808 AM webgame: (173)i: Setting map[NgStartingServer] = http://192.168.111.251:8002
7/10/12 10:45:16.808 AM webgame: (173)i: Setting map[NgStartingGame] = FFB/client
7/10/12 10:45:16.809 AM webgame: (173)i: Setting map[NgBootServer] = https://games-secure.mobage.com/mobage/games/mobageBoot
7/10/12 10:45:16.809 AM webgame: (173)i: Setting map[nativeLog] = true
7/10/12 10:38:07.202 AM webgame: (24)d: NGUITextDrawable handleCommand loaded
7/10/12 10:38:07.203 AM webgame: (23)d: NGUIImageDrawable handleCommand loaded
7/10/12 10:38:07.204 AM webgame: (1193)d: Sq3Initializer: can now use sqlite on multiple threads, using the sam connection
7/10/12 10:38:07.205 AM webgame: @@@ main
7/10/12 10:38:07.227 AM webgame: (127)@@@ GameAppDelegate:didFinishLaunchingWithOptions
7/10/12 10:38:07.228 AM webgame: (128)i: ngCore Application Created
7/10/12 10:38:07.229 AM webgame: (173)i: Setting map[NgStartingServer] = http://192.168.111.251:8002
7/10/12 10:38:07.230 AM webgame: (173)i: Setting map[NgStartingGame] = FFB/client
7/10/12 10:38:07.231 AM webgame: (173)i: Setting map[NgBootServer] = https://games-secure.mobage.com/mobage/games/mobageBoot/sandbox/1.7
7/10/12 10:38:07.231 AM webgame: (173)i: Setting map[nativeLog] = true