<?xml version='1.0' encoding='utf-8'?>
<CheatTable CheatEngineTableVersion="42">
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"[X] &lt;== Hearts of Iron IV x64 v1.16.9 (c09b) Steam Script v9.7"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1" />
      <Color>FF8080</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>define(MORW, 0x1417c53fc)
define(MUDP, 0x13ff26e7e)
define(MORI, 0x13ff1252b)
define(MOPH, 0x140cf9676)
define(MOOP, 0x13fffb302)
define(MONP, 0x13ff004f8)
define(MODP, 0x13ff75cb8)
define(MOOR, 0x141efb672)
define(MOAU, 0x13fe63676)
define(MOAC, 0x14021962c)
{
===========================================
 Game Title    : Hearts of Iron IV  (x64)
 Game Version  : 1.16.9.8bdd (c09b)
 Process Name  : hoi4.exe
 Relevant Info : 64bits/RTS/New Engine
 Script Version: 9.7 (for x64)(AOB)
 CE Version    : 7.4
 Release date  : 02-Jul-2025
 History:
 07-Jun-2019: First Release for 64bits (v1.7.0)(s7.0)(CE68)
 14-Jun-2019: Fix for some crashes + improve time to load the table(s7.1)
 23-Jun-2019: Fix for some Weak Foe (Ships) (s7.2)
 23-Jun-2019: Release for v1.7.1-f8d7 (Beta) (s7.3)
 24-Jun-2019: Release for v1.7.1-87c8 (Beta) (s7.4)
 03-Sep-2019: Fix for GM (s7.5)(CE70)
 22-Sep-2019: A script patch due to CE70 issue (s7.6)
 13-Nov-2019: Release for v1.8.0-3241 (s7.7)
 14-Nov-2019: Release for v1.8.1-aa59 (s7.8)
 01-Dec-2019: Fix for identifying the player (s7.9)
 19-Dec-2019: Fix GM for ships (s7.10)
 07-Feb-2020: Release for v1.8.2-ce2f (s7.11)
 27-Feb-2020: Release for v1.9.0-ab9c + new features (s8.0)
 02-Mar-2020: Fix Manpower (s8.1)
 09-Mar-2020: Added 4 new features(s8.2)
 10-Apr-2020: Release for v1.9.1-6d23 (s8.3)
 06-May-2020: Release for v1.9.2-a73d (s8.4)
 04-Jun-2020: Release for v1.9.3-a7a4  (s8.5)
 16-Oct-2020: Release for v1.10.1-dd56 (s8.6) (Battle for the Bosporus)
 12-Nov-2020: Release for v1.10.2-f82d (s8.7)
 26-Nov-2020: Release for v1.10.3-aa89 (s8.8) (AOB)
 07-Feb-2021: Release for v1.10.4-8878 (s8.9) (AOB)
 15-Apr-2021: Release for v1.10.5-502a (s8.10)(AOB)
 26-Nov-2021: Release for v1.11.2-7844 (s8.11) (No Step Back)
 15-Dec-2021: Release for v1.11.4-b22c (s8.12)
 30-Jan-2022: Release for v1.11.5-7e1e (s8.13)(CE7.4)
 17-Feb-2022: Release for v1.11.7-98bf (s8.14)(CE7.4)
 03-Apr-2022: Release for v1.11.9-3f99  (s8.15) (not finished)
 09-Apr-2022: Release for v1.11.10-09ac (s8.16) + New feature
 29-Sep-2022: Release for v1.12.1-a74e (s9.0) (By Blood Alone)
 12-Oct-2022: Release for v1.12.3-f3bb (s9.1) + Fix GM/WF
 21-Oct-2022: Release for v1.12.4-f96e (s9.2)
 10-Jun-2023: Release for v1.12.14-50e7 (s9.3) + Fix Deployment
 21-Oct-2023: Release for v1.13.4-0735 (s9.4)(Arms Against Tyranny) +new feature
 02-Nov-2023: Release for v1.13.5-7c31 (s9.5)
 09-Mar-2024: Release for v1.14.1-82ef (s9.6)
 02-Jul-2025: Release for v1.16.9-c09b
 Features:
 - Minimum Political Points  (700)
 - Minimum Natural Resources (250)
 - Construction in 1 day
 - Research in 1 day
 - Production in 1 day
 - Move to adjacent region in 1 hour
 - God Mode (Army/Fleet)
 - Minimum Manpower per State (7000)
 - Fill up player squadrons
 - Weak Foe (s4.0)
 - Minimum Base Stability   (80%)
 - Minimum Base War Support (50%)
 - Finish Focus in 1 day
 - Refitting in 1 day
 - Minimum Army/Navy/Air XP (268)
 - Minimum Command Points   (68)
 - Agency Construction in 1 day   (new) (s80)
 - Agency Upgrade in 1 day        (new) (s80)
 - Operative Recruitment in 1 day (new) (s80)
 - Cipher Decrypting in 1 Day     (new) (s80)
 - Deployment in 1 Day            (new) (s82)
 - Network Creation in 1 Days     (new) (s82)
 - Intel Operation in 1 Day       (new) (s82)
 - Each Operation Phase in 3 Days (new) (s82)
 - Reveal Intel in 1 day          (brand-new)(9.4)
 - Each railway in 1 day          (new) (S8.16)
 - Some Pointers
===========================================
}

//{$STRICT}

//=========================================
// Checking CE version
{$lua}
  if(getCEVersion() &lt; 7.0) then
    ShowMessage('Warning. CE version should be 7.0 or above')
  end
{$asm}

//=========================================
// Checking Selected Process
{$lua}
  if(process == nil) then
    ShowMessage('No process was selected')
  elseif (string.upper(process) ~= string.upper("hoi4.exe")) then
    ShowMessage('Warning. Expected Process = hoi4.exe')
  end
{$asm}

//=========================================
// Checking if CE mono features are ON
{$lua}
--  monoAA_USEMONO(process,false)
  if waitForPDB then --this way older CE versions are unaffected (By Dark Byte)
    waitForPDB()
  end
{$asm}

