Advertisement
Guest User

Dark Souls 3 - Clear Area Of Enemies - Working!

a guest
Mar 19th, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 10.93 KB | None | 0 0
  1. [ENABLE]
  2.  
  3. aobscanmodule(Inject_Health01,DarkSoulsIII.exe,83 B9 D8 00 00 00 00 0F 9E) // should be unique
  4. alloc(newmem,$1000,"DarkSoulsIII.exe"+9CD6F6)
  5.  
  6. label(code)
  7. label(return)
  8. label(MakeEnemyHealthZero)
  9.  
  10. newmem:
  11.  
  12. MakeEnemyHealthZero:
  13.     mov ptr[rcx+D8],00000000
  14. ret
  15.  
  16.  
  17. code:
  18.  
  19.     //
  20.   cmp dword ptr [rcx+000000D8],00
  21.     //
  22.     cmp DWord ptr[rcx+132],00330031
  23.     jne short EndOfBKGSCheck
  24.     cmp DWord ptr[rcx+136],00300030
  25.     jne short EndOfBKGSCheck
  26.     call MakeEnemyHealthZero
  27.  
  28.     EndOfBKGSCheck:
  29.  
  30.  
  31.     cmp DWord ptr[rcx+132],00330031
  32.     jne short EndOfLycanCheck
  33.     cmp DWord ptr[rcx+136],00300036
  34.     jne short EndOfLycanCheck
  35.     call MakeEnemyHealthZero
  36.  
  37.     EndOfLycanCheck:
  38.  
  39.  
  40.     cmp DWord ptr[rcx+132],00330031
  41.     jne short EndOfLycanHuntCheck
  42.     cmp DWord ptr[rcx+136],00300037
  43.     jne short EndOfLycanHuntCheck
  44.     call MakeEnemyHealthZero
  45.  
  46.     EndOfLycanHuntCheck:
  47.  
  48.  
  49.     cmp DWord ptr[rcx+132],00340031
  50.     jne short EndOfHollowScreamCheck
  51.     cmp DWord ptr[rcx+136],00360034
  52.     jne short EndOfHollowScreamCheck
  53.     call MakeEnemyHealthZero
  54.  
  55.     EndOfHollowScreamCheck:
  56.  
  57.  
  58.     cmp DWord ptr[rcx+132],00340031
  59.     jne short EndOfHollowMageCheck
  60.     cmp DWord ptr[rcx+136],00310034
  61.     jne short EndOfHollowMageCheck
  62.     call MakeEnemyHealthZero
  63.  
  64.     EndOfHollowMageCheck:
  65.  
  66.  
  67.     cmp DWord ptr[rcx+132],00300032
  68.     jne short EndOfLargeDogCheck
  69.     cmp DWord ptr[rcx+136],00300032
  70.     jne short EndOfLargeDogCheck
  71.     call MakeEnemyHealthZero
  72.  
  73.     EndOfLargeDogCheck:
  74.  
  75.  
  76.     cmp DWord ptr[rcx+132],00320032
  77.     jne short EndOfCrabGiantCheck
  78.     cmp DWord ptr[rcx+136],00300037
  79.     jne short EndOfCrabGiantCheck
  80.     call MakeEnemyHealthZero
  81.  
  82.     EndOfCrabGiantCheck:
  83.  
  84.  
  85.     cmp DWord ptr[rcx+132],00320032
  86.     jne short EndOfCrabSmallCheck
  87.     cmp DWord ptr[rcx+136],00310037
  88.     jne short EndOfCrabSmallCheck
  89.     call MakeEnemyHealthZero
  90.  
  91.     EndOfCrabSmallCheck:
  92.  
  93.  
  94.     cmp DWord ptr[rcx+132],00300031
  95.     jne short EndOfPoisonBrumerCheck
  96.     cmp DWord ptr[rcx+136],00320033
  97.     jne short EndOfPoisonBrumerCheck
  98.     call MakeEnemyHealthZero
  99.  
  100.     EndOfPoisonBrumerCheck:
  101.  
  102.  
  103.     cmp DWord ptr[rcx+132],00310031
  104.     jne short EndOfHollowDeserterCheck
  105.     cmp DWord ptr[rcx+136],00300030
  106.     jne short EndOfHollowDeserterCheck
  107.     call MakeEnemyHealthZero
  108.  
  109.     EndOfHollowDeserterCheck:
  110.  
  111.  
  112.     cmp DWord ptr[rcx+132],00300032
  113.     jne short EndOfMedDogCheck
  114.     cmp DWord ptr[rcx+136],00310032
  115.     jne short EndOfMedDogCheck
  116.     call MakeEnemyHealthZero
  117.  
  118.     EndOfMedDogCheck:
  119.  
  120.  
  121.     cmp DWord ptr[rcx+132],00310031
  122.     jne short EndOfLargeHollowHalberdCheck
  123.     cmp DWord ptr[rcx+136],00350030
  124.     jne short EndOfLargeHollowHalberdCheck
  125.     call MakeEnemyHealthZero
  126.  
  127.     EndOfLargeHollowHalberdCheck:
  128.  
  129.  
  130.     cmp DWord ptr[rcx+132],00320031
  131.     jne short EndOfLothricKnightSwordCheck
  132.     cmp DWord ptr[rcx+136],00300038
  133.     jne short EndOfLothricKnightSwordCheck
  134.     call MakeEnemyHealthZero
  135.  
  136.     EndOfLothricKnightSwordCheck:
  137.  
  138.  
  139.     cmp DWord ptr[rcx+132],00320031
  140.     jne short EndOfLothricKnightSwordBlueCheck
  141.     cmp DWord ptr[rcx+136],00320038
  142.     jne short EndOfLothricKnightSwordBlueCheck
  143.     call MakeEnemyHealthZero
  144.  
  145.     EndOfLothricKnightSwordBlueCheck:
  146.  
  147.  
  148.     cmp DWord ptr[rcx+132],00320031
  149.     jne short EndOfUndeadWorkerCheck
  150.     cmp DWord ptr[rcx+136],00300034
  151.     jne short EndOfUndeadWorkerCheck
  152.     call MakeEnemyHealthZero
  153.  
  154.     EndOfUndeadWorkerCheck:
  155.  
  156.  
  157.     cmp DWord ptr[rcx+132],00320031
  158.     jne short EndOfUndeadSlaveCheck
  159.     cmp DWord ptr[rcx+136],00300030
  160.     jne short EndOfUndeadSlaveCheck
  161.     call MakeEnemyHealthZero
  162.  
  163.     EndOfUndeadSlaveCheck:
  164.  
  165.  
  166.     cmp DWord ptr[rcx+132],00320031
  167.     jne short EndOfEvangelistCheck
  168.     cmp DWord ptr[rcx+136],00300033
  169.     jne short EndOfEvangelistCheck
  170.     call MakeEnemyHealthZero
  171.  
  172.     EndOfEvangelistCheck:
  173.  
  174.  
  175.     cmp DWord ptr[rcx+132],00320031
  176.     jne short EndOfHollowManservantCheck
  177.     cmp DWord ptr[rcx+136],00300036
  178.     jne short EndOfHollowManservantCheck
  179.     call MakeEnemyHealthZero
  180.  
  181.     EndOfHollowManservantCheck:
  182.  
  183.  
  184.     cmp DWord ptr[rcx+132],00300033
  185.     jne short EndOfCageSpiderCheck
  186.     cmp DWord ptr[rcx+136],00300039
  187.     jne short EndOfCageSpiderCheck
  188.     call MakeEnemyHealthZero
  189.  
  190.     EndOfCageSpiderCheck:
  191.  
  192.  
  193.     cmp DWord ptr[rcx+132],00310032
  194.     jne short EndOfRatSmallCheck
  195.     cmp DWord ptr[rcx+136],00300031
  196.     jne short EndOfRatSmallCheck
  197.     call MakeEnemyHealthZero
  198.  
  199.     EndOfRatSmallCheck:
  200.  
  201.  
  202.     cmp DWord ptr[rcx+132],00320032
  203.     jne short EndOfRatLargeCheck
  204.     cmp DWord ptr[rcx+136],00300038
  205.     jne short EndOfRatLargeCheck
  206.     call MakeEnemyHealthZero
  207.  
  208.     EndOfRatLargeCheck:
  209.  
  210.  
  211.     cmp DWord ptr[rcx+132],00340031
  212.     jne short EndOfHollowCathedralCheck
  213.     cmp DWord ptr[rcx+136],00300034
  214.     jne short EndOfHollowCathedralCheck
  215.     call MakeEnemyHealthZero
  216.  
  217.     EndOfHollowCathedralCheck:
  218.  
  219.  
  220.     cmp DWord ptr[rcx+132],00320031
  221.     jne short EndOfGraveWardenCathedralCheck
  222.     cmp DWord ptr[rcx+136],00300035
  223.     jne short EndOfGraveWardenCathedralCheck
  224.     call MakeEnemyHealthZero
  225.  
  226.     EndOfGraveWardenCathedralCheck:
  227.  
  228.  
  229.     cmp DWord ptr[rcx+132],00330031
  230.     jne short EndOfGrandArchivesScholarCheck
  231.     cmp DWord ptr[rcx+136],00300034
  232.     jne short EndOfGrandArchivesScholarCheck
  233.     call MakeEnemyHealthZero
  234.  
  235.     EndOfGrandArchivesScholarCheck:
  236.  
  237.  
  238.     cmp DWord ptr[rcx+132],00310032
  239.     jne short EndOfGargoyleCheck
  240.     cmp DWord ptr[rcx+136],00300039
  241.     jne short EndOfGargoyleCheck
  242.     call MakeEnemyHealthZero
  243.  
  244.     EndOfGargoyleCheck:
  245.  
  246.  
  247.     cmp DWord ptr[rcx+132],00310031
  248.     jne short EndOfHollowDeserterGrandArchivesCheck
  249.     cmp DWord ptr[rcx+136],00320030
  250.     jne short EndOfHollowDeserterGrandArchivesCheck
  251.     call MakeEnemyHealthZero
  252.  
  253.     EndOfHollowDeserterGrandArchivesCheck:
  254.  
  255.  
  256.     cmp DWord ptr[rcx+132],00300033
  257.     jne short EndOfSleepingGiantAnorLondoCheck
  258.     cmp DWord ptr[rcx+136],00300032
  259.     jne short EndOfSleepingGiantAnorLondoCheck
  260.     call MakeEnemyHealthZero
  261.  
  262.     EndOfSleepingGiantAnorLondoCheck:
  263.  
  264.  
  265.     cmp DWord ptr[rcx+132],00320035
  266.     jne short EndOfDeaconDeepTallAnorLondoCheck
  267.     cmp DWord ptr[rcx+136],00360032
  268.     jne short EndOfDeaconDeepTallAnorLondoCheck
  269.     call MakeEnemyHealthZero
  270.  
  271.     EndOfDeaconDeepTallAnorLondoCheck:
  272.  
  273.  
  274.     cmp DWord ptr[rcx+132],00320035
  275.     jne short EndOfDeaconDeepAnorLondoCheck
  276.     cmp DWord ptr[rcx+136],00370032
  277.     jne short EndOfDeaconDeepAnorLondoCheck
  278.     call MakeEnemyHealthZero
  279.  
  280.     EndOfDeaconDeepAnorLondoCheck:
  281.  
  282.  
  283.     cmp DWord ptr[rcx+132],00320035
  284.     jne short EndOfDeaconDeepAnorLondoFatCheck
  285.     cmp DWord ptr[rcx+136],00350032
  286.     jne short EndOfDeaconDeepAnorLondoFatCheck
  287.     call MakeEnemyHealthZero
  288.  
  289.     EndOfDeaconDeepAnorLondoFatCheck:
  290.  
  291.  
  292.     cmp DWord ptr[rcx+132],00330031
  293.     jne short EndOfSerpantManCheck
  294.     cmp DWord ptr[rcx+136],00300039
  295.     jne short EndOfSerpantManCheck
  296.     call MakeEnemyHealthZero
  297.  
  298.     EndOfSerpantManCheck:
  299.  
  300.  
  301.     cmp DWord ptr[rcx+132],00330031
  302.     jne short EndOfSerpantManLargeCheck
  303.     cmp DWord ptr[rcx+136],00310039
  304.     jne short EndOfSerpantManLargeCheck
  305.     call MakeEnemyHealthZero
  306.  
  307.     EndOfSerpantManLargeCheck:
  308.  
  309.  
  310.     cmp DWord ptr[rcx+132],00340031
  311.     jne short EndOfSilverKnightSwordCheck
  312.     cmp DWord ptr[rcx+136],00300031
  313.     jne short EndOfSilverKnightSwordCheck
  314.     call MakeEnemyHealthZero
  315.  
  316.     EndOfSilverKnightSwordCheck:
  317.  
  318.  
  319.     cmp DWord ptr[rcx+132],00320033
  320.     jne short EndOfRockLizardCheck
  321.     cmp DWord ptr[rcx+136],00300032
  322.     jne short EndOfRockLizardCheck
  323.     call MakeEnemyHealthZero
  324.  
  325.     EndOfRockLizardCheck:
  326.  
  327.  
  328.     cmp DWord ptr[rcx+132],00310031
  329.     jne short EndOfCarthusSkelSwordCheck
  330.     cmp DWord ptr[rcx+136],00300037
  331.     jne short EndOfCarthusSkelSwordCheck
  332.     call MakeEnemyHealthZero
  333.  
  334.     EndOfCarthusSkelSwordCheck:
  335.  
  336.  
  337.     cmp DWord ptr[rcx+132],00300031
  338.     jne short EndOfSkelSwordCheck
  339.     cmp DWord ptr[rcx+136],00300037
  340.     jne short EndOfSkelSwordCheck
  341.     call MakeEnemyHealthZero
  342.  
  343.     EndOfSkelSwordCheck:
  344.  
  345.  
  346.     cmp DWord ptr[rcx+132],00310031
  347.     jne short EndOfCarthusGraveWardenCheck
  348.     cmp DWord ptr[rcx+136],00300038
  349.     jne short EndOfCarthusGraveWardenCheck
  350.     call MakeEnemyHealthZero
  351.  
  352.     EndOfCarthusGraveWardenCheck:
  353.  
  354.  
  355.     cmp DWord ptr[rcx+132],00310032
  356.     jne short EndOfRottenFleshCheck
  357.     cmp DWord ptr[rcx+136],00300033
  358.     jne short EndOfRottenFleshCheck
  359.     call MakeEnemyHealthZero
  360.  
  361.     EndOfRottenFleshCheck:
  362.  
  363.  
  364.     cmp DWord ptr[rcx+132],00300032
  365.     jne short EndOfIrithyllSwordsmanCheck
  366.     cmp DWord ptr[rcx+136],00300033
  367.     jne short EndOfIrithyllSwordsmanCheck
  368.     call MakeEnemyHealthZero
  369.  
  370.     EndOfIrithyllSwordsmanCheck:
  371.  
  372.  
  373.     cmp DWord ptr[rcx+132],00330031
  374.     jne short EndOfIrithyllSlaveCheck
  375.     cmp DWord ptr[rcx+136],00300035
  376.     jne short EndOfIrithyllSlaveCheck
  377.     call MakeEnemyHealthZero
  378.  
  379.     EndOfIrithyllSlaveCheck:
  380.  
  381.  
  382.     cmp DWord ptr[rcx+132],00320035
  383.     jne short EndOfFireWitchCheck
  384.     cmp DWord ptr[rcx+136],00300034
  385.     jne short EndOfFireWitchCheck
  386.     call MakeEnemyHealthZero
  387.  
  388.     EndOfFireWitchCheck:
  389.  
  390.  
  391.     cmp DWord ptr[rcx+132],00310032
  392.     jne short EndOfSewerCentipedeCheck
  393.     cmp DWord ptr[rcx+136],00300030
  394.     jne short EndOfSewerCentipedeCheck
  395.     call MakeEnemyHealthZero
  396.  
  397.     EndOfSewerCentipedeCheck:
  398.  
  399.  
  400.     cmp DWord ptr[rcx+132],00300033
  401.     jne short EndOfSmolderGhruClericCheck
  402.     cmp DWord ptr[rcx+136],00300037
  403.     jne short EndOfSmolderGhruClericCheck
  404.     call MakeEnemyHealthZero
  405.  
  406.     EndOfSmolderGhruClericCheck:
  407.  
  408.  
  409.     cmp DWord ptr[rcx+132],00310032
  410.     jne short EndOfSmolderRottenFleshCheck
  411.     cmp DWord ptr[rcx+136],00320033
  412.     jne short EndOfSmolderRottenFleshCheck
  413.     call MakeEnemyHealthZero
  414.  
  415.     EndOfSmolderRottenFleshCheck:
  416.  
  417.  
  418.     cmp DWord ptr[rcx+132],00320031
  419.     jne short EndOfSmolderGhruCheck
  420.     cmp DWord ptr[rcx+136],00310031
  421.     jne short EndOfSmolderGhruCheck
  422.     call MakeEnemyHealthZero
  423.  
  424.     EndOfSmolderGhruCheck:
  425.  
  426.  
  427.     cmp DWord ptr[rcx+132],00330031
  428.     jne short EndOfBKGACheck
  429.     cmp DWord ptr[rcx+136],00300031
  430.     jne short EndOfBKGACheck
  431.     call MakeEnemyHealthZero
  432.  
  433.     EndOfBKGACheck:
  434.  
  435.  
  436.     cmp DWord ptr[rcx+132],00320033
  437.     jne short EndOfDemonStatueCheck
  438.     cmp DWord ptr[rcx+136],00300033
  439.     jne short EndOfDemonStatueCheck
  440.     call MakeEnemyHealthZero
  441.  
  442.     EndOfDemonStatueCheck:
  443.  
  444.  
  445.     cmp DWord ptr[rcx+132],00310032
  446.     jne short EndOfBasiliskCheck
  447.     cmp DWord ptr[rcx+136],00300034
  448.     jne short EndOfBasiliskCheck
  449.     call MakeEnemyHealthZero
  450.  
  451.     EndOfBasiliskCheck:
  452.  
  453.  
  454.     cmp DWord ptr[rcx+132],00340031
  455.     jne short EndOfBonewheelCheck
  456.     cmp DWord ptr[rcx+136],00300037
  457.     jne short EndOfBonewheelCheck
  458.     call MakeEnemyHealthZero
  459.  
  460.     EndOfBonewheelCheck:
  461.  
  462.  
  463.     cmp DWord ptr[rcx+132],00340031
  464.     jne short EndOfGraveWardenHollowCheck
  465.     cmp DWord ptr[rcx+136],00300033
  466.     jne short EndOfGraveWardenHollowCheck
  467.     call MakeEnemyHealthZero
  468.  
  469.     EndOfGraveWardenHollowCheck:
  470.  
  471.  
  472.     cmp DWord ptr[rcx+132],00320032
  473.     jne short EndOfCorvianStorytellerCheck
  474.     cmp DWord ptr[rcx+136],00300031
  475.     jne short EndOfCorvianStorytellerCheck
  476.     call MakeEnemyHealthZero
  477.  
  478.     EndOfCorvianStorytellerCheck:
  479.  
  480.  
  481.     cmp DWord ptr[rcx+132],00320031
  482.     jne short EndOfGhruSpearCheck
  483.     cmp DWord ptr[rcx+136],00300031
  484.     jne short EndOfGhruSpearCheck
  485.     call MakeEnemyHealthZero
  486.  
  487.     EndOfGhruSpearCheck:
  488.  
  489.  
  490.     cmp DWord ptr[rcx+132],00310033
  491.     jne short EndOfDarkwraithCheck
  492.     cmp DWord ptr[rcx+136],00300037
  493.     jne short EndOfDarkwraithCheck
  494.     call MakeEnemyHealthZero
  495.  
  496.     EndOfDarkwraithCheck:
  497.  
  498.  
  499.   jmp return
  500.   jmp return
  501.  
  502. Inject_Health01:
  503.   jmp code
  504.   nop
  505.   nop
  506. return:
  507. registersymbol(Inject_Health01)
  508.  
  509. [DISABLE]
  510.  
  511. Inject_Health01:
  512.   db 83 B9 D8 00 00 00 00
  513.  
  514. unregistersymbol(Inject_Health01)
  515. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement