#include <substrate.h>
static bool missileCollision() {
return FALSE;
}
static bool shopItemsPurchased() {
return TRUE;
}
static void shopItemsPurchased2() {
}
static int getCurrency() {
return 99999999;
}
static bool playerIsDead() {
return FALSE;
}
static void missionMaxLevel() {
}
static bool slotTokenCollision() {
return FALSE;
}
static bool playerIsImmune() {
return TRUE;
}
static bool ObstacleColliding() {
return FALSE;
}
%ctor {
MSHookFunction(MSFindSymbol(NULL, "__ZN7Missile19CollidingWithPlayerER4Game"),(void*)missileCollision, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN8ShopItem11IsPurchasedEv"),(void*)shopItemsPurchased, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN8ShopItem18PurchaseSuccessfulEv"),(void*)shopItemsPurchased2, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN4Game14GetCurrencyQtyEv"),(void*)getCurrency, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN6Player6IsDeadEv"),(void*)playerIsDead, NULL);
MSHookFunction(MSFindSymbol(NULL, " __ZN14MissionManager15ReachedMaxLevelEv"),(void*)missionMaxLevel, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN9SlotToken19CollidingWithPlayerER4Game"),(void*)slotTokenCollision, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZNK6Player8IsImmuneEv"),(void*)playerIsImmune, NULL);
MSHookFunction(MSFindSymbol(NULL, "__ZN8Obstacle19CollidingWithPlayerER4Game"),(void*)ObstacleColliding, NULL);
} // You missed end