<?xml version="1.0" encoding="utf-8"?>
<CheatTable FullClientAddressList="1" CheatEngineTableVersion="52">
  <CheatEntries>
    <CheatEntry>
      <ID>27033</ID>
      <Description>"[Initialize] Unreal Engine 3 Framework"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

-- ==============================================================================
-- Pure Lua Dynamic UE3 Reflection Engine
-- Target Engine: Unreal Engine 3 (32-bit x86)
-- Characteristics: ZERO hardcoded offsets, ZERO AOB scan signatures.
--                  Everything is discovered dynamically by Lua from memory.
-- ==============================================================================

UE3 = {
    IsInitialized = false,
    
    GNamesAddress = 0,
    GNames = 0,
    GNamesCountAddress = 0,
    GNamesCount = 0,
    
    GObjectsAddress = 0,
    GObjects = 0,
    GObjectsCountAddress = 0,
    GObjectsCount = 0,

    Offsets = {},
    ClassCache = {},
    PropertyCache = {},
    Modules = {}
}

function UE3.Init()
    print("[UE3] Starting pure dynamic Lua initialization (zero AOB, zero hardcoded offsets)...")

    -- 1. Locate string "ByteProperty" to find GNames entry
    local ms = createMemScan()
    ms.firstScan(soExactValue, vtString, rtRounded, "ByteProperty", "", 0, 0x7FFFFFFF, "+W-C", fsmNotAligned, "1", true, false, false, false)
    ms.waitTillDone()
    local fl = createFoundList(ms)
    fl.initialize()
    local bytePropMatches = {}
    for i = 0, fl.getCount() - 1 do
        table.insert(bytePropMatches, tonumber(fl.getAddress(i), 16))
    end
    fl.destroy()
    ms.destroy()

    if #bytePropMatches == 0 then
        error("[UE3 Error] String 'ByteProperty' not found in memory.")
    end

    -- 2. Trace pointer table for GNames
    local gnamesArray = nil
    local stringOffset = nil

    for _, strAddr in ipairs(bytePropMatches) do
        for offset = 0, 32, 4 do
            local candEntry = strAddr - offset
            local ms2 = createMemScan()
            ms2.firstScan(soExactValue, vtDword, rtRounded, tostring(candEntry), "", 0, 0x7FFFFFFF, "+W-C", fsmAligned, "4", false, false, false, false)
            ms2.waitTillDone()
            local fl2 = createFoundList(ms2)
            fl2.initialize()
            for k = 0, fl2.getCount() - 1 do
                local ptrAddr = tonumber(fl2.getAddress(k), 16)
                local candGNames = ptrAddr - 4
                local entry0 = readPointer(candGNames)
                if entry0 and entry0 &gt; 0x10000 then
                    local s0 = readString(entry0 + offset, 4)
                    if s0 == "None" then
                        gnamesArray = candGNames
                        stringOffset = offset
                        break
                    end
                end
            end
            fl2.destroy()
            ms2.destroy()
            if gnamesArray then break end
        end
        if gnamesArray then break end
    end

    if not gnamesArray then
        error("[UE3 Error] Failed to resolve GNames pointer table.")
    end

    -- 3. Find global GNames variable in main executable
    local mainBase = getAddress(process) or 0x00400000
    local mainSize = getModuleSize(process) or 0x02600000

    local ms3 = createMemScan()
    ms3.firstScan(soExactValue, vtDword, rtRounded, tostring(gnamesArray), "", mainBase, mainBase + mainSize, "+W-C", fsmAligned, "4", false, false, false, false)
    ms3.waitTillDone()
    local fl3 = createFoundList(ms3)
    fl3.initialize()
    local gnamesGlobal = nil
    if fl3.getCount() &gt; 0 then
        gnamesGlobal = tonumber(fl3.getAddress(0), 16)
    end
    fl3.destroy()
    ms3.destroy()

    if not gnamesGlobal then
        error("[UE3 Error] Failed to find GNames global pointer.")
    end

    UE3.GNamesAddress = gnamesGlobal
    UE3.GNames = gnamesArray
    UE3.GNamesCountAddress = gnamesGlobal + 4
    UE3.GNamesCount = readInteger(UE3.GNamesCountAddress)

    -- 4. Find global GObjects variable near GNames
    local gobjectsGlobal = nil
    for off = 4, 0x200, 4 do
        local cand = gnamesGlobal + off
        local pData = readPointer(cand)
        local count = readInteger(cand + 4)
        local max = readInteger(cand + 8)
        if pData and pData &gt; 0x10000 and count and max and count &gt; 10000 and count &lt;= max and max &lt; 500000 then
            gobjectsGlobal = cand
            break
        end
    end

    if not gobjectsGlobal then
        error("[UE3 Error] Failed to find GObjects global pointer.")
    end

    UE3.GObjectsAddress = gobjectsGlobal
    UE3.GObjects = readPointer(gobjectsGlobal)
    UE3.GObjectsCountAddress = gobjectsGlobal + 4
    UE3.GObjectsCount = readInteger(UE3.GObjectsCountAddress)

    -- 5. Dynamically deduce all internal structure offsets
    local offs = {
        FNameEntry_String = stringOffset
    }

    local function getNameByIndex(idx)
        if not idx or idx &lt; 0 or idx &gt;= UE3.GNamesCount then return "" end
        local entry = readPointer(UE3.GNames + idx * 4)
        if not entry or entry == 0 then return "" end
        return readString(entry + offs.FNameEntry_String, 64) or ""
    end

    -- Deduce UObject_InternalIndex
    for off = 0, 0x40, 4 do
        local match = true
        for i = 1, 5 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if not obj or readInteger(obj + off) ~= i then
                match = false
                break
            end
        end
        if match then
            offs.UObject_InternalIndex = off
            break
        end
    end

    -- Deduce UObject_Class (self-referencing UClass)
    local classObj = nil
    for off = 0, 0x40, 4 do
        for i = 0, 30 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj &gt; 0x10000 then
                local pClass = readPointer(obj + off)
                if pClass and pClass &gt; 0x10000 then
                    local pClassOfClass = readPointer(pClass + off)
                    if pClassOfClass == pClass then
                        offs.UObject_Class = off
                        classObj = pClass
                        break
                    end
                end
            end
        end
        if offs.UObject_Class then break end
    end

    -- Deduce UObject_NameIndex
    for off = 0, 0x40, 4 do
        local idx = readInteger(classObj + off)
        if getNameByIndex(idx) == "Class" then
            offs.UObject_NameIndex = off
            offs.UObject_NameNumber = off + 4
            break
        end
    end

    local function getObjName(obj)
        if not obj or obj == 0 then return "" end
        local idx = readInteger(obj + offs.UObject_NameIndex)
        return getNameByIndex(idx)
    end

    local function getObjClass(obj)
        if not obj or obj == 0 then return 0 end
        return readPointer(obj + offs.UObject_Class)
    end

    local function getObjClassName(obj)
        return getObjName(getObjClass(obj))
    end

    -- Deduce UObject_Outer
    local obj0 = readPointer(UE3.GObjects)
    local obj1 = readPointer(UE3.GObjects + 4)
    for off = 0, 0x40, 4 do
        if readPointer(obj1 + off) == obj0 then
            offs.UObject_Outer = off
            break
        end
    end

    -- Deduce UStruct_SuperField
    for off = 0x2C, 0x60, 4 do
        local p = readPointer(classObj + off)
        if p and p &gt; 0x10000 and getObjName(p) == "State" then
            offs.UStruct_SuperField = off
            break
        end
    end

    -- Deduce UStruct_PropertyLink
    local testClass = nil
    for i = 0, 500 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj ~= 0 and getObjClassName(obj) == "Class" and getObjName(obj) == "Actor" then
            for off = 0x40, 0x80, 4 do
                local p = readPointer(obj + off)
                if p and p &gt; 0x10000 and getObjClassName(p):find("Property$") then
                    testClass = obj
                    offs.UStruct_PropertyLink = off
                    break
                end
            end
            if testClass then break end
        end
    end

    local firstProp = readPointer(testClass + offs.UStruct_PropertyLink)
    -- Deduce UProperty_PropertyLinkNext and UProperty_Offset
    for off = 0x50, 0x70, 4 do
        local p = readPointer(firstProp + off)
        if p and p &gt; 0x10000 then
            local candOffset = readInteger(firstProp + off - 4)
            if candOffset and candOffset &gt;= 0x20 and candOffset &lt; 0x200 then
                offs.UProperty_PropertyLinkNext = off
                offs.UProperty_Offset = off - 4
                break
            end
        end
    end

    UE3.Offsets = offs

    print(string.format("[UE3] GNames resolved dynamically at 0x%08X (Count: %d)", UE3.GNamesAddress, UE3.GNamesCount))
    print(string.format("[UE3] GObjects resolved dynamically at 0x%08X (Count: %d)", UE3.GObjectsAddress, UE3.GObjectsCount))
    print(string.format("[UE3] Calibrated offsets dynamically: Name=+0x%02X, Class=+0x%02X, PropLink=+0x%02X, PropOffset=+0x%02X",
        offs.UObject_NameIndex, offs.UObject_Class, offs.UStruct_PropertyLink, offs.UProperty_Offset))

    UE3.IsInitialized = true
    print("[UE3] Framework ready without a single hardcoded offset or AOB scan!\n")
    return true
end

function UE3.GetName(nameIndex)
    if not nameIndex or nameIndex &lt; 0 or nameIndex &gt;= UE3.GNamesCount then return "UnknownName" end
    local entry = readPointer(UE3.GNames + nameIndex * 4)
    if not entry or entry == 0 then return "NullEntry" end
    return readString(entry + UE3.Offsets.FNameEntry_String, 128) or ""
end

function UE3.GetObjectName(obj)
    if not obj or obj == 0 then return "None" end
    local nameIndex = readInteger(obj + UE3.Offsets.UObject_NameIndex)
    local nameNumber = readInteger(obj + UE3.Offsets.UObject_NameNumber)
    local baseName = UE3.GetName(nameIndex)
    if nameNumber and nameNumber &gt; 0 then
        return string.format("%s_%d", baseName, nameNumber - 1)
    end
    return baseName
end

function UE3.GetObjectClass(obj)
    if not obj or obj == 0 then return 0 end
    return readPointer(obj + UE3.Offsets.UObject_Class)
end

function UE3.GetClassName(obj)
    local classObj = UE3.GetObjectClass(obj)
    return UE3.GetObjectName(classObj)
end

function UE3.GetOuter(obj)
    if not obj or obj == 0 then return 0 end
    return readPointer(obj + UE3.Offsets.UObject_Outer)
end

function UE3.FindClass(className)
    if UE3.ClassCache[className] then return UE3.ClassCache[className] end
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj ~= 0 then
            local classObj = UE3.GetObjectClass(obj)
            if UE3.GetObjectName(classObj) == "Class" then
                if UE3.GetObjectName(obj) == className then
                    UE3.ClassCache[className] = obj
                    return obj
                end
            end
        end
    end
    return nil
end

function UE3.GetPropertyOffset(classObj, propName)
    if not classObj or classObj == 0 then return nil end
    local className = UE3.GetObjectName(classObj)
    local cacheKey = className .. "." .. propName
    if UE3.PropertyCache[cacheKey] ~= nil then return UE3.PropertyCache[cacheKey] end

    local c = classObj
    while c and c ~= 0 do
        local cur = readPointer(c + 0x40)
        while cur and cur ~= 0 do
            if UE3.GetObjectName(cur) == propName then
                local off = readInteger(cur + 0x54)
                UE3.PropertyCache[cacheKey] = off
                return off
            end
            cur = readPointer(cur + 0x34)
        end
        c = readPointer(c + 0x30)
    end

    UE3.PropertyCache[cacheKey] = false
    return nil
end

function UE3.GetCDO(classObj)
    if not classObj or classObj == 0 then return nil end
    local cdo = readPointer(classObj + 0x12C)
    if cdo and cdo ~= 0 and UE3.GetObjectName(cdo):find("Default__") then
        return cdo
    end
    local targetName = "Default__" .. UE3.GetObjectName(classObj)
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 and UE3.GetObjectName(obj) == targetName then
            return obj
        end
    end
    return nil
end

function UE3.GetPersistentData()
    if UE3.CachedPersistentData and UE3.CachedPersistentData ~= 0 then return UE3.CachedPersistentData end
    local cPD = UE3.FindClass("RPersistentData")
    if not cPD then return nil end
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 and readPointer(obj + UE3.Offsets.UObject_Class) == cPD then
            if not UE3.GetObjectName(obj):find("Default__") then
                UE3.CachedPersistentData = obj
                return obj
            end
        end
    end
    return nil
end

function UE3.GetEngine()
    if UE3.CachedEngine and UE3.CachedEngine ~= 0 then return UE3.CachedEngine end
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 then
            local classObj = UE3.GetObjectClass(obj)
            local className = UE3.GetObjectName(classObj)
            if className:find("Engine") and not className:find("Property") then
                local objName = UE3.GetObjectName(obj)
                if not objName:find("^Default__") then
                    UE3.CachedEngine = obj
                    return obj
                end
            end
        end
    end
    return nil
end

function UE3.GetLocalPlayer(playerIndex)
    playerIndex = playerIndex or 0
    local engine = UE3.GetEngine()
    if not engine then return nil end
    local engineClass = UE3.GetObjectClass(engine)
    local gamePlayersOffset = UE3.GetPropertyOffset(engineClass, "GamePlayers")
    if not gamePlayersOffset then return nil end
    local playersArrayData = readPointer(engine + gamePlayersOffset)
    local playersCount = readInteger(engine + gamePlayersOffset + 4)
    if not playersArrayData or playerIndex &gt;= playersCount then return nil end
    return readPointer(playersArrayData + playerIndex * 4)
end

function UE3.GetPlayerController(localPlayer)
    local lp = localPlayer or UE3.GetLocalPlayer(0)
    if not lp or lp == 0 then return nil end
    local playerClass = UE3.FindClass("Player")
    local actorOffset = UE3.GetPropertyOffset(playerClass, "Actor")
    if not actorOffset then return nil end
    local pc = readPointer(lp + actorOffset)
    if not pc or pc == 0 then return nil end
    return pc
end

function UE3.GetPlayerPawn(playerController)
    local pc = playerController or UE3.GetPlayerController()
    if not pc or pc == 0 then return nil end
    local controllerClass = UE3.FindClass("Controller")
    local pawnOffset = UE3.GetPropertyOffset(controllerClass, "Pawn")
    if not pawnOffset then return nil end
    local p = readPointer(pc + pawnOffset)
    if not p or p == 0 then return nil end
    return p
end

UE3.Init()

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3 then
    UE3.IsInitialized = false
    UE3.Offsets = {}
    UE3.ClassCache = {}
    UE3.PropertyCache = {}
    print("[UE3] Framework deactivated.")
end

{$asm}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>27034</ID>
          <Description>"  -&gt; [Combat] God Mode / Invincibility"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_GodMode = {
    Timer = nil,
    OriginalDamageScaling = 1.0,
    Bitmask = nil,
    GodOffset = nil,
    DmgScalingOffset = nil,
    HealthOffset = nil,
    HealthMaxOffset = nil
}

local pc = UE3.GetPlayerController()
if pc and pc ~= 0 then
    local pcClass = UE3.GetObjectClass(pc)
    local curr = pcClass
    local bGodModeProp = nil
    while curr ~= 0 do
        local prop = readPointer(curr + UE3.Offsets.UStruct_PropertyLink)
        while prop ~= 0 do
            if UE3.GetObjectName(prop) == "bGodMode" then
                bGodModeProp = prop
                break
            end
            prop = readPointer(prop + UE3.Offsets.UProperty_PropertyLinkNext)
        end
        if bGodModeProp then break end
        curr = readPointer(curr + UE3.Offsets.UStruct_SuperField)
    end

    if bGodModeProp then
        UE3_GodMode.GodOffset = readInteger(bGodModeProp + UE3.Offsets.UProperty_Offset)
        for off = 0x58, 0x80, 4 do
            local v = readInteger(bGodModeProp + off)
            if v and v &gt; 0 and v &lt; 0x10000000 and bAnd(v, v - 1) == 0 then
                UE3_GodMode.Bitmask = v
                break
            end
        end
    end