//=========================================
// Definitions
define(LUDO,"hoi4.exe")
{
define(MOHP, 0x140023575)
define(MOCP, 0x13ff0206c)
define(MOPP, 0x13ffffd48)
define(MPP1, 0x13fde0000)
define(MPP2, 0x13fe4a8ba)
define(MORP, 0x140244997)
define(MOFP, 0x1409b83d0)
define(MOAM, 0x13ff28754)
define(MAM1, 0x1408032b7)

define(MOPS,hoi4.exe+00DE73E0) //====#=======X=#===PPP
define(GDMD, 0x13fdf4399)
define(GMDS, 0x13fde01a1)
define(GDS2, 0x14031f30d)
define(MOSR, 0x141df8b7b)
define(MOMM, 0x1401c89fc)
}
// La Resistance DLC
//define(MOAC,hoi4.exe+00AE6610) //-----N====#=====#=X (+12)
//define(MOAU,hoi4.exe+00AE683C) //-----N====##====#=X (+16)
//define(MOOR,hoi4.exe+00AE69E4) //-----N#===#=====#=X
//define(MODP,hoi4.exe+01212A6D) //-----N====X=X=====X
//define(MONP,hoi4.exe+0100716C) //-----N====#=#===#==
//define(MOOP,hoi4.exe+00FE6A78) //-----N#===#=====#=X
//define(MOPH,hoi4.exe+00E1828E) //-----N====#=======X
//define(MORI,hoi4.exe+0121369A) //------------------N
// General
//define(MUDP,hoi4.exe+0124709D) //-----N===##=====#=X
// No Step Back
//define(MORW,hoi4.exe+01768B76) //---------------N==X
//=========================================
// Constants used in the script (that can be changed)
define(ctCE74,(float)7.4)

//=========================================
[ENABLE]
//=========================================
//LuaCall(CheckVersion())
//=========================================
// Check if script is compatible to this game version
// If false the script will not be loaded

// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)

// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)

// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)

// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// La Resistance DLC
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)
// AOBScanModule removed (static address)

//=========================================
alloc(MyCode,4096,$process)
//=========================================
// Declaration section
label(_MonHumanPlayer)
label(_BackMHP)
label(_MonConstProg)
label(_BackMCP)
label(_MonProdProg)
label(_BackMPP)
label(_MonProdProg1)
label(_BackPP1)
label(_MonProdProg2)
label(_BackPP2)
label(_MonResearchProg)
label(_BackMRP)
label(_MonFocusProg)
label(_BackMFP)

//label(_MonSelArmyFleet)
//label(_BackMSF)
label(_MonArmyFleetMove)
label(_BackMAM)
label(_MonArmyFleetMove1)
label(_BackAM1)
//label(_MonPlayerSquadrons)
//label(_BackMPS)
label(_GodMode)
label(_BackGMD)
label(_GodModeS)
label(_BackGMS)
label(_GodModeS2)
label(_BackGS2)

label(_MonSelRegion)
label(_BackMSR)
label(_MonMinResource)
label(_BackMMR)
label(_MonMinMP)
label(_BackMMM)

label(_MonAgencyConst)
label(_BackMAC)
label(_MonAgencyUpg)
label(_BackMAU)
label(_MonOperRec)
label(_BackMOR)
label(_MonDecryptProg)
label(_BackMDP)

label(_MonUnitDeployProg)
label(_BackMUP)

label(_MonNetProg)
label(_BackMNP)
label(_MonOperProg)
label(_BackMOP)
label(_MonOperPhase)
label(_BackOPH)

label(iEnableMPP)
label(iEnableMMR)
label(iEnableMCP)
label(iEnableMRP)
label(iEnablePNP)
label(iEnableMAM)
label(iEnableGMD)
label(iEnableMMM)
label(iEnableMPS)
label(iEnableMWF)
label(iEnableMSY)
label(iEnableMWS)
label(iEnableMFP)
label(iEnableMQR)
label(iEnableMPX)
label(iEnableMPC)
label(iEnableMAC)
label(iEnableMAU)
label(iEnableMOR)
label(iEnableMDP)
label(iEnableMUP)
label(iEnableMNP)
label(iEnableMOP)
label(iEnableOPH)
label(iEnableMRW)
label(iEnableMRI)

label(pPlayer)
label(pPlayer1)
label(pPlayer2)
//label(pArmyFleet)
label(pMilDeploy)
label(pRegion)
label(iPlayerID)
label(aLast)

label(pRAX)
label(pRBX)
label(pRCX)
label(pRDX)
label(pRDI)
label(pRSI)
label(pRBP)

label(_MonHP00)
label(_MonHP01)
label(_MonHP02)
label(_MonHP03)
label(_MonHPN3)
label(_MonHPA3)
label(_MonHP04)
label(_ExitMHP)
label(_ExitMCP)
label(_ExitMPP)
label(_ExitPP1)
label(_ExitPP2)
label(_ExitMRP)
label(_ExitMFP)
//label(_ExitMSF)
label(_ExitMAM)
label(_ExitAM1)
//label(_ExitMPS)
label(_GodMD00)
label(_ExitGMD)
label(_GodMDS0)
label(_GodMDS1)
label(_ExitGMS)
label(_ExitGS2)
label(_ExitMSR)
label(_ExitMMR)
label(_MonMM00)
label(_ExitMMM)
label(_ExitMAC)
label(_ExitMAU)
label(_ExitMOR)

label(iCount)

label(pMOAC)
label(pMOAU)

//=========================================
// Registering Symbols
registersymbol(MyCode)
registersymbol(iEnableMPP)
registersymbol(iEnableMMR)
registersymbol(iEnableMCP)
registersymbol(iEnableMRP)
registersymbol(iEnablePNP)
registersymbol(iEnableMAM)
registersymbol(iEnableGMD)
registersymbol(iEnableMMM)
registersymbol(iEnableMPS)
registersymbol(iEnableMWF)
registersymbol(iEnableMSY)
registersymbol(iEnableMWS)
registersymbol(iEnableMFP)
registersymbol(iEnableMQR)
registersymbol(iEnableMPX)
registersymbol(iEnableMPC)
registersymbol(iEnableMAC)
registersymbol(iEnableMAU)
registersymbol(iEnableMOR)
registersymbol(iEnableMDP)
registersymbol(iEnableMUP)
registersymbol(iEnableMNP)
registersymbol(iEnableMOP)
registersymbol(iEnableOPH)
registersymbol(iEnableMRW)
registersymbol(iEnableMRI)
registersymbol(iPlayerID)
registersymbol(pPlayer)
registersymbol(pPlayer1)
registersymbol(pPlayer2)
//registersymbol(pArmyFleet)
registersymbol(pMilDeploy)
registersymbol(pRegion)
registersymbol(aLast)

registersymbol(pRAX)
registersymbol(pRBX)
registersymbol(pRCX)
registersymbol(pRDX)
registersymbol(pRDI)
registersymbol(pRSI)
registersymbol(pRBP)

registersymbol(MOHP)
registersymbol(MOCP)
registersymbol(MOPP)
registersymbol(MPP1)
registersymbol(MPP2)
registersymbol(MORP)
registersymbol(MOFP)

//registersymbol(MOSF)
registersymbol(MOAM)
registersymbol(MAM1)
//registersymbol(MOPS)
registersymbol(GDMD)
registersymbol(GMDS)
registersymbol(GDS2)

registersymbol(MOSR)
//registersymbol(MOMR)
registersymbol(MOMM)

registersymbol(pMOAC)
registersymbol(pMOAU)
registersymbol(MOOR)
registersymbol(MODP)

registersymbol(MONP)
registersymbol(MOOP)
registersymbol(MOPH)
registersymbol(MORI)

registersymbol(MUDP)
registersymbol(MORW)

registersymbol(iCount)

//=========================================
MyCode:
//========================================= 1.14.1 #
// - Find out the Human Player
// - Minimum Political Points
// - Minimum Command Points
// - Minimum Army/Navy/Air XP
// RCX is safe
_MonHumanPlayer:
 mov dword ptr [aLast],'_MHP'

 xchg R15,R14

 cmp r15,[pPlayer]
 je _MonHPZZ

 inc dword ptr [iCount]

_MonHPZZ:
 mov [pPlayer],r15
 mov rcx,[r15+00001000]            // Prod (*) F50
 mov [pPlayer1],rcx
 mov rcx,[r15+00000FF8]            // Tech (*) FF8
 mov [pPlayer2],rcx
 mov rcx,[r15+00001008]            // MilDeploy (*) F58
 mov [pMilDeploy],rcx
 mov ecx,[r15+18]
 and ecx,00ffffff
 mov [iPlayerID],ecx

 cmp dword ptr [iEnableMPP],0      // Political Power
 je _MonHP00                       // Jump if feature is disabled

 mov ecx,#700000
 mov rdx,[r15+00001028]            // (*) F78
 cmp [rdx+000000F8],ecx            // c8
 jns _MonHP00

 mov [rdx+000000F8],ecx            // c8

_MonHP00:
 cmp dword ptr [iEnableMSY],0      // National Unity
 je _MonHP01                       // Jump if feature is disabled

 mov ecx,#800
 cmp [r15+00001160],ecx            // (*) 1080
 jns _MonHP01

 mov [r15+00001160],ecx            // (*) 1080

_MonHP01:
 cmp dword ptr [iEnableMWS],0      // War Support
 je _MonHP02                       // Jump if feature is disabled

 mov ecx,#500
 cmp [r15+00001164],ecx            // (*) 1084
 jns _MonHP02

 mov [r15+00001164],ecx            // (*) 1084

_MonHP02:
 cmp dword ptr [iEnableMPC],0      // Command Power
 je _MonHP03                       // Jump if feature is disabled

 mov ecx,#70000
 cmp [r15+00000210],ecx            // 1C4
 jns _MonHP03

 mov [r15+00000210],ecx            // 1C4

_MonHP03:
 cmp dword ptr [iEnableMPX],0      // XPs
 je _MonHP04                       // Jump if feature is disabled

 mov rcx,#8781824                  // 8781824 = 268 x 32K

 cmp [r15+00000230],rcx            // 1E0
 jns _MonHPN3

 mov [r15+00000230],rcx            // 1E0

_MonHPN3:
 cmp [r15+00000248],rcx            // 1F8
 jns _MonHPA3

 mov [r15+00000248],rcx            // 1F8

_MonHPA3:
 cmp [r15+00000260],rcx            // 210
 jns _MonHP04

 mov [r15+00000260],rcx            // 210

_MonHP04:
_ExitMHP:
 xchg R15,R14

 mov edx,[r14+00000210]            // Original code (get CP) 1c4
 jmp _BackMHP                      // Back to main code

//========================================= 1.13.3 X
// - Construction Progress (when day changes)
_MonConstProg:
 mov dword ptr [aLast],'_MCP'

 cmp dword ptr [iEnableMCP],0
 je _ExitMCP                       // Jump if feature is disabled

 mov rdx,[rdi+28]
 cmp rdx,[pPlayer1]
 jne _ExitMCP

 mov edx,[rdi+30]
 cmp [rdi+38],edx
 jns _ExitMCP

 mov [rdi+38],edx

_ExitMCP:
 mov edx,[rdi+38]                  // Original code (get prog)
 add edx,[rbp+38]                  // Original code
 jmp _BackMCP                      // Back to main code

//=========================================  1.13.3 X
// - Production Progress (airplanes, weapons, etc) (when day changes)
_MonProdProg:
 mov dword ptr [aLast],'_MPP'

 cmp dword ptr [iEnablePNP],0
 je _ExitMPP                       // Jump if feature is disabled

 mov rdx,[rdi+28]
 cmp rdx,[pPlayer1]
 jne _ExitMPP

 mov edx,[rdi+30]
 add edx,edx

 cmp [rdi+38],edx
 jns _ExitMPP

 mov [rdi+38],edx

_ExitMPP:
 mov edx,[rdi+38]                  // Original code (get prog)
 add edx,[rsp+40]                  // Original code
 jmp _BackMPP                      // Back to main code

//========================================= 1.13.3 X
// - Production Progress (ship) (when day changes)
_MonProdProg1:
 mov dword ptr [aLast],'_PP1'
 push rbx

 cmp dword ptr [iEnablePNP],0
 je _ExitPP1                       // Jump if feature is disabled

 mov rbx,[rdi+28]
 cmp rbx,[pPlayer1]
 jne _ExitPP1

 mov ebx,[rdi+30]
 add ebx,ebx

 cmp [rdi+38],ebx
 jns _ExitPP1

 mov [rdi+38],ebx

_ExitPP1:
 pop rbx

 mov edx,[rdi+38]                  // Original code (get prog)
 add edx,[rbp+38]                  // Original code
 jmp _BackPP1                      // Back to main code

//========================================= 1.13.3 X
// - Refitting Progress (when day changes)
_MonProdProg2:
 mov dword ptr [aLast],'_PP2'

 push rax

 cmp dword ptr [iEnableMQR],0
 je _ExitPP2                       // Jump if feature is disabled

 mov rax,[rbx+28]
 cmp rax,[pPlayer1]
 jne _ExitPP2

 cmp esi,edi
 jns _ExitPP2

 mov esi,edi

_ExitPP2:
 pop rax

 mov [rbx+38],esi                  // Original code(upd prog)
 cmp esi,edi                       // Original code
 jmp _BackPP2                      // Back to main code

