Codex
1.4K subscribers
46 photos
16 videos
96 files
62 links
Content channel :
- App Development
- Python , C++, kotlin , Golang, Java , JS , Rust

This Channel Doesn't Promote Any Illegal Activities It's Just For Fun Educational Purposes
Owner : @Qwanwin
From : Indonesia
Download Telegram
SDL Patch to build a 64 bit library

Without this, SDL won't have proper spinlocks on the ARM64 architecture, which can cause crashes. I encountered this issue while working on a project, so I'm sharing it with you guys if you run into the same issue.

File : SDL_spinlock.c

Code :

#ifndef SDL_SPINLOCK_OPT_H
#define SDL_SPINLOCK_OPT_H

#include <stdint.h>


static inline int SDL_AtomicTryLock(volatile int *lock);
static inline void SDL_AtomicLock(volatile int *lock);
static inline void SDL_AtomicUnlock(volatile int *lock);

#if defined(__GNUC__) && defined(__aarch64__)


static inline int SDL_AtomicTryLock(volatile int *lock) {
unsigned int result;
asm volatile(
"ldaxr %w0, [%1] \n"
"cbnz %w0, 1f \n"
"stxr %w0, %w2, [%1] \n"
"1: \n"
: "=&r"(result)
: "r"(lock), "r"(1)
: "memory");
return result == 0;
}

static inline void SDL_AtomicLock(volatile int *lock) {
unsigned int tmp;
asm volatile(
"sevl \n"
"1: wfe \n"
"2: ldaxr %w0, [%1] \n"
"cbnz %w0, 1b \n"
"stxr %w0, %w2, [%1] \n"
"cbnz %w0, 2b \n"
: "=&r"(tmp)
: "r"(lock), "r"(1)
: "memory");
}

static inline void SDL_AtomicUnlock(volatile int *lock) {
asm volatile("stlr wzr, [%0]" :: "r"(lock) : "memory");
}

#else

static inline int SDL_AtomicTryLock(volatile int *lock) {
return __sync_val_compare_and_swap(lock, 0, 1) == 0;
}

static inline void SDL_AtomicLock(volatile int *lock) {
while (!SDL_AtomicTryLock(lock)) {
#if defined(__i386__) || defined(__x86_64__)
__builtin_ia32_pause();
#elif defined(__aarch64__) || defined(__arm__)
asm volatile("yield" ::: "memory");
#endif
}
}

static inline void SDL_AtomicUnlock(volatile int *lock) {
__sync_synchronize();
*lock = 0;
}

#endif // defined(__GNUC__) && defined(__aarch64__)

#endif // SDL_SPINLOCK_OPT_H


Author? Me @Qwanwin
πŸ”₯2❀1πŸ₯°1
VirtualApp.zip
10.7 MB
Source: Androidstudio

VirtualApp is an open platform for Android that allows you to create Virtual Spaces, where you can install and run APKs. Furthermore, VirtualApp is also a Plugin Framework, meaning plugins running on VirtualApp don't require any restrictions. VirtualApp doesn't require root; it runs as a local process.


Author? Not me
πŸ‘11πŸ”₯2
BlackBox-sdk.zip
6.8 MB
I'm sharing this because the black box project has been discontinued for a long time. So please feel free to develop it yourself.

Alert !
This project distinguishes between 32-bit and 64-bit, it was compiled to 2 different deamon. If you can not find your target in application list, please use another architecture.
❀7πŸ”₯2
Bcore-release.aar
1.6 MB
Use this SDK to create your own apps.

Alert !
Build Bcore using the source code above to get this SDK.
https://t.me/codex4444/334
πŸ”₯3πŸ‘3
Microsoft DirectX SDK.zip
4.5 MB
a collection of software development tools, including documentation, headers, and libraries, used to create applications and games that take advantage of the graphics and audio hardware capabilities of Windows systems.

build results from official source.
Build by @Qwanwin
❀5😁2
CynEDR.inf
894 B
A kernel sensor that monitors low-level Windows activity. It functions like a modern EDR, but is lightweight and custom.

Install :

1. Right click CynEDR.inf Install

2. Or via CMD Admin:

pnputil /add-driver CynEDR.inf /install

Service driver is automatically
created: sc query CynEDR

Make by @Qwanwin
πŸ”₯7πŸ‘1
Media is too big
VIEW IN TELEGRAM
ToolsELF Tutorial !
❀4
ToolsELF.ll
1.2 MB
Native ELF Scanner to detect protection, anti-debug, anti-frida, packer and other ELF structures

How to use !

https://t.me/codex4444/341

Alert !

Use it wisely, mistakes in your behavior are not my responsibility....

don't forget to install LLVM on your terminal

Thanks for support this channel 😊

Regards @Qwanwin
❀10πŸ‘1
someone asked !

whay you upload IR formate file.....
Blaa blaa blaa......


β€œThat’s not something advanced.
It’s just the standard LLVM IR output.
The hard part isn’t generating a .ll file, but understanding how the IR gets lowered into machine code through the SelectionDAG / GlobalISel pipeline.

If you’ve reached that stage, then we can talk.

And one more thing:
this is my channel, my content, and I’m free to share whatever I want.
Shit.....”
❀6😁5πŸ‘2
This media is not supported in your browser
VIEW IN TELEGRAM
Fav song 😊
πŸ‘2❀1πŸ”₯1πŸ₯°1
cpu_timer.h
3.4 KB
cpu_timer is used to CONTROL and MEASURE the realtime loop TIME so that it is stable, precise, and does not waste CPU.

Make by @Qwanwin
❀5πŸ”₯2
Media is too big
VIEW IN TELEGRAM
Basic Tutorials libil2cpp dump.cs
πŸ”₯8❀2
libil2cpp_dump.zip
27 MB
πŸ”₯8❀1
AetherHook.zip
132.3 KB
AetherHook v1.2.0

New ?

- Now support 32bit.

fix:
- Declaration and Scope Improvements (#1).
- Variable Declaration Fixes (#2).
- Function Implementation Improvements "remove_hook" (#3).
- Engine hook system update (#4).


VideoTutorial :
Watch me...

@codex4444
πŸ”₯7❀3😁1
Happy New Year 2026 ✨
New year, new mindset, new goals.
❀7
ufs.sh
3 KB
Give permission 777 and run with Termux or other terminal

@codex4444
πŸ”₯4
I love this
❀17πŸ‘1
ffmpeg.zip
532.8 KB
❀5
portaudio.zip
733.3 KB
❀3