end

local pawn = UE3.GetPlayerPawn()
if pawn and pawn ~= 0 then
    local pawnClass = UE3.GetObjectClass(pawn)
    UE3_GodMode.DmgScalingOffset = UE3.GetPropertyOffset(pawnClass, "DamageScaling")
    UE3_GodMode.HealthOffset = UE3.GetPropertyOffset(pawnClass, "Health")
    UE3_GodMode.HealthMaxOffset = UE3.GetPropertyOffset(pawnClass, "HealthMax")

    if UE3_GodMode.DmgScalingOffset then
        UE3_GodMode.OriginalDamageScaling = readFloat(pawn + UE3_GodMode.DmgScalingOffset)
    end
end

local function applyGodMode()
    pcall(function()
        local currentPC = UE3.GetPlayerController()
        if currentPC and currentPC ~= 0 and UE3_GodMode.GodOffset and UE3_GodMode.Bitmask then
            local val = readInteger(currentPC + UE3_GodMode.GodOffset)
            if val then
                writeInteger(currentPC + UE3_GodMode.GodOffset, bOr(val, UE3_GodMode.Bitmask))
            end
        end

        local currentPawn = UE3.GetPlayerPawn(currentPC)
        if currentPawn and currentPawn ~= 0 then
            if UE3_GodMode.DmgScalingOffset then
                writeFloat(currentPawn + UE3_GodMode.DmgScalingOffset, 0.0)
            end
            if UE3_GodMode.HealthOffset then
                local curHealth = readInteger(currentPawn + UE3_GodMode.HealthOffset) or 200
                local targetHealth = math.max(curHealth, 200)
                if curHealth &lt; targetHealth then
                    writeInteger(currentPawn + UE3_GodMode.HealthOffset, targetHealth)
                end
            end
        end
    end)
end

applyGodMode()

UE3_GodMode.Timer = createTimer()
UE3_GodMode.Timer.Interval = 200
UE3_GodMode.Timer.OnTimer = function(t)
    applyGodMode()
end

print("[UE3] God Mode activated!")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_GodMode then
    if UE3_GodMode.Timer then
        UE3_GodMode.Timer.destroy()
        UE3_GodMode.Timer = nil
    end

    pcall(function()
        local currentPC = UE3.GetPlayerController()
        if currentPC and currentPC ~= 0 and UE3_GodMode.GodOffset and UE3_GodMode.Bitmask then
            local val = readInteger(currentPC + UE3_GodMode.GodOffset)
            if val then
                writeInteger(currentPC + UE3_GodMode.GodOffset, bAnd(val, bNot(UE3_GodMode.Bitmask)))
            end
        end

        local currentPawn = UE3.GetPlayerPawn(currentPC)
        if currentPawn and currentPawn ~= 0 and UE3_GodMode.DmgScalingOffset then
            writeFloat(currentPawn + UE3_GodMode.DmgScalingOffset, UE3_GodMode.OriginalDamageScaling or 1.0)
        end
    end)

    UE3_GodMode = nil
    print("[UE3] God Mode deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27035</ID>
          <Description>"  -&gt; [Combat] Infinite Combo &amp; Instant Finishers (99x)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_Combo = {
    Timer = nil,
    TargetCombo = 99,
    ComboSizeOffset = nil,
    SpecialOffset = nil,
    SpecialBitmask = nil,
    PawnComboOffset = nil
}

local pc = UE3.GetPlayerController()
if pc and pc ~= 0 then
    local pcClass = UE3.GetObjectClass(pc)
    UE3_Combo.ComboSizeOffset = UE3.GetPropertyOffset(pcClass, "ComboSize")

    local curr = pcClass
    local specialProp = nil
    while curr ~= 0 do
        local p = readPointer(curr + UE3.Offsets.UStruct_PropertyLink)
        while p ~= 0 do
            if UE3.GetObjectName(p) == "bCanDoSpecial" then
                specialProp = p
                break
            end
            p = readPointer(p + UE3.Offsets.UProperty_PropertyLinkNext)
        end
        if specialProp then break end
        curr = readPointer(curr + UE3.Offsets.UStruct_SuperField)
    end

    if specialProp then
        UE3_Combo.SpecialOffset = readInteger(specialProp + UE3.Offsets.UProperty_Offset)
        for off = 0x58, 0x80, 4 do
            local v = readInteger(specialProp + off)
            if v and v &gt; 0 and v &lt; 0x10000000 and bAnd(v, v - 1) == 0 then
                UE3_Combo.SpecialBitmask = v
                break
            end
        end
    end
end

local pawn = UE3.GetPlayerPawn()
if pawn and pawn ~= 0 then
    local pawnClass = UE3.GetObjectClass(pawn)
    UE3_Combo.PawnComboOffset = UE3.GetPropertyOffset(pawnClass, "CumulativeComboHits")
end

local function applyMaxCombo()
    pcall(function()
        local currentPC = UE3.GetPlayerController()
        if currentPC and currentPC ~= 0 then
            if UE3_Combo.ComboSizeOffset then
                local currentCombo = readInteger(currentPC + UE3_Combo.ComboSizeOffset)
                if currentCombo and currentCombo &lt; UE3_Combo.TargetCombo then
                    writeInteger(currentPC + UE3_Combo.ComboSizeOffset, UE3_Combo.TargetCombo)
                end
            end

            if UE3_Combo.SpecialOffset and UE3_Combo.SpecialBitmask then
                local val = readInteger(currentPC + UE3_Combo.SpecialOffset)
                if val then
                    writeInteger(currentPC + UE3_Combo.SpecialOffset, bOr(val, UE3_Combo.SpecialBitmask))
                end
            end
        end

        local currentPawn = UE3.GetPlayerPawn()
        if currentPawn and currentPawn ~= 0 and UE3_Combo.PawnComboOffset then
            local pawnCombo = readInteger(currentPawn + UE3_Combo.PawnComboOffset)
            if pawnCombo and pawnCombo &lt; UE3_Combo.TargetCombo then
                writeInteger(currentPawn + UE3_Combo.PawnComboOffset, UE3_Combo.TargetCombo)
            end
        end
    end)
end

applyMaxCombo()

UE3_Combo.Timer = createTimer()
UE3_Combo.Timer.Interval = 100
UE3_Combo.Timer.OnTimer = function(t)
    applyMaxCombo()
end

print("[UE3] Infinite Combo activated (99x)!")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_Combo then
    if UE3_Combo.Timer then
        UE3_Combo.Timer.destroy()
        UE3_Combo.Timer = nil
    end

    pcall(function()
        local currentPC = UE3.GetPlayerController()
        if currentPC and currentPC ~= 0 then
            if UE3_Combo.ComboSizeOffset then
                writeInteger(currentPC + UE3_Combo.ComboSizeOffset, 0)
            end
            if UE3_Combo.SpecialOffset and UE3_Combo.SpecialBitmask then
                local val = readInteger(currentPC + UE3_Combo.SpecialOffset)
                if val then
                    writeInteger(currentPC + UE3_Combo.SpecialOffset, bAnd(val, bNot(UE3_Combo.SpecialBitmask)))
                end
            end
        end

        local currentPawn = UE3.GetPlayerPawn()
        if currentPawn and currentPawn ~= 0 and UE3_Combo.PawnComboOffset then
            writeInteger(currentPawn + UE3_Combo.PawnComboOffset, 0)
        end
    end)

    UE3_Combo = nil
    print("[UE3] Infinite Combo deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27043</ID>
          <Description>"  -&gt; [Combat] One-Hit K.O. (100x Batman Damage, All Attacks Instant K.O.)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_OneHitKO = {
    Timer = nil,
    offHealth = nil,
    offWI = nil,
    offCM = nil,
    cVillain = nil
}

pcall(function()
    local pawnClass = UE3.FindClass("Pawn")
    local actorClass = UE3.FindClass("Actor")
    local rPlayerCombat = UE3.FindClass("RPawnPlayerCombat")

    UE3_OneHitKO.offHealth = UE3.GetPropertyOffset(pawnClass, "Health") or 676
    UE3_OneHitKO.offWI = UE3.GetPropertyOffset(actorClass, "WorldInfo") or 176
    UE3_OneHitKO.offCM = rPlayerCombat and (UE3.GetPropertyOffset(rPlayerCombat, "CombatManager") or 0x570) or 0x570
    UE3_OneHitKO.cVillain = UE3.FindClass("RPawnVillain")

    local function applyOneHitKO()
        local playerPawn = UE3.GetPlayerPawn()
        if not playerPawn or playerPawn == 0 then return end

        local offHealth = UE3_OneHitKO.offHealth
        local cVillain = UE3_OneHitKO.cVillain
        if not cVillain or not offHealth then return end

        -- 1. Fast Path: Process active combatants in CombatManager (0.00 ms)
        local cm = readPointer(playerPawn + UE3_OneHitKO.offCM)
        if cm and cm ~= 0 then
            local plData = readPointer(cm + 0x2C8)
            local plCount = readInteger(cm + 0x2C8 + 4) or 0
            if plData and plData ~= 0 and plCount &gt; 0 then
                for i = 0, plCount - 1 do
                    local p = readPointer(plData + i * 4)
                    if p and p ~= 0 and p ~= playerPawn then
                        local h = readInteger(p + offHealth) or 0
                        if h &gt; 1 then
                            writeInteger(p + offHealth, 1)
                        end
                    end
                end
            end
        end

        -- 2. Level Actors Path: Process all alive enemies in loaded levels
        local wi = readPointer(playerPawn + UE3_OneHitKO.offWI)
        if wi and wi ~= 0 then
            local lvl = readPointer(wi + UE3.Offsets.UObject_Outer)
            local theWorld = lvl and readPointer(lvl + UE3.Offsets.UObject_Outer)
            if theWorld and theWorld ~= 0 then
                local lvlData = readPointer(theWorld + 0x38)
                local lvlCount = readInteger(theWorld + 0x38 + 4) or 0
                if lvlData and lvlData ~= 0 and lvlCount &gt; 0 then
                    for i = 0, lvlCount - 1 do
                        local l = readPointer(lvlData + i * 4)
                        if l and l ~= 0 then
                            local actData = readPointer(l + 0x30)
                            local actCount = readInteger(l + 0x30 + 4) or 0
                            if actData and actData ~= 0 and actCount &gt; 0 then
                                for j = 0, actCount - 1 do
                                    local a = readPointer(actData + j * 4)
                                    if a and a ~= 0 and a ~= playerPawn then
                                        local h = readInteger(a + offHealth) or 0
                                        if h &gt; 1 then
                                            local c = readPointer(a + UE3.Offsets.UObject_Class)
                                            local isV = false
                                            while c and c ~= 0 do
                                                if c == cVillain then isV = true break end
                                                c = readPointer(c + 0x30)
                                            end
                                            if isV then
                                                writeInteger(a + offHealth, 1)
                                            end
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end
    end

    -- Run once immediately
    applyOneHitKO()

    -- Highly optimized timer running every 200ms (5 times per sec)
    UE3_OneHitKO.Timer = createTimer(nil, false)
    UE3_OneHitKO.Timer.Interval = 200
    UE3_OneHitKO.Timer.OnTimer = function(t)
        pcall(applyOneHitKO)
    end
    UE3_OneHitKO.Timer.setEnabled(true)

    pcall(function() beep() end)
    print("==================================================")
    print("[UE3 Combat] Real One-Hit K.O. Activated!")
    print("  - All Thugs &amp; Villains: Health set to 1 HP (Instantly K.O.'d by any strike)")
    print("  - Supports: Punches, Batarangs, Counters, Cape Stuns, Glide Kicks, Explosive Gel")
    print("  - Performance: Ultra-fast level &amp; CombatManager iteration (Zero-Lag)")
    print("==================================================")
end)

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_OneHitKO then
    if UE3_OneHitKO.Timer then
        UE3_OneHitKO.Timer.destroy()
        UE3_OneHitKO.Timer = nil
    end

    pcall(function()
        local playerPawn = UE3.GetPlayerPawn()
        if not playerPawn or playerPawn == 0 then return end
        local offHealth = UE3_OneHitKO.offHealth or 676
        local cVillain = UE3_OneHitKO.cVillain or UE3.FindClass("RPawnVillain")

        -- Restore 25 HP to any surviving enemies
        local wi = readPointer(playerPawn + (UE3_OneHitKO.offWI or 176))
        if wi and wi ~= 0 then
            local lvl = readPointer(wi + UE3.Offsets.UObject_Outer)
            local theWorld = lvl and readPointer(lvl + UE3.Offsets.UObject_Outer)
            if theWorld and theWorld ~= 0 then
                local lvlData = readPointer(theWorld + 0x38)
                local lvlCount = readInteger(theWorld + 0x38 + 4) or 0
                if lvlData and lvlData ~= 0 and lvlCount &gt; 0 then
                    for i = 0, lvlCount - 1 do
                        local l = readPointer(lvlData + i * 4)
                        if l and l ~= 0 then
                            local actData = readPointer(l + 0x30)
                            local actCount = readInteger(l + 0x30 + 4) or 0
                            if actData and actData ~= 0 and actCount &gt; 0 then
                                for j = 0, actCount - 1 do
                                    local a = readPointer(actData + j * 4)
                                    if a and a ~= 0 and a ~= playerPawn then
                                        local h = readInteger(a + offHealth) or 0
                                        if h == 1 then
                                            local c = readPointer(a + UE3.Offsets.UObject_Class)
                                            local isV = false
                                            while c and c ~= 0 do
                                                if c == cVillain then isV = true break end
                                                c = readPointer(c + 0x30)
                                            end
                                            if isV then
                                                writeInteger(a + offHealth, 25)
                                            end
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end
    end)

    UE3_OneHitKO = nil
    pcall(function() beep() end)
    print("[UE3 Combat] One-Hit K.O. Deactivated (Enemy HP restored).")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27036</ID>
          <Description>"  -&gt; [Speed] Super Run Speed (3x)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

local cActor = UE3.FindClass("Actor")
local offDilation = UE3.GetPropertyOffset(cActor, "CustomTimeDilation")

if not offDilation then
    print("[Error] CustomTimeDilation property not found in Actor!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_RunSpeed = {
    Multiplier = 3.0,
    offDilation = offDilation,
    Timer = nil
}

pcall(function()
    local pawn = UE3.GetPlayerPawn()
    if pawn and pawn ~= 0 then
        writeFloat(pawn + UE3_RunSpeed.offDilation, UE3_RunSpeed.Multiplier)
    end
end)

-- Background check for room transitions / respawns
UE3_RunSpeed.Timer = createTimer(nil, false)
UE3_RunSpeed.Timer.Interval = 500
UE3_RunSpeed.Timer.OnTimer = function(t)
    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if pawn and pawn ~= 0 and UE3_RunSpeed and UE3_RunSpeed.offDilation then
            local cur = readFloat(pawn + UE3_RunSpeed.offDilation)
            if cur and math.abs(cur - UE3_RunSpeed.Multiplier) &gt; 0.05 then
                writeFloat(pawn + UE3_RunSpeed.offDilation, UE3_RunSpeed.Multiplier)
            end
        end
    end)
end

print("[UE3] Super Run Speed (3x) activé avec succès !")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_RunSpeed then
    if UE3_RunSpeed.Timer then
        UE3_RunSpeed.Timer.destroy()
        UE3_RunSpeed.Timer = nil
    end

    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if pawn and pawn ~= 0 and UE3_RunSpeed.offDilation then
            writeFloat(pawn + UE3_RunSpeed.offDilation, 1.0)
        end
    end)

    UE3_RunSpeed = nil
    print("[UE3] Super Run Speed désactivé (vitesse normale 1.0x restaurée).")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27037</ID>
          <Description>"  -&gt; [Speed] Super Glide Speed (2.5x)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_GlideSpeed = {
    Timer = nil,
    Multiplier = 2.5,
    OriginalGlideSpeed = nil,
    GlideOffset = nil
}