//========================================= 1.13.5 X
// - Research Progress (when day changes)
// RSI = CTechnology
_MonResearchProg:
 mov dword ptr [aLast],'_MRP'

 push rdx

 cmp dword ptr [iEnableMRP],0
 je _ExitMRP                       // Jump if feature is disabled

 mov rdx,[rsi+00000158]            // D8
 cmp rdx,[pPlayer2]
 jne _ExitMRP

 mov rdx,[rsi+00000160]            // E0
 test rdx,rdx
 jz _ExitMRP

 test r15,r15
 jne _ExitMRP

 test eax,eax
 jz _ExitMRP

// mov ebx,[rsi+00000124]
// test ebx,ebx
// jz _ExitMRP

 lea eax,[rbx+64]

_ExitMRP:
 pop rdx

 mov [rsi+0000019C],eax            // Original code (set prog)
 jmp _BackMRP                      // Back to main code

//========================================= 1.13.3 X
// - Finish focus in a day (when day changes)
// RDX is safe and RBX = pFocus
_MonFocusProg:
 mov dword ptr [aLast],'_MFP'

 cmp dword ptr [iEnableMFP],0
 je _ExitMFP                       // Jump if feature is disabled

 mov rax,[rdi+10]
 cmp rax,[pPlayer]
 jne _ExitMFP

 mov rax,[rdi+18]
 mov eax,[rax+00000520]

 cmp [rdi+40],eax
 jns _ExitMFP

 mov [rdi+40],eax

_ExitMFP:
 mov ecx,[rdi+40]                  // Original code (get cval)
 mov rax,[rdi+18]                  // Original code (get pInfo)
 jmp _BackMFP                      // Back to main code

//========================================= 1.13.3 X
// - When Army/Fleet is selected
{
_MonSelArmyFleet:
 mov [pArmyFleet],rdx

_ExitMSF:
 mov rax,[rdx+00000248]            // Original code (get pLocation)
 jmp _BackMSF                      // Back to main code
}
//========================================= 1.13.3 X
// - Movement in 1 hour (When Army/Fleet is moving)
_MonArmyFleetMove:
 mov dword ptr [aLast],'_MFM'

 push rax

 cmp dword ptr [iEnableMAM],0
 je _ExitMAM                       // Jump if feature is disabled

 mov eax,[iPlayerID]
 cmp eax,[rsi+00000288]
 jne _ExitMAM

 cmp [rsi+000002E8],ebx
 jns _ExitMAM

 mov [rsi+000002E8],ebx

_ExitMAM:
 pop rax

 cmp [rsi+000002E8],ebx            // Original code (chk Move)
 jmp _BackMAM                      // Back to main code

//========================================= 1.13.3 X
// - Movement in 1 hour (When Army/Fleet is moving during battle)
_MonArmyFleetMove1:
 mov dword ptr [aLast],'_FM1'

 push rax

 cmp dword ptr [iEnableMAM],0
 je _ExitAM1                       // Jump if feature is disabled

 mov eax,[iPlayerID]
 cmp eax,[rsi+00000288]
 jne _ExitAM1

 mov eax,[rbp+58]

 cmp [rsi+000002E8],eax
 jns _ExitAM1

 mov [rsi+000002E8],eax

_ExitAM1:
 pop rax

 mov ecx,[rsi+000002E8]            // Original code (get Move)
 jmp _BackAM1                      // Back to main code

//========================================= 1.12.1 P
// - All the time
{
_MonPlayerSquadrons:
 mov dword ptr [aLast],'_MPS'

 push rax
 push rbx
 push rdx

 mov rcx,[rdx]                     // Original code (get squadron)

 cmp dword ptr [iEnableMPS],0
 je _ExitMPS                       // Jump if feature is disabled

 mov eax,[rcx+0000058C]
 cmp eax,[iPlayerID]
 jne _ExitMPS

 mov eax,[rcx+74]
 cmp eax,[rcx+6C]
 js _ExitMPS
 je _ExitMPS

 mov [rcx+6C],eax
 imul eax,eax,#1000

 mov rbx,[rcx+000001A0]
 test rbx,rbx
 jz _ExitMPS

 mov [rbx+10],eax

 mov rbx,[rcx+000001B0]
 test rbx,rbx
 jz _ExitMPS

 mov [rbx+08],eax

_ExitMPS:
 pop rdx
 pop rbx
 pop rax

 add rdx,08                        // Original code
 jmp _BackMPS                      // Back to main code
}
//========================================= 1.13.3 X (New Appoach)
// - When in battle (army)
// RAX, RSI and RBX are safe to use
_GodMode:
 mov dword ptr [aLast],'_GMD'

 cmp dword ptr [iEnableGMD],0
 je _GodMD00                       // Jump if feature is disabled

 mov eax,[iPlayerID]
 cmp eax,[rcx+00000288]            // 230
 jne _GodMD00

 mov rbx,[rcx+000000F8]            // D8
 test rbx,rbx
 jz _ExitGMD

 mov eax,[rbx+00000190]            // Organization 298
 mov [rcx+000004D4],eax            // 41C

 mov eax,[rbx+00000194]            // HP 29C
 mov [rcx+000004D0],eax            // 418

 xor eax,eax
 mov [rcx+000004E0],eax            // 428
 mov [rcx+000004E4],eax            // 42C
 mov [rcx+000004E8],eax            // 430

 xor r8,r8
 xor rdx,rdx
 jmp _ExitGMD
//==
_GodMD00:
 cmp dword ptr [iEnableMWF],0      // s4.0
 je _ExitGMD                       // Jump if feature is disabled

 cmp rcx,r13
 jne _ExitGMD

 test rbp,rbp
 jz _ExitGMD

 mov eax,[rbp+00000288]            // 230
 cmp eax,[iPlayerID]               // Chk if player is the attacker
 jne _ExitGMD

 mov r8d,[rcx+000004D4]            // 41C

 mov eax,[rcx+000004D0]            // 418
 shr eax,1
 cmp edx,eax
 jns _ExitGMD

 mov edx,eax

_ExitGMD:
 mov rax,[rcx+00000450]            // Original code 3A8
 jmp _BackGMD                      // Back to main code

//========================================= 1.13.3 X
// - When in battle (ships)(strength)
// RAX is safe to use
_GodModeS:
 mov dword ptr [aLast],'_GMS'

 push rbx

 cmp dword ptr [iEnableGMD],0
 je _GodMDS0                       // Jump if feature is disabled

 mov rbx,[rsi+00000560]            // 490
 mov ebx,[rbx+00000288]            // 230
 cmp ebx,[iPlayerID]
 jne _GodMDS0

 mov ebx,[rsi+00000218]            // Organization 308 &gt; 218
 mov [rsi+00000484],ebx            //              3CC &gt; 484

 mov eax,[rsi+0000021C]            // Strength     30C &gt; 21C
 mov [rsi+00000480],eax            //              3C8 &gt; 480

 mov ebx,[rsi+00000584]            // Manpower     4B4 &gt; 584
 cmp [rsi+00000580],ebx            //              4B0 &gt; 580
 jns _ExitGMS

 mov [rsi+00000580],ebx            //              4B0 &gt; 580

 jmp _ExitGMS
