Skip to content

Instantly share code, notes, and snippets.

esterTion

View GitHub Profile
View 0_PFviewer_Dumper
Dump dlst encrypted comic from PFViewer
https://repo.estertion.win/
View chuni-virtual-base-server.php
<?php
require_once __DIR__ . '/Workerman-master/Autoloader.php';
use Workerman\Worker;
use Workerman\Connection\AsyncTcpConnection;
use Workerman\Protocols\Websocket;
use Workerman\Lib\Timer;
$udp1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_option($udp1, SOL_SOCKET, SO_BROADCAST, 1);
View aokana.php
<?php
// https://store.steampowered.com/app/1044620/
require_once 'UnityBundle.php';
chdir(__DIR__);
$f = fopen('patch.dat', 'r');
$head = fread($f, 1024);
$heads = new MemoryStream($head);
View 0_ArcaeaCountdownScore
Decreasing Arcaea score!
Build with theos
@esterTion
esterTion / arcaea-frag-award.c
Created Apr 30, 2019
pseudo code of fragment award algorithm in Arcaea
View arcaea-frag-award.c
void award_fragment() {
int play_award = 0;
int clear_award = 0;
int performance_award = 0;
int first_clear_award = 0;
int partner_award = 0;
int difficulty = Chart->difficulty;
int clear_type = GameResult::getCalculatedClearType(...);
@esterTion
esterTion / pac_add.c
Last active Oct 14, 2019
Set a pac url to com.apple.CommCenter (ip1), i.e. cellular data
View pac_add.c
//
// pac_add.m
// pac_add
//
// https://gist.github.com/esterTion/8bdeb78b35c172a4485f6d9e29476336/edit
//
// Created by esterTion on 2019/4/19.
// xcrun -sdk iphoneos clang -isysroot $THEOS/sdks/iPhoneOS11.2.sdk -arch arm64 -I$THEOS/include -framework Foundation -framework SystemConfiguration -L$THEOS/lib -lactivator main.m -o pac_add
//
View 0_BiliComicWebReader
shit title placeholder
View PRCN-restore-dll.php
<?php
/*
* Semi-auto restore Princess Connect ReDive (PC-DMM) C# dll
* Step I: Run game and use Live RAM Caputurer ( http://www.forensicswiki.org/wiki/Belkasoft_Live_RAM_Capturer )
* Step II: Use volatility to <pslist> and then <ramdump> ( https://github.com/volatilityfoundation/volatility )
* Step III: Use this script
*/
if (!file_exists('Assembly-CSharp.dll')) {
@esterTion
esterTion / arcaea-hp-algo.c
Created Jan 18, 2019
pseudo code of hp algorithm in Arcaea
View arcaea-hp-algo.c
ScoreState::init() {
if (skillType == 2) {
this->hp = 100.0;
} else if (this->characterAbility != NULL) {
this->hp = this->characterAbility->hpStart;
} else {
this->hp = 0.0;
}
if (noteCount < 1) {
You can’t perform that action at this time.