local function applyGlideSpeed()
    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end

        local pawnClass = UE3.GetObjectClass(pawn)
        if not UE3_GlideSpeed.GlideOffset then
            UE3_GlideSpeed.GlideOffset = UE3.GetPropertyOffset(pawnClass, "PlayerGlideSpeed")
        end

        if UE3_GlideSpeed.GlideOffset then
            local currentGlide = readFloat(pawn + UE3_GlideSpeed.GlideOffset)
            if not UE3_GlideSpeed.OriginalGlideSpeed and currentGlide and currentGlide &gt; 0 then
                UE3_GlideSpeed.OriginalGlideSpeed = currentGlide
            end
            local targetGlide = (UE3_GlideSpeed.OriginalGlideSpeed or 900.0) * UE3_GlideSpeed.Multiplier
            if currentGlide ~= targetGlide then
                writeFloat(pawn + UE3_GlideSpeed.GlideOffset, targetGlide)
            end
        end
    end)
end

applyGlideSpeed()

UE3_GlideSpeed.Timer = createTimer()
UE3_GlideSpeed.Timer.Interval = 250
UE3_GlideSpeed.Timer.OnTimer = function(t)
    applyGlideSpeed()
end

print("[UE3] Super Glide Speed activated (2.5x)!")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_GlideSpeed then
    if UE3_GlideSpeed.Timer then
        UE3_GlideSpeed.Timer.destroy()
        UE3_GlideSpeed.Timer = nil
    end

    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if pawn and pawn ~= 0 and UE3_GlideSpeed.GlideOffset and UE3_GlideSpeed.OriginalGlideSpeed then
            writeFloat(pawn + UE3_GlideSpeed.GlideOffset, UE3_GlideSpeed.OriginalGlideSpeed)
        end
    end)

    UE3_GlideSpeed = nil
    print("[UE3] Super Glide Speed deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27038</ID>
          <Description>"  -&gt; [Speed] Turbo Grapple Speed (3x)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_GrappleSpeed = {
    Timer = nil,
    Multiplier = 3.0,
    OriginalGrappleSpeed = nil,
    GrappleOffset = nil
}

local function applyGrappleSpeed()
    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end

        local pawnClass = UE3.GetObjectClass(pawn)
        if not UE3_GrappleSpeed.GrappleOffset then
            UE3_GrappleSpeed.GrappleOffset = UE3.GetPropertyOffset(pawnClass, "GrappleSpeed")
        end

        if UE3_GrappleSpeed.GrappleOffset then
            local currentGrapple = readFloat(pawn + UE3_GrappleSpeed.GrappleOffset)
            if not UE3_GrappleSpeed.OriginalGrappleSpeed and currentGrapple and currentGrapple &gt; 0 then
                UE3_GrappleSpeed.OriginalGrappleSpeed = currentGrapple
            end
            local targetGrapple = (UE3_GrappleSpeed.OriginalGrappleSpeed or 1500.0) * UE3_GrappleSpeed.Multiplier
            if currentGrapple ~= targetGrapple then
                writeFloat(pawn + UE3_GrappleSpeed.GrappleOffset, targetGrapple)
            end
        end
    end)
end

applyGrappleSpeed()

UE3_GrappleSpeed.Timer = createTimer()
UE3_GrappleSpeed.Timer.Interval = 250
UE3_GrappleSpeed.Timer.OnTimer = function(t)
    applyGrappleSpeed()
end

print("[UE3] Turbo Grapple Speed activated (3x)!")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_GrappleSpeed then
    if UE3_GrappleSpeed.Timer then
        UE3_GrappleSpeed.Timer.destroy()
        UE3_GrappleSpeed.Timer = nil
    end

    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if pawn and pawn ~= 0 and UE3_GrappleSpeed.GrappleOffset and UE3_GrappleSpeed.OriginalGrappleSpeed then
            writeFloat(pawn + UE3_GrappleSpeed.GrappleOffset, UE3_GrappleSpeed.OriginalGrappleSpeed)
        end
    end)

    UE3_GrappleSpeed = nil
    print("[UE3] Turbo Grapple Speed deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27039</ID>
          <Description>"  -&gt; [Utility] Teleport System (F5=Save, F6=Load, F7=Up)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_Teleport = {
    SavedPos = nil,
    LocOffset = nil,
    HotkeySave = nil,
    HotkeyLoad = nil,
    HotkeyUp = nil
}

local actorClass = UE3.FindClass("Actor")
UE3_Teleport.LocOffset = UE3.GetPropertyOffset(actorClass, "Location")

if not UE3_Teleport.LocOffset then
    print("[Teleport Error] Failed to resolve Location property offset.")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_Teleport.HotkeySave = createHotkey(function()
    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end

        local off = UE3_Teleport.LocOffset
        local x = readFloat(pawn + off)
        local y = readFloat(pawn + off + 4)
        local z = readFloat(pawn + off + 8)

        UE3_Teleport.SavedPos = { X = x, Y = y, Z = z }
        beep()
        print(string.format("[Teleport] Position SAVED -&gt; X=%.2f, Y=%.2f, Z=%.2f", x, y, z))
    end)
end, VK_F5)

UE3_Teleport.HotkeyLoad = createHotkey(function()
    pcall(function()
        if not UE3_Teleport.SavedPos then
            print("[Teleport Warning] No position saved yet! Press F5 first.")
            return
        end

        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end

        local off = UE3_Teleport.LocOffset
        local pos = UE3_Teleport.SavedPos
        writeFloat(pawn + off, pos.X)
        writeFloat(pawn + off + 4, pos.Y)
        writeFloat(pawn + off + 8, pos.Z)
        beep()
        print(string.format("[Teleport] TELEPORTED to -&gt; X=%.2f, Y=%.2f, Z=%.2f", pos.X, pos.Y, pos.Z))
    end)
end, VK_F6)

UE3_Teleport.HotkeyUp = createHotkey(function()
    pcall(function()
        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end

        local off = UE3_Teleport.LocOffset
        local curZ = readFloat(pawn + off + 8)
        local newZ = curZ + 300.0
        writeFloat(pawn + off + 8, newZ)
        print(string.format("[Teleport] Nudge Up: Z=%.2f -&gt; %.2f", curZ, newZ))
    end)
end, VK_F7)

