local fn = _gn(0x61BB1D9B3A95D802)
--- Sets the draw order for script draw commands.
-- Examples from decompiled scripts:
-- GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(7);
-- GRAPHICS::DRAW_RECT(0.5, 0.5, 3.0, 3.0, v\_4, v\_5, v\_6, a\_0.\_f172, 0);
-- GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(1);
-- GRAPHICS::DRAW_RECT(0.5, 0.5, 1.5, 1.5, 0, 0, 0, 255, 0);
-- ```cpp
-- enum eGfxDrawOrder
-- {
-- GFX_ORDER_BEFORE_HUD_PRIORITY_LOW = 0,
-- GFX_ORDER_BEFORE_HUD = 1,
-- GFX_ORDER_BEFORE_HUD_PRIORITY_HIGH = 2,
-- GFX_ORDER_AFTER_HUD_PRIORITY_LOW = 3,
-- GFX_ORDER_AFTER_HUD = 4,
-- GFX_ORDER_AFTER_HUD_PRIORITY_HIGH = 5,
-- GFX_ORDER_AFTER_FADE_PRIORITY_LOW = 6,
-- GFX_ORDER_AFTER_FADE = 7,
-- GFX_ORDER_AFTER_FADE_PRIORITY_HIGH = 8,
-- }
-- ```
-- @param order The intended draw order/layer.
function Global.SetScriptGfxDrawOrder(order)
	return fn(order)
end
