CRX_CRASH - Legacy Macros

Deprecated — Legacy Cortex Engine Only: CRX_CRASH is strictly for the Legacy (Cortex) build preset. For normal/standard builds, use CTN_CRASH and CTN_CLEAR_STACK from the Centurion documentation.

CRX_CRASH Fatal Anti-Tamper Trigger

Form: call. Invoking CRX_CRASH() immediately terminates execution via error("CRX_CRASH", 0) when integrity violations or tampering are detected.

Why Use It: Tamper Response

Immediately halts malicious reverse-engineering attempts when metatable manipulation, hooked functions, or debugger environments are detected.

-- Legacy Cortex Build
local function verifyIntegrity(hash, expected)
    if hash ~= expected then
        CRX_CRASH()
    end
end

Centurion Replacement (Normal Builds)

-- Normal Production Build (Centurion)
local function verifyIntegrity(hash, expected)
    if hash ~= expected then
        CTN_CLEAR_STACK()
        CTN_CRASH()
    end
end