<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
  <CheatEntries>
    <CheatEntry>
      <ID>21</ID>
      <Description>"Activate"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <Color>00FF00</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}
if syntaxcheck then return end

local scriptName = "findShurikan"
local symbol = "pigeon"

local function symbolExists(symb)
    local result, _ = pcall(getAddress, symb)
    return result
end

-- Only run the AOBScan if the symbol does not exist
if not symbolExists(symbol) then
    function findBaseAddress(signature)
        local results = AOBScan(signature)
        if results and results.Count &gt; 0 then
            local address = results[0]
            results.destroy()
            return tonumber(address, 16)
        else
            print("Unable to find ze pigeon!")
            return nil
        end
    end

    local signatureBytes = "C8 CB ?? ?? F? 7F 00 00 08 00 00 00 A7 A6"
    local baseAddress = findBaseAddress(signatureBytes)

    if baseAddress then
        registerSymbol(symbol, baseAddress, true)
    else
        print("Unable to find ze pigeon!")
    end
end

{$asm}

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"BumSim-Win64-Shipping.exe"+166686E)
alloc(player,4,"BumSim-Win64-Shipping.exe"+166686E)
registersymbol(player)
label(returnhere)
label(originalcode)
label(exit)

player:
dd 0

newmem:
mov [player],rax

originalcode:
mov rdx,[rax]
mov rcx,rax

exit:
jmp returnhere

"BumSim-Win64-Shipping.exe"+166686E:
jmp newmem
nop
returnhere:

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
dealloc(player)
unregistersymbol(player)
"BumSim-Win64-Shipping.exe"+166686E:
db 48 8B 10 48 8B C8
//mov rdx,[rax]
//mov rcx,rax

{$lua}
if unregisterSymbol then unregisterSymbol(symbol) end
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>25</ID>
          <Description>"Bum"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>004080</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>2</ID>
              <Description>"Money"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6C8</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>3</ID>
              <Description>"Health"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6CC</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>4</ID>
              <Description>"Hunger"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6D0</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>5</ID>
              <Description>"Thirst"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6D4</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>6</ID>
              <Description>"Bladder"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6D8</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>7</ID>
              <Description>"Cleanliness"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6DC</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>8</ID>
              <Description>"Energy"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6EC</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>9</ID>
              <Description>"Stamina"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>Float</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6F0</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>24</ID>
              <Description>"Fellony State"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6E8</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>28</ID>
              <Description>"Perk Points"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>AB8</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>29</ID>
              <Description>"Experience"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>A4C</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>30</ID>
              <Description>"Level"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>A50</Offset>
              </Offsets>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Pigeon Stuff"</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>FF8080</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>23</ID>
              <Description>"Seeds"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>00FF00</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>player</Address>
              <Offsets>
                <Offset>6E4</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>34</ID>
              <Description>"Shuriken"</Description>
              <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
              <Color>00FFFF</Color>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>36</ID>
                  <Description>"Description"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>80FFFF</Color>
                  <VariableType>String</VariableType>
                  <Length>1000</Length>
                  <Unicode>1</Unicode>
                  <CodePage>0</CodePage>
                  <ZeroTerminate>1</ZeroTerminate>
                  <Address>pigeon+3A0</Address>
                  <Offsets>
                    <Offset>0</Offset>
                    <Offset>28</Offset>
                  </Offsets>
                </CheatEntry>
                <CheatEntry>
                  <ID>33</ID>
                  <Description>"No attack cooldown(0)"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>80FFFF</Color>
                  <VariableType>Byte</VariableType>
                  <Address>pigeon+388</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>35</ID>
                  <Description>"Current Pidgon Level"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <Color>80FFFF</Color>
                  <VariableType>Byte</VariableType>
                  <Address>pigeon+3C8</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>27</ID>
      <Description>"Unknown??"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <Color>0000FF</Color>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
        <CheatEntry>
          <ID>22</ID>
          <Description>"Bilets"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>player</Address>
          <Offsets>
            <Offset>6E0</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