//==
_GodMDS0:
 cmp dword ptr [iEnableMWF],0      // s4.0
 je _ExitGMS                       // Jump if feature is disabled

 mov rbx,[rsi+00000560]            // get CTaskForce
 test rbx,rbx
 jz _ExitGMS

 mov rbx,[rbx+00000328]            // 2C8 &gt; 328
 test rbx,rbx
 jz _ExitGMS

 mov ebx,[rbx]
 cmp ebx,[iPlayerID]
 jne _ExitGMS

 xor ebx,ebx
 mov [rsi+00000484],ebx            // 3CC &gt; 484

 mov ebx,[rsi+00000480]            // 3C8 &gt; 480
 shr ebx,1
 cmp ebx,eax
 jns _GodMDS1

 mov eax,ebx

_GodMDS1:
_ExitGMS:
 pop rbx

 mov [rsi+00000480],eax            // Original code (upd str) 3C8 &gt; 480
 jmp _BackGMS                      // Back to main code

//========================================= 1.13.3 X
// - When in battle (ships)(organization)
// RAX is safe to use
_GodModeS2:
 mov dword ptr [aLast],'_GS2'

 cmp dword ptr [iEnableGMD],0
 je _ExitGS2                       // Jump if feature is disabled

 mov rax,[rbp+00000560]            // 490
 mov eax,[rax+00000288]            // 230
 cmp eax,[iPlayerID]
 jne _ExitGS2

 mov ecx,[rbp+00000218]            // Organization    308 &gt; 218
 mov [rbp+00000484],ecx            //                 3CC &gt; 484

 mov eax,[rbp+0000021C]            // Strength        30C &gt; 21C
 mov [rbp+00000480],eax            //                 3C8 &gt; 480

 mov eax,[rbp+00000584]            // Manpower        4B4 &gt; 584
 cmp [rbp+00000580],eax            //                 4B0 &gt; 580
 jns _ExitGS2

 mov [rbp+00000580],eax            //                 4B0 &gt; 580

_ExitGS2:
 mov [rbp+00000484],ecx            // Original code (upd org)
 jmp _BackGS2                      // Back to main code

//========================================= 1.13.3 X
// - When a Province region is selected
_MonSelRegion:
 mov [pRegion],rax

_ExitMSR:
 mov ecx,[rax+40]            // Original code (pInfras)
 mov [rbp+58],ecx
 jmp _BackMSR                      // Back to main code

//========================================= 1.11.5 ok
// - Each hour
_MonMinResource:
 mov dword ptr [aLast],'_MMR'

 cmp dword ptr [iEnableMMR],0
 je _ExitMMR                       // Jump if feature is disabled

 mov rax,[rsp+00000430]
 test rax,rax
 jz _ExitMMR

 cmp rax,[rsp+00000478]
 jne _ExitMMR

// cmp rax,[qMinAddress]
// js _ExitMMR
// mov rax,[rax+48]

 cmp rax,[pPlayer]
 jne _ExitMMR

 mov eax,#250000
 cmp [rbx+28],eax
 jns _ExitMMR

 mov [rbx+28],eax

_ExitMMR:
 mov eax,[rbx+28]                  // Original code (get resource)
 mov rbx,[rsp+30]                  // Original code
 jmp _BackMMR                      // Back to main code

qMinAddress:
 dq 0000010000000000

//========================================= 1.13.3 X
// - All the time (Manpower)
// RAX can be used
_MonMinMP:
 mov dword ptr [aLast],'_MMM'

 mov rcx,[rsi+000004E0]            // Original code (get list)
 mov rcx,[rcx+rbx*8]               // Original code (get Province)

 cmp dword ptr [iEnableMMM],0
 je _ExitMMM                       // Jump if feature is disabled

 cmp rsi,[pPlayer]
 jne _ExitMMM

 mov eax,#7000
 cmp [rcx+000008D0],eax
 jns _MonMM00

 mov [rcx+000008D0],eax

_MonMM00:
_ExitMMM:
 jmp _BackMMM                      // Back to main code

//========================================= 1.13.3 X
// - When const prog is updated (for La Resistance DLC)
_MonAgencyConst:
 mov dword ptr [aLast],'_MAC'

 cmp r15,[pPlayer]
 jne _ExitMAC

 cmp dword ptr [iEnableMAC],0
 je _ExitMAC                       // Jump if feature is disabled

 cmp [rbx+000000D4],eax
 jns _ExitMAC

 mov [rbx+000000D4],eax

_ExitMAC:
 cmp [rbx+000000D4],eax            // Original code (chk prog)
 jmp _BackMAC                      // Back to main code

//========================================= 1.13.3 X
// - When upgrade prog is updated (for La Resistance DLC)
_MonAgencyUpg:
 mov dword ptr [aLast],'_MAU'

 cmp r15,[pPlayer]
 jne _ExitMAU

 cmp dword ptr [iEnableMAU],0
 je _ExitMAU                       // Jump if feature is disabled

 cmp [rbx+000000D4],eax
 jns _ExitMAU

 mov [rbx+000000D4],eax

_ExitMAU:
 cmp [rbx+000000D4],eax            // Original code (chk prog)
 jmp _BackMAU                      // Back to main code

//========================================= 1.13.3 X
// - When operative recruitment prog is updated (for La Resistance DLC)
_MonOperRec:
 mov dword ptr [aLast],'_MOR'

 cmp r15,[pPlayer]
 jne _ExitMOR

 cmp dword ptr [iEnableMOR],0
 je _ExitMOR                       // Jump if feature is disabled

 mov ecx,eax

_ExitMOR:
 mov [rbx+00000100],ecx            // Original code (upd prog)
 jmp _BackMOR                      // Back to main code

//========================================= 1.13.3 X
// - When Decrypting prog is updated (for La Resistance DLC)
_MonDecryptProg:
 mov dword ptr [aLast],'_MDP'
 push rcx

 cmp dword ptr [iEnableMDP],0
 je _ExitMDP                       // Jump if feature is disabled

 mov rcx,[rsp+120]
 cmp rcx,[pPlayer]
 jne _ExitMDP

 cmp eax,ebx
 jge _ExitMDP

 mov eax,ebx

_ExitMDP:
 pop rcx

 add eax,edi                       // Original code (calc prog)
 mov [rsi+1C],eax                  // Original code (upd prog)
 jmp _BackMDP                      // Back to main code

