Jump to content

Damage Multiplier Hooking Code for LGL Mod Menu


L808

5 posts in this topic

Recommended Posts

Hey it's L808, during my break i will share with u my recent discoveries (since i'm still learning stuff after days of other modders already learned it lol)
 

Hidden Content

React or reply to this topic to see the hidden content & download link.


Enjoy, HF!

  • Like 36
  • Winner 3
  • Thanks 1
  • Agree 2
Link to comment
Share on other sites

@L808
Little fix for you 

 

Function is double and you are using int with SliderValue, Also added something new , check it at your end and let me know :)

float sliderValue = 0;

//the void *instance is a self-created variable.
double (*old_GetDamageMultiplier)(void *instance);
double GetDamageMultiplier(void *instance) {
    //Check if instance is NULL to prevent CRASH
    if (instance != NULL)
    {
         return old_GetDamageMultiplier(instance) * sliderValue; // Damage Multiplier
    }
    //return the original value (this code isn't really needed if you have a toggle/switch)
    return old_GetDamageMultiplier(instance);
}

MSHookFunction((void *) getAbsoluteAddress(targetLibName,
                  string2Offset(OBFUSCATE("0xC4DC1C"))),
                  (void *) GetDamageMultiplier, (void **) &old_GetDamageMultiplier);

OBFUSCATE("Category_▾ Skill Damage ▾"), //NOT COUNTED
			OBFUSCATE("0_SeekBar_Damage Multiplier_0_100"), //0 Case
            OBFUSCATE("Category_ ▾ Thank you for the support ▾"), //NOT COUNTED

case 0:
			sliderValue = value*100;
		break;

 

  • Like 1
  • Agree 1
Link to comment
Share on other sites

2 hours ago, AlyssaX64 said:

@L808
Little fix for you 

 

Function is double and you are using int with SliderValue, Also added something new , check it at your end and let me know :)

float sliderValue = 0;

//the void *instance is a self-created variable.
double (*old_GetDamageMultiplier)(void *instance);
double GetDamageMultiplier(void *instance) {
    //Check if instance is NULL to prevent CRASH
    if (instance != NULL)
    {
         return old_GetDamageMultiplier(instance) * sliderValue; // Damage Multiplier
    }
    //return the original value (this code isn't really needed if you have a toggle/switch)
    return old_GetDamageMultiplier(instance);
}

MSHookFunction((void *) getAbsoluteAddress(targetLibName,
                  string2Offset(OBFUSCATE("0xC4DC1C"))),
                  (void *) GetDamageMultiplier, (void **) &old_GetDamageMultiplier);

OBFUSCATE("Category_▾ Skill Damage ▾"), //NOT COUNTED
			OBFUSCATE("0_SeekBar_Damage Multiplier_0_100"), //0 Case
            OBFUSCATE("Category_ ▾ Thank you for the support ▾"), //NOT COUNTED

case 0:
			sliderValue = value*100;
		break;

 

Let me try that, but mine worked too, i will send you video in pm

  • Winner 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Last Survivor : Shootout v1.4.8 Cheats +2
      Modded/Hacked App: Last Survivor : Shootout By Voodoo
      Bundle ID: com.minigamelab.lastsurvivor
      iTunes Store Link: https://apps.apple.com/us/app/last-survivor-shootout/id6447337525?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Restore Purchase -> Float icon -> In-App Purchase -> VoodooPremium
      - Debug: Setting -> Your Data -> Type 1082 -> Enable -> Options
      • 0 replies
    • Last Survivor : Shootout v1.4.8 Cheats +2
      Modded/Hacked App: Last Survivor : Shootout By Voodoo
      Bundle ID: com.minigamelab.lastsurvivor
      iTunes Store Link: https://apps.apple.com/us/app/last-survivor-shootout/id6447337525?uo=4

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> Restore Purchase -> Float icon -> In-App Purchase -> VoodooPremium
      - Debug: Setting -> Your Data -> Type 1082 -> Enable -> Options
      • 0 replies
    • Cannon Attack v6.6.0 Cheats +2
      Modded/Hacked App: Cannon Attack By Voodoo
      Bundle ID: com.xiuyou.ios.CannonAttack
      iTunes Store Link: https://apps.apple.com/us/app/cannon-attack/id6447845553?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> Privacy Policy -> Crash -> Reopen -> Float icon -> In-App Purchase -> VoodooPremium
      - Add Gold & Unlock All (Click Restore Purchases)
      • 0 replies
    • Cannon Attack v6.6.0 Cheats +2
      Modded/Hacked App: Cannon Attack By Voodoo
      Bundle ID: com.xiuyou.ios.CannonAttack
      iTunes Store Link: https://apps.apple.com/us/app/cannon-attack/id6447845553?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> Privacy Policy -> Crash -> Reopen -> Float icon -> In-App Purchase -> VoodooPremium
      - Add Gold & Unlock All (Click Restore Purchases)
      • 0 replies
    • Beach Volley Clash v1.88 Cheats +2
      Modded/Hacked App: Beach Volley Clash By Voodoo
      Bundle ID: com.slowmo.twinvolley
      iTunes Store Link: https://apps.apple.com/us/app/beach-volley-clash/id6448185657?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Debug Menu: Setting -> Privacy Policy -> Float icon -> Progression controls
      - Premium: Setting -> Privacy Policy -> Float icon -> In-App Purchase -> VoodooPremium
      • 0 replies
    • Beach Volley Clash v1.88 Cheats +2
      Modded/Hacked App: Beach Volley Clash By Voodoo
      Bundle ID: com.slowmo.twinvolley
      iTunes Store Link: https://apps.apple.com/us/app/beach-volley-clash/id6448185657?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Debug Menu: Setting -> Privacy Policy -> Float icon -> Progression controls
      - Premium: Setting -> Privacy Policy -> Float icon -> In-App Purchase -> VoodooPremium
      • 0 replies
    • Pegher.io: Zombie Survivor v1.1.0 Cheats +3
      Modded/Hacked App: Pegher.io: Zombie Survivor By Voodoo
      Bundle ID: com.hotyetistudio.pegherio
      iTunes Store Link: https://apps.apple.com/us/app/pegher-io-zombie-survivor/id6448869405?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> SFX -> Float icon -> In-App Purchase -> VoodooPremium
      - OHK
      - God mode
      • 0 replies
    • Pegher.io: Zombie Survivor v1.1.0 Cheats +3
      Modded/Hacked App: Pegher.io: Zombie Survivor By Voodoo
      Bundle ID: com.hotyetistudio.pegherio
      iTunes Store Link: https://apps.apple.com/us/app/pegher-io-zombie-survivor/id6448869405?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> SFX -> Float icon -> In-App Purchase -> VoodooPremium
      - OHK
      - God mode
      • 0 replies
    • Pegher.io: Zombie Survivor v1.1.0 Cheats +3
      Modded/Hacked App: Pegher.io: Zombie Survivor By Voodoo
      Bundle ID: com.hotyetistudio.pegherio
      iTunes Store Link: https://apps.apple.com/us/app/pegher-io-zombie-survivor/id6448869405?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium: Setting -> SFX -> Float icon -> In-App Purchase -> VoodooPremium
      - OHK
      - God mode
      • 0 replies
    • Walkers Attack v1.7.0 Cheats +2
      Modded/Hacked App: Walkers Attack By Voodoo
      Bundle ID: com.homiebearstudio.walkersattack
      iTunes Store Link: https://apps.apple.com/us/app/walkers-attack/id6450046960?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Debug Menu: Setting -> Restore Purchases -> Float icon -> Cheats
      - Premium: Setting -> Restore Purchases -> Float icon -> In-App Purchase -> VoodooPremium
      • 0 replies
    • Walkers Attack v1.7.0 Cheats +2
      Modded/Hacked App: Walkers Attack By Voodoo
      Bundle ID: com.homiebearstudio.walkersattack
      iTunes Store Link: https://apps.apple.com/us/app/walkers-attack/id6450046960?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Debug Menu: Setting -> Restore Purchases -> Float icon -> Cheats
      - Premium: Setting -> Restore Purchases -> Float icon -> In-App Purchase -> VoodooPremium
      • 0 replies
    • Sniper Siege: Defend & Destroy v3.53 Cheats +6
      Modded/Hacked App: Sniper Siege: Defend & Destroy By Voodoo
      Bundle ID: com.tapped.sniperdefense
      iTunes Store Link: https://apps.apple.com/us/app/sniper-siege-defend-destroy/id6449642802?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Premium: Setting -> About ->Float Icon -> In-App Purchase
      - Not Spend Energy
      - Stupid Enemies
      - Unlimited steel
      - Unlock premium weapons
      - Unlimited currencies
      • 0 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines