I went to use my sister computer and found this function I search for craft and recipe and this what I found
#import <CoreFoundation/CoreFoundation.h>
#import <substrate.h>
#import <Foundation/Foundation.h>
bool (*old__ZN6PlayerCan14CraftRecipeER6Recipe) ();
bool $__ZN6Player14CanCraftRecipeER6Recipe()
{
return true;
}
bool (*old__ZN6Player7HasItemEiv) ();
bool $__ZN6Player7HasItemEiv()
{
return true;
}
bool (*old__ZN6Player16DiscoveredRecipeER6Recipe) ();
bool $__ZN6Player16DiscoveredRecipeER6Recipe()
{
return true;
}
bool (*old__ZN6Player20FoundCraftingStationEi) ();
bool $__ZN6Player20FoundCraftingStationEi()
{
return true;
}
bool (*old__ZN6Player21IsNearCraftingStationER6Recipe) ();
bool $__ZN6Player21IsNearCraftingStationER6Recipe()
{
return true;
}
__attribute__((constructor)) void DylibMain()
{
MSHookFunction(((bool*)MSFindSymbol(NULL, "__ZN6Player14CanCraftRecipeER6Recipe")),(bool*)$__ZN6Player14CanCraftRecipeER6Recipe,(bool**)&old__ZN6Player14CanCraftRecipeER6Recipe);
MSHookFunction(((bool*)MSFindSymbol(NULL, "__ZN6Player7HasItemEiv")),(bool*)$__ZN6Player7HasItemEiv,(bool**)&old__ZN6Player7HasItemEiv);
MSHookFunction(((bool*)MSFindSymbol(NULL, "__ZN6Player16DiscoveredRecipeER6Recipe")),(bool*)$__ZN6Player16DiscoveredRecipeER6Recipe,(bool**)&old__ZN6Player16DiscoveredRecipeER6Recipe);
MSHookFunction(((bool*)MSFindSymbol(NULL, "__ZN6Player20FoundCraftingStationEi")),(bool*)$__ZN6Player20FoundCraftingStationEi,(bool**)&old_ZN6Player20FoundCraftingStationEi);
MSHookFunction(((bool*)MSFindSymbol(NULL, "__ZN6Player21IsNearCraftingStationER6Recipe")),(bool*)$__ZN6Player21IsNearCraftingStationER6Recipe(bool**)&old__ZN6Player21IsNearCraftingStationER6Recipe);
}
%hook AppDelegate
- (void)applicationDidBecomeActive:(id)non {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Credits:" message:@"Hack By Kenny808" delegate:nil cancelButtonTitle:@"Thank You!" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
%hook FlurryUtil
+ (BOOL)deviceIsJailbroken {
return false;
}
%end
%hook EveryplayCommon
+ (BOOL)isJailbroken {
return false;
}
%end
Iam still getting errors this game is terrarai and feature is freecraft I know this hack exist but I was just practicing