print("[UE3] Teleport System Activated (F5=Save, F6=Load, F7=Up)")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_Teleport then
    pcall(function()
        if UE3_Teleport.HotkeySave then UE3_Teleport.HotkeySave.destroy(); UE3_Teleport.HotkeySave = nil end
        if UE3_Teleport.HotkeyLoad then UE3_Teleport.HotkeyLoad.destroy(); UE3_Teleport.HotkeyLoad = nil end
        if UE3_Teleport.HotkeyUp then UE3_Teleport.HotkeyUp.destroy(); UE3_Teleport.HotkeyUp = nil end
    end)
    UE3_Teleport = nil
    print("[UE3 Teleport] System Deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27040</ID>
          <Description>"  -&gt; [Utility] Matrix Time Control ([-] Slow/Stop, [+] Fast/Normal)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

UE3_MatrixTime = {
    Timer = nil,
    Steps = { 1.0, 0.75, 0.50, 0.25, 0.10, 0.05, 0.02, 0.01 },
    CurrentIndex = 1,
    WorldInfoOffset = nil,
    WorldTimeDilationOffset = nil,
    PawnTimeDilationOffset = nil,
    Hotkeys = {}
}

local pawn = UE3.GetPlayerPawn()
if not pawn or pawn == 0 then
    print("[Matrix Time Error] Player Pawn not found. Are you in-game?")
    memoryrecord_setActive(memrec, false)
    return
end

local actorClass = UE3.FindClass("Actor")
UE3_MatrixTime.WorldInfoOffset = UE3.GetPropertyOffset(actorClass, "WorldInfo")
UE3_MatrixTime.PawnTimeDilationOffset = UE3.GetPropertyOffset(actorClass, "CustomTimeDilation")

local wi = readPointer(pawn + UE3_MatrixTime.WorldInfoOffset)
if wi and wi ~= 0 then
    local wiClass = UE3.GetObjectClass(wi)
    UE3_MatrixTime.WorldTimeDilationOffset = UE3.GetPropertyOffset(wiClass, "TimeDilation")
end

if not UE3_MatrixTime.WorldTimeDilationOffset or not UE3_MatrixTime.PawnTimeDilationOffset then
    print("[Matrix Time Error] Failed to resolve TimeDilation offsets.")
    memoryrecord_setActive(memrec, false)
    return
end

local function applyTimeDilation()
    pcall(function()
        local currentPawn = UE3.GetPlayerPawn()
        if not currentPawn or currentPawn == 0 then return end

        local currentWI = readPointer(currentPawn + UE3_MatrixTime.WorldInfoOffset)
        if not currentWI or currentWI == 0 then return end

        local worldDilation = UE3_MatrixTime.Steps[UE3_MatrixTime.CurrentIndex]
        local batmanDilation = 1.0 / worldDilation

        writeFloat(currentWI + UE3_MatrixTime.WorldTimeDilationOffset, worldDilation)
        writeFloat(currentPawn + UE3_MatrixTime.PawnTimeDilationOffset, batmanDilation)
    end)
end

local function slowDown()
    pcall(function()
        if UE3_MatrixTime.CurrentIndex &lt; #UE3_MatrixTime.Steps then
            UE3_MatrixTime.CurrentIndex = UE3_MatrixTime.CurrentIndex + 1
            applyTimeDilation()
            local speed = UE3_MatrixTime.Steps[UE3_MatrixTime.CurrentIndex]
            beep()
            if speed &lt;= 0.01 then
                print(string.format("[Matrix Time] TIME FROZEN! (World: %.02fx | Batman: %.1fx normal)", speed, 1.0 / speed))
            else
                print(string.format("[Matrix Time] SLOW-MO -&gt; World: %.02fx | Batman: %.1fx normal", speed, 1.0 / speed))
            end
        else
            print("[Matrix Time] Already at minimum speed (frozen).")
        end
    end)
end

local function speedUp()
    pcall(function()
        if UE3_MatrixTime.CurrentIndex &gt; 1 then
            UE3_MatrixTime.CurrentIndex = UE3_MatrixTime.CurrentIndex - 1
            applyTimeDilation()
            local speed = UE3_MatrixTime.Steps[UE3_MatrixTime.CurrentIndex]
            beep()
            if speed &gt;= 1.0 then
                print(string.format("[Matrix Time] NORMAL SPEED RESTORED (World: 1.0x | Batman: 1.0x)"))
            else
                print(string.format("[Matrix Time] ACCELERATING -&gt; World: %.02fx | Batman: %.1fx normal", speed, 1.0 / speed))
            end
        else
            print("[Matrix Time] Already at normal speed (1.0x).")
        end
    end)
end

table.insert(UE3_MatrixTime.Hotkeys, createHotkey(slowDown, VK_SUBTRACT))
table.insert(UE3_MatrixTime.Hotkeys, createHotkey(slowDown, VK_OEM_MINUS))
table.insert(UE3_MatrixTime.Hotkeys, createHotkey(speedUp, VK_ADD))
table.insert(UE3_MatrixTime.Hotkeys, createHotkey(speedUp, VK_OEM_PLUS))

UE3_MatrixTime.Timer = createTimer()
UE3_MatrixTime.Timer.Interval = 250
UE3_MatrixTime.Timer.OnTimer = function(t)
    applyTimeDilation()
end

print("==================================================")
print("[UE3 Matrix Time] Control Activated!")
print("  - Press [-] (Minus) : Slow down time down to frozen")
print("  - Press [+] (Plus)  : Accelerate back to normal (1.0x)")
print("  * Batman moves seamlessly while the world is slowed!")
print("==================================================")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_MatrixTime then
    if UE3_MatrixTime.Timer then
        UE3_MatrixTime.Timer.destroy()
        UE3_MatrixTime.Timer = nil
    end

    pcall(function()
        for _, hk in ipairs(UE3_MatrixTime.Hotkeys) do
            if hk then hk.destroy() end
        end
        UE3_MatrixTime.Hotkeys = {}

        local currentPawn = UE3.GetPlayerPawn()
        if currentPawn and currentPawn ~= 0 then
            local currentWI = readPointer(currentPawn + UE3_MatrixTime.WorldInfoOffset)
            if currentWI and currentWI ~= 0 then
                writeFloat(currentWI + UE3_MatrixTime.WorldTimeDilationOffset, 1.0)
            end
            writeFloat(currentPawn + UE3_MatrixTime.PawnTimeDilationOffset, 1.0)
        end
    end)

    UE3_MatrixTime = nil
    print("[UE3 Matrix Time] Deactivated (Normal time restored).")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27041</ID>
          <Description>"  -&gt; [Movement] Fly &amp; Noclip Mode (Space=Up, Ctrl=Down, Through Walls)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

local pawn = UE3.GetPlayerPawn()
if not pawn or pawn == 0 then
    print("[Fly/Noclip Error] Player Pawn not found. Are you in a game?")
    memoryrecord_setActive(memrec, false)
    return
end

local pc = UE3.GetPlayerController()
local actorClass = UE3.FindClass("Actor")
local pawnClass = UE3.GetObjectClass(pawn)

local offLoc = UE3.GetPropertyOffset(actorClass, "Location") or 0x54
local offRot = UE3.GetPropertyOffset(actorClass, "Rotation") or 0x60
local offPhys = UE3.GetPropertyOffset(actorClass, "Physics") or 0x90
local offColType = UE3.GetPropertyOffset(actorClass, "CollisionType") or 0x93
local offBase = UE3.GetPropertyOffset(actorClass, "Base") or 0x9C
local offVelocity = UE3.GetPropertyOffset(actorClass, "Velocity") or 0xFC
local offColWorld = 0x38
local offColActors = 0x34
local offRMV = pawnClass and UE3.GetPropertyOffset(pawnClass, "RMVelocity") or nil

local origPhys = readByte(pawn + offPhys)
local origColType = readByte(pawn + offColType)
local origBase = readPointer(pawn + offBase)
local origColWorld = readInteger(pawn + offColWorld)
local origColActors = readInteger(pawn + offColActors)

-- Ensure saved origPhys is valid (default to PHYS_Walking = 1 if it was corrupted)
if not origPhys or origPhys == 0 or origPhys == 2 then
    origPhys = 1
end

UE3_FlyNoclip = {
    Timer = nil,
    Pawn = pawn,
    PC = pc,
    offLoc = offLoc,
    offRot = offRot,
    offPhys = offPhys,
    offColType = offColType,
    offBase = offBase,
    offVelocity = offVelocity,
    offColWorld = offColWorld,
    offColActors = offColActors,
    offRMV = offRMV,
    origPhys = origPhys,
    origColType = origColType,
    origBase = origBase,
    origColWorld = origColWorld,
    origColActors = origColActors,
    LastTick = getTickCount(),
    DashCooldown = 0
}

-- Put into Fly and Noclip mode
writeByte(pawn + offPhys, 0)      -- PHYS_None (no gravity, no physics drag)
writeByte(pawn + offColType, 0)   -- COLLIDE_NoCollision (noclip through all walls)
writePointer(pawn + offBase, 0)

writeFloat(pawn + offVelocity, 0)
writeFloat(pawn + offVelocity + 4, 0)
writeFloat(pawn + offVelocity + 8, 0)

if offRMV then
    writeFloat(pawn + offRMV, 0)
    writeFloat(pawn + offRMV + 4, 0)
    writeFloat(pawn + offRMV + 8, 0)
end

-- Timer with delta-time calculation for completely smooth movement without stutter
UE3_FlyNoclip.Timer = createTimer(nil, false)
UE3_FlyNoclip.Timer.Interval = 15
UE3_FlyNoclip.Timer.OnTimer = function(t)
    pcall(function()
        if not UE3_FlyNoclip then return end
        local p = UE3.GetPlayerPawn() or UE3_FlyNoclip.Pawn
        local ctrl = UE3.GetPlayerController() or UE3_FlyNoclip.PC
        if not p or p == 0 then return end

        -- Calculate real delta time (seconds)
        local now = getTickCount()
        local dt = (now - UE3_FlyNoclip.LastTick) / 1000.0
        UE3_FlyNoclip.LastTick = now
        if dt &lt;= 0 or dt &gt; 0.1 then dt = 0.015 end

        -- Maintain noclip and freeze physics/root motion
        writeByte(p + UE3_FlyNoclip.offPhys, 0)
        writeByte(p + UE3_FlyNoclip.offColType, 0)
        writePointer(p + UE3_FlyNoclip.offBase, 0)

        writeFloat(p + UE3_FlyNoclip.offVelocity, 0)
        writeFloat(p + UE3_FlyNoclip.offVelocity + 4, 0)
        writeFloat(p + UE3_FlyNoclip.offVelocity + 8, 0)

        if UE3_FlyNoclip.offRMV then
            writeFloat(p + UE3_FlyNoclip.offRMV, 0)
            writeFloat(p + UE3_FlyNoclip.offRMV + 4, 0)
            writeFloat(p + UE3_FlyNoclip.offRMV + 8, 0)
        end

        -- Balanced speeds: 600 u/s normal (comfortable and fluid), 1500 u/s Turbo
        local speed = 600.0
        if isKeyPressed(16) then -- Shift: Turbo
            speed = 1500.0
        end

        -- Vertical movement (Space = Up, Ctrl/C = Down)
        local vz = 0
        if isKeyPressed(32) then -- Space
            vz = speed
        elseif isKeyPressed(17) or isKeyPressed(67) then -- Ctrl or C
            vz = -speed
        end

        -- Directional inputs
        local isForward = isKeyPressed(90) or isKeyPressed(87) or isKeyPressed(38)
        local isBackward = isKeyPressed(83) or isKeyPressed(40)
        local isLeft = isKeyPressed(81) or isKeyPressed(65) or isKeyPressed(37)
        local isRight = isKeyPressed(68) or isKeyPressed(39)

        local vx = 0
        local vy = 0

        if isForward or isBackward or isLeft or isRight then
            local rotSource = (ctrl and ctrl ~= 0) and ctrl or p
            local yaw = bAnd(readInteger(rotSource + UE3_FlyNoclip.offRot + 4) or 0, 0xFFFF)
            local angleRad = (yaw / 65536.0) * (2 * math.pi)
            local fwdX = math.cos(angleRad)
            local fwdY = math.sin(angleRad)
            local rightX = -math.sin(angleRad)
            local rightY = math.cos(angleRad)

            local dirX = 0
            local dirY = 0

            if isForward then dirX = dirX + fwdX; dirY = dirY + fwdY end
            if isBackward then dirX = dirX - fwdX; dirY = dirY - fwdY end
            if isRight then dirX = dirX + rightX; dirY = dirY + rightY end
            if isLeft then dirX = dirX - rightX; dirY = dirY - rightY end

            local len = math.sqrt(dirX * dirX + dirY * dirY)
            if len &gt; 0.001 then
                vx = (dirX / len) * speed
                vy = (dirY / len) * speed
            end
        end

        -- Apply delta-time smooth movement
        if vx ~= 0 or vy ~= 0 or vz ~= 0 then
            local curX = readFloat(p + UE3_FlyNoclip.offLoc) or 0
            local curY = readFloat(p + UE3_FlyNoclip.offLoc + 4) or 0
            local curZ = readFloat(p + UE3_FlyNoclip.offLoc + 8) or 0

            writeFloat(p + UE3_FlyNoclip.offLoc, curX + (vx * dt))
            writeFloat(p + UE3_FlyNoclip.offLoc + 4, curY + (vy * dt))
            writeFloat(p + UE3_FlyNoclip.offLoc + 8, curZ + (vz * dt))
        end

        -- V: Dash forward through walls
        if isKeyPressed(86) then
            if not UE3_FlyNoclip.DashCooldown or UE3_FlyNoclip.DashCooldown &lt;= 0 then
                local rotSource = (ctrl and ctrl ~= 0) and ctrl or p
                local yaw = bAnd(readInteger(rotSource + UE3_FlyNoclip.offRot + 4) or 0, 0xFFFF)
                local angleRad = (yaw / 65536.0) * (2 * math.pi)
                local fwdX = math.cos(angleRad)
                local fwdY = math.sin(angleRad)

                local curX = readFloat(p + UE3_FlyNoclip.offLoc) or 0
                local curY = readFloat(p + UE3_FlyNoclip.offLoc + 4) or 0

                writeFloat(p + UE3_FlyNoclip.offLoc, curX + fwdX * 350.0)
                writeFloat(p + UE3_FlyNoclip.offLoc + 4, curY + fwdY * 350.0)
                pcall(function() beep() end)
                UE3_FlyNoclip.DashCooldown = 20
            end
        end

        if UE3_FlyNoclip.DashCooldown and UE3_FlyNoclip.DashCooldown &gt; 0 then
            UE3_FlyNoclip.DashCooldown = UE3_FlyNoclip.DashCooldown - 1
        end
    end)
end
UE3_FlyNoclip.Timer.setEnabled(true)

pcall(function() beep() end)
print("==================================================")
print("[UE3 Movement] Smooth Fly and Noclip Mode Activated!")
print("  - [Spacebar]       : Ascend smoothly (+Z)")
print("  - [Ctrl / C]       : Descend smoothly (-Z)")
print("  - [Z/Q/S/D / WASD] : Smooth noclip in camera direction")
print("  - [Shift] (Hold)   : Turbo Boost (1500 u/s)")
print("  - [V]              : Dash Forward (+350 units)")
print("==================================================")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_FlyNoclip then
    if UE3_FlyNoclip.Timer then
        UE3_FlyNoclip.Timer.destroy()
        UE3_FlyNoclip.Timer = nil
    end

    pcall(function()
        local p = UE3.GetPlayerPawn() or UE3_FlyNoclip.Pawn
        if p and p ~= 0 then
            -- Restore normal walking physics (PHYS_Walking = 1)
            local targetPhys = UE3_FlyNoclip.origPhys or 1
            if targetPhys == 0 or targetPhys == 2 then targetPhys = 1 end
            writeByte(p + UE3_FlyNoclip.offPhys, targetPhys)

            -- Restore original collision type
            local targetCol = UE3_FlyNoclip.origColType or 2
            writeByte(p + UE3_FlyNoclip.offColType, targetCol)

            -- Restore exact original collision masks
            if UE3_FlyNoclip.origColWorld then
                writeInteger(p + UE3_FlyNoclip.offColWorld, UE3_FlyNoclip.origColWorld)
            end
            if UE3_FlyNoclip.origColActors then
                writeInteger(p + UE3_FlyNoclip.offColActors, UE3_FlyNoclip.origColActors)
            end

            -- Zero out velocities so Batman lands with full traction
            writeFloat(p + UE3_FlyNoclip.offVelocity, 0)
            writeFloat(p + UE3_FlyNoclip.offVelocity + 4, 0)
            writeFloat(p + UE3_FlyNoclip.offVelocity + 8, 0)

            if UE3_FlyNoclip.offRMV then
                writeFloat(p + UE3_FlyNoclip.offRMV, 0)
                writeFloat(p + UE3_FlyNoclip.offRMV + 4, 0)
                writeFloat(p + UE3_FlyNoclip.offRMV + 8, 0)
            end
        end
    end)

    UE3_FlyNoclip = nil
    pcall(function() beep() end)
    print("[UE3 Movement] Fly and Noclip Mode Deactivated. Batman safely landed.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27060</ID>
          <Description>"  -&gt; [Stealth] Ghost Invisibility (100% Undetectable to All Enemies)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

local actorClass = UE3.FindClass("Actor")
local pawnClass = UE3.FindClass("Pawn")
local rPawnCombat = UE3.FindClass("RPawnCombat")
local rPawnVillain = UE3.FindClass("RPawnVillain")
local rBMAIController = UE3.FindClass("RBMAIController")
local worldInfoClass = UE3.FindClass("WorldInfo")

local offWI = UE3.GetPropertyOffset(actorClass, "WorldInfo") or 0xB0
local offPawnList = worldInfoClass and UE3.GetPropertyOffset(worldInfoClass, "PawnList") or 0x37C
local offNextPawn = pawnClass and UE3.GetPropertyOffset(pawnClass, "NextPawn") or 0x1B8
local offController = pawnClass and UE3.GetPropertyOffset(pawnClass, "Controller") or 0x1B4
local offSightRadius = pawnClass and UE3.GetPropertyOffset(pawnClass, "SightRadius") or 0x200
local offHearingThreshold = pawnClass and UE3.GetPropertyOffset(pawnClass, "HearingThreshold") or 0x1F8
local offAlertness = pawnClass and UE3.GetPropertyOffset(pawnClass, "Alertness") or 0x1FC

local offFocusedSight = rBMAIController and UE3.GetPropertyOffset(rBMAIController, "FocusedSightRange") or 0x3B0
local offPeripheralSight = rBMAIController and UE3.GetPropertyOffset(rBMAIController, "PeripheralSightRange") or 0x3B8
local offInstantSight = rBMAIController and UE3.GetPropertyOffset(rBMAIController, "InstantSightRange") or 0x3CC

local offTrackTarget = rPawnVillain and UE3.GetPropertyOffset(rPawnVillain, "TrackTarget") or 0x890
local offDamageTarget = rPawnVillain and UE3.GetPropertyOffset(rPawnVillain, "DamageTarget") or 0x898
local offTargettedByPawn = rPawnCombat and UE3.GetPropertyOffset(rPawnCombat, "TargettedByPawn") or 0x590

UE3_GhostStealth = {
    Timer = nil,
    cVillain = rPawnVillain,
    offWI = offWI,
    offPawnList = offPawnList,
    offNextPawn = offNextPawn,
    offController = offController,
    offSightRadius = offSightRadius,
    offHearingThreshold = offHearingThreshold,
    offAlertness = offAlertness,
    offFocusedSight = offFocusedSight,
    offPeripheralSight = offPeripheralSight,
    offInstantSight = offInstantSight,
    offTrackTarget = offTrackTarget,
    offDamageTarget = offDamageTarget,
    offTargettedByPawn = offTargettedByPawn
}

local function isVillain(p)
    if not p or p == 0 or not UE3_GhostStealth.cVillain then return false end
    local c = UE3.GetObjectClass(p)
    local safety = 0
    while c and c ~= 0 and safety &lt; 15 do
        if c == UE3_GhostStealth.cVillain then return true end
        c = readPointer(c + 0x30) -- SuperField
        safety = safety + 1
    end
    return false
end

local function applyInvisibility()
    local playerPawn = UE3.GetPlayerPawn()
    if not playerPawn or playerPawn == 0 then return end

    if UE3_GhostStealth.offTargettedByPawn then
        writePointer(playerPawn + UE3_GhostStealth.offTargettedByPawn, 0)
    end

    local wi = readPointer(playerPawn + UE3_GhostStealth.offWI)
    if not wi or wi == 0 then return end

    local p = readPointer(wi + UE3_GhostStealth.offPawnList)
    local safety = 0
    while p and p ~= 0 and safety &lt; 200 do
        -- ONLY apply to verified RPawnVillain instances (100% crash-safe)
        if p ~= playerPawn and isVillain(p) then
            if UE3_GhostStealth.offSightRadius then writeFloat(p + UE3_GhostStealth.offSightRadius, 0.0) end
            if UE3_GhostStealth.offHearingThreshold then writeFloat(p + UE3_GhostStealth.offHearingThreshold, 0.0) end
            if UE3_GhostStealth.offAlertness then writeFloat(p + UE3_GhostStealth.offAlertness, 0.0) end

            if UE3_GhostStealth.offTrackTarget then writePointer(p + UE3_GhostStealth.offTrackTarget, 0) end
            if UE3_GhostStealth.offDamageTarget then writePointer(p + UE3_GhostStealth.offDamageTarget, 0) end

            local ctrl = readPointer(p + UE3_GhostStealth.offController)
            if ctrl and ctrl ~= 0 then
                if UE3_GhostStealth.offFocusedSight then writeFloat(ctrl + UE3_GhostStealth.offFocusedSight, 0.0) end
                if UE3_GhostStealth.offPeripheralSight then writeFloat(ctrl + UE3_GhostStealth.offPeripheralSight, 0.0) end
                if UE3_GhostStealth.offInstantSight then writeFloat(ctrl + UE3_GhostStealth.offInstantSight, 0.0) end
            end
        end
        p = readPointer(p + UE3_GhostStealth.offNextPawn)
        safety = safety + 1
    end
end

pcall(applyInvisibility)

UE3_GhostStealth.Timer = createTimer(nil, false)
UE3_GhostStealth.Timer.Interval = 100
UE3_GhostStealth.Timer.OnTimer = function(t)
    pcall(applyInvisibility)
end
UE3_GhostStealth.Timer.setEnabled(true)

pcall(function() beep() end)
print("==================================================")
print("[UE3 Stealth] Ghost Invisibility Mode Activated!")
print("  - All Villains: Sight &amp; Hearing neutralized to 0.0")
print("  - 100% Invisible and Undetectable to all enemies")
print("  - Zero heap corruption, verified RPawnVillain filter")
print("==================================================")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_GhostStealth then
    if UE3_GhostStealth.Timer then
        UE3_GhostStealth.Timer.destroy()
        UE3_GhostStealth.Timer = nil
    end

    pcall(function()
        local playerPawn = UE3.GetPlayerPawn()
        if not playerPawn or playerPawn == 0 then return end
        local wi = readPointer(playerPawn + UE3_GhostStealth.offWI)
        if not wi or wi == 0 then return end

        local function isVillain(p)
            if not p or p == 0 or not UE3_GhostStealth.cVillain then return false end
            local c = UE3.GetObjectClass(p)
            local safety = 0
            while c and c ~= 0 and safety &lt; 15 do
                if c == UE3_GhostStealth.cVillain then return true end
                c = readPointer(c + 0x30)
                safety = safety + 1
            end
            return false
        end

        local p = readPointer(wi + UE3_GhostStealth.offPawnList)
        local safety = 0
        while p and p ~= 0 and safety &lt; 200 do
            if p ~= playerPawn and isVillain(p) then
                if UE3_GhostStealth.offSightRadius then writeFloat(p + UE3_GhostStealth.offSightRadius, 5000.0) end
                if UE3_GhostStealth.offHearingThreshold then writeFloat(p + UE3_GhostStealth.offHearingThreshold, 500.0) end

                local ctrl = readPointer(p + UE3_GhostStealth.offController)
                if ctrl and ctrl ~= 0 then
                    if UE3_GhostStealth.offFocusedSight then writeFloat(ctrl + UE3_GhostStealth.offFocusedSight, 2500.0) end
                    if UE3_GhostStealth.offPeripheralSight then writeFloat(ctrl + UE3_GhostStealth.offPeripheralSight, 1500.0) end
                    if UE3_GhostStealth.offInstantSight then writeFloat(ctrl + UE3_GhostStealth.offInstantSight, 300.0) end
                end
            end
            p = readPointer(p + UE3_GhostStealth.offNextPawn)
            safety = safety + 1
        end
    end)

    UE3_GhostStealth = nil
    pcall(function() beep() end)
    print("[UE3 Stealth] Ghost Invisibility Mode Deactivated.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27042</ID>
          <Description>"  -&gt; [Action] Add +5,000 XP &amp; +5 WayneTech Upgrade Points"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local pc = UE3.GetPlayerController()
    if not pc or pc == 0 then
        print("[XP Booster Error] PlayerController not found. Are you in-game?")
        memoryrecord_setActive(memrec, false)
        return
    end

    local function GetClassFieldOffset(classObj, fieldName)
        return UE3.GetPropertyOffset(classObj, fieldName)
    end

    local cPD = UE3.FindClass("RPersistentData")
    local cExp = UE3.FindClass("RExperienceSystem")
    if not cPD then
        print("[XP Booster Error] RPersistentData class not found.")
        memoryrecord_setActive(memrec, false)
        return
    end

    -- Find live RPersistentData (Instant Cache)
    local targetPD = UE3.GetPersistentData and UE3.GetPersistentData()
    if not targetPD then
        for i = 0, UE3.GObjectsCount - 1 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj ~= 0 and readPointer(obj + UE3.Offsets.UObject_Class) == cPD then
                if not UE3.GetObjectName(obj):find("Default__") then
                    targetPD = obj
                    break
                end
            end
        end
    end

    if not targetPD then
        print("[XP Booster Error] Live RPersistentData instance not found.")
        memoryrecord_setActive(memrec, false)
        return
    end

    local offUnlockables = GetClassFieldOffset(cPD, "UnlockablesToSpend") or 0x134
    local offLevelUp = GetClassFieldOffset(cPD, "ShowLevelUpFlag") or 0x13C
    local offXP = GetClassFieldOffset(cPD, "XP") or 0x150

    local pointsToAdd = 5
    local currentPoints = readInteger(targetPD + offUnlockables) or 0
    local newPoints = currentPoints + pointsToAdd
    writeInteger(targetPD + offUnlockables, newPoints)
    writeInteger(targetPD + offLevelUp, 1)

    -- Also add XP to RPersistentData
    if offXP then
        local curXP = readFloat(targetPD + offXP) or 0
        writeFloat(targetPD + offXP, curXP + 5000.0)
    end

    -- Update ExperienceSystem if available
    local pcClass = UE3.GetObjectClass(pc)
    local expSysOff = UE3.GetPropertyOffset(pcClass, "ExperienceSystem")
    if expSysOff then
        local expSys = readPointer(pc + expSysOff)
        if expSys and expSys ~= 0 and cExp then
            local unbankedOff = GetClassFieldOffset(cExp, "UnbankedXP") or 0x1D8
            writeInteger(expSys + unbankedOff, 5000)
            -- bWaitingForUpgrade = true
            local curFlags = readInteger(expSys + 0x1CC) or 0
            writeInteger(expSys + 0x1CC, bOr(curFlags, 1))
        end
    end

    pcall(function() beep() end)
    print("==================================================")
    print("[WayneTech Upgrades] +5 Upgrade Points &amp; +5,000 XP Added!")
    print(string.format("  - Available WayneTech Points to Spend: %d", newPoints))
    print("  * If the WayneTech menu is currently open, close it (ESC) and reopen it (TAB) to refresh!")
    print("==================================================")
end)

-- Automatically uncheck after 1-click execution
memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27066</ID>
          <Description>"  -&gt; [Action] Unlock All Character Bios, 3D Figurines, Audio Tapes &amp; Challenges"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local function GetClassFieldOffset(classObj, fieldName)
        return UE3.GetPropertyOffset(classObj, fieldName)
    end

    local cPD = UE3.FindClass("RPersistentData")
    local cPO = UE3.FindClass("RPersistentOptions")

    if not cPD or not cPO then
        print("[Error] Required UE3 classes (RPersistentData / RPersistentOptions) not found.")
        memoryrecord_setActive(memrec, false)
        return
    end

    -- Dynamically locate live instances of RPersistentData and RPersistentOptions
    local targetPD, targetPO
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 then
            local cls = readPointer(obj + UE3.Offsets.UObject_Class)
            if cls == cPD then
                local name = UE3.GetObjectName(obj)
                if not name:find("Default__") then
                    targetPD = obj
                end
            elseif cls == cPO then
                local name = UE3.GetObjectName(obj)
                if not name:find("Default__") then
                    targetPO = obj
                end
            end
            if targetPD and targetPO then break end
        end
    end

    if not targetPD then
        print("[Error] Live RPersistentData instance not found. Please enter a game or menu.")
        memoryrecord_setActive(memrec, false)
        return
    end

    -- Discover dynamic property offsets
    local offPD_Bios = GetClassFieldOffset(cPD, "CharacterBios_Unlocked")
    local offPD_Viewer = GetClassFieldOffset(cPD, "CharacterViewer_Unlocked")
    local offPD_Tapes = GetClassFieldOffset(cPD, "CharacterTapesCollected")
    local offPD_TapesCol = GetClassFieldOffset(cPD, "TapesCollected")

    local offPO_BiosNew = GetClassFieldOffset(cPO, "CharacterBios_New")
    local offPO_ViewerNew = GetClassFieldOffset(cPO, "CharacterViewer_New")
    local offPO_Challenges = GetClassFieldOffset(cPO, "Challenges_Unlocked")
    local offPO_ChallengesNew = GetClassFieldOffset(cPO, "Challenges_New")
    local offPO_Armoured = GetClassFieldOffset(cPO, "ArmouredBatmanPlayable")
    local offPO_NewBio = GetClassFieldOffset(cPO, "NewBioUnlocked")
    local offPO_NewTrophy = GetClassFieldOffset(cPO, "NewTrophyUnlocked")

    -- 1. Unlock all Character Biographies (42/42)
    local biosCount = 0
    if offPD_Bios then
        local biosPtr = readPointer(targetPD + offPD_Bios)
        biosCount = readInteger(targetPD + offPD_Bios + 4) or 42
        if biosPtr and biosPtr ~= 0 then
            for i = 0, biosCount - 1 do
                writeInteger(biosPtr + i * 4, 1)
            end
        end
    end

    -- 2. Unlock all 3D Character Figurines / Viewer Models (20/20)
    local viewerCount = 0
    if offPD_Viewer then
        local viewerPtr = readPointer(targetPD + offPD_Viewer)
        viewerCount = readInteger(targetPD + offPD_Viewer + 4) or 20
        if viewerPtr and viewerPtr ~= 0 then
            for i = 0, viewerCount - 1 do
                writeInteger(viewerPtr + i * 4, 1)
            end
        end
    end

    -- 3. Unlock all Audio Patient Interview Tapes (9 characters, 5 tapes each)
    local tapesCount = 0
    if offPD_Tapes then
        local tapesPtr = readPointer(targetPD + offPD_Tapes)
        tapesCount = readInteger(targetPD + offPD_Tapes + 4) or 9
        if tapesPtr and tapesPtr ~= 0 then
            for i = 0, tapesCount - 1 do
                writeInteger(tapesPtr + i * 4, 5)
            end
        end
    end
    if offPD_TapesCol then
        local tcPtr = readPointer(targetPD + offPD_TapesCol)
        local tcCount = readInteger(targetPD + offPD_TapesCol + 4) or 10
        if tcPtr and tcPtr ~= 0 then
            for i = 0, tcCount - 1 do
                writeInteger(tcPtr + i * 4, 5)
            end
        end
    end

    -- 4. Update RPersistentOptions (UI notifications &amp; Challenge Mode)
    local chalCount = 0
    if targetPO then
        if offPO_Challenges then
            local chalPtr = readPointer(targetPO + offPO_Challenges)
            chalCount = readInteger(targetPO + offPO_Challenges + 4) or 46
            if chalPtr and chalPtr ~= 0 then
                for i = 0, chalCount - 1 do
                    writeInteger(chalPtr + i * 4, 1)
                end
            end
        end

        if offPO_BiosNew then
            local optBiosPtr = readPointer(targetPO + offPO_BiosNew)
            local optBiosCount = readInteger(targetPO + offPO_BiosNew + 4) or biosCount
            if optBiosPtr and optBiosPtr ~= 0 then
                for i = 0, optBiosCount - 1 do
                    writeInteger(optBiosPtr + i * 4, 1)
                end
            end
        end

        if offPO_ViewerNew then
            local optViewerPtr = readPointer(targetPO + offPO_ViewerNew)
            local optViewerCount = readInteger(targetPO + offPO_ViewerNew + 4) or viewerCount
            if optViewerPtr and optViewerPtr ~= 0 then
                for i = 0, optViewerCount - 1 do
                    writeInteger(optViewerPtr + i * 4, 1)
                end
            end
        end

        if offPO_ChallengesNew then
            local optChalPtr = readPointer(targetPO + offPO_ChallengesNew)
            local optChalCount = readInteger(targetPO + offPO_ChallengesNew + 4) or chalCount
            if optChalPtr and optChalPtr ~= 0 then
                for i = 0, optChalCount - 1 do
                    writeInteger(optChalPtr + i * 4, 1)
                end
            end
        end

        if offPO_NewBio then writeByte(targetPO + offPO_NewBio, 1) end
        if offPO_NewTrophy then writeByte(targetPO + offPO_NewTrophy, 1) end
        if offPO_Armoured then writeInteger(targetPO + offPO_Armoured, 1) end
    end

    pcall(function() beep() end)
    print("==================================================")
    print("[WayneTech Archives] All Gallery &amp; Archives Fully Unlocked!")
    print(string.format("  - Character Bios: %d/42 Unlocked", biosCount))
    print(string.format("  - 3D Character Figurines: %d/20 Unlocked", viewerCount))
    print(string.format("  - Patient Interview Audio Tapes: All %d Villains (5 Tapes Each)", tapesCount))
    print(string.format("  - Challenge Maps: %d/46 Unlocked", chalCount))
    print("  - Armoured Batsuit: Playable in Challenge Mode")
    print("  * If currently on the Bio/Figurine menu, press ESC and re-enter the menu to refresh the view!")
    print("==================================================")
end)

-- Auto-uncheck after execution
memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>27065</ID>
              <Description>"  -&gt; [Fix] Audio Tapes Clamp (Max 5) &amp; Safe Async Loader (Zero Crash)"</Description>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

local cPD = UE3.FindClass("RPersistentData")
local offPD_Tapes = cPD and UE3.GetPropertyOffset(cPD, "CharacterTapesCollected") or nil

-- 1. Anti-Crash: Safely bypass fatal appErrorf when a missing package is requested
local base = getAddress("ShippingPC-BmGame.exe") or 0x400000
local patchAddr = base + 0x171527
local origByte = readBytes(patchAddr, 1)

UE3_TapeFix = {
    Timer = nil,
    patchAddr = patchAddr,
    origByte = origByte or 0x75,
    cPD = cPD,
    offPD_Tapes = offPD_Tapes
}

-- Apply safe async loader bypass (0xEB = jmp past fatal crash)
writeBytes(patchAddr, 0xEB)

-- 2. Clamp CharacterTapesCollected to max 5 in RPersistentData
local function clampAllTapes()
    if not UE3_TapeFix.cPD or not UE3_TapeFix.offPD_Tapes then return end
    local targetPD = nil
    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 then
            local cls = readPointer(obj + UE3.Offsets.UObject_Class)
            if cls == UE3_TapeFix.cPD then
                local name = UE3.GetObjectName(obj)
                if not name:find("Default__") then
                    targetPD = obj
                    break
                end
            end
        end
    end
    if not targetPD or targetPD == 0 then return end

    local tapesPtr = readPointer(targetPD + UE3_TapeFix.offPD_Tapes)
    local tapesCount = readInteger(targetPD + UE3_TapeFix.offPD_Tapes + 4) or 9
    if tapesPtr and tapesPtr ~= 0 then
        for i = 0, tapesCount - 1 do
            local cur = readInteger(tapesPtr + i * 4)
            if cur and cur &gt; 5 then
                writeInteger(tapesPtr + i * 4, 5)
            end
        end
    end
end

pcall(clampAllTapes)

-- Monitor and enforce 5-tape maximum
UE3_TapeFix.Timer = createTimer(nil, false)
UE3_TapeFix.Timer.Interval = 250
UE3_TapeFix.Timer.OnTimer = function(t)
    pcall(clampAllTapes)
end
UE3_TapeFix.Timer.setEnabled(true)

pcall(function() beep() end)
print("==================================================")
print("[UE3 Fix] Audio Tapes Clamp &amp; Safe Async Loader Activated!")
print("  - All Tape Counters: Clamped to 5 maximum (No tape 6/7 overflow)")
print("  - Safe Async Loader: Active (Zero crash on missing packages)")
print("  - Safe to collect any physical tape in the asylum!")
print("==================================================")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UE3_TapeFix then
    if UE3_TapeFix.Timer then
        UE3_TapeFix.Timer.destroy()
        UE3_TapeFix.Timer = nil
    end

    if UE3_TapeFix.patchAddr and UE3_TapeFix.origByte then
        writeBytes(UE3_TapeFix.patchAddr, UE3_TapeFix.origByte)
    end

    UE3_TapeFix = nil
    pcall(function() beep() end)
    print("[UE3 Fix] Safe Async Loader &amp; Tape Clamp Deactivated.")
end

{$asm}
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>27051</ID>
          <Description>"  -&gt; [Action] Unlock All WayneTech Upgrades &amp; Remove Chains (Pure Lua)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local function GetClassFieldOffset(classObj, fieldName)
        local c = classObj
        while c and c ~= 0 do
            local cur = readPointer(c + 0x40)
            while cur and cur ~= 0 do
                if UE3.GetObjectName(cur) == fieldName then
                    local off = readInteger(cur + 0x44)
                    if not off or off == 0 then off = readInteger(cur + 0x54) end
                    return off
                end
                cur = readPointer(cur + 0x34)
            end
            c = readPointer(c + 0x30)
        end
        return nil
    end

    local function FindFunction(className, funcName)
        local cls = UE3.FindClass(className)
        while cls and cls ~= 0 do
            local cur = readPointer(cls + 0x40)
            while cur and cur ~= 0 do
                if UE3.GetObjectName(cur) == funcName then return cur end
                cur = readPointer(cur + 0x34)
            end
            cls = readPointer(cls + 0x30)
        end
        return nil
    end

    -- 1. Ensure Batman physically receives all gadgets via UnrealScript
    local pawn = UE3.GetPlayerPawn()
    if pawn and pawn ~= 0 then
        local fnTick = FindFunction("RPawnPlayerBm", "Tick")
        local fnGive = FindFunction("RPawnPlayerBm", "DebugGiveAllGadgets")
        if fnTick and fnGive then
            local tickData = readPointer(fnTick + 0x48)
            local tickCount = readInteger(fnTick + 0x4C)
            local origBytes = readBytes(tickData, tickCount, true)

            local b0 = fnGive % 256
            local b1 = math.floor(fnGive / 256) % 256
            local b2 = math.floor(fnGive / 65536) % 256
            local b3 = math.floor(fnGive / 16777216) % 256
            local patchBytes = { 0x1C, b0, b1, b2, b3, 0x16, 0x04, 0x0B, 0x53 }

            writeBytes(tickData, patchBytes)

            if _G.WayneTechGadgetTimer then
                _G.WayneTechGadgetTimer.destroy()
                _G.WayneTechGadgetTimer = nil
            end

            _G.WayneTechGadgetTimer = createTimer(nil, false)
            _G.WayneTechGadgetTimer.Interval = 150
            _G.WayneTechGadgetTimer.OnTimer = function(t)
                writeBytes(tickData, origBytes)
                t.destroy()
                _G.WayneTechGadgetTimer = nil
            end
            _G.WayneTechGadgetTimer.setEnabled(true)
        end
    end

    -- 2. Unlock all existing WayneTech Equipment &amp; Upgrade flags in RFlagManager safely
    local cFM = UE3.FindClass("RFlagManager")
    local offFlags = cFM and GetClassFieldOffset(cFM, "Flags")
    local targetFM = nil
    if cFM then
        for i = 0, UE3.GObjectsCount - 1 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj ~= 0 and readPointer(obj + UE3.Offsets.UObject_Class) == cFM then
                if not UE3.GetObjectName(obj):find("Default__") then
                    targetFM = obj
                    break
                end
            end
        end
    end

    local unlockedCount = 0
    if targetFM and offFlags then
        local mapData = readPointer(targetFM + offFlags)
        local mapCount = readInteger(targetFM + offFlags + 4) or 0

        if mapData and mapData ~= 0 and mapCount &gt; 0 then
            for i = 0, mapCount - 1 do
                local strPtr = readPointer(mapData + i * 24)
                local strLen = readInteger(mapData + i * 24 + 4) or 0
                if strPtr and strPtr ~= 0 and strLen &gt; 0 then
                    local s = ""
                    for j = 0, math.min(strLen - 2, 40) do
                        local ch = readSmallInteger(strPtr + j * 2) or 0
                        if ch &gt;= 32 and not (ch &gt; 126) then
                            s = s .. string.char(ch)
                        end
                    end
                    if s:find("Equip_") or s:find("Unlocked_") or s:find("Resonator") or s:find("Collar") or s:find("Gel") then
                        writeInteger(mapData + i * 24 + 12, 1)
                        unlockedCount = unlockedCount + 1
                    end
                end
            end
        end
    end

    -- 3. Remove all padlock &amp; chain restrictions from WayneTech Unlockables (Clear NeedsFlagSet)
    local pc = UE3.GetPlayerController()
    if pc and pc ~= 0 then
        local offUnlockables = GetClassFieldOffset(UE3.GetObjectClass(pc), "Unlockables")
        if offUnlockables then
            local data = readPointer(pc + offUnlockables)
            local count = readInteger(pc + offUnlockables + 4) or 0
            if data and data ~= 0 then
                for i = 0, count - 1 do
                    local base = data + i * 0x20
                    writeInteger(base + 0x18, 0)
                end
            end
        end
    end

    -- 4. Ensure player has plenty of WayneTech Upgrade Points (RPersistentData)
    local cPD = UE3.FindClass("RPersistentData")
    if cPD then
        local offUnlockables = GetClassFieldOffset(cPD, "UnlockablesToSpend")
        local offLevelUp = GetClassFieldOffset(cPD, "ShowLevelUpFlag")
        for i = 0, UE3.GObjectsCount - 1 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj ~= 0 and readPointer(obj + UE3.Offsets.UObject_Class) == cPD then
                if not UE3.GetObjectName(obj):find("Default__") then
                    if offUnlockables then writeInteger(obj + offUnlockables, 20) end
                    if offLevelUp then writeInteger(obj + offLevelUp, 1) end
                    break
                end
            end
        end
    end

    pcall(function() beep() end)
    print("==================================================")
    print("[WayneTech] All Gadgets Given &amp; Upgrades Ready!")
    print("  - All 5 Missing Gadgets: Injected into Batman's Inventory")
    print("  - All Padlocks &amp; Chains: Removed from WayneTech Grid")
    print("  - WayneTech Upgrade Points: 20 Points Available")
    print("  * Close WayneTech menu (ESC) and reopen it (TAB) to refresh!")
    print("==================================================")
end)