//========================================= 1.13.4 X
// - When Deployment progress is updated
_MonUnitDeployProg:
 mov dword ptr [aLast],'_MUP'

 mov rax,[rsp+30]

 push rbx
 push rcx
 push rdx
 push rdi
 push rsi
 push rbp

 mov rsi,rbx

 cmp dword ptr [iEnableMUP],0
 je _ExitMUP                       // Jump if feature is disabled

 cmp rax,[pMilDeploy]
 jne _ExitMUP

 mov eax,#1000
 cmp [rsi+6C],eax                  // CMilitaryDeployment+6C
 je _MonUD0X

 mov rdi,[rsi+000000C8]            // CMilitaryDeploymentLine
 test rdi,rdi
 jz _ExitMUP

 mov rdi,[rdi+38]                  // CMilitaryDeploymentConveyor
 test rdi,rdi
 jz _ExitMUP

 mov rdi,[rdi+20]                  // CReferencedDivisionTemplate
 test rdi,rdi
 jz _ExitMUP

 movzx rcx,word ptr [rdi+000000B4] // 1
 test rcx,rcx
 jz _ExitMUP

 mov rbx,[rdi+000000A8]
 test rbx,rbx
 jz _ExitMUP

 cmp ecx,[rsi+3C]                  // 1
 jne _ExitMUP

 mov rdi,[rsi+30]                  // pList
 imul rdx,rcx,00000018
 add rdx,rdi                       // pLEnd

_MonUD00:
 mov rbp,[rbx]
 mov eax,[rbx+08]

 cmp rbp,[rdi]
 je _MonUD01

 lea rdi,[rdi+18]
 cmp rdi,rdx
 js _MonUD00

 jmp _ExitMUP                  // Something wrong, exit.

_MonUD01:
 mov [rdi+10],eax

 mov rdi,[rsi+30]
 lea rbx,[rbx+10]
 loop _MonUD00

 mov eax,#1000
 mov [rsi+6C],eax

_MonUD0X:
 dec eax

 cmp [rsi+68],eax
 jns _ExitMUP

 mov [rsi+68],eax

_ExitMUP:
 pop rbp
 pop rsi
 pop rdi
 pop rdx
 pop rcx
 pop rbx

 mov [rbx+000000C0],edi            // Original code
 jmp _BackMUP                      // Back to main code

//========================================= 1.13.3 OK
// - When updating Networking Creation Progress
// R15 = CLocalIntelNetwork
_MonNetProg:
 mov dword ptr [aLast],'_MNP'

 cmp dword ptr [iEnableMNP],0
 je _ExitMNP                       // Jump if feature is disabled

 test ecx,ecx
 jz _ExitMNP

 test r15,r15
 jz _ExitMNP

 mov eax,[r15+000000B0]
 cmp eax,[iPlayerID]
 jne _ExitMNP

 mov eax,#100000
 cmp ecx,eax
 jns _ExitMNP

 mov ecx,eax

_ExitMNP:
 mov rax,[rbp+10]                  // Original code
 mov [r14+rax+20],ecx              // Original code (upd prog)
 jmp _BackMNP                      // Back to main code

//========================================= 1.13.4 #
// - When operation Progress is updated
_MonOperProg:
 mov dword ptr [aLast],'_MOP'

 cmp dword ptr [iEnableMOP],0
 je _ExitMOP                       // Jump if feature is disabled

 mov rax,[rbx+48]
 cmp rax,[pPlayer]
 jne _ExitMOP

 mov eax,[rbx+34]
 cmp eax,#1000
 js _ExitMOP

 mov eax,#-1000
 add eax,[rbx+34]

 cmp [rbx+30],eax
 jns _ExitMOP

 mov [rbx+30],eax

_ExitMOP:
 mov eax,[rbx+30]                  // Original code (get prog)
 cmp eax,[rbx+34]                  // Original code
 jmp _BackMOP                      // Back to main code

//========================================= 1.13.4 X
// - When operation phase is in Progress (When lookin at the Agency)
// RAX is safe
_MonOperPhase:
 mov dword ptr [aLast],'_OPH'

 push rcx

 cmp dword ptr [iEnableOPH],0
 je _ExitOPH                       // Jump if feature is disabled

 mov rcx,[rdx+48]
 cmp rcx,[pPlayer]
 jne _ExitOPH

 cmp byte ptr [rdx+3A],01
 je _ExitOPH

 cmp dword ptr [rdx+00000080],00
 je _ExitOPH

 cmp dword ptr [rdx+00000114],00
 je _ExitOPH

 movzx rcx,word ptr [rdx+00000114]

 imul rcx,rcx,2

 cmp [rdx+00000080],ecx
 js _ExitOPH

 mov [rdx+00000080],ecx

_ExitOPH:
 pop rcx

 cmp dword ptr [rdx+00000080],00   // Original code (chk #days)
 jmp _BackOPH                      // Back to main code

//========================================= 1.13.3 N
// - New feature (for La Resistance DLC)
// RBX = DecryptionState RDI = CCryptology
_MonRevealIntel:
 mov dword ptr [aLast],'_MOR'

 push rcx

 cmp dword ptr [iEnableMRI],0
 je _ExitMRI                       // Jump if feature is disabled

 test rdi,rdi
 jz _ExitMRI

 mov rcx,[r14+10]
 cmp rcx,[pPlayer]
 jne _ExitMRI

 mov dword ptr [rsi+04],1

_ExitMRI:
 pop rcx

 dec [rsi+04]                      // Original code (dec days left)
 cmp dword ptr [rsi+04],00         // Original code (finished ?)
 jmp _BackMRI                      // Back to main code

//========================================= 1.13.4 X
// - When construction Railways (during turn)
// RCX/R8 are safe
_MonRailWay:
 mov dword ptr [aLast],'_MRW'

 mov r8,[rsi+28]                   // Original code
 mov r9,rdi                        // Original code
 mov edx,[rsi+20]                  // Original code

 cmp dword ptr [iEnableMRW],0
 je _ExitMRW                       // Jump if feature is disabled

 cmp r8,[pPlayer1]
 jne _ExitMRW

 mov edx,#200

_ExitMRW:
 jmp _BackMRW                      // Back to main code

//=========================================
align 10,'='
//=========================================
 db '===============================&gt;'
 db 'CE7.4 Script by Recifense 240309'
//=========================================
// Variables
iEnableMPP:
 dd 0
iEnableMMR:
 dd 0
iEnableMCP:
 dd 0
iEnableMRP:
 dd 0
iEnablePNP:
 dd 0
