Ok, here is what's wrong with the code:
#include <substrate.h>
%hook GDReceiptStore
-(void) updateValidationState:(long long)arg1 {
return TRUE; // You can't return true on a function that is expected to return nothing (void), you have to set arg1 to something and return %orig
}
%end
%hook BMBoomAudioSystemController
-(void) updateSystemState:(long long)arg1 {
arg1 = ; // you can't make an empty assignment
return %orig;
}
%end
// you cannot have a . there, no idea how to fix this though
%hook Boom.BMAnalyticsHandler
-(void) trackPurchaseCompleted:(id)arg1 isRestore:(bool) {
arg2 = TRUE;
return %orig;
}
%end
// here you are missing the arguments from 10 to 12, so add arg10, arg11, arg12 to the correct places
%hook FBSDKServerConfiguration
-(id) initWithAppID:(id)arg1 appName:(id)arg2 loginTooltipEnabled:(bool)arg3 loginTooltipText:(id)arg4 defaultShareMode:(id)arg5 advertisingIDEnabled:(bool)arg6 implicitLoggingEnabled:(bool)arg7 implicitPurchaseLoggingEnabled:(bool)arg8 systemAuthenticationEnabled:(bool)arg9 dialogConfigurations:(id) timestamp:(id) errorConfiguration:(id) {
arg3 = TRUE;
arg6 = FALSE;
arg7 = TRUE;
arg8 = TRUE;
arg9 = TRUE;
return %orig;
}
%end