Jump to content

[Code Inject]Sniper 3D Assassin: Shoot to Kill


161 posts in this topic

Recommended Posts

Posted

%hook ShopItem
- (void)setPrice:(id)fp8
&orig(fp8);
fp8=0;
 
}
 
%end
 
%hook WeaponConfig
 
- (int)firePower {
 
return 999999;
 
}
 
- (int)maxAmmo {
 
return 999999;
 
}
- (BOOL)isLocked {
 
return false;
 
}
 
- (id)nextUpgradePrice {
 
return 0;
 
}
 
%end
 
%hook WeaponFeature
 
- (int)firePower {
 
return 99999;
 
}
 
- (int)maxAmmo {
 
return 99999;
 
}
 
- (id)price {
 
return 0;
 
}
 
%end
 
%hook GameManager
- (void)setSpecialCoins:(int)fp8 {
&orig(fp8);
fp8=999999;
}
 
 
- (int)specialCoins {
 
return 99999;
 
}
 
- (void)setPokerChips:(int)fp8 {
&orig(fp8);
fp8=99999;
}
 
- (int)pokerChips {
 
return 99999;
 
}
 
- (void)setCoins:(int)fp8 {
&orig(fp8);
fp8=99999;
}
 
- (int)coins {
return 99999;
}
 
- (void)setCoinsSpent:(int)fp8 {
&orig(fp8);
fp8=0;
}
 
- (int)coinsSpent {
return 0;
 
}
 
%end
 
%hook GameState
 
- (void)setCoins:(int)fp8 {
&orig(fp8);
fp8=99999;
}
 
- (int)coins {
return 99999;
}
 
- (void)setMaxLife:(int)fp8 {
&orig(fp8);
fp8=9999;
}
 
- (int)maxLife {
return 9999;
}
 
%end

  • Agree 1
×
  • 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