7 lines
178 B
Plaintext
Raw Normal View History

2025-02-15 18:23:33 +01:00
extern kernel32 {
2025-02-17 14:31:47 +01:00
CreateThread(attributes int, stackSize int, address *any, parameter int) -> int
2025-02-15 18:23:33 +01:00
}
2025-02-17 14:31:47 +01:00
create(func *any) -> int {
2025-02-15 18:23:33 +01:00
return kernel32.CreateThread(0, 4096, func, 0)
}