-- Auto-uncheck after execution
memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27047</ID>
          <Description>"  -&gt; [Vision] Enhanced Detective Mode (Full Map X-Ray, Infinite Distance, No Gadget Restrictions)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Enhanced Detective Mode] UE3 Framework must be initialized first!")
end

local cAI = UE3.FindClass("RBMPawnAI")
local cVillain = UE3.FindClass("RPawnVillain")
local cActor = UE3.FindClass("Actor")
local cWall = UE3.FindClass("RExplodableWallBase")

if not cAI or not cVillain then
    error("[Enhanced Detective Mode] Could not find required enemy classes!")
end

local cdoAI = UE3.GetCDO(cAI)
local cdoVil = UE3.GetCDO(cVillain)
local cdoWall = UE3.GetCDO(cWall)

local offs = {
    MaxDistance = UE3.GetPropertyOffset(cAI, "XRayVisibilityMaxDistance"),
    FadeInDuration = UE3.GetPropertyOffset(cAI, "XRayVisibilityFadeInDuration"),
    FadeInStart = UE3.GetPropertyOffset(cAI, "XRayVisibilityFadeInStartTime"),
    InvestigateMaxDist = cActor and UE3.GetPropertyOffset(cActor, "InvestigationMaxDistance") or nil
}

EnhancedDetective_Backup = {
    cdoAI = cdoAI,
    cdoVil = cdoVil,
    cdoWall = cdoWall,
    offs = offs,
    AI_MaxDist = (cdoAI and offs.MaxDistance) and readFloat(cdoAI + offs.MaxDistance) or 5200.0,
    AI_FadeIn = (cdoAI and offs.FadeInDuration) and readFloat(cdoAI + offs.FadeInDuration) or 0.25,
    Vil_MaxDist = (cdoVil and offs.MaxDistance) and readFloat(cdoVil + offs.MaxDistance) or 5200.0,
    Vil_FadeIn = (cdoVil and offs.FadeInDuration) and readFloat(cdoVil + offs.FadeInDuration) or 0.25,
    Wall_InvestDist = (cdoWall and offs.InvestigateMaxDist) and readFloat(cdoWall + offs.InvestigateMaxDist) or 2000.0
}