iEnableMAM:
 dd 0
iEnableGMD:
 dd 0
iEnableMMM:
 dd 0
iEnableMPS:
 dd 0
iEnableMWF:
 dd 0
iEnableMSY:
 dd 0
iEnableMWS:
 dd 0
iEnableMFP:
 dd 0
iEnableMQR:
 dd 0
iEnableMPX:
 dd 0
iEnableMPC:
 dd 0
iEnableMAC:
 dd 0
iEnableMAU:
 dd 0
iEnableMOR:
 dd 0
iEnableMDP:
 dd 0
iEnableMUP:
 dd 0
iEnableMNP:
 dd 0
iEnableMOP:
 dd 0
iEnableOPH:
 dd 0
iEnableMRI:
 dd 0
iEnableMRW:
 dd 0
iPlayerID:
 dd #999999
 dd 0
pPlayer:
 dq MyCode
pPlayer1:
 dq MyCode
pPlayer2:
 dq MyCode
pMilDeploy:
 dq MyCode
//pArmyFleet:
// dq 0
pRegion:
 dq 0
pRAX:
 dq 0
pRBX:
 dq 0
pRCX:
 dq 0
pRDX:
 dq 0
pRDI:
 dq 0
pRSI:
 dq 0
pRBP:
 dq 0
iCount:
 dq 0
aLast:
 db 'CE74'

//=========================================
// Hacking Points
MOHP:
 jmp _MonHumanPlayer
 nop
 nop
_BackMHP:

MOCP:
 jmp _MonConstProg
 nop
_BackMCP:

MOPP:
 jmp _MonProdProg
 nop
 nop
_BackMPP:

MPP1:
 jmp _MonProdProg1
 nop
_BackPP1:

MPP2:
 jmp _MonProdProg2
_BackPP2:

MORP:
 jmp _MonResearchProg
 nop
_BackMRP:

MOFP:
 jmp _MonFocusProg
 nop
 nop
_BackMFP:

//MOSF:
// jmp _MonSelArmyFleet
// nop
// nop
//_BackMSF:

MOAM:
 jmp _MonArmyFleetMove
 nop
_BackMAM:

MAM1:
 jmp _MonArmyFleetMove1
 nop
_BackAM1:

//MOPS:
// jmp _MonPlayerSquadrons
// nop
// nop
//_BackMPS:

GDMD:
 jmp _GodMode
 nop
 nop
_BackGMD:

GMDS:
 jmp _GodModeS
 nop
_BackGMS:

GDS2:
 jmp _GodModeS2
 nop
_BackGS2:

MOSR:
 jmp _MonSelRegion
 nop
_BackMSR:

MOMR:
// jmp _MonMinResource
// nop
// nop
// nop
_BackMMR:

MOMM:
 jmp _MonMinMP
 jmp _MonMinMP
 nop
_BackMMM:

MOAC+1A:
pMOAC:
 jmp _MonAgencyConst
 nop
_BackMAC:

MOAU+16:
pMOAU:
 jmp _MonAgencyUpg
 nop
_BackMAU:

MOOR:
 jmp _MonOperRec
 nop
_BackMOR:

MODP:
 jmp _MonDecryptProg
_BackMDP:

MUDP:
 jmp _MonUnitDeployProg
 nop
_BackMUP:

MONP:
 jmp _MonNetProg
 nop
 nop
 nop
 nop
_BackMNP:

MOOP:
 jmp _MonOperProg
 nop
_BackMOP:

MOPH:
 jmp _MonOperPhase
 nop
 nop
_BackOPH:

MORI:
 jmp _MonRevealIntel
 nop
 nop
_BackMRI:

MORW:
 jmp _MonRailWay
 jmp _MonRailWay
_BackMRW:

//=========================================
// Script for Restoring Original Codes
[DISABLE]
MOHP:
// mov edx,[r14+00000210]
 db 41 8B 96 10 02 00 00

MOCP:
// mov edx,[rdi+38]
// add edx,[rbp+38]
 db 8B 57 38 03 55 38

MOPP:
// mov edx,[rdi+38]
// add edx,[rsp+40]
 db 8B 57 38 03 54 24 40

MPP1:
// mov edx,[rdi+38]
// add edx,[rbp+38]
 db 8B 57 38 03 55 38

MPP2:
// mov [rbx+38],esi
// cmp esi,edi
 db 89 73 38 3B F7

MORP:
// mov [rsi+0000019C],eax
 db 89 86 9C 01 00 00

MOFP:
// mov ecx,[rdi+40]
// mov rax,[rdi+18]
 db 8B 4F 40 48 8B 47 18

//MOSF:
// mov rax,[rdx+00000248]
// db 48 8B 82 48 02 00 00

MOAM:
// cmp [rsi+000002E8],ebx
 db 39 9E E8 02 00 00

MAM1:
// mov ecx,[rsi+000002E8]
 db 8B 8E E8 02 00 00

//MOPS:
// mov rcx,[rdx]
// add rdx,08
// db 48 8B 0A 48 83 C2 08

GDMD:
// mov rax,[rcx+00000450]
 db 48 8B 81 50 04 00 00

GMDS:
// mov [rsi+00000480],eax
 db 89 86 80 04 00 00

GDS2:
// mov [rbp+00000484],ecx
 db 89 8D 84 04 00 00

MOSR:
// mov ecx,[rax+40]
// mov [rbp+58],ecx
 db 8B 48 40 89 4D 58

//MOMR:
// mov eax,[rbx+28]
// mov rbx,[rsp+30]
// db 8b 43 28 48 8b 5c 24 30    48 8B 87 38 05 00 00

MOMM:
// mov rcx,[rsi+000004E0]
// mov rcx,[rcx+rbx*8]
 db 48 8B 8E E0 04 00 00 48 8B 0C D9

pMOAC:
// cmp [rbx+000000D4],eax
 db 39 83 D4 00 00 00

pMOAU:
// cmp [rbx+000000D4],eax
 db 39 83 D4 00 00 00

MOOR:
// mov [rbx+00000100],ecx
 db 89 8B 00 01 00 00

MODP:
// add eax,edi
// mov [rsi+1C],eax
 db 03 C7 89 46 1C

MUDP:
// mov [rbx+000000C0],edi
 db 89 BB C0 00 00 00

MONP:
// mov rax,[rbp+10]
// mov [r14+rax+20],ecx
 db 48 8B 45 10 41 89 4C 06 20

MOOP:
// mov eax,[rbx+30]
// cmp eax,[rbx+34]
 db 8B 43 30 3B 43 34

MOPH:
// cmp dword ptr [rdx+00000080],00
 db 83 BA 80 00 00 00 00

