void injectRallyHooks() {
		jmpPatch(orderNewUnitToRallyWrapper, Hook_OrderNewUnitToRally);
		callPatch(setRallyPositionWrapper_Call, Hook_SetRallyPosition_Call);
		jmpPatch(setRallyPositionWrapper_Jmp1, Hook_SetRallyPosition_Jmp1);
		jmpPatch(setRallyPositionWrapper_Jmp2, Hook_SetRallyPosition_Jmp2);
		callPatch(setRallyUnitWrapper_Call, Hook_SetRallyUnit_Call);
		jmpPatch(setRallyUnitWrapper_Jmp1, Hook_SetRallyUnit_Jmp1);
		jmpPatch(setRallyUnitWrapper_Jmp2, Hook_SetRallyUnit_Jmp2);
	}
	void injectTransferTechAndUpgradesHooks() {
		callPatch(transferUnitTechToPlayerWrapper, 0x0047CA04);
		callPatch(transferUnitUpgradesToPlayerWrapper, 0x0047CA0F);
		callPatch(applyUnitUpgradeFlagsToAllFriendlyUnitsWrapper, 0x0047CABD);
	}
	void injectUnitDestructorSpecial() {
		callPatch(unitDestructorSpecialWrapper, 0x004A075F);
	}
void injectUnitTooltipHook() {
  callPatch(&statdatalUserInteractWrapper, 0x00457D4B);
}