Hooks
static bool BeforeCvLandmass_GetCentroidX(CvLandmass* self, int& result);static void AfterCvLandmass_GetCentroidX(CvLandmass* self, int& result);static int ReplaceCvLandmass_GetCentroidX(int (*original)(CvLandmass*), CvLandmass* self);CivRegisterBefore<CivHooks::CvLandmass_GetCentroidX>(host, &BeforeCvLandmass_GetCentroidX);CivRegisterAfter<CivHooks::CvLandmass_GetCentroidX>(host, &AfterCvLandmass_GetCentroidX);CivRegisterReplace<CivHooks::CvLandmass_GetCentroidX>(host, &ReplaceCvLandmass_GetCentroidX);