<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="51">
  <CheatEntries>
    <CheatEntry>
      <ID>2744</ID>
      <Description>"╔══════════════════════════════╗"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2743</ID>
      <Description>"║                         Barn Finders                       ║"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2742</ID>
      <Description>"╠══════════════════════════════╣"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2718</ID>
      <Description>"║        === COMPACT VIEW ===               ║"</Description>
      <Color>FFFFFF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
// Script Created By mgr.inz.Player On CE Forums
LuaCall(function cycleFullCompact(sender,force) local state = not(compactmenuitem.Caption == 'Compact View Mode'); if force~=nil then state = not force end; compactmenuitem.Caption = state and 'Compact View Mode' or 'Full View Mode'; getMainForm().Splitter1.Visible = state; getMainForm().Panel4.Visible    = state; getMainForm().Panel5.Visible    = state; end; function addCompactMenu() if compactmenualreadyexists then return end; local parent = getMainForm().Menu.Items; compactmenuitem = createMenuItem(parent); parent.add(compactmenuitem); compactmenuitem.Caption = 'Compact View Mode'; compactmenuitem.OnClick = cycleFullCompact; compactmenualreadyexists = 'yes'; end; addCompactMenu(); cycleFullCompact(nil,true))

[DISABLE]
LuaCall(cycleFullCompact(nil,false))
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>2740</ID>
      <Description>"╠══════════════════════════════╣"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>4</ID>
      <Description>"║        === PLAYER MANAGER ===          ║"</Description>
      <Options moHideChildren="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{
  ==============================================
   Barn Finders Table by SeryogaSK
  ----------------------------------------------
   Game    : BarnFinders-Win64-Shipping.exe
   Version : 27551 (2026_01_08) (Steam)
   Author  : SeryogaSK
   Website : Habibrahimov.com
  ----------------------------------------------
   Warning: Online use may trigger anti-cheat!
  ==============================================
}

[ENABLE]

aobscanmodule(ply_heaölt,BarnFinders-Win64-Shipping.exe,48 8B 01 48 89 5C 24 20 FF 90 70 02 00 00) // should be unique
alloc(newmem,$1000,ply_heaölt)
alloc(ply_base,8)

label(code)
label(return)

newmem:
mov [ply_base],rcx
code:
  mov rax,[rcx]
  mov [rsp+20],rbx
  call qword ptr [rax+00000270]
  jmp return

ply_heaölt:
  jmp far newmem
return:
registersymbol(ply_heaölt ply_base)

[DISABLE]

ply_heaölt:
  db 48 8B 01 48 89 5C 24 20 FF 90 70 02 00 00

unregistersymbol(*)
dealloc(*)