-- Apply buffs: 100,000 units visibility (entire map) &amp; 0.0s fade-in
local function boostEnemyCDO(cdo)
    if not cdo or cdo == 0 then return end
    if offs.MaxDistance then writeFloat(cdo + offs.MaxDistance, 100000.0) end
    if offs.FadeInDuration then writeFloat(cdo + offs.FadeInDuration, 0.0) end
    if offs.FadeInStart then writeFloat(cdo + offs.FadeInStart, 0.0) end
end

boostEnemyCDO(cdoAI)
boostEnemyCDO(cdoVil)

-- Boost destructible walls / riddle clues investigation distance
if cdoWall and offs.InvestigateMaxDist then
    writeFloat(cdoWall + offs.InvestigateMaxDist, 100000.0)
end

-- Allow all gadgets to be aimed/used during Detective Mode without closing it
local gadgetClass = UE3.FindClass("RInventoryGadget")
if gadgetClass then
    local curr = gadgetClass
    while curr ~= 0 do
        local field = readInteger(curr + UE3.Offsets.UStruct_PropertyLink)
        while field ~= 0 and field ~= nil do
            if UE3.GetObjectName(field) == "bCanUseXRay" then
                local off = readInteger(field + UE3.Offsets.UProperty_Offset)
                local mask = readInteger(field + 0x70)
                if off and mask then
                    local gadgetClasses = { "RBatarang", "RGooSpray", "RHarpoonGun", "RHarpoonGunLv2", "RBatarang_MultiTarget", "RBatarang_Controllable" }
                    for _, gClsName in ipairs(gadgetClasses) do
                        local gCls = UE3.FindClass(gClsName)
                        local gCDO = gCls and UE3.GetCDO(gCls)
                        if gCDO then
                            local val = readInteger(gCDO + off)
                            writeInteger(gCDO + off, bOr(val, mask))
                        end
                    end
                    break
                end
            end
            field = readInteger(field + UE3.Offsets.UProperty_PropertyLinkNext)
        end
        curr = readInteger(curr + UE3.Offsets.UStruct_SuperField)
    end
end

pcall(function() beep() end)
print("[Enhanced Detective Mode] Enabled: Full Map X-Ray (100k Units), Instant Silhouette, No Gadget Restrictions.")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if EnhancedDetective_Backup then
    local b = EnhancedDetective_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoAI and b.cdoAI ~= 0 then
            if offs.MaxDistance then writeFloat(b.cdoAI + offs.MaxDistance, b.AI_MaxDist) end
            if offs.FadeInDuration then writeFloat(b.cdoAI + offs.FadeInDuration, b.AI_FadeIn) end
        end

        if b.cdoVil and b.cdoVil ~= 0 then
            if offs.MaxDistance then writeFloat(b.cdoVil + offs.MaxDistance, b.Vil_MaxDist) end
            if offs.FadeInDuration then writeFloat(b.cdoVil + offs.FadeInDuration, b.Vil_FadeIn) end
        end

        if b.cdoWall and b.cdoWall ~= 0 then
            if offs.InvestigateMaxDist then writeFloat(b.cdoWall + offs.InvestigateMaxDist, b.Wall_InvestDist) end
        end
    end)

    EnhancedDetective_Backup = nil
    pcall(function() beep() end)
    print("[Enhanced Detective Mode] Disabled: Original Detective Vision parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27044</ID>
          <Description>"  -&gt; [Gadget] Super Batarang (10 Targets, Rapid-Fire, Max Range, Infinite RC Flight)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Super Batarang] UE3 Framework must be initialized first!")
end

local cMulti = UE3.FindClass("RBatarang_MultiTarget")
local cBat = UE3.FindClass("RBatarang")
local cProj = UE3.FindClass("RBatarangProjectile_Controllable")
local cCtrl = UE3.FindClass("RBatarang_Controllable")
local pawnClass = UE3.FindClass("RPawnPlayer") or UE3.FindClass("Pawn")
local invMgrClass = UE3.FindClass("RInventoryManager") or UE3.FindClass("InventoryManager")

if not cMulti or not cBat or not cProj then
    error("[Super Batarang] Could not find required UE3 Batarang classes!")
end

local cdoMulti = UE3.GetCDO(cMulti)
local cdoBat = UE3.GetCDO(cBat)
local cdoProj = UE3.GetCDO(cProj)
local cdoCtrl = UE3.GetCDO(cCtrl)

if not cdoMulti or not cdoBat or not cdoProj then
    error("[Super Batarang] Could not find Batarang Class Default Objects!")
end

local offs = {
    Multi_MaxTargets = UE3.GetPropertyOffset(cMulti, "MaxNumTargets"),
    Multi_AutoRange = UE3.GetPropertyOffset(cMulti, "AutoTargetRange"),
    Multi_AutoAngle = UE3.GetPropertyOffset(cMulti, "AutoTargetAngle"),
    Multi_Range = UE3.GetPropertyOffset(cMulti, "BatarangRange"),
    Multi_Recharge = UE3.GetPropertyOffset(cMulti, "InterThrowRechargeTime"),
    Multi_ThrowSpeed = UE3.GetPropertyOffset(cMulti, "ThrowSpeed"),

    Bat_Recharge = UE3.GetPropertyOffset(cBat, "InterThrowRechargeTime"),
    Bat_AutoRange = UE3.GetPropertyOffset(cBat, "AutoTargetRange"),
    Bat_AutoAngle = UE3.GetPropertyOffset(cBat, "AutoTargetAngle"),
    Bat_Range = UE3.GetPropertyOffset(cBat, "BatarangRange"),
    Bat_ThrowSpeed = UE3.GetPropertyOffset(cBat, "ThrowSpeed"),

    Proj_CtrlTime = UE3.GetPropertyOffset(cProj, "ControlledTime"),
    Proj_TurnRate = UE3.GetPropertyOffset(cProj, "TurnRate"),
    Proj_MaxSpeed = UE3.GetPropertyOffset(cProj, "MaxSpeed"),
    Proj_PitchVel = UE3.GetPropertyOffset(cProj, "MaxPitchVel"),
    Proj_YawVel = UE3.GetPropertyOffset(cProj, "MaxYawVel"),

    LastProj = cCtrl and UE3.GetPropertyOffset(cCtrl, "LastProjectile") or nil,
    InvManager = pawnClass and UE3.GetPropertyOffset(pawnClass, "InvManager") or nil,
    CurrentGadget = invMgrClass and UE3.GetPropertyOffset(invMgrClass, "CurrentGadget") or nil,
    CurrentRecharge = UE3.GetPropertyOffset(cBat, "CurrentRechargeTime")
}

SuperBatarang_Backup = {
    cdoMulti = cdoMulti,
    cdoBat = cdoBat,
    cdoProj = cdoProj,
    offs = offs,
    Multi_MaxTargets = readInteger(cdoMulti + offs.Multi_MaxTargets),
    Multi_AutoRange = readFloat(cdoMulti + offs.Multi_AutoRange),
    Multi_AutoAngle = readFloat(cdoMulti + offs.Multi_AutoAngle),
    Multi_Range = readFloat(cdoMulti + offs.Multi_Range),
    Multi_Recharge = readFloat(cdoMulti + offs.Multi_Recharge),
    Multi_Speed = readFloat(cdoMulti + offs.Multi_ThrowSpeed),

    Bat_Recharge = readFloat(cdoBat + offs.Bat_Recharge),
    Bat_AutoRange = readFloat(cdoBat + offs.Bat_AutoRange),
    Bat_AutoAngle = readFloat(cdoBat + offs.Bat_AutoAngle),
    Bat_Range = readFloat(cdoBat + offs.Bat_Range),
    Bat_Speed = readFloat(cdoBat + offs.Bat_ThrowSpeed),

    Proj_CtrlTime = readFloat(cdoProj + offs.Proj_CtrlTime),
    Proj_TurnRate = readFloat(cdoProj + offs.Proj_TurnRate),
    Proj_MaxSpeed = readFloat(cdoProj + offs.Proj_MaxSpeed),
    Proj_PitchVel = readFloat(cdoProj + offs.Proj_PitchVel),
    Proj_YawVel = readFloat(cdoProj + offs.Proj_YawVel)
}

writeInteger(cdoMulti + offs.Multi_MaxTargets, 10)
writeFloat(cdoMulti + offs.Multi_AutoRange, 8000.0)
writeFloat(cdoMulti + offs.Multi_AutoAngle, 180.0)
writeFloat(cdoMulti + offs.Multi_Range, 25000.0)
writeFloat(cdoMulti + offs.Multi_Recharge, 0.0)
writeFloat(cdoMulti + offs.Multi_ThrowSpeed, 5000.0)

writeFloat(cdoBat + offs.Bat_Recharge, 0.0)
writeFloat(cdoBat + offs.Bat_AutoRange, 8000.0)
writeFloat(cdoBat + offs.Bat_AutoAngle, 180.0)
writeFloat(cdoBat + offs.Bat_Range, 25000.0)
writeFloat(cdoBat + offs.Bat_ThrowSpeed, 5000.0)

writeFloat(cdoProj + offs.Proj_CtrlTime, 120.0)
writeFloat(cdoProj + offs.Proj_TurnRate, 3600.0)
writeFloat(cdoProj + offs.Proj_MaxSpeed, 3200.0)
writeFloat(cdoProj + offs.Proj_PitchVel, 360.0)
writeFloat(cdoProj + offs.Proj_YawVel, 720.0)

if SuperBatarang_Timer then
    SuperBatarang_Timer.destroy()
    SuperBatarang_Timer = nil
end

SuperBatarang_Timer = createTimer()
SuperBatarang_Timer.Interval = 200
SuperBatarang_Timer.OnTimer = function(t)
    pcall(function()
        if cdoCtrl and offs.LastProj and offs.Proj_CtrlTime then
            local p = readPointer(cdoCtrl + offs.LastProj)
            if p and p &gt; 0x10000 then
                local tRem = readFloat(p + offs.Proj_CtrlTime)
                if tRem and tRem &lt; 60.0 then
                    writeFloat(p + offs.Proj_CtrlTime, 120.0)
                end
            end
        end

        if offs.InvManager and offs.CurrentGadget then
            local pawn = UE3.GetPlayerPawn()
            if pawn and pawn ~= 0 then
                local invMgr = readInteger(pawn + offs.InvManager)
                if invMgr and invMgr ~= 0 then
                    local currG = readPointer(invMgr + offs.CurrentGadget)
                    if currG and currG &gt; 0x10000 then
                        if offs.CurrentRecharge then writeFloat(currG + offs.CurrentRecharge, 0.0) end
                        if offs.Bat_Recharge then writeFloat(currG + offs.Bat_Recharge, 0.0) end
                    end
                end
            end
        end
    end)
end

pcall(function() beep() end)
print("[Super Batarang] Enabled: 10 Targets, Rapid-Fire, Max Range, Infinite RC Flight.")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if SuperBatarang_Timer then
    SuperBatarang_Timer.destroy()
    SuperBatarang_Timer = nil
end