MORI:
// dec [rsi+04]
// cmp dword ptr [rsi+04],00
 db FF 4E 04 83 7E 04 00

MORW:
// mov r8,[rsi+28]
// mov r9,rdi
// mov edx,[rsi+20]
 db 4C 8B 46 28 4C 8B CF 8B 56 20

//=========================================
// Unregistering Symbols
unregistersymbol(MyCode)
unregistersymbol(iEnableMPP)
unregistersymbol(iEnableMMR)
unregistersymbol(iEnableMCP)
unregistersymbol(iEnableMRP)
unregistersymbol(iEnablePNP)
unregistersymbol(iEnableMAM)
unregistersymbol(iEnableGMD)
unregistersymbol(iEnableMMM)
unregistersymbol(iEnableMPS)
unregistersymbol(iEnableMWF)
unregistersymbol(iEnableMSY)
unregistersymbol(iEnableMWS)
unregistersymbol(iEnableMFP)
unregistersymbol(iEnableMQR)
unregistersymbol(iEnableMPX)
unregistersymbol(iEnableMPC)
unregistersymbol(iEnableMAC)
unregistersymbol(iEnableMAU)
unregistersymbol(iEnableMOR)
unregistersymbol(iEnableMDP)
unregistersymbol(iEnableMUP)
unregistersymbol(iEnableMNP)
unregistersymbol(iEnableMOP)
unregistersymbol(iEnableOPH)
unregistersymbol(iEnableMRI)
unregistersymbol(iEnableMRW)
unregistersymbol(iPlayerID)
unregistersymbol(pPlayer)
unregistersymbol(pPlayer1)
unregistersymbol(pPlayer2)
//unregistersymbol(pArmyFleet)
unregistersymbol(pMilDeploy)
unregistersymbol(pRegion)
unregistersymbol(aLast)

unregistersymbol(pRAX)
unregistersymbol(pRBX)
unregistersymbol(pRCX)
unregistersymbol(pRDX)
unregistersymbol(pRDI)
unregistersymbol(pRSI)
unregistersymbol(pRBP)

unregistersymbol(MOHP)
unregistersymbol(MOCP)
unregistersymbol(MOPP)
unregistersymbol(MPP1)
unregistersymbol(MPP2)
unregistersymbol(MORP)
unregistersymbol(MOFP)

//unregistersymbol(MOSF)
unregistersymbol(MOAM)
unregistersymbol(MAM1)
unregistersymbol(MOPS)
unregistersymbol(GDMD)
unregistersymbol(GMDS)
unregistersymbol(GDS2)

unregistersymbol(MOSR)
unregistersymbol(MOMR)
unregistersymbol(MOMM)

unregistersymbol(MOSR)
unregistersymbol(MOMR)
unregistersymbol(MOMM)

unregistersymbol(pMOAC)
unregistersymbol(pMOAU)
unregistersymbol(MOOR)
unregistersymbol(MODP)

unregistersymbol(MONP)
unregistersymbol(MOOP)
unregistersymbol(MOPH)
unregistersymbol(MORI)

unregistersymbol(MUDP)
unregistersymbol(MORW)

unregistersymbol(iCount)

//=========================================
dealloc(MyCode)
//============= Scripts End ===============

// ****************************************
// NOTES
// ****************************************
{
}</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>96</ID>
          <Description>"[X] &lt;== Minimum Political Power"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMPP",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMPP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>246</ID>
          <Description>"[X] &lt;== Minimum Base Stability"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMSY",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMSY",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>247</ID>
          <Description>"[X] &lt;== Minimum War Support"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMWS",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMWS",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>262</ID>
          <Description>"[X] &lt;== Minimum Command Power"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMPC",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMPC",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>263</ID>
          <Description>"[X] &lt;== Minimum Army/Navy/Air XP"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMPX",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMPX",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>229</ID>
          <Description>"[X] &lt;== Minimum Manpower per State"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMMM",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMMM",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>252</ID>
          <Description>"[X] &lt;== Finish Focus in 1 Day"</Description>
          <Color>008000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMFP",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMFP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>99</ID>
          <Description>"[X] &lt;== Research in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMRP",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMRP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>98</ID>
          <Description>"[X] &lt;== Construction in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMCP",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMCP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>100</ID>
          <Description>"[X] &lt;== Production in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnablePNP",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnablePNP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>258</ID>
          <Description>"[X] &lt;== Refitting in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMQR",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMQR",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>101</ID>
          <Description>"[X] &lt;== Movement to adjacent region in 1 Hour"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMAM",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMAM",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>286</ID>
          <Description>"[X] &lt;== Unit Deployment  in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMUP",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMUP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>102</ID>
          <Description>"[X] &lt;== God Mode"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1" />
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableGMD",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableGMD",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>245</ID>
          <Description>"[X] &lt;== Weak Foe"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMWF",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMWF",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>270</ID>
          <Description>"[X] &lt;== Agency Construction in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMAC",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMAC",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>272</ID>
          <Description>"[X] &lt;== Agency Upgrade in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMAU",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMAU",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>275</ID>
          <Description>"[X] &lt;== Operative Recruitment in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMOR",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMOR",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>279</ID>
          <Description>"[X] &lt;== Cipher Decrypting in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMDP",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMDP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>287</ID>
          <Description>"[X] &lt;== Intel Network  in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMNP",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMNP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>289</ID>
          <Description>"[X] &lt;== Intel Operation  in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMOP",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMOP",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>297</ID>
          <Description>"[X] &lt;== Each Operation Phase  in 3 Days (Select the Agency)"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableOPH",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableOPH",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>314</ID>
          <Description>"[X] &lt;== Reveal  Intel  in 1 Day (new)"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMRI",1)
memrec.Color = 0x00004000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMRI",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>303</ID>
          <Description>"[X] &lt;== Each Railway Construction in 1 Day"</Description>
          <Color>C08000</Color>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
writeInteger("iEnableMRW",1)
memrec.Color = 0x00008000
{$ASM}

[disable]
{$LUA}
writeInteger("iEnableMRW",0)
memrec.Color = 0x00c08000
{$ASM}

</AssemblerScript>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>228</ID>
      <Description>"[X] &lt;== Table/Script Information"</Description>
      <Color>0000FF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[enable]
define(test,LUDO)

{$LUA}
getMainForm().CommentButton.doClick()
{$ASM}

[disable]

</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>HP1</Name>
      <Address>013E2778</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>HP2</Name>
      <Address>013E2975</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>HP3</Name>
      <Address>00ECDA5E</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Recifense</Name>
      <Address>20240309</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
</CheatTable>