{
// ORIGINAL CODE - INJECTION POINT: "BarnFinders-Win64-Shipping.exe"+206E590

"BarnFinders-Win64-Shipping.exe"+206E566: EB 02                 - jmp "BarnFinders-Win64-Shipping.exe"+206E56A
"BarnFinders-Win64-Shipping.exe"+206E568: 33 C0                 - xor eax,eax
"BarnFinders-Win64-Shipping.exe"+206E56A: 48 8B 4D F0           - mov rcx,[rbp-10]
"BarnFinders-Win64-Shipping.exe"+206E56E: 4C 8D 8D E0 02 00 00  - lea r9,[rbp+000002E0]
"BarnFinders-Win64-Shipping.exe"+206E575: 8B D0                 - mov edx,eax
"BarnFinders-Win64-Shipping.exe"+206E577: 4C 8D 85 60 01 00 00  - lea r8,[rbp+00000160]
"BarnFinders-Win64-Shipping.exe"+206E57E: 89 54 24 30           - mov [rsp+30],edx
"BarnFinders-Win64-Shipping.exe"+206E582: 33 D2                 - xor edx,edx
"BarnFinders-Win64-Shipping.exe"+206E584: 48 89 54 24 28        - mov [rsp+28],rdx
"BarnFinders-Win64-Shipping.exe"+206E589: 48 8D 95 C0 00 00 00  - lea rdx,[rbp+000000C0]
// ---------- INJECTING HERE ----------
"BarnFinders-Win64-Shipping.exe"+206E590: 48 8B 01              - mov rax,[rcx]
// ---------- DONE INJECTING  ----------
"BarnFinders-Win64-Shipping.exe"+206E593: 48 89 5C 24 20        - mov [rsp+20],rbx
"BarnFinders-Win64-Shipping.exe"+206E598: FF 90 70 02 00 00     - call qword ptr [rax+00000270]
"BarnFinders-Win64-Shipping.exe"+206E59E: 48 89 44 24 68        - mov [rsp+68],rax
"BarnFinders-Win64-Shipping.exe"+206E5A3: 48 8B C8              - mov rcx,rax
"BarnFinders-Win64-Shipping.exe"+206E5A6: 48 85 C0              - test rax,rax
"BarnFinders-Win64-Shipping.exe"+206E5A9: 0F 84 CD 04 00 00     - je "BarnFinders-Win64-Shipping.exe"+206EA7C
"BarnFinders-Win64-Shipping.exe"+206E5AF: 49 63 DC              - movsxd  rbx,r12d
"BarnFinders-Win64-Shipping.exe"+206E5B2: 44 8D 63 01           - lea r12d,[rbx+01]
"BarnFinders-Win64-Shipping.exe"+206E5B6: 44 89 65 C8           - mov [rbp-38],r12d
"BarnFinders-Win64-Shipping.exe"+206E5BA: 44 3B 65 CC           - cmp r12d,[rbp-34]
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>100</ID>
          <Description>"LocalPlayer"</Description>
          <ShowAsHex>1</ShowAsHex>
          <ShowAsSigned>0</ShowAsSigned>
          <GroupHeader>1</GroupHeader>
          <Address>[ply_base]</Address>
          <CheatEntries>
            <CheatEntry>
              <ID>101</ID>
              <Description>"ViewportClient"</Description>
              <ShowAsHex>1</ShowAsHex>
              <ShowAsSigned>0</ShowAsSigned>
              <GroupHeader>1</GroupHeader>
              <Address>+70</Address>
              <Offsets>
                <Offset>0</Offset>
              </Offsets>
              <CheatEntries>
                <CheatEntry>
                  <ID>102</ID>
                  <Description>"GameInstance"</Description>
                  <ShowAsHex>1</ShowAsHex>
                  <ShowAsSigned>0</ShowAsSigned>
                  <GroupHeader>1</GroupHeader>
                  <Address>+80</Address>
                  <Offsets>
                    <Offset>0</Offset>
                  </Offsets>
                  <CheatEntries>
                    <CheatEntry>
                      <ID>103</ID>
                      <Description>"LocalPlayers"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <GroupHeader>1</GroupHeader>
                      <Address>+38</Address>
                      <Offsets>
                        <Offset>0</Offset>
                      </Offsets>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>116</ID>
                      <Description>"Money"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Float</VariableType>
                      <Address>+200</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1708</ID>
                      <Description>"FUEL"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+300</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>924</ID>
                      <Description>"Resource_Metal"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+568</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>925</ID>
                      <Description>"Resource_Wood"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+56C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>926</ID>
                      <Description>"Resource_Scraps"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+570</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1709</ID>
                      <Description>"--------------------------------------------- ----------------------------------------------"</Description>
                      <GroupHeader>1</GroupHeader>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>117</ID>
                      <Description>"UseDebugMaps"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+204</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>118</ID>
                      <Description>"TestShitFlag"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+205</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>918</ID>
                      <Description>"OptionsObject"</Description>
                      <ShowAsHex>1</ShowAsHex>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>8 Bytes</VariableType>
                      <Address>+548</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>919</ID>
                      <Description>"OptionManager"</Description>
                      <ShowAsHex>1</ShowAsHex>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>8 Bytes</VariableType>
                      <Address>+550</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>920</ID>
                      <Description>"CurrentProfileId"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+558</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>921</ID>
                      <Description>"MaxProfilesNum"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+55C</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>923</ID>
                      <Description>"DayTime_GI"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+564</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>993</ID>
                      <Description>"IsRadioPlaying"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+6A8</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>994</ID>
                      <Description>"UnlockedRadioStations"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+6AC</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>995</ID>
                      <Description>"CurrentRadioStation"</Description>
                      <ShowAsSigned>1</ShowAsSigned>
                      <VariableType>4 Bytes</VariableType>
                      <Address>+6B0</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1545</ID>
                      <Description>"DebugForceDLC_01_AmerykanDream"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+848</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1546</ID>
                      <Description>"DLC_01_AmerykanDreamInstalledAndLoaded"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+849</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1702</ID>
                      <Description>"KeyTexturesDA"</Description>
                      <ShowAsHex>1</ShowAsHex>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>8 Bytes</VariableType>
                      <Address>+A70</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1703</ID>
                      <Description>"DebugOnly_ForceEnableAll_DLCs"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+A78</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1704</ID>
                      <Description>"TreasureHuntActive"</Description>
                      <ShowAsSigned>0</ShowAsSigned>
                      <VariableType>Byte</VariableType>
                      <Address>+A79</Address>
                    </CheatEntry>
                    <CheatEntry>
                      <ID>1710</ID>
                      <Description>"--------------------------------------------- ----------------------------------------------"</Description>
                      <GroupHeader>1</GroupHeader>
                    </CheatEntry>
                  </CheatEntries>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>2741</ID>
      <Description>"╠══════════════════════════════╣"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>517</ID>
      <Description>"║   TIP: Right-click values to set hotkeys!  ║"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2738</ID>
      <Description>"╠══════════════════════════════╣"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2704</ID>
      <Description>"║       === YOUTUBE ===                            ║"</Description>
      <Color>FFFFFF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}
[ENABLE]
shellExecute("https://www.youtube.com/@SeryogaSK");
createThread(function();sleep(100);memrec.Active=false;end);
[DISABLE]
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>2706</ID>
      <Description>"║       === OCT PROFILE ===                      ║"</Description>
      <Color>FFFFFF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}
[ENABLE]
shellExecute("https://opencheattables.com/memberlist.php?mode=viewprofile&amp;u=6096");
createThread(function();sleep(100);memrec.Active=false;end);
[DISABLE]
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>2705</ID>
      <Description>"║       === Habibrahimov.com ===           ║"</Description>
      <Color>FFFFFF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}
[ENABLE]
shellExecute("https://habibrahimov.com");
createThread(function();sleep(100);memrec.Active=false;end);
[DISABLE]
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>2713</ID>
      <Description>"╠══════════════════════════════╣"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2707</ID>
      <Description>"║     === Latest Update 11.05.26 ===        ║"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>2712</ID>
      <Description>"╚══════════════════════════════╝"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <LuaScript>
-- Cheat Table Decorator
function decorateSSKTable()
  local mainForm = getMainForm()

  -- Main Form Styling
  mainForm.Caption = 'Barn Finders (Steam) - Enhanced Table [by SeryogaSK] {Habibrahimov.com}'
  mainForm.Color = 0x2B2B2B  -- Dark background
  mainForm.Font.Color = 0xE6E6E6 -- Light text
  getAutoAttachList().add("BarnFinders-Win64-Shipping.exe")
end

-- Execute when table loads
decorateSSKTable()


</LuaScript>
</CheatTable>
