This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
A network packet decoder for Danmaku Kagura (東方ダンマクカグラ) | |
RIP dankagu 2021.8.4-2022.10.28 | |
*/ | |
class DankaguNetEnc { | |
private $key; | |
private $keyUint; | |
private $round; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title placeholder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $return为获取到的durl json | |
// 按照设置 替换upos服务器 | |
if (isset($_COOKIE['upos_server']) && in_array($_COOKIE['upos_server'], ['ks3u','cosu','kodou','bosu','hw','wcsu','xycdn'])) { | |
$return = preg_replace_callback('/upos\-hz\-mirror([a-z0-9]+?).acgvideo\.com/', function ($m) { | |
if (in_array($m[1], ['wcs','ks3','cos','kodo','bos'])) { | |
if (!empty($_COOKIE['upos_server_legacy'])) { | |
return 'upos-hz-mirror'.$_COOKIE['upos_server_legacy'].'.acgvideo.com'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manual update timer for DataMeter on iOS 13 | |
SBStatusBarStateAggregator hook is freezing SpringBoard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dump dlst encrypted comic from PFViewer | |
https://repo.estertion.win/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Decreasing Arcaea score! | |
Build with theos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(...); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 | |
// |
NewerOlder