if SuperBatarang_Backup then
    local b = SuperBatarang_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoMulti and b.cdoMulti ~= 0 then
            writeInteger(b.cdoMulti + offs.Multi_MaxTargets, b.Multi_MaxTargets)
            writeFloat(b.cdoMulti + offs.Multi_AutoRange, b.Multi_AutoRange)
            writeFloat(b.cdoMulti + offs.Multi_AutoAngle, b.Multi_AutoAngle)
            writeFloat(b.cdoMulti + offs.Multi_Range, b.Multi_Range)
            writeFloat(b.cdoMulti + offs.Multi_Recharge, b.Multi_Recharge)
            writeFloat(b.cdoMulti + offs.Multi_ThrowSpeed, b.Multi_Speed)
        end

        if b.cdoBat and b.cdoBat ~= 0 then
            writeFloat(b.cdoBat + offs.Bat_Recharge, b.Bat_Recharge)
            writeFloat(b.cdoBat + offs.Bat_AutoRange, b.Bat_AutoRange)
            writeFloat(b.cdoBat + offs.Bat_AutoAngle, b.Bat_AutoAngle)
            writeFloat(b.cdoBat + offs.Bat_Range, b.Bat_Range)
            writeFloat(b.cdoBat + offs.Bat_ThrowSpeed, b.Bat_Speed)
        end

        if b.cdoProj and b.cdoProj ~= 0 then
            writeFloat(b.cdoProj + offs.Proj_CtrlTime, b.Proj_CtrlTime)
            writeFloat(b.cdoProj + offs.Proj_TurnRate, b.Proj_TurnRate)
            writeFloat(b.cdoProj + offs.Proj_MaxSpeed, b.Proj_MaxSpeed)
            writeFloat(b.cdoProj + offs.Proj_PitchVel, b.Proj_PitchVel)
            writeFloat(b.cdoProj + offs.Proj_YawVel, b.Proj_YawVel)
        end
    end)

    SuperBatarang_Backup = nil
    pcall(function() beep() end)
    print("[Super Batarang] Disabled: Original Batarang parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27045</ID>
          <Description>"  -&gt; [Gadget] Infinite Explosive Gel (No Reload, Rapid Detonation, Max Damage)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Explosive Gel] UE3 Framework must be initialized first!")
end

local cGoo = UE3.FindClass("RGooSpray")
local cMine = UE3.FindClass("RExplosiveGooMine")
local pawnClass = UE3.FindClass("RPawnPlayer") or UE3.FindClass("Pawn")
local invMgrClass = UE3.FindClass("RInventoryManager") or UE3.FindClass("InventoryManager")

if not cGoo or not cMine then
    error("[Explosive Gel] Could not find required UE3 Gel classes!")
end

local cdoGoo = UE3.GetCDO(cGoo)
local cdoMine = UE3.GetCDO(cMine)

if not cdoGoo or not cdoMine then
    error("[Explosive Gel] Could not find Gel Class Default Objects!")
end

local offs = {
    MaxAmmo = UE3.GetPropertyOffset(cGoo, "MaxAmmo"),
    Ammo = UE3.GetPropertyOffset(cGoo, "Ammo"),
    CurrentRecharge = UE3.GetPropertyOffset(cGoo, "CurrentRechargeTime"),
    InterRecharge = UE3.GetPropertyOffset(cGoo, "InterThrowRechargeTime"),
    FirstExplodeTime = UE3.GetPropertyOffset(cGoo, "FirstExplodeTime"),
    SubsequentExplodeDelay = UE3.GetPropertyOffset(cGoo, "SubsequentExplodeDelay"),
    GelDamage = UE3.GetPropertyOffset(cMine, "GelDamage"),
    AmmoPerMine = UE3.GetPropertyOffset(cMine, "AmmoPerMine"),
    InvManager = pawnClass and UE3.GetPropertyOffset(pawnClass, "InvManager") or nil,
    CurrentGadget = invMgrClass and UE3.GetPropertyOffset(invMgrClass, "CurrentGadget") or nil
}

ExplosiveGel_Backup = {
    cdoGoo = cdoGoo,
    cdoMine = cdoMine,
    offs = offs,
    MaxAmmo = offs.MaxAmmo and readInteger(cdoGoo + offs.MaxAmmo) or 3,
    Ammo = offs.Ammo and readInteger(cdoGoo + offs.Ammo) or 0,
    FirstExplodeTime = offs.FirstExplodeTime and readFloat(cdoGoo + offs.FirstExplodeTime) or 0.15,
    SubsequentExplodeDelay = offs.SubsequentExplodeDelay and readFloat(cdoGoo + offs.SubsequentExplodeDelay) or 0.25,
    GelDamage = offs.GelDamage and readInteger(cdoMine + offs.GelDamage) or 3,
    AmmoPerMine = offs.AmmoPerMine and readInteger(cdoMine + offs.AmmoPerMine) or 1
}

-- Apply buffs to Gel CDOs
if offs.MaxAmmo then writeInteger(cdoGoo + offs.MaxAmmo, 99) end
if offs.Ammo then writeInteger(cdoGoo + offs.Ammo, 99) end
if offs.FirstExplodeTime then writeFloat(cdoGoo + offs.FirstExplodeTime, 0.02) end
if offs.SubsequentExplodeDelay then writeFloat(cdoGoo + offs.SubsequentExplodeDelay, 0.05) end
if offs.CurrentRecharge then writeFloat(cdoGoo + offs.CurrentRecharge, 0.0) end
if offs.InterRecharge then writeFloat(cdoGoo + offs.InterRecharge, 0.0) end

if offs.AmmoPerMine then writeInteger(cdoMine + offs.AmmoPerMine, 0) end
if offs.GelDamage then writeInteger(cdoMine + offs.GelDamage, 50) end

if ExplosiveGel_Timer then
    ExplosiveGel_Timer.destroy()
    ExplosiveGel_Timer = nil
end

ExplosiveGel_Timer = createTimer()
ExplosiveGel_Timer.Interval = 200
ExplosiveGel_Timer.OnTimer = function(t)
    pcall(function()
        if offs.InvManager and offs.CurrentGadget then
            local pawn = UE3.GetPlayerPawn()
            if pawn and pawn ~= 0 then
                local invMgr = readInteger(pawn + offs.InvManager)
                if invMgr and invMgr ~= 0 then
                    local currG = readPointer(invMgr + offs.CurrentGadget)
                    if currG and currG &gt; 0x10000 and UE3.GetClassName(currG) == "RGooSpray" then
                        if offs.Ammo then writeInteger(currG + offs.Ammo, 99) end
                        if offs.MaxAmmo then writeInteger(currG + offs.MaxAmmo, 99) end
                        if offs.CurrentRecharge then writeFloat(currG + offs.CurrentRecharge, 0.0) end
                    end
                end
            end
        end
    end)
end

pcall(function() beep() end)
print("[Explosive Gel] Enabled: Infinite Ammo (0 cost per mine), Instant Recharge &amp; Detonation.")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if ExplosiveGel_Timer then
    ExplosiveGel_Timer.destroy()
    ExplosiveGel_Timer = nil
end

if ExplosiveGel_Backup then
    local b = ExplosiveGel_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoGoo and b.cdoGoo ~= 0 then
            if offs.MaxAmmo then writeInteger(b.cdoGoo + offs.MaxAmmo, b.MaxAmmo) end
            if offs.Ammo then writeInteger(b.cdoGoo + offs.Ammo, b.Ammo) end
            if offs.FirstExplodeTime then writeFloat(b.cdoGoo + offs.FirstExplodeTime, b.FirstExplodeTime) end
            if offs.SubsequentExplodeDelay then writeFloat(b.cdoGoo + offs.SubsequentExplodeDelay, b.SubsequentExplodeDelay) end
        end

        if b.cdoMine and b.cdoMine ~= 0 then
            if offs.AmmoPerMine then writeInteger(b.cdoMine + offs.AmmoPerMine, b.AmmoPerMine) end
            if offs.GelDamage then writeInteger(b.cdoMine + offs.GelDamage, b.GelDamage) end
        end
    end)

    ExplosiveGel_Backup = nil
    pcall(function() beep() end)
    print("[Explosive Gel] Disabled: Original Gel parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27046</ID>
          <Description>"  -&gt; [Gadget] Ultra Batclaw (10 Targets, Massive Reach, Instant Yank)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Ultra Batclaw] UE3 Framework must be initialized first!")
end

local cH1 = UE3.FindClass("RHarpoonGun")
local cH2 = UE3.FindClass("RHarpoonGunLv2")
local cProj = UE3.FindClass("RHarpoonProjectile")
local pcClass = UE3.FindClass("RPlayerController") or UE3.FindClass("PlayerController")

if not cH1 or not cProj then
    error("[Ultra Batclaw] Could not find required Batclaw classes!")
end

local cdoH1 = UE3.GetCDO(cH1)
local cdoH2 = UE3.GetCDO(cH2)
local cdoProj = UE3.GetCDO(cProj)

if not cdoH1 or not cdoProj then
    error("[Ultra Batclaw] Could not find Batclaw Class Default Objects!")
end

local offs = {
    YankRadius = UE3.GetPropertyOffset(cH1, "HarpoonYankRadius"),
    MaxYankTargets = UE3.GetPropertyOffset(cH1, "MaxYankTargets"),
    TargetAngle = UE3.GetPropertyOffset(cH1, "EnemyTargetAngle"),
    InterRecharge = UE3.GetPropertyOffset(cH1, "InterThrowRechargeTime"),
    FireDuration = UE3.GetPropertyOffset(cProj, "FireDuration"),
    FireReturnDuration = UE3.GetPropertyOffset(cProj, "FireReturnDuration"),
    GrapplePullStrength = pcClass and UE3.GetPropertyOffset(pcClass, "GrapplePullStrength") or nil
}

UltraBatclaw_Backup = {
    cdoH1 = cdoH1,
    cdoH2 = cdoH2,
    cdoProj = cdoProj,
    offs = offs,
    H1_YankRadius = offs.YankRadius and readFloat(cdoH1 + offs.YankRadius) or 0.0,
    H1_MaxTargets = offs.MaxYankTargets and readInteger(cdoH1 + offs.MaxYankTargets) or 0,
    H1_TargetAngle = offs.TargetAngle and readFloat(cdoH1 + offs.TargetAngle) or 8.0,
    H2_YankRadius = (cdoH2 and offs.YankRadius) and readFloat(cdoH2 + offs.YankRadius) or 500.0,
    H2_MaxTargets = (cdoH2 and offs.MaxYankTargets) and readInteger(cdoH2 + offs.MaxYankTargets) or 3,
    H2_TargetAngle = (cdoH2 and offs.TargetAngle) and readFloat(cdoH2 + offs.TargetAngle) or 20.0,
    Proj_FireDuration = offs.FireDuration and readFloat(cdoProj + offs.FireDuration) or 0.2,
    Proj_FireReturnDuration = offs.FireReturnDuration and readFloat(cdoProj + offs.FireReturnDuration) or 0.3
}

-- Apply buffs to Batclaw Lv1 and Lv2
local function applyH(cdo)
    if not cdo or cdo == 0 then return end
    if offs.YankRadius then writeFloat(cdo + offs.YankRadius, 8000.0) end
    if offs.MaxYankTargets then writeInteger(cdo + offs.MaxYankTargets, 10) end
    if offs.TargetAngle then writeFloat(cdo + offs.TargetAngle, 180.0) end
    if offs.InterRecharge then writeFloat(cdo + offs.InterRecharge, 0.0) end
end

applyH(cdoH1)
applyH(cdoH2)

-- Apply buffs to Projectile (instant reach and yank)
if offs.FireDuration then writeFloat(cdoProj + offs.FireDuration, 0.05) end
if offs.FireReturnDuration then writeFloat(cdoProj + offs.FireReturnDuration, 0.12) end

-- Boost Grapple Pull Strength on player controller
pcall(function()
    local pc = UE3.GetPlayerController()
    if pc and pc ~= 0 and offs.GrapplePullStrength then
        writeFloat(pc + offs.GrapplePullStrength, 5000.0)
    end
end)

pcall(function() beep() end)
print("[Ultra Batclaw] Enabled: 10 Targets, 8000 Radius, 180 Angle, Instant Yank.")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if UltraBatclaw_Backup then
    local b = UltraBatclaw_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoH1 and b.cdoH1 ~= 0 then
            if offs.YankRadius then writeFloat(b.cdoH1 + offs.YankRadius, b.H1_YankRadius) end
            if offs.MaxYankTargets then writeInteger(b.cdoH1 + offs.MaxYankTargets, b.H1_MaxTargets) end
            if offs.TargetAngle then writeFloat(b.cdoH1 + offs.TargetAngle, b.H1_TargetAngle) end
        end

        if b.cdoH2 and b.cdoH2 ~= 0 then
            if offs.YankRadius then writeFloat(b.cdoH2 + offs.YankRadius, b.H2_YankRadius) end
            if offs.MaxYankTargets then writeInteger(b.cdoH2 + offs.MaxYankTargets, b.H2_MaxTargets) end
            if offs.TargetAngle then writeFloat(b.cdoH2 + offs.TargetAngle, b.H2_TargetAngle) end
        end

        if b.cdoProj and b.cdoProj ~= 0 then
            if offs.FireDuration then writeFloat(b.cdoProj + offs.FireDuration, b.Proj_FireDuration) end
            if offs.FireReturnDuration then writeFloat(b.cdoProj + offs.FireReturnDuration, b.Proj_FireReturnDuration) end
        end
    end)

    UltraBatclaw_Backup = nil
    pcall(function() beep() end)
    print("[Ultra Batclaw] Disabled: Original Batclaw parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27048</ID>
          <Description>"  -&gt; [Gadget] Turbo Line Launcher (3x Speed, Any Angle, Instant Launch)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Line Launcher] UE3 Framework must be initialized first!")
end

local cLine = UE3.FindClass("RLineLauncher")
if not cLine then
    error("[Line Launcher] Could not find RLineLauncher class!")
end

local cdoLine = UE3.GetCDO(cLine)
if not cdoLine then
    error("[Line Launcher] Could not find Default__RLineLauncher CDO!")
end

local offs = {
    Speed = UE3.GetPropertyOffset(cLine, "ZipForwardMaxSpeed"),
    Accel = UE3.GetPropertyOffset(cLine, "ZipForwardAccel"),
    AttachAngle = UE3.GetPropertyOffset(cLine, "LineLauncherAttachAngle"),
    CosAttachAngle = UE3.GetPropertyOffset(cLine, "CosLineLauncherAttachAngle"),
    InterRecharge = UE3.GetPropertyOffset(cLine, "InterThrowRechargeTime"),
    CurrentRecharge = UE3.GetPropertyOffset(cLine, "CurrentRechargeTime")
}

LineLauncher_Backup = {
    cdoLine = cdoLine,
    offs = offs,
    Speed = offs.Speed and readFloat(cdoLine + offs.Speed) or 1500.0,
    Accel = offs.Accel and readFloat(cdoLine + offs.Accel) or 2500.0,
    AttachAngle = offs.AttachAngle and readFloat(cdoLine + offs.AttachAngle) or 90.0,
    CosAttachAngle = offs.CosAttachAngle and readFloat(cdoLine + offs.CosAttachAngle) or 0.0
}

-- Apply buffs: 3x Zip Speed, instant acceleration, attach between any surfaces
if offs.Speed then writeFloat(cdoLine + offs.Speed, 4500.0) end
if offs.Accel then writeFloat(cdoLine + offs.Accel, 8000.0) end
if offs.AttachAngle then writeFloat(cdoLine + offs.AttachAngle, 175.0) end
if offs.CosAttachAngle then writeFloat(cdoLine + offs.CosAttachAngle, -0.99) end
if offs.InterRecharge then writeFloat(cdoLine + offs.InterRecharge, 0.0) end
if offs.CurrentRecharge then writeFloat(cdoLine + offs.CurrentRecharge, 0.0) end

pcall(function() beep() end)
print("[Line Launcher] Enabled: 3x Speed (4500), Instant Accel, Wide Angle Attachment (175 deg).")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if LineLauncher_Backup then
    local b = LineLauncher_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoLine and b.cdoLine ~= 0 then
            if offs.Speed then writeFloat(b.cdoLine + offs.Speed, b.Speed) end
            if offs.Accel then writeFloat(b.cdoLine + offs.Accel, b.Accel) end
            if offs.AttachAngle then writeFloat(b.cdoLine + offs.AttachAngle, b.AttachAngle) end
            if offs.CosAttachAngle then writeFloat(b.cdoLine + offs.CosAttachAngle, b.CosAttachAngle) end
        end
    end)

    LineLauncher_Backup = nil
    pcall(function() beep() end)
    print("[Line Launcher] Disabled: Original parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27049</ID>
          <Description>"  -&gt; [Gadget] Instant Sequencer Hack (Auto Sweet-Spot, Infinite Range)"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    error("[Cryptographic Sequencer] UE3 Framework must be initialized first!")
end

local cTuner = UE3.FindClass("RResonatorTuner")
local cDisrupt = UE3.FindClass("RDisruptableObjectBase")
local pawnClass = UE3.FindClass("RPawnPlayer") or UE3.FindClass("Pawn")
local invMgrClass = UE3.FindClass("RInventoryManager") or UE3.FindClass("InventoryManager")

if not cTuner or not cDisrupt then
    error("[Cryptographic Sequencer] Could not find required Sequencer classes!")
end

local cdoTuner = UE3.GetCDO(cTuner)
if not cdoTuner then
    error("[Cryptographic Sequencer] Could not find Default__RResonatorTuner CDO!")
end

local offs = {
    DisruptorRange = UE3.GetPropertyOffset(cTuner, "DisruptorRange"),
    ExtendedRange = UE3.GetPropertyOffset(cTuner, "ExtendedRange"),
    SuperRange = UE3.GetPropertyOffset(cTuner, "SuperRange"),
    CurrentTarget = UE3.GetPropertyOffset(cTuner, "CurrentTarget"),
    FrequencyScore = UE3.GetPropertyOffset(cTuner, "FrequencyScore"),
    TotalScore = UE3.GetPropertyOffset(cTuner, "TotalScore"),
    LeftThumbOffset = UE3.GetPropertyOffset(cTuner, "LeftThumbOffset"),
    RightThumbOffset = UE3.GetPropertyOffset(cTuner, "RightThumbOffset"),
    LeftFreq = UE3.GetPropertyOffset(cDisrupt, "LeftResonantFrequency"),
    RightFreq = UE3.GetPropertyOffset(cDisrupt, "RightResonantFrequency"),
    InvManager = pawnClass and UE3.GetPropertyOffset(pawnClass, "InvManager") or nil,
    CurrentGadget = invMgrClass and UE3.GetPropertyOffset(invMgrClass, "CurrentGadget") or nil
}

Sequencer_Backup = {
    cdoTuner = cdoTuner,
    offs = offs,
    DisruptorRange = offs.DisruptorRange and readFloat(cdoTuner + offs.DisruptorRange) or 250.0,
    ExtendedRange = offs.ExtendedRange and readFloat(cdoTuner + offs.ExtendedRange) or 2000.0,
    SuperRange = offs.SuperRange and readFloat(cdoTuner + offs.SuperRange) or 4000.0
}

-- Apply buffs: 50,000 units range (cross-room / cross-map hack)
if offs.DisruptorRange then writeFloat(cdoTuner + offs.DisruptorRange, 50000.0) end
if offs.ExtendedRange then writeFloat(cdoTuner + offs.ExtendedRange, 50000.0) end
if offs.SuperRange then writeFloat(cdoTuner + offs.SuperRange, 50000.0) end

if Sequencer_Timer then
    Sequencer_Timer.destroy()
    Sequencer_Timer = nil
end

Sequencer_Timer = createTimer()
Sequencer_Timer.Interval = 100
Sequencer_Timer.OnTimer = function(t)
    pcall(function()
        if not offs.InvManager or not offs.CurrentGadget then return end
        local pawn = UE3.GetPlayerPawn()
        if not pawn or pawn == 0 then return end
        local invMgr = readInteger(pawn + offs.InvManager)
        if not invMgr or invMgr == 0 then return end
        local currG = readPointer(invMgr + offs.CurrentGadget)
        if not currG or currG == 0 or UE3.GetClassName(currG) ~= "RResonatorTuner" then return end

        -- If target terminal exists, instantly match sweet-spot frequencies and complete hack
        if offs.CurrentTarget then
            local target = readPointer(currG + offs.CurrentTarget)
            if target and target &gt; 0x10000 then
                if offs.LeftFreq and offs.LeftThumbOffset then
                    local lFreq = readFloat(target + offs.LeftFreq)
                    if lFreq then writeFloat(currG + offs.LeftThumbOffset, lFreq) end
                end
                if offs.RightFreq and offs.RightThumbOffset then
                    local rFreq = readFloat(target + offs.RightFreq)
                    if rFreq then writeFloat(currG + offs.RightThumbOffset, rFreq) end
                end
                if offs.FrequencyScore then writeFloat(currG + offs.FrequencyScore, 1.0) end
                if offs.TotalScore then writeFloat(currG + offs.TotalScore, 1.0) end
            end
        end
    end)
end

pcall(function() beep() end)
print("[Cryptographic Sequencer] Enabled: Auto Sweet-Spot, Instant 100% Score, 50k Range.")

{$asm}

[DISABLE]
{$lua}
if syntaxcheck then return end

if Sequencer_Timer then
    Sequencer_Timer.destroy()
    Sequencer_Timer = nil
end

if Sequencer_Backup then
    local b = Sequencer_Backup
    local offs = b.offs

    pcall(function()
        if b.cdoTuner and b.cdoTuner ~= 0 then
            if offs.DisruptorRange then writeFloat(b.cdoTuner + offs.DisruptorRange, b.DisruptorRange) end
            if offs.ExtendedRange then writeFloat(b.cdoTuner + offs.ExtendedRange, b.ExtendedRange) end
            if offs.SuperRange then writeFloat(b.cdoTuner + offs.SuperRange, b.SuperRange) end
        end
    end)

    Sequencer_Backup = nil
    pcall(function() beep() end)
    print("[Cryptographic Sequencer] Disabled: Original parameters restored.")
end

{$asm}
</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>27052</ID>
          <Description>"  -&gt; [Debug (tests)]"</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>27053</ID>
              <Description>"  -&gt; [Action] Print Player Position &amp; Status"</Description>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local pawn = UE3.GetPlayerPawn()
    if not pawn or pawn == 0 then
        print("[Error] Batman Pawn not found. Are you in a game?")
        memoryrecord_setActive(memrec, false)
        return
    end

    local function getProp(cls, name)
        local c = cls
        while c and c ~= 0 do
            local cur = readPointer(c + 0x40)
            while cur and cur ~= 0 do
                if UE3.GetObjectName(cur) == name then
                    local off = readInteger(cur + 0x44)
                    if not off or off == 0 then off = readInteger(cur + 0x54) end
                    return off
                end
                cur = readPointer(cur + 0x34)
            end
            c = readPointer(c + 0x30)
        end
        return nil
    end

    local pawnCls = UE3.GetObjectClass(pawn)
    local offLoc = getProp(pawnCls, "Location")
    local offHealth = getProp(pawnCls, "Health")
    local offHealthMax = getProp(pawnCls, "HealthMax")

    local x = offLoc and readFloat(pawn + offLoc) or 0
    local y = offLoc and readFloat(pawn + offLoc + 4) or 0
    local z = offLoc and readFloat(pawn + offLoc + 8) or 0
    local hp = offHealth and readInteger(pawn + offHealth) or 0
    local maxHp = offHealthMax and readInteger(pawn + offHealthMax) or 0

    local oGoo = getProp(pawnCls, "GooSpray")
    local oHarpoon = getProp(pawnCls, "HarpoonGun")
    local oResonator = getProp(pawnCls, "ResonatorTuner")
    local oLauncher = getProp(pawnCls, "LineLauncher")

    print("==================================================")
    print(string.format("[Batman Status] Pawn: 0x%X (%s)", pawn, UE3.GetObjectName(pawnCls)))
    print(string.format("  - Position: X = %.2f, Y = %.2f, Z = %.2f", x, y, z))
    print(string.format("  - Health: %d / %d", hp, maxHp))
    print("  - Gadgets Equipped in Pawn:")
    print(string.format("    * Explosive Gel: %s", (oGoo and readPointer(pawn + oGoo) ~= 0) and "YES" or "NO"))
    print(string.format("    * Batclaw / Harpoon: %s", (oHarpoon and readPointer(pawn + oHarpoon) ~= 0) and "YES" or "NO"))
    print(string.format("    * Cryptographic Sequencer: %s", (oResonator and readPointer(pawn + oResonator) ~= 0) and "YES" or "NO"))
    print(string.format("    * Line Launcher: %s", (oLauncher and readPointer(pawn + oLauncher) ~= 0) and "YES" or "NO"))
    print("==================================================")
    beep()
end)

memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>27054</ID>
              <Description>"  -&gt; [Action] Teleport Player Up (+500 Z)"</Description>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local pawn = UE3.GetPlayerPawn()
    if not pawn or pawn == 0 then
        print("[Error] Batman Pawn not found. Are you in a game?")
        memoryrecord_setActive(memrec, false)
        return
    end

    local function getProp(cls, name)
        local c = cls
        while c and c ~= 0 do
            local cur = readPointer(c + 0x40)
            while cur and cur ~= 0 do
                if UE3.GetObjectName(cur) == name then
                    local off = readInteger(cur + 0x44)
                    if not off or off == 0 then off = readInteger(cur + 0x54) end
                    return off
                end
                cur = readPointer(cur + 0x34)
            end
            c = readPointer(c + 0x30)
        end
        return nil
    end

    local pawnCls = UE3.GetObjectClass(pawn)
    local offLoc = getProp(pawnCls, "Location")
    if not offLoc then
        print("[Error] Location property offset not found.")
        memoryrecord_setActive(memrec, false)
        return
    end

    local curZ = readFloat(pawn + offLoc + 8) or 0
    local newZ = curZ + 500.0
    writeFloat(pawn + offLoc + 8, newZ)

    print(string.format("[Teleport] Batman moved UP (+500 Z): %.2f -&gt; %.2f", curZ, newZ))
    beep()
end)

memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>27055</ID>
              <Description>"  -&gt; [Action] Dump Class Properties (Console)"</Description>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local ok, val = inputQuery("UE3 Dump Class Properties", "Enter Class Name to inspect (e.g. RPawnPlayerBm, RPersistentData, Pawn, Weapon):\n(Or type 'list' or '*' to print all classes)", "RPawnPlayerBm")
    local inputStr = nil
    if type(ok) == "boolean" then
        if not ok then memoryrecord_setActive(memrec, false); return end
        inputStr = val
    elseif type(ok) == "string" then
        inputStr = ok
    end

    if not inputStr or inputStr == "" then
        memoryrecord_setActive(memrec, false)
        return
    end

    inputStr = inputStr:match("^%s*(.-)%s*$")

    if inputStr:lower() == "list" or inputStr == "*" or inputStr:lower() == "all" then
        local classList = {}
        for i = 0, UE3.GObjectsCount - 1 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj ~= 0 then
                local cObj = UE3.GetObjectClass(obj)
                if UE3.GetObjectName(cObj) == "Class" then
                    table.insert(classList, UE3.GetObjectName(obj))
                end
            end
        end
        table.sort(classList, function(a, b) return (b &gt; a) end)
        print("==================================================")
        print(string.format("[UE3 Classes] Found %d loaded classes in GObjects:", #classList))
        for idx, name in ipairs(classList) do
            print(string.format("  [%04d] %s", idx, name))
        end
        print("==================================================")
        beep()
        memoryrecord_setActive(memrec, false)
        return
    end

    local targetClass = UE3.FindClass(inputStr)
    if not targetClass or targetClass == 0 then
        local lowerSearch = inputStr:lower()
        for i = 0, UE3.GObjectsCount - 1 do
            local obj = readPointer(UE3.GObjects + i * 4)
            if obj and obj ~= 0 then
                local cObj = UE3.GetObjectClass(obj)
                if UE3.GetObjectName(cObj) == "Class" then
                    local oName = UE3.GetObjectName(obj)
                    if oName:lower() == lowerSearch then
                        targetClass = obj
                        break
                    end
                end
            end
        end
    end

    if not targetClass or targetClass == 0 then
        print(string.format("[Error] Class '%s' not found in GObjects!", inputStr))
        print("Tip: Run '[Action] List All Available Classes' to browse valid class names.")
        memoryrecord_setActive(memrec, false)
        return
    end

    local actualName = UE3.GetObjectName(targetClass)
    print("==================================================")
    print(string.format("[UE3 Class Reflection] Class: %s (0x%X)", actualName, targetClass))

    local classHierarchy = {}
    local curr = targetClass
    while curr and curr ~= 0 do
        table.insert(classHierarchy, curr)
        curr = readPointer(curr + 0x30)
    end

    local totalProps = 0
    for hIdx, cls in ipairs(classHierarchy) do
        local clsName = UE3.GetObjectName(cls)
        local propsInClass = {}
        local child = readPointer(cls + 0x40)
        while child and child ~= 0 do
            local childType = UE3.GetObjectName(UE3.GetObjectClass(child))
            if childType:find("Property") then
                local off = readInteger(child + 0x44)
                if not off or off == 0 then off = readInteger(child + 0x54) end
                table.insert(propsInClass, {
                    name = UE3.GetObjectName(child),
                    type = childType,
                    offset = off or 0
                })
            end
            child = readPointer(child + 0x34)
        end

        table.sort(propsInClass, function(a, b) return (b.offset &gt; a.offset) end)

        if #propsInClass &gt; 0 then
            print(string.format("\n--- [%d] Class Level: %s (%d properties) ---", hIdx, clsName, #propsInClass))
            for _, p in ipairs(propsInClass) do
                print(string.format("  +0x%03X : %-32s (%s)", p.offset, p.name, p.type))
                totalProps = totalProps + 1
            end
        end
    end

    print("==================================================")
    print(string.format("  -&gt; Total Properties (with inheritance): %d", totalProps))
    print("==================================================")
    beep()
end)

memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>27056</ID>
              <Description>"  -&gt; [Action] List All Available Classes (Console &amp; Desktop File)"</Description>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

if not UE3 or not UE3.IsInitialized then
    print("[Error] Please activate '[Initialize] Unreal Engine 3 Framework' first!")
    memoryrecord_setActive(memrec, false)
    return
end

pcall(function()
    local ok, val = inputQuery("UE3 Class Browser", "Filter classes by keyword (or '*' / leave empty for ALL classes):", "*")
    local filterStr = ""
    if type(ok) == "boolean" then
        if not ok then memoryrecord_setActive(memrec, false); return end
        filterStr = val or ""
    elseif type(ok) == "string" then
        filterStr = ok
    end

    filterStr = filterStr:match("^%s*(.-)%s*$")
    if filterStr == "*" or filterStr:lower() == "all" then filterStr = "" end

    local lowerFilter = filterStr:lower()
    local matchingClasses = {}

    for i = 0, UE3.GObjectsCount - 1 do
        local obj = readPointer(UE3.GObjects + i * 4)
        if obj and obj ~= 0 then
            local cObj = UE3.GetObjectClass(obj)
            if UE3.GetObjectName(cObj) == "Class" then
                local name = UE3.GetObjectName(obj)
                if lowerFilter == "" or name:lower():find(lowerFilter, 1, true) then
                    table.insert(matchingClasses, { name = name, addr = obj })
                end
            end
        end
    end

    table.sort(matchingClasses, function(a, b) return (b.name &gt; a.name) end)

    print("==================================================")
    if lowerFilter == "" then
        print(string.format("[UE3 Class Browser] Total Loaded Classes: %d", #matchingClasses))
    else
        print(string.format("[UE3 Class Browser] Filter '%s' matched %d classes:", filterStr, #matchingClasses))
    end

    local userProfile = os.getenv("USERPROFILE")
    local desktopFile = userProfile and (userProfile .. "\\Desktop\\UE3_Arkham_Asylum_Classes.txt")
    if desktopFile then
        local f = io.open(desktopFile, "w")
        if f then
            f:write("==================================================\n")
            f:write(string.format("Unreal Engine 3 - Batman: Arkham Asylum Class List (%d Classes)\n", #matchingClasses))
            f:write("==================================================\n\n")
            for idx, item in ipairs(matchingClasses) do
                f:write(string.format("[%04d] 0x%08X : %s\n", idx, item.addr, item.name))
            end
            f:close()
            print(string.format("  -&gt; Complete list saved to Desktop: %s", desktopFile))
        end
    end

    local maxPrint = 100
    for idx, item in ipairs(matchingClasses) do
        if idx &gt; maxPrint then
            print(string.format("  ... and %d more classes (see Desktop file for full list).", #matchingClasses - maxPrint))
            break
        end
        print(string.format("  [%04d] 0x%08X : %s", idx, item.addr, item.name))
    end

    print("==================================================")
    beep()
end)

memoryrecord_setActive(memrec, false)

{$asm}

[DISABLE]
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
