Jump to content

51 posts in this topic

Recommended Posts

Posted

 

@interface _MAIN_STRUCT
@end
%hook MyMainGame
- (int)SYS_GetRemainderJewel:(_MAIN_STRUCT*)arg1 {
return 999999;
}
 
%end

Tweak.xm:16:90: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*); static int _logos_method$_ungroup...

^

Tweak.xm:16:194: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*);

^

Tweak.xm:22:167: error: address of overloaded function

'_logos_method$_ungrouped$MyMainGame$SYS_GetRemainderJewel$'

does not match required type 'id (id, SEL *, ...)'

..._logos_method$_ungrouped$MyMainGame$SYS_GetRemainderJewel$...

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tweak.xm:16:12: note: candidate function has different number

of parameters (expected 2 but has 3)

static int _logos_method$_ungrouped$MyMainGame$SYS_Get...

^

Tweak.xm:16:117: note: candidate function has different number

of parameters (expected 2 but has 3)

...SEL, _MAIN_STRUCT*); static int _logos_method$_ungroup...

^

3 errors generated.

make[2]: *** [obj/Tweak.xm.e19b5f27.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [abhack.all.tweak.variables